From 4bf23069508706241e40aa2ad8d7dc8a96dda869 Mon Sep 17 00:00:00 2001 From: Florian Stadler Date: Mon, 13 May 2024 14:00:31 +0200 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.82.0 (#3929) This PR was generated via `$ upgrade-provider pulumi/pulumi-aws --kind=bridge`. --- - Upgrading pulumi-terraform-bridge from v3.81.1-0.20240508204503-c0c57794d7bb to v3.82.0. - Upgrading pulumi-terraform-bridge/pf from v0.33.1-0.20240508204503-c0c57794d7bb to v0.35.0. --- .pulumi-java-gen.version | 2 +- examples/go.mod | 20 +- examples/go.sum | 41 +- provider/go.mod | 24 +- provider/go.sum | 41 +- provider/resources.go | 2 - sdk/go.mod | 21 +- sdk/go.sum | 56 +- sdk/go/aws/provider.go | 40 +- sdk/java/build.gradle | 2 +- .../java/com/pulumi/aws/AwsFunctions.java | 1244 +++-- .../pulumi/aws/accessanalyzer/Analyzer.java | 26 +- .../aws/accessanalyzer/ArchiveRule.java | 22 +- .../aws/account/AlternativeContact.java | 18 +- .../pulumi/aws/account/PrimaryContact.java | 28 +- .../java/com/pulumi/aws/account/Region.java | 10 +- .../java/com/pulumi/aws/acm/AcmFunctions.java | 72 +- .../java/com/pulumi/aws/acm/Certificate.java | 42 +- .../pulumi/aws/acm/CertificateValidation.java | 14 +- .../pulumi/aws/acmpca/AcmpcaFunctions.java | 72 +- .../com/pulumi/aws/acmpca/Certificate.java | 28 +- .../aws/acmpca/CertificateAuthority.java | 70 +- .../CertificateAuthorityCertificate.java | 58 +- .../com/pulumi/aws/acmpca/Permission.java | 24 +- .../java/com/pulumi/aws/acmpca/Policy.java | 38 +- .../java/com/pulumi/aws/alb/AlbFunctions.java | 192 +- .../java/com/pulumi/aws/alb/Listener.java | 186 +- .../pulumi/aws/alb/ListenerCertificate.java | 14 +- .../java/com/pulumi/aws/alb/ListenerRule.java | 90 +- .../java/com/pulumi/aws/alb/LoadBalancer.java | 28 +- .../java/com/pulumi/aws/alb/TargetGroup.java | 72 +- .../pulumi/aws/alb/TargetGroupAttachment.java | 36 +- .../aws/amp/AlertManagerDefinition.java | 18 +- .../java/com/pulumi/aws/amp/AmpFunctions.java | 116 +- .../pulumi/aws/amp/RuleGroupNamespace.java | 16 +- .../java/com/pulumi/aws/amp/Workspace.java | 40 +- .../main/java/com/pulumi/aws/amplify/App.java | 136 +- .../aws/amplify/BackendEnvironment.java | 18 +- .../java/com/pulumi/aws/amplify/Branch.java | 114 +- .../pulumi/aws/amplify/DomainAssociation.java | 28 +- .../java/com/pulumi/aws/amplify/Webhook.java | 18 +- .../com/pulumi/aws/apigateway/Account.java | 46 +- .../com/pulumi/aws/apigateway/ApiKey.java | 10 +- .../aws/apigateway/ApigatewayFunctions.java | 320 +- .../com/pulumi/aws/apigateway/Authorizer.java | 64 +- .../aws/apigateway/ClientCertificate.java | 10 +- .../aws/apigateway/DocumentationPart.java | 20 +- .../aws/apigateway/DocumentationVersion.java | 22 +- .../com/pulumi/aws/apigateway/DomainName.java | 30 +- .../pulumi/aws/apigateway/Integration.java | 162 +- .../aws/apigateway/IntegrationResponse.java | 44 +- .../com/pulumi/aws/apigateway/Method.java | 52 +- .../pulumi/aws/apigateway/MethodResponse.java | 86 +- .../pulumi/aws/apigateway/MethodSettings.java | 48 +- .../java/com/pulumi/aws/apigateway/Model.java | 22 +- .../aws/apigateway/RequestValidator.java | 10 +- .../com/pulumi/aws/apigateway/Resource.java | 16 +- .../com/pulumi/aws/apigateway/Response.java | 20 +- .../pulumi/aws/apigateway/RestApiPolicy.java | 28 +- .../java/com/pulumi/aws/apigateway/Stage.java | 16 +- .../pulumi/aws/apigateway/UsagePlanKey.java | 22 +- .../com/pulumi/aws/apigateway/VpcLink.java | 20 +- .../java/com/pulumi/aws/apigatewayv2/Api.java | 30 +- .../pulumi/aws/apigatewayv2/ApiMapping.java | 8 +- .../apigatewayv2/Apigatewayv2Functions.java | 152 +- .../pulumi/aws/apigatewayv2/Authorizer.java | 30 +- .../pulumi/aws/apigatewayv2/DomainName.java | 36 +- .../pulumi/aws/apigatewayv2/Integration.java | 84 +- .../aws/apigatewayv2/IntegrationResponse.java | 10 +- .../com/pulumi/aws/apigatewayv2/Model.java | 24 +- .../com/pulumi/aws/apigatewayv2/Route.java | 44 +- .../aws/apigatewayv2/RouteResponse.java | 10 +- .../com/pulumi/aws/apigatewayv2/Stage.java | 14 +- .../com/pulumi/aws/apigatewayv2/VpcLink.java | 12 +- .../aws/apigatewayv2/inputs/ApiState.java | 8 +- .../aws/apigatewayv2/inputs/StageState.java | 8 +- .../apigatewayv2/outputs/GetApiResult.java | 4 +- .../com/pulumi/aws/appautoscaling/Policy.java | 136 +- .../aws/appautoscaling/ScheduledAction.java | 40 +- .../com/pulumi/aws/appautoscaling/Target.java | 82 +- .../aws/appconfig/AppconfigFunctions.java | 112 +- .../com/pulumi/aws/appconfig/Application.java | 14 +- .../aws/appconfig/ConfigurationProfile.java | 18 +- .../com/pulumi/aws/appconfig/Deployment.java | 12 +- .../aws/appconfig/DeploymentStrategy.java | 18 +- .../com/pulumi/aws/appconfig/Environment.java | 22 +- .../aws/appconfig/EventIntegration.java | 18 +- .../com/pulumi/aws/appconfig/Extension.java | 34 +- .../aws/appconfig/ExtensionAssociation.java | 40 +- .../appconfig/HostedConfigurationVersion.java | 84 +- .../pulumi/aws/appflow/ConnectorProfile.java | 56 +- .../java/com/pulumi/aws/appflow/Flow.java | 90 +- ...rConfigTriggerPropertiesScheduledArgs.java | 32 +- ...iggerConfigTriggerPropertiesScheduled.java | 16 +- .../AppintegrationsFunctions.java | 32 +- .../aws/appintegrations/DataIntegration.java | 22 +- .../aws/applicationinsights/Application.java | 20 +- .../pulumi/aws/appmesh/AppmeshFunctions.java | 424 +- .../com/pulumi/aws/appmesh/GatewayRoute.java | 16 +- .../java/com/pulumi/aws/appmesh/Mesh.java | 22 +- .../java/com/pulumi/aws/appmesh/Route.java | 58 +- .../pulumi/aws/appmesh/VirtualGateway.java | 34 +- .../com/pulumi/aws/appmesh/VirtualNode.java | 76 +- .../com/pulumi/aws/appmesh/VirtualRouter.java | 12 +- .../pulumi/aws/appmesh/VirtualService.java | 20 +- .../aws/apprunner/ApprunnerFunctions.java | 84 +- .../AutoScalingConfigurationVersion.java | 12 +- .../com/pulumi/aws/apprunner/Connection.java | 14 +- .../apprunner/CustomDomainAssociation.java | 10 +- ...efaultAutoScalingConfigurationVersion.java | 12 +- .../com/pulumi/aws/apprunner/Deployment.java | 8 +- .../apprunner/ObservabilityConfiguration.java | 14 +- .../com/pulumi/aws/apprunner/Service.java | 72 +- .../pulumi/aws/apprunner/VpcConnector.java | 18 +- .../aws/apprunner/VpcIngressConnection.java | 12 +- .../pulumi/aws/appstream/DirectoryConfig.java | 16 +- .../java/com/pulumi/aws/appstream/Fleet.java | 24 +- .../aws/appstream/FleetStackAssociation.java | 20 +- .../pulumi/aws/appstream/ImageBuilder.java | 20 +- .../java/com/pulumi/aws/appstream/Stack.java | 52 +- .../java/com/pulumi/aws/appstream/User.java | 16 +- .../aws/appstream/UserStackAssociation.java | 18 +- .../java/com/pulumi/aws/appsync/ApiCache.java | 18 +- .../java/com/pulumi/aws/appsync/ApiKey.java | 16 +- .../com/pulumi/aws/appsync/DataSource.java | 52 +- .../com/pulumi/aws/appsync/DomainName.java | 10 +- .../aws/appsync/DomainNameApiAssociation.java | 8 +- .../java/com/pulumi/aws/appsync/Function.java | 62 +- .../java/com/pulumi/aws/appsync/Resolver.java | 84 +- .../java/com/pulumi/aws/appsync/Type.java | 20 +- .../pulumi/aws/athena/AthenaFunctions.java | 32 +- .../com/pulumi/aws/athena/DataCatalog.java | 68 +- .../java/com/pulumi/aws/athena/Database.java | 14 +- .../com/pulumi/aws/athena/NamedQuery.java | 30 +- .../pulumi/aws/athena/PreparedStatement.java | 24 +- .../java/com/pulumi/aws/athena/Workgroup.java | 14 +- .../aws/auditmanager/AccountRegistration.java | 16 +- .../pulumi/aws/auditmanager/Assessment.java | 18 +- .../auditmanager/AssessmentDelegation.java | 12 +- .../aws/auditmanager/AssessmentReport.java | 10 +- .../auditmanager/AuditmanagerFunctions.java | 184 +- .../com/pulumi/aws/auditmanager/Control.java | 16 +- .../pulumi/aws/auditmanager/Framework.java | 12 +- .../aws/auditmanager/FrameworkShare.java | 12 +- .../OrganizationAdminAccountRegistration.java | 10 +- .../pulumi/aws/autoscaling/Attachment.java | 16 +- .../aws/autoscaling/AutoscalingFunctions.java | 200 +- .../com/pulumi/aws/autoscaling/Group.java | 218 +- .../pulumi/aws/autoscaling/LifecycleHook.java | 34 +- .../pulumi/aws/autoscaling/Notification.java | 28 +- .../com/pulumi/aws/autoscaling/Policy.java | 152 +- .../pulumi/aws/autoscaling/PolicyArgs.java | 40 +- .../com/pulumi/aws/autoscaling/Schedule.java | 24 +- .../autoscaling/TrafficSourceAttachment.java | 10 +- .../aws/autoscaling/inputs/PolicyState.java | 40 +- .../pulumi/aws/backup/BackupFunctions.java | 160 +- .../java/com/pulumi/aws/backup/Framework.java | 66 +- .../com/pulumi/aws/backup/GlobalSettings.java | 10 +- .../main/java/com/pulumi/aws/backup/Plan.java | 18 +- .../com/pulumi/aws/backup/RegionSettings.java | 34 +- .../com/pulumi/aws/backup/ReportPlan.java | 22 +- .../java/com/pulumi/aws/backup/Selection.java | 90 +- .../java/com/pulumi/aws/backup/Vault.java | 10 +- .../aws/backup/VaultLockConfiguration.java | 10 +- .../pulumi/aws/backup/VaultNotifications.java | 34 +- .../com/pulumi/aws/backup/VaultPolicy.java | 36 +- .../com/pulumi/aws/batch/BatchFunctions.java | 192 +- .../pulumi/aws/batch/ComputeEnvironment.java | 110 +- .../com/pulumi/aws/batch/JobDefinition.java | 192 +- .../java/com/pulumi/aws/batch/JobQueue.java | 30 +- .../pulumi/aws/batch/SchedulingPolicy.java | 16 +- .../java/com/pulumi/aws/bcmdata/Export.java | 32 +- .../com/pulumi/aws/bedrock/AgentAgent.java | 44 +- .../aws/bedrock/AgentAgentActionGroup.java | 20 +- .../pulumi/aws/bedrock/AgentAgentAlias.java | 50 +- .../AgentAgentKnowledgeBaseAssociation.java | 16 +- .../aws/bedrock/AgentKnowledgeBase.java | 26 +- .../pulumi/aws/bedrock/BedrockFunctions.java | 68 +- .../com/pulumi/aws/bedrock/CustomModel.java | 28 +- .../bedrock/ProvisionedModelThroughput.java | 14 +- .../BedrockfoundationFunctions.java | 116 +- .../InvocationLoggingConfiguration.java | 48 +- .../java/com/pulumi/aws/budgets/Budget.java | 138 +- .../com/pulumi/aws/budgets/BudgetAction.java | 62 +- .../pulumi/aws/budgets/BudgetsFunctions.java | 24 +- .../aws/cfg/AggregateAuthorization.java | 12 +- .../aws/cfg/ConfigurationAggregator.java | 42 +- .../com/pulumi/aws/cfg/ConformancePack.java | 44 +- .../com/pulumi/aws/cfg/DeliveryChannel.java | 44 +- .../aws/cfg/OrganizationConformancePack.java | 56 +- .../aws/cfg/OrganizationCustomPolicyRule.java | 26 +- .../aws/cfg/OrganizationCustomRule.java | 26 +- .../aws/cfg/OrganizationManagedRule.java | 18 +- .../java/com/pulumi/aws/cfg/Recorder.java | 60 +- .../com/pulumi/aws/cfg/RecorderStatus.java | 50 +- .../aws/cfg/RemediationConfiguration.java | 36 +- .../aws/cfg/RetentionConfiguration.java | 8 +- .../main/java/com/pulumi/aws/cfg/Rule.java | 94 +- .../aws/chime/SdkvoiceGlobalSettings.java | 10 +- .../chime/SdkvoiceSipMediaApplication.java | 12 +- .../com/pulumi/aws/chime/SdkvoiceSipRule.java | 14 +- .../aws/chime/SdkvoiceVoiceProfileDomain.java | 18 +- .../com/pulumi/aws/chime/VoiceConnector.java | 12 +- .../pulumi/aws/chime/VoiceConnectorGroup.java | 22 +- .../aws/chime/VoiceConnectorLogging.java | 12 +- .../aws/chime/VoiceConnectorOrganization.java | 20 +- .../aws/chime/VoiceConnectorStreaming.java | 56 +- .../aws/chime/VoiceConnectorTermination.java | 18 +- .../VoiceConnectorTerminationCredentials.java | 24 +- .../MediaInsightsPipelineConfiguration.java | 200 +- .../pulumi/aws/cleanrooms/Collaboration.java | 24 +- .../aws/cleanrooms/ConfiguredTable.java | 26 +- .../com/pulumi/aws/cloud9/EnvironmentEC2.java | 48 +- .../aws/cloud9/EnvironmentMembership.java | 20 +- .../cloudcontrol/CloudcontrolFunctions.java | 40 +- .../com/pulumi/aws/cloudcontrol/Resource.java | 18 +- .../CloudformationFunctions.java | 196 +- .../com/pulumi/aws/cloudformation/Stack.java | 40 +- .../pulumi/aws/cloudformation/StackSet.java | 66 +- .../aws/cloudformation/StackSetInstance.java | 56 +- .../pulumi/aws/cloudfront/CachePolicy.java | 24 +- .../aws/cloudfront/CloudfrontFunctions.java | 620 ++- .../ContinuousDeploymentPolicy.java | 42 +- .../pulumi/aws/cloudfront/Distribution.java | 158 +- .../FieldLevelEncryptionConfig.java | 16 +- .../FieldLevelEncryptionProfile.java | 24 +- .../com/pulumi/aws/cloudfront/KeyGroup.java | 20 +- .../pulumi/aws/cloudfront/KeyValueStore.java | 12 +- .../aws/cloudfront/KeyvaluestoreKey.java | 18 +- .../cloudfront/MonitoringSubscription.java | 10 +- .../aws/cloudfront/OriginAccessControl.java | 18 +- .../aws/cloudfront/OriginAccessIdentity.java | 34 +- .../aws/cloudfront/OriginRequestPolicy.java | 24 +- .../com/pulumi/aws/cloudfront/PublicKey.java | 14 +- .../aws/cloudfront/RealtimeLogConfig.java | 46 +- .../aws/cloudfront/ResponseHeadersPolicy.java | 50 +- .../aws/cloudhsmv2/Cloudhsmv2Functions.java | 32 +- .../java/com/pulumi/aws/cloudhsmv2/Hsm.java | 12 +- .../com/pulumi/aws/cloudsearch/Domain.java | 24 +- .../DomainServiceAccessPolicy.java | 32 +- .../aws/cloudtrail/CloudtrailFunctions.java | 216 +- .../pulumi/aws/cloudtrail/EventDataStore.java | 38 +- .../java/com/pulumi/aws/cloudtrail/Trail.java | 214 +- .../aws/cloudwatch/CloudwatchFunctions.java | 288 +- .../pulumi/aws/cloudwatch/CompositeAlarm.java | 18 +- .../com/pulumi/aws/cloudwatch/Dashboard.java | 56 +- .../aws/cloudwatch/EventApiDestination.java | 16 +- .../pulumi/aws/cloudwatch/EventArchive.java | 32 +- .../com/pulumi/aws/cloudwatch/EventBus.java | 24 +- .../pulumi/aws/cloudwatch/EventBusPolicy.java | 102 +- .../aws/cloudwatch/EventConnection.java | 104 +- .../pulumi/aws/cloudwatch/EventEndpoint.java | 14 +- .../aws/cloudwatch/EventPermission.java | 28 +- .../com/pulumi/aws/cloudwatch/EventRule.java | 34 +- .../pulumi/aws/cloudwatch/EventTarget.java | 362 +- .../aws/cloudwatch/InternetMonitor.java | 10 +- .../cloudwatch/LogDataProtectionPolicy.java | 48 +- .../pulumi/aws/cloudwatch/LogDestination.java | 10 +- .../aws/cloudwatch/LogDestinationPolicy.java | 22 +- .../com/pulumi/aws/cloudwatch/LogGroup.java | 14 +- .../aws/cloudwatch/LogMetricFilter.java | 22 +- .../aws/cloudwatch/LogResourcePolicy.java | 42 +- .../com/pulumi/aws/cloudwatch/LogStream.java | 14 +- .../aws/cloudwatch/LogSubscriptionFilter.java | 16 +- .../pulumi/aws/cloudwatch/MetricAlarm.java | 158 +- .../pulumi/aws/cloudwatch/MetricStream.java | 120 +- .../aws/cloudwatch/QueryDefinition.java | 22 +- .../codeartifact/CodeartifactFunctions.java | 56 +- .../com/pulumi/aws/codeartifact/Domain.java | 10 +- .../aws/codeartifact/DomainPermissions.java | 26 +- .../pulumi/aws/codeartifact/Repository.java | 48 +- .../RepositoryPermissionsPolicy.java | 30 +- .../com/pulumi/aws/codebuild/Project.java | 158 +- .../com/pulumi/aws/codebuild/ReportGroup.java | 40 +- .../pulumi/aws/codebuild/ResourcePolicy.java | 44 +- .../aws/codebuild/SourceCredential.java | 30 +- .../com/pulumi/aws/codebuild/Webhook.java | 34 +- .../codecatalyst/CodecatalystFunctions.java | 40 +- .../aws/codecatalyst/DevEnvironment.java | 24 +- .../com/pulumi/aws/codecatalyst/Project.java | 14 +- .../aws/codecatalyst/SourceRepository.java | 14 +- .../aws/codecommit/ApprovalRuleTemplate.java | 24 +- .../ApprovalRuleTemplateAssociation.java | 8 +- .../aws/codecommit/CodecommitFunctions.java | 64 +- .../com/pulumi/aws/codecommit/Repository.java | 28 +- .../com/pulumi/aws/codecommit/Trigger.java | 16 +- .../pulumi/aws/codedeploy/Application.java | 36 +- .../aws/codedeploy/DeploymentConfig.java | 54 +- .../aws/codedeploy/DeploymentGroup.java | 110 +- .../CodeguruprofilerFunctions.java | 32 +- .../aws/codeguruprofiler/ProfilingGroup.java | 12 +- .../RepositoryAssociation.java | 16 +- .../aws/codepipeline/CustomActionType.java | 14 +- .../com/pulumi/aws/codepipeline/Pipeline.java | 138 +- .../com/pulumi/aws/codepipeline/Webhook.java | 72 +- .../CodestarconnectionsFunctions.java | 72 +- .../aws/codestarconnections/Connection.java | 40 +- .../pulumi/aws/codestarconnections/Host.java | 14 +- .../NotificationRule.java | 32 +- .../pulumi/aws/cognito/CognitoFunctions.java | 256 +- .../com/pulumi/aws/cognito/IdentityPool.java | 30 +- .../pulumi/aws/cognito/IdentityProvider.java | 28 +- .../aws/cognito/ManagedUserPoolClient.java | 44 +- .../pulumi/aws/cognito/ResourceServer.java | 36 +- .../pulumi/aws/cognito/RiskConfiguration.java | 10 +- .../java/com/pulumi/aws/cognito/User.java | 44 +- .../com/pulumi/aws/cognito/UserGroup.java | 42 +- .../com/pulumi/aws/cognito/UserInGroup.java | 20 +- .../java/com/pulumi/aws/cognito/UserPool.java | 40 +- .../pulumi/aws/cognito/UserPoolClient.java | 104 +- .../pulumi/aws/cognito/UserPoolDomain.java | 36 +- .../aws/cognito/UserPoolUICustomization.java | 44 +- .../UserPoolEmailConfigurationArgs.java | 8 +- .../outputs/UserPoolEmailConfiguration.java | 4 +- .../aws/comprehend/DocumentClassifier.java | 18 +- .../aws/comprehend/EntityRecognizer.java | 24 +- ...DocumentClassifierInputDataConfigArgs.java | 8 +- .../DocumentClassifierInputDataConfig.java | 4 +- .../pulumi/aws/connect/BotAssociation.java | 46 +- .../pulumi/aws/connect/ConnectFunctions.java | 1088 ++-- .../com/pulumi/aws/connect/ContactFlow.java | 78 +- .../pulumi/aws/connect/ContactFlowModule.java | 94 +- .../pulumi/aws/connect/HoursOfOperation.java | 22 +- .../java/com/pulumi/aws/connect/Instance.java | 36 +- .../aws/connect/InstanceStorageConfig.java | 70 +- .../connect/LambdaFunctionAssociation.java | 8 +- .../com/pulumi/aws/connect/PhoneNumber.java | 42 +- .../java/com/pulumi/aws/connect/Queue.java | 62 +- .../com/pulumi/aws/connect/QuickConnect.java | 20 +- .../pulumi/aws/connect/RoutingProfile.java | 24 +- .../pulumi/aws/connect/SecurityProfile.java | 20 +- .../java/com/pulumi/aws/connect/User.java | 90 +- .../java/com/pulumi/aws/connect/UserArgs.java | 8 +- .../aws/connect/UserHierarchyGroup.java | 36 +- .../aws/connect/UserHierarchyStructure.java | 32 +- .../com/pulumi/aws/connect/Vocabulary.java | 20 +- .../pulumi/aws/connect/inputs/UserState.java | 8 +- .../aws/costexplorer/AnomalyMonitor.java | 44 +- .../aws/costexplorer/AnomalySubscription.java | 152 +- .../aws/costexplorer/CostAllocationTag.java | 12 +- .../pulumi/aws/costexplorer/CostCategory.java | 36 +- .../costexplorer/CostexplorerFunctions.java | 72 +- .../java/com/pulumi/aws/cur/CurFunctions.java | 32 +- .../com/pulumi/aws/cur/ReportDefinition.java | 28 +- .../pulumi/aws/customerprofiles/Domain.java | 74 +- .../pulumi/aws/customerprofiles/Profile.java | 12 +- .../com/pulumi/aws/dataexchange/DataSet.java | 14 +- .../com/pulumi/aws/dataexchange/Revision.java | 8 +- .../datapipeline/DatapipelineFunctions.java | 64 +- .../com/pulumi/aws/datapipeline/Pipeline.java | 10 +- .../aws/datapipeline/PipelineDefinition.java | 60 +- .../java/com/pulumi/aws/datasync/Agent.java | 12 +- .../com/pulumi/aws/datasync/EfsLocation.java | 8 +- .../aws/datasync/FsxOpenZfsFileSystem.java | 10 +- .../aws/datasync/LocationAzureBlob.java | 14 +- .../aws/datasync/LocationFsxLustre.java | 8 +- .../datasync/LocationFsxOntapFileSystem.java | 10 +- .../aws/datasync/LocationFsxWindows.java | 12 +- .../com/pulumi/aws/datasync/LocationHdfs.java | 28 +- .../aws/datasync/LocationObjectStorage.java | 12 +- .../com/pulumi/aws/datasync/LocationSmb.java | 16 +- .../com/pulumi/aws/datasync/NfsLocation.java | 12 +- .../com/pulumi/aws/datasync/S3Location.java | 10 +- .../java/com/pulumi/aws/datasync/Task.java | 30 +- .../main/java/com/pulumi/aws/dax/Cluster.java | 12 +- .../com/pulumi/aws/dax/ParameterGroup.java | 18 +- .../java/com/pulumi/aws/dax/SubnetGroup.java | 10 +- .../java/com/pulumi/aws/detective/Graph.java | 10 +- .../aws/detective/InvitationAccepter.java | 18 +- .../java/com/pulumi/aws/detective/Member.java | 16 +- .../detective/OrganizationAdminAccount.java | 16 +- .../detective/OrganizationConfiguration.java | 10 +- .../com/pulumi/aws/devicefarm/DevicePool.java | 16 +- .../aws/devicefarm/InstanceProfile.java | 10 +- .../pulumi/aws/devicefarm/NetworkProfile.java | 14 +- .../com/pulumi/aws/devicefarm/Project.java | 10 +- .../aws/devicefarm/TestGridProject.java | 14 +- .../com/pulumi/aws/devicefarm/Upload.java | 16 +- .../aws/devopsguru/DevopsguruFunctions.java | 64 +- .../aws/devopsguru/EventSourcesConfig.java | 10 +- .../aws/devopsguru/NotificationChannel.java | 20 +- .../aws/devopsguru/ResourceCollection.java | 52 +- .../aws/devopsguru/ServiceIntegration.java | 34 +- .../com/pulumi/aws/directconnect/BgpPeer.java | 10 +- .../pulumi/aws/directconnect/Connection.java | 44 +- .../directconnect/ConnectionAssociation.java | 24 +- .../directconnect/ConnectionConfirmation.java | 10 +- .../directconnect/DirectconnectFunctions.java | 172 +- .../com/pulumi/aws/directconnect/Gateway.java | 12 +- .../aws/directconnect/GatewayAssociation.java | 64 +- .../GatewayAssociationProposal.java | 8 +- .../aws/directconnect/HostedConnection.java | 16 +- .../HostedPrivateVirtualInterface.java | 14 +- ...HostedPrivateVirtualInterfaceAccepter.java | 26 +- .../HostedPublicVirtualInterface.java | 22 +- .../HostedPublicVirtualInterfaceAccepter.java | 32 +- .../HostedTransitVirtualInterface.java | 12 +- ...HostedTransitVirtualInterfaceAcceptor.java | 28 +- .../directconnect/LinkAggregationGroup.java | 14 +- .../directconnect/MacsecKeyAssociation.java | 32 +- .../PrivateVirtualInterface.java | 14 +- .../directconnect/PublicVirtualInterface.java | 22 +- .../TransitVirtualInterface.java | 16 +- .../directoryservice/ConditionalForwader.java | 14 +- .../aws/directoryservice/Directory.java | 102 +- .../DirectoryserviceFunctions.java | 24 +- .../aws/directoryservice/LogService.java | 30 +- .../aws/directoryservice/RadiusSettings.java | 16 +- .../aws/directoryservice/ServiceRegion.java | 66 +- .../aws/directoryservice/SharedDirectory.java | 22 +- .../SharedDirectoryAccepter.java | 12 +- .../pulumi/aws/directoryservice/Trust.java | 60 +- .../com/pulumi/aws/dlm/LifecyclePolicy.java | 144 +- .../java/com/pulumi/aws/dms/Certificate.java | 14 +- .../java/com/pulumi/aws/dms/DmsFunctions.java | 128 +- .../java/com/pulumi/aws/dms/Endpoint.java | 32 +- .../com/pulumi/aws/dms/EventSubscription.java | 18 +- .../com/pulumi/aws/dms/ReplicationConfig.java | 26 +- .../pulumi/aws/dms/ReplicationInstance.java | 60 +- .../aws/dms/ReplicationSubnetGroup.java | 58 +- .../com/pulumi/aws/dms/ReplicationTask.java | 20 +- .../java/com/pulumi/aws/dms/S3Endpoint.java | 70 +- .../java/com/pulumi/aws/docdb/Cluster.java | 18 +- .../com/pulumi/aws/docdb/ClusterInstance.java | 28 +- .../aws/docdb/ClusterParameterGroup.java | 18 +- .../com/pulumi/aws/docdb/ClusterSnapshot.java | 10 +- .../com/pulumi/aws/docdb/DocdbFunctions.java | 156 +- .../com/pulumi/aws/docdb/ElasticCluster.java | 16 +- .../pulumi/aws/docdb/EventSubscription.java | 28 +- .../com/pulumi/aws/docdb/GlobalCluster.java | 54 +- .../com/pulumi/aws/docdb/SubnetGroup.java | 12 +- .../aws/dynamodb/ContributorInsights.java | 10 +- .../aws/dynamodb/DynamodbFunctions.java | 96 +- .../com/pulumi/aws/dynamodb/GlobalTable.java | 38 +- .../dynamodb/KinesisStreamingDestination.java | 22 +- .../pulumi/aws/dynamodb/ResourcePolicy.java | 8 +- .../java/com/pulumi/aws/dynamodb/Table.java | 104 +- .../com/pulumi/aws/dynamodb/TableExport.java | 34 +- .../com/pulumi/aws/dynamodb/TableItem.java | 32 +- .../com/pulumi/aws/dynamodb/TableReplica.java | 26 +- .../java/com/pulumi/aws/dynamodb/Tag.java | 18 +- .../com/pulumi/aws/ebs/DefaultKmsKey.java | 8 +- .../java/com/pulumi/aws/ebs/EbsFunctions.java | 384 +- .../pulumi/aws/ebs/EncryptionByDefault.java | 8 +- .../pulumi/aws/ebs/FastSnapshotRestore.java | 10 +- .../java/com/pulumi/aws/ebs/Snapshot.java | 16 +- .../java/com/pulumi/aws/ebs/SnapshotCopy.java | 22 +- .../com/pulumi/aws/ebs/SnapshotImport.java | 18 +- .../main/java/com/pulumi/aws/ebs/Volume.java | 12 +- .../aws/ebs/inputs/GetEbsVolumesFilter.java | 36 +- .../ebs/inputs/GetEbsVolumesFilterArgs.java | 48 +- .../aws/ebs/outputs/GetEbsVolumesFilter.java | 24 +- .../src/main/java/com/pulumi/aws/ec2/Ami.java | 22 +- .../main/java/com/pulumi/aws/ec2/AmiCopy.java | 18 +- .../com/pulumi/aws/ec2/AmiFromInstance.java | 12 +- .../pulumi/aws/ec2/AmiLaunchPermission.java | 36 +- .../pulumi/aws/ec2/AvailabilityZoneGroup.java | 12 +- .../pulumi/aws/ec2/CapacityReservation.java | 14 +- .../com/pulumi/aws/ec2/CarrierGateway.java | 10 +- .../com/pulumi/aws/ec2/CustomerGateway.java | 14 +- .../com/pulumi/aws/ec2/DedicatedHost.java | 16 +- .../com/pulumi/aws/ec2/DefaultNetworkAcl.java | 20 +- .../com/pulumi/aws/ec2/DefaultRouteTable.java | 24 +- .../com/pulumi/aws/ec2/DefaultSubnet.java | 12 +- .../java/com/pulumi/aws/ec2/DefaultVpc.java | 10 +- .../pulumi/aws/ec2/DefaultVpcDhcpOptions.java | 10 +- .../java/com/pulumi/aws/ec2/Ec2Functions.java | 4860 ++++++++++------- .../aws/ec2/EgressOnlyInternetGateway.java | 14 +- .../src/main/java/com/pulumi/aws/ec2/Eip.java | 76 +- .../com/pulumi/aws/ec2/EipAssociation.java | 22 +- .../com/pulumi/aws/ec2/EipDomainName.java | 18 +- .../main/java/com/pulumi/aws/ec2/Fleet.java | 10 +- .../main/java/com/pulumi/aws/ec2/FlowLog.java | 144 +- .../aws/ec2/ImageBlockPublicAccess.java | 10 +- .../java/com/pulumi/aws/ec2/Instance.java | 128 +- .../aws/ec2/InstanceMetadataDefaults.java | 10 +- .../com/pulumi/aws/ec2/InternetGateway.java | 30 +- .../pulumi/aws/ec2/InternetGatewayArgs.java | 40 +- .../aws/ec2/InternetGatewayAttachment.java | 14 +- .../main/java/com/pulumi/aws/ec2/KeyPair.java | 12 +- .../pulumi/aws/ec2/LaunchConfiguration.java | 24 +- .../com/pulumi/aws/ec2/LocalGatewayRoute.java | 10 +- .../LocalGatewayRouteTableVpcAssociation.java | 16 +- .../aws/ec2/MainRouteTableAssociation.java | 8 +- .../com/pulumi/aws/ec2/ManagedPrefixList.java | 18 +- .../aws/ec2/ManagedPrefixListEntry.java | 18 +- .../java/com/pulumi/aws/ec2/NatGateway.java | 40 +- .../java/com/pulumi/aws/ec2/NetworkAcl.java | 22 +- .../pulumi/aws/ec2/NetworkAclAssociation.java | 8 +- .../com/pulumi/aws/ec2/NetworkAclRule.java | 14 +- .../aws/ec2/NetworkInsightsAnalysis.java | 12 +- .../pulumi/aws/ec2/NetworkInsightsPath.java | 10 +- .../com/pulumi/aws/ec2/NetworkInterface.java | 10 +- .../aws/ec2/NetworkInterfaceAttachment.java | 8 +- ...tworkInterfaceSecurityGroupAttachment.java | 42 +- .../aws/ec2/PeeringConnectionOptions.java | 50 +- .../com/pulumi/aws/ec2/PlacementGroup.java | 12 +- .../pulumi/aws/ec2/ProxyProtocolPolicy.java | 26 +- .../main/java/com/pulumi/aws/ec2/Route.java | 30 +- .../java/com/pulumi/aws/ec2/RouteTable.java | 58 +- .../pulumi/aws/ec2/RouteTableAssociation.java | 16 +- .../com/pulumi/aws/ec2/SecurityGroup.java | 120 +- .../aws/ec2/SecurityGroupAssociation.java | 8 +- .../com/pulumi/aws/ec2/SecurityGroupRule.java | 50 +- .../pulumi/aws/ec2/SerialConsoleAccess.java | 8 +- .../ec2/SnapshotCreateVolumePermission.java | 16 +- .../aws/ec2/SpotDatafeedSubscription.java | 14 +- .../com/pulumi/aws/ec2/SpotFleetRequest.java | 128 +- .../pulumi/aws/ec2/SpotInstanceRequest.java | 16 +- .../main/java/com/pulumi/aws/ec2/Subnet.java | 26 +- .../pulumi/aws/ec2/SubnetCidrReservation.java | 12 +- .../src/main/java/com/pulumi/aws/ec2/Tag.java | 22 +- .../pulumi/aws/ec2/TrafficMirrorFilter.java | 12 +- .../aws/ec2/TrafficMirrorFilterRule.java | 36 +- .../pulumi/aws/ec2/TrafficMirrorSession.java | 18 +- .../pulumi/aws/ec2/TrafficMirrorTarget.java | 18 +- .../com/pulumi/aws/ec2/VolumeAttachment.java | 24 +- .../src/main/java/com/pulumi/aws/ec2/Vpc.java | 46 +- .../com/pulumi/aws/ec2/VpcDhcpOptions.java | 32 +- .../aws/ec2/VpcDhcpOptionsAssociation.java | 8 +- .../java/com/pulumi/aws/ec2/VpcEndpoint.java | 46 +- .../ec2/VpcEndpointConnectionAccepter.java | 14 +- .../VpcEndpointConnectionNotification.java | 30 +- .../com/pulumi/aws/ec2/VpcEndpointPolicy.java | 34 +- .../ec2/VpcEndpointRouteTableAssociation.java | 8 +- .../pulumi/aws/ec2/VpcEndpointService.java | 16 +- .../VpcEndpointServiceAllowedPrinciple.java | 10 +- .../aws/ec2/VpcEndpointSubnetAssociation.java | 8 +- .../main/java/com/pulumi/aws/ec2/VpcIpam.java | 14 +- .../ec2/VpcIpamOrganizationAdminAccount.java | 10 +- .../java/com/pulumi/aws/ec2/VpcIpamPool.java | 44 +- .../com/pulumi/aws/ec2/VpcIpamPoolCidr.java | 44 +- .../aws/ec2/VpcIpamPoolCidrAllocation.java | 48 +- .../aws/ec2/VpcIpamPreviewNextCidr.java | 24 +- .../aws/ec2/VpcIpamResourceDiscovery.java | 14 +- .../VpcIpamResourceDiscoveryAssociation.java | 10 +- .../java/com/pulumi/aws/ec2/VpcIpamScope.java | 14 +- .../aws/ec2/VpcIpv4CidrBlockAssociation.java | 14 +- .../aws/ec2/VpcIpv6CidrBlockAssociation.java | 12 +- ...cNetworkPerformanceMetricSubscription.java | 12 +- .../pulumi/aws/ec2/VpcPeeringConnection.java | 52 +- .../aws/ec2/VpcPeeringConnectionAccepter.java | 30 +- .../com/pulumi/aws/ec2/VpnConnection.java | 80 +- .../pulumi/aws/ec2/VpnConnectionRoute.java | 26 +- .../java/com/pulumi/aws/ec2/VpnGateway.java | 10 +- .../pulumi/aws/ec2/VpnGatewayAttachment.java | 16 +- .../aws/ec2/VpnGatewayRoutePropagation.java | 8 +- .../aws/ec2/inputs/GetSubnetsFilter.java | 30 +- .../aws/ec2/inputs/GetSubnetsFilterArgs.java | 40 +- .../aws/ec2/inputs/InternetGatewayState.java | 40 +- .../aws/ec2/outputs/GetSubnetsFilter.java | 20 +- .../aws/ec2clientvpn/AuthorizationRule.java | 8 +- .../ec2clientvpn/Ec2clientvpnFunctions.java | 108 +- .../com/pulumi/aws/ec2clientvpn/Endpoint.java | 14 +- .../aws/ec2clientvpn/NetworkAssociation.java | 8 +- .../com/pulumi/aws/ec2clientvpn/Route.java | 20 +- .../pulumi/aws/ec2transitgateway/Connect.java | 10 +- .../aws/ec2transitgateway/ConnectPeer.java | 14 +- .../Ec2transitgatewayFunctions.java | 1072 ++-- .../InstanceConnectEndpoint.java | 8 +- .../aws/ec2transitgateway/InstanceState.java | 28 +- .../ec2transitgateway/MulticastDomain.java | 94 +- .../MulticastDomainAssociation.java | 16 +- .../MulticastGroupMember.java | 10 +- .../MulticastGroupSource.java | 10 +- .../ec2transitgateway/PeeringAttachment.java | 20 +- .../PeeringAttachmentAccepter.java | 10 +- .../aws/ec2transitgateway/PolicyTable.java | 10 +- .../PolicyTableAssociation.java | 8 +- .../PrefixListReference.java | 16 +- .../pulumi/aws/ec2transitgateway/Route.java | 20 +- .../aws/ec2transitgateway/RouteTable.java | 8 +- .../RouteTableAssociation.java | 8 +- .../RouteTablePropagation.java | 8 +- .../aws/ec2transitgateway/TransitGateway.java | 10 +- .../aws/ec2transitgateway/VpcAttachment.java | 8 +- .../VpcAttachmentAccepter.java | 10 +- .../java/com/pulumi/aws/ecr/EcrFunctions.java | 284 +- .../com/pulumi/aws/ecr/LifecyclePolicy.java | 72 +- .../pulumi/aws/ecr/PullThroughCacheRule.java | 14 +- .../com/pulumi/aws/ecr/RegistryPolicy.java | 24 +- .../ecr/RegistryScanningConfiguration.java | 38 +- .../aws/ecr/ReplicationConfiguration.java | 44 +- .../java/com/pulumi/aws/ecr/Repository.java | 12 +- .../com/pulumi/aws/ecr/RepositoryPolicy.java | 50 +- .../aws/ecrpublic/EcrpublicFunctions.java | 36 +- .../com/pulumi/aws/ecrpublic/Repository.java | 22 +- .../aws/ecrpublic/RepositoryPolicy.java | 50 +- .../pulumi/aws/ecs/AccountSettingDefault.java | 12 +- .../com/pulumi/aws/ecs/CapacityProvider.java | 18 +- .../main/java/com/pulumi/aws/ecs/Cluster.java | 34 +- .../aws/ecs/ClusterCapacityProviders.java | 16 +- .../java/com/pulumi/aws/ecs/EcsFunctions.java | 304 +- .../main/java/com/pulumi/aws/ecs/Service.java | 62 +- .../src/main/java/com/pulumi/aws/ecs/Tag.java | 18 +- .../com/pulumi/aws/ecs/TaskDefinition.java | 222 +- .../main/java/com/pulumi/aws/ecs/TaskSet.java | 18 +- .../java/com/pulumi/aws/efs/AccessPoint.java | 8 +- .../java/com/pulumi/aws/efs/BackupPolicy.java | 14 +- .../java/com/pulumi/aws/efs/EfsFunctions.java | 172 +- .../java/com/pulumi/aws/efs/FileSystem.java | 24 +- .../com/pulumi/aws/efs/FileSystemPolicy.java | 32 +- .../java/com/pulumi/aws/efs/MountTarget.java | 18 +- .../aws/efs/ReplicationConfiguration.java | 40 +- .../java/com/pulumi/aws/eks/AccessEntry.java | 14 +- .../aws/eks/AccessPolicyAssociation.java | 14 +- .../main/java/com/pulumi/aws/eks/Addon.java | 96 +- .../main/java/com/pulumi/aws/eks/Cluster.java | 128 +- .../java/com/pulumi/aws/eks/EksFunctions.java | 288 +- .../com/pulumi/aws/eks/FargateProfile.java | 40 +- .../aws/eks/IdentityProviderConfig.java | 14 +- .../java/com/pulumi/aws/eks/NodeGroup.java | 68 +- .../aws/eks/PodIdentityAssociation.java | 32 +- .../com/pulumi/aws/elasticache/Cluster.java | 70 +- .../aws/elasticache/ElasticacheFunctions.java | 128 +- .../elasticache/GlobalReplicationGroup.java | 58 +- .../aws/elasticache/ParameterGroup.java | 20 +- .../aws/elasticache/ReplicationGroup.java | 142 +- .../aws/elasticache/ServerlessCache.java | 42 +- .../pulumi/aws/elasticache/SubnetGroup.java | 24 +- .../java/com/pulumi/aws/elasticache/User.java | 58 +- .../com/pulumi/aws/elasticache/UserGroup.java | 24 +- .../aws/elasticache/UserGroupAssociation.java | 38 +- .../aws/elasticbeanstalk/Application.java | 12 +- .../elasticbeanstalk/ApplicationVersion.java | 30 +- .../ConfigurationTemplate.java | 18 +- .../ElasticbeanstalkFunctions.java | 116 +- .../aws/elasticbeanstalk/Environment.java | 48 +- .../com/pulumi/aws/elasticsearch/Domain.java | 144 +- .../aws/elasticsearch/DomainPolicy.java | 34 +- .../aws/elasticsearch/DomainSamlOptions.java | 22 +- .../elasticsearch/ElasticsearchFunctions.java | 32 +- .../pulumi/aws/elasticsearch/VpcEndpoint.java | 8 +- .../aws/elastictranscoder/Pipeline.java | 14 +- .../pulumi/aws/elastictranscoder/Preset.java | 80 +- .../aws/elb/AppCookieStickinessPolicy.java | 22 +- .../java/com/pulumi/aws/elb/Attachment.java | 8 +- .../java/com/pulumi/aws/elb/ElbFunctions.java | 344 +- .../com/pulumi/aws/elb/ListenerPolicy.java | 68 +- .../java/com/pulumi/aws/elb/LoadBalancer.java | 34 +- .../elb/LoadBalancerBackendServerPolicy.java | 40 +- .../LoadBalancerCookieStickinessPolicy.java | 20 +- .../pulumi/aws/elb/LoadBalancerPolicy.java | 66 +- .../pulumi/aws/elb/SslNegotiationPolicy.java | 50 +- .../emr/BlockPublicAccessConfiguration.java | 32 +- .../main/java/com/pulumi/aws/emr/Cluster.java | 240 +- .../java/com/pulumi/aws/emr/ClusterArgs.java | 96 +- .../java/com/pulumi/aws/emr/EmrFunctions.java | 140 +- .../com/pulumi/aws/emr/InstanceFleet.java | 22 +- .../com/pulumi/aws/emr/InstanceGroup.java | 60 +- .../com/pulumi/aws/emr/InstanceGroupArgs.java | 96 +- .../pulumi/aws/emr/ManagedScalingPolicy.java | 20 +- .../pulumi/aws/emr/SecurityConfiguration.java | 32 +- .../main/java/com/pulumi/aws/emr/Studio.java | 14 +- .../pulumi/aws/emr/StudioSessionMapping.java | 12 +- .../pulumi/aws/emr/inputs/ClusterState.java | 96 +- .../emr/inputs/GetReleaseLabelsFilters.java | 6 +- .../inputs/GetReleaseLabelsFiltersArgs.java | 8 +- .../aws/emr/inputs/InstanceGroupState.java | 96 +- .../emr/outputs/GetReleaseLabelsFilters.java | 4 +- .../emrcontainers/EmrcontainersFunctions.java | 48 +- .../pulumi/aws/emrcontainers/JobTemplate.java | 14 +- .../aws/emrcontainers/VirtualCluster.java | 14 +- .../pulumi/aws/emrserverless/Application.java | 52 +- .../com/pulumi/aws/evidently/Feature.java | 76 +- .../java/com/pulumi/aws/evidently/Launch.java | 184 +- .../com/pulumi/aws/evidently/Project.java | 48 +- .../com/pulumi/aws/evidently/Segment.java | 48 +- .../com/pulumi/aws/finspace/KxCluster.java | 24 +- .../com/pulumi/aws/finspace/KxDatabase.java | 20 +- .../com/pulumi/aws/finspace/KxDataview.java | 18 +- .../pulumi/aws/finspace/KxEnvironment.java | 40 +- .../pulumi/aws/finspace/KxScalingGroup.java | 14 +- .../java/com/pulumi/aws/finspace/KxUser.java | 36 +- .../com/pulumi/aws/finspace/KxVolume.java | 18 +- .../pulumi/aws/fis/ExperimentTemplate.java | 30 +- .../java/com/pulumi/aws/fms/AdminAccount.java | 8 +- .../main/java/com/pulumi/aws/fms/Policy.java | 40 +- .../main/java/com/pulumi/aws/fsx/Backup.java | 48 +- .../aws/fsx/DataRepositoryAssociation.java | 36 +- .../java/com/pulumi/aws/fsx/FileCache.java | 30 +- .../java/com/pulumi/aws/fsx/FsxFunctions.java | 292 +- .../com/pulumi/aws/fsx/LustreFileSystem.java | 10 +- .../com/pulumi/aws/fsx/OntapFileSystem.java | 20 +- .../aws/fsx/OntapStorageVirtualMachine.java | 32 +- .../java/com/pulumi/aws/fsx/OntapVolume.java | 26 +- .../com/pulumi/aws/fsx/OpenZfsFileSystem.java | 10 +- .../com/pulumi/aws/fsx/OpenZfsSnapshot.java | 32 +- .../com/pulumi/aws/fsx/OpenZfsVolume.java | 10 +- .../com/pulumi/aws/fsx/WindowsFileSystem.java | 26 +- ...FileSystemRootSquashConfigurationArgs.java | 10 +- ...streFileSystemRootSquashConfiguration.java | 4 +- .../java/com/pulumi/aws/gamelift/Alias.java | 16 +- .../java/com/pulumi/aws/gamelift/Build.java | 12 +- .../java/com/pulumi/aws/gamelift/Fleet.java | 16 +- .../pulumi/aws/gamelift/GameServerGroup.java | 70 +- .../pulumi/aws/gamelift/GameSessionQueue.java | 10 +- .../java/com/pulumi/aws/gamelift/Script.java | 10 +- .../java/com/pulumi/aws/glacier/Vault.java | 36 +- .../com/pulumi/aws/glacier/VaultLock.java | 32 +- .../aws/globalaccelerator/Accelerator.java | 18 +- .../CrossAccountAttachment.java | 26 +- .../CustomRoutingAccelerator.java | 18 +- .../CustomRoutingEndpointGroup.java | 10 +- .../CustomRoutingListener.java | 18 +- .../aws/globalaccelerator/EndpointGroup.java | 8 +- .../GlobalacceleratorFunctions.java | 120 +- .../aws/globalaccelerator/Listener.java | 22 +- .../com/pulumi/aws/glue/CatalogDatabase.java | 24 +- .../com/pulumi/aws/glue/CatalogTable.java | 68 +- .../java/com/pulumi/aws/glue/Classifier.java | 60 +- .../java/com/pulumi/aws/glue/Connection.java | 32 +- .../java/com/pulumi/aws/glue/Crawler.java | 96 +- .../glue/DataCatalogEncryptionSettings.java | 10 +- .../pulumi/aws/glue/DataQualityRuleset.java | 52 +- .../java/com/pulumi/aws/glue/DevEndpoint.java | 26 +- .../com/pulumi/aws/glue/GlueFunctions.java | 760 +-- .../main/java/com/pulumi/aws/glue/Job.java | 82 +- .../java/com/pulumi/aws/glue/MLTransform.java | 80 +- .../java/com/pulumi/aws/glue/Partition.java | 14 +- .../com/pulumi/aws/glue/PartitionIndex.java | 80 +- .../java/com/pulumi/aws/glue/Registry.java | 10 +- .../com/pulumi/aws/glue/ResourcePolicy.java | 16 +- .../main/java/com/pulumi/aws/glue/Schema.java | 16 +- .../aws/glue/SecurityConfiguration.java | 16 +- .../java/com/pulumi/aws/glue/Trigger.java | 68 +- .../pulumi/aws/glue/UserDefinedFunction.java | 24 +- .../java/com/pulumi/aws/glue/Workflow.java | 30 +- .../pulumi/aws/grafana/GrafanaFunctions.java | 32 +- .../aws/grafana/LicenseAssociation.java | 36 +- .../pulumi/aws/grafana/RoleAssociation.java | 40 +- .../com/pulumi/aws/grafana/Workspace.java | 32 +- .../pulumi/aws/grafana/WorkspaceApiKey.java | 12 +- .../grafana/WorkspaceSamlConfiguration.java | 38 +- .../com/pulumi/aws/guardduty/Detector.java | 8 +- .../pulumi/aws/guardduty/DetectorFeature.java | 18 +- .../java/com/pulumi/aws/guardduty/Filter.java | 32 +- .../aws/guardduty/GuarddutyFunctions.java | 60 +- .../java/com/pulumi/aws/guardduty/IPSet.java | 32 +- .../pulumi/aws/guardduty/InviteAccepter.java | 16 +- .../java/com/pulumi/aws/guardduty/Member.java | 16 +- .../guardduty/OrganizationAdminAccount.java | 18 +- .../guardduty/OrganizationConfiguration.java | 12 +- .../OrganizationConfigurationFeature.java | 18 +- .../aws/guardduty/PublishingDestination.java | 66 +- .../pulumi/aws/guardduty/ThreatIntelSet.java | 34 +- .../java/com/pulumi/aws/iam/AccessKey.java | 46 +- .../java/com/pulumi/aws/iam/AccountAlias.java | 10 +- .../pulumi/aws/iam/AccountPasswordPolicy.java | 8 +- .../main/java/com/pulumi/aws/iam/Group.java | 16 +- .../java/com/pulumi/aws/iam/GroupArgs.java | 8 +- .../com/pulumi/aws/iam/GroupMembership.java | 22 +- .../java/com/pulumi/aws/iam/GroupPolicy.java | 26 +- .../pulumi/aws/iam/GroupPolicyAttachment.java | 20 +- .../java/com/pulumi/aws/iam/IamFunctions.java | 2844 +++++----- .../com/pulumi/aws/iam/InstanceProfile.java | 30 +- .../pulumi/aws/iam/InstanceProfileArgs.java | 8 +- .../pulumi/aws/iam/OpenIdConnectProvider.java | 14 +- .../main/java/com/pulumi/aws/iam/Policy.java | 24 +- .../com/pulumi/aws/iam/PolicyAttachment.java | 46 +- .../main/java/com/pulumi/aws/iam/Role.java | 140 +- .../java/com/pulumi/aws/iam/RolePolicy.java | 38 +- .../pulumi/aws/iam/RolePolicyAttachment.java | 36 +- .../java/com/pulumi/aws/iam/SamlProvider.java | 12 +- .../iam/SecurityTokenServicePreferences.java | 10 +- .../com/pulumi/aws/iam/ServerCertificate.java | 32 +- .../com/pulumi/aws/iam/ServiceLinkedRole.java | 10 +- .../aws/iam/ServiceSpecificCredential.java | 14 +- .../pulumi/aws/iam/SigningCertificate.java | 26 +- .../main/java/com/pulumi/aws/iam/SshKey.java | 18 +- .../main/java/com/pulumi/aws/iam/User.java | 32 +- .../java/com/pulumi/aws/iam/UserArgs.java | 8 +- .../pulumi/aws/iam/UserGroupMembership.java | 26 +- .../com/pulumi/aws/iam/UserLoginProfile.java | 18 +- .../java/com/pulumi/aws/iam/UserPolicy.java | 28 +- .../pulumi/aws/iam/UserPolicyAttachment.java | 20 +- .../com/pulumi/aws/iam/VirtualMfaDevice.java | 14 +- .../com/pulumi/aws/iam/inputs/GroupState.java | 8 +- .../aws/iam/inputs/InstanceProfileState.java | 8 +- .../com/pulumi/aws/iam/inputs/UserState.java | 8 +- .../aws/iam/inputs/VirtualMfaDeviceState.java | 8 +- .../identitystore/IdentitystoreFunctions.java | 32 +- .../pulumi/aws/imagebuilder/Component.java | 16 +- .../aws/imagebuilder/ContainerRecipe.java | 30 +- .../DistributionConfiguration.java | 20 +- .../com/pulumi/aws/imagebuilder/Image.java | 8 +- .../aws/imagebuilder/ImagePipeline.java | 12 +- .../pulumi/aws/imagebuilder/ImageRecipe.java | 26 +- .../imagebuilder/ImagebuilderFunctions.java | 620 ++- .../InfrastructureConfiguration.java | 20 +- .../com/pulumi/aws/imagebuilder/Workflow.java | 24 +- .../aws/inspector/AssessmentTarget.java | 16 +- .../aws/inspector/AssessmentTemplate.java | 20 +- .../aws/inspector/InspectorFunctions.java | 132 +- .../pulumi/aws/inspector/ResourceGroup.java | 12 +- .../aws/inspector2/DelegatedAdminAccount.java | 10 +- .../com/pulumi/aws/inspector2/Enabler.java | 26 +- .../aws/inspector2/MemberAssociation.java | 10 +- .../inspector2/OrganizationConfiguration.java | 8 +- .../java/com/pulumi/aws/iot/Authorizer.java | 18 +- .../java/com/pulumi/aws/iot/BillingGroup.java | 14 +- .../com/pulumi/aws/iot/CaCertificate.java | 40 +- .../java/com/pulumi/aws/iot/Certificate.java | 28 +- .../pulumi/aws/iot/DomainConfiguration.java | 14 +- .../pulumi/aws/iot/EventConfigurations.java | 30 +- .../pulumi/aws/iot/IndexingConfiguration.java | 34 +- .../java/com/pulumi/aws/iot/IotFunctions.java | 156 +- .../com/pulumi/aws/iot/LoggingOptions.java | 10 +- .../main/java/com/pulumi/aws/iot/Policy.java | 20 +- .../com/pulumi/aws/iot/PolicyAttachment.java | 24 +- .../pulumi/aws/iot/ProvisioningTemplate.java | 70 +- .../java/com/pulumi/aws/iot/RoleAlias.java | 20 +- .../main/java/com/pulumi/aws/iot/Thing.java | 12 +- .../java/com/pulumi/aws/iot/ThingGroup.java | 22 +- .../pulumi/aws/iot/ThingGroupMembership.java | 12 +- .../aws/iot/ThingPrincipalAttachment.java | 16 +- .../java/com/pulumi/aws/iot/ThingType.java | 10 +- .../java/com/pulumi/aws/iot/TopicRule.java | 52 +- .../pulumi/aws/iot/TopicRuleDestination.java | 10 +- .../main/java/com/pulumi/aws/ivs/Channel.java | 10 +- .../java/com/pulumi/aws/ivs/IvsFunctions.java | 32 +- .../com/pulumi/aws/ivs/PlaybackKeyPair.java | 10 +- .../aws/ivs/RecordingConfiguration.java | 12 +- .../aws/ivschat/LoggingConfiguration.java | 60 +- .../java/com/pulumi/aws/ivschat/Room.java | 10 +- .../com/pulumi/aws/kendra/DataSource.java | 206 +- .../com/pulumi/aws/kendra/Experience.java | 14 +- .../main/java/com/pulumi/aws/kendra/Faq.java | 36 +- .../java/com/pulumi/aws/kendra/Index.java | 242 +- .../pulumi/aws/kendra/KendraFunctions.java | 192 +- .../aws/kendra/QuerySuggestionsBlockList.java | 14 +- .../java/com/pulumi/aws/kendra/Thesaurus.java | 12 +- .../com/pulumi/aws/keyspaces/Keyspace.java | 10 +- .../java/com/pulumi/aws/keyspaces/Table.java | 16 +- .../aws/kinesis/AnalyticsApplication.java | 70 +- .../aws/kinesis/FirehoseDeliveryStream.java | 470 +- .../pulumi/aws/kinesis/KinesisFunctions.java | 96 +- .../pulumi/aws/kinesis/ResourcePolicy.java | 38 +- .../java/com/pulumi/aws/kinesis/Stream.java | 18 +- .../pulumi/aws/kinesis/StreamConsumer.java | 14 +- .../com/pulumi/aws/kinesis/VideoStream.java | 16 +- .../aws/kinesisanalyticsv2/Application.java | 138 +- .../ApplicationSnapshot.java | 10 +- .../main/java/com/pulumi/aws/kms/Alias.java | 12 +- .../java/com/pulumi/aws/kms/Ciphertext.java | 20 +- .../com/pulumi/aws/kms/CustomKeyStore.java | 14 +- .../java/com/pulumi/aws/kms/ExternalKey.java | 10 +- .../src/main/java/com/pulumi/aws/kms/Key.java | 10 +- .../java/com/pulumi/aws/kms/KeyPolicy.java | 30 +- .../java/com/pulumi/aws/kms/KmsFunctions.java | 264 +- .../pulumi/aws/kms/ReplicaExternalKey.java | 18 +- .../java/com/pulumi/aws/kms/ReplicaKey.java | 14 +- .../aws/lakeformation/DataCellsFilter.java | 14 +- .../aws/lakeformation/DataLakeSettings.java | 42 +- .../lakeformation/LakeformationFunctions.java | 208 +- .../com/pulumi/aws/lakeformation/LfTag.java | 16 +- .../pulumi/aws/lakeformation/Permissions.java | 90 +- .../pulumi/aws/lakeformation/Resource.java | 12 +- .../aws/lakeformation/ResourceLfTag.java | 10 +- .../aws/lakeformation/ResourceLfTags.java | 84 +- .../java/com/pulumi/aws/lambda/Alias.java | 16 +- .../pulumi/aws/lambda/CodeSigningConfig.java | 12 +- .../pulumi/aws/lambda/EventSourceMapping.java | 114 +- .../java/com/pulumi/aws/lambda/Function.java | 142 +- .../aws/lambda/FunctionEventInvokeConfig.java | 42 +- .../com/pulumi/aws/lambda/FunctionUrl.java | 28 +- .../com/pulumi/aws/lambda/Invocation.java | 28 +- .../pulumi/aws/lambda/LambdaFunctions.java | 204 +- .../com/pulumi/aws/lambda/LayerVersion.java | 14 +- .../aws/lambda/LayerVersionPermission.java | 16 +- .../com/pulumi/aws/lambda/Permission.java | 194 +- .../lambda/ProvisionedConcurrencyConfig.java | 16 +- .../java/com/pulumi/aws/lb/LbFunctions.java | 384 +- .../main/java/com/pulumi/aws/lb/Listener.java | 186 +- .../pulumi/aws/lb/ListenerCertificate.java | 14 +- .../java/com/pulumi/aws/lb/ListenerRule.java | 90 +- .../java/com/pulumi/aws/lb/LoadBalancer.java | 28 +- .../java/com/pulumi/aws/lb/TargetGroup.java | 72 +- .../pulumi/aws/lb/TargetGroupAttachment.java | 36 +- .../pulumi/aws/lb/TrustStoreRevocation.java | 20 +- .../src/main/java/com/pulumi/aws/lex/Bot.java | 30 +- .../java/com/pulumi/aws/lex/BotAlias.java | 16 +- .../main/java/com/pulumi/aws/lex/Intent.java | 74 +- .../java/com/pulumi/aws/lex/LexFunctions.java | 160 +- .../java/com/pulumi/aws/lex/SlotType.java | 26 +- .../java/com/pulumi/aws/lex/V2modelsBot.java | 16 +- .../com/pulumi/aws/lex/V2modelsBotLocale.java | 28 +- .../pulumi/aws/lex/V2modelsBotVersion.java | 10 +- .../java/com/pulumi/aws/lex/V2modelsSlot.java | 10 +- .../com/pulumi/aws/lex/V2modelsSlotType.java | 28 +- .../aws/licensemanager/Association.java | 26 +- .../licensemanager/LicenseConfiguration.java | 18 +- .../aws/licensemanager/LicenseGrant.java | 26 +- .../licensemanager/LicenseGrantAccepter.java | 10 +- .../LicensemanagerFunctions.java | 152 +- .../inputs/GetLicenseGrantsFilter.java | 30 +- .../inputs/GetLicenseGrantsFilterArgs.java | 40 +- .../inputs/GetReceivedLicensesFilter.java | 30 +- .../inputs/GetReceivedLicensesFilterArgs.java | 40 +- .../outputs/GetLicenseGrantsFilter.java | 20 +- .../outputs/GetReceivedLicensesFilter.java | 20 +- .../java/com/pulumi/aws/lightsail/Bucket.java | 12 +- .../pulumi/aws/lightsail/BucketAccessKey.java | 14 +- .../com/pulumi/aws/lightsail/Certificate.java | 14 +- .../aws/lightsail/ContainerService.java | 50 +- .../ContainerServiceDeploymentVersion.java | 22 +- .../com/pulumi/aws/lightsail/Database.java | 124 +- .../pulumi/aws/lightsail/DatabaseArgs.java | 8 +- .../java/com/pulumi/aws/lightsail/Disk.java | 18 +- .../pulumi/aws/lightsail/Disk_attachment.java | 32 +- .../pulumi/aws/lightsail/Distribution.java | 110 +- .../java/com/pulumi/aws/lightsail/Domain.java | 10 +- .../com/pulumi/aws/lightsail/DomainEntry.java | 18 +- .../com/pulumi/aws/lightsail/Instance.java | 62 +- .../aws/lightsail/InstancePublicPorts.java | 18 +- .../com/pulumi/aws/lightsail/KeyPair.java | 34 +- .../java/com/pulumi/aws/lightsail/Lb.java | 16 +- .../pulumi/aws/lightsail/LbAttachment.java | 34 +- .../pulumi/aws/lightsail/LbCertificate.java | 22 +- .../lightsail/LbCertificateAttachment.java | 24 +- .../lightsail/LbHttpsRedirectionPolicy.java | 26 +- .../aws/lightsail/LbStickinessPolicy.java | 18 +- .../com/pulumi/aws/lightsail/StaticIp.java | 10 +- .../aws/lightsail/StaticIpAttachment.java | 24 +- .../aws/lightsail/inputs/DatabaseState.java | 8 +- .../aws/location/GeofenceCollection.java | 10 +- .../aws/location/LocationFunctions.java | 232 +- .../java/com/pulumi/aws/location/Map.java | 12 +- .../com/pulumi/aws/location/PlaceIndex.java | 12 +- .../pulumi/aws/location/RouteCalculation.java | 12 +- .../java/com/pulumi/aws/location/Tracker.java | 10 +- .../aws/location/TrackerAssociation.java | 16 +- .../java/com/pulumi/aws/m2/Application.java | 42 +- .../java/com/pulumi/aws/m2/Deployment.java | 12 +- .../java/com/pulumi/aws/m2/Environment.java | 88 +- .../aws/macie/CustomDataIdentifier.java | 20 +- .../com/pulumi/aws/macie/FindingsFilter.java | 18 +- .../java/com/pulumi/aws/macie2/Account.java | 12 +- .../ClassificationExportConfiguration.java | 12 +- .../pulumi/aws/macie2/ClassificationJob.java | 18 +- .../pulumi/aws/macie2/InvitationAccepter.java | 22 +- .../java/com/pulumi/aws/macie2/Member.java | 16 +- .../aws/macie2/OrganizationAdminAccount.java | 12 +- .../mediaconvert/MediaconvertFunctions.java | 32 +- .../com/pulumi/aws/mediaconvert/Queue.java | 10 +- .../com/pulumi/aws/medialive/Channel.java | 52 +- .../java/com/pulumi/aws/medialive/Input.java | 20 +- .../aws/medialive/InputSecurityGroup.java | 12 +- .../aws/medialive/MedialiveFunctions.java | 24 +- .../com/pulumi/aws/medialive/Multiplex.java | 18 +- .../aws/medialive/MultiplexProgram.java | 24 +- .../com/pulumi/aws/mediapackage/Channel.java | 12 +- .../com/pulumi/aws/mediastore/Container.java | 10 +- .../aws/mediastore/ContainerPolicy.java | 32 +- .../java/com/pulumi/aws/memorydb/Acl.java | 14 +- .../java/com/pulumi/aws/memorydb/Cluster.java | 14 +- .../aws/memorydb/MemorydbFunctions.java | 192 +- .../pulumi/aws/memorydb/ParameterGroup.java | 16 +- .../com/pulumi/aws/memorydb/Snapshot.java | 10 +- .../com/pulumi/aws/memorydb/SubnetGroup.java | 20 +- .../java/com/pulumi/aws/memorydb/User.java | 16 +- .../main/java/com/pulumi/aws/mq/Broker.java | 90 +- .../java/com/pulumi/aws/mq/Configuration.java | 56 +- .../java/com/pulumi/aws/mq/MqFunctions.java | 216 +- .../main/java/com/pulumi/aws/msk/Cluster.java | 100 +- .../com/pulumi/aws/msk/ClusterPolicy.java | 32 +- .../com/pulumi/aws/msk/Configuration.java | 16 +- .../java/com/pulumi/aws/msk/MskFunctions.java | 220 +- .../java/com/pulumi/aws/msk/Replicator.java | 22 +- .../aws/msk/ScramSecretAssociation.java | 40 +- .../com/pulumi/aws/msk/ServerlessCluster.java | 12 +- .../com/pulumi/aws/msk/VpcConnection.java | 14 +- .../com/pulumi/aws/mskconnect/Connector.java | 22 +- .../pulumi/aws/mskconnect/CustomPlugin.java | 22 +- .../aws/mskconnect/MskconnectFunctions.java | 96 +- .../aws/mskconnect/WorkerConfiguration.java | 14 +- .../java/com/pulumi/aws/mwaa/Environment.java | 74 +- .../java/com/pulumi/aws/neptune/Cluster.java | 14 +- .../pulumi/aws/neptune/ClusterEndpoint.java | 12 +- .../pulumi/aws/neptune/ClusterInstance.java | 22 +- .../aws/neptune/ClusterParameterGroup.java | 16 +- .../pulumi/aws/neptune/ClusterSnapshot.java | 10 +- .../pulumi/aws/neptune/EventSubscription.java | 62 +- .../com/pulumi/aws/neptune/GlobalCluster.java | 54 +- .../pulumi/aws/neptune/NeptuneFunctions.java | 156 +- .../pulumi/aws/neptune/ParameterGroup.java | 16 +- .../com/pulumi/aws/neptune/SubnetGroup.java | 12 +- .../pulumi/aws/networkfirewall/Firewall.java | 14 +- .../aws/networkfirewall/FirewallPolicy.java | 64 +- .../networkfirewall/LoggingConfiguration.java | 44 +- .../NetworkfirewallFunctions.java | 264 +- .../aws/networkfirewall/ResourcePolicy.java | 58 +- .../pulumi/aws/networkfirewall/RuleGroup.java | 166 +- .../networkmanager/AttachmentAccepter.java | 16 +- .../aws/networkmanager/ConnectAttachment.java | 32 +- .../aws/networkmanager/ConnectPeer.java | 62 +- .../pulumi/aws/networkmanager/Connection.java | 8 +- .../aws/networkmanager/CoreNetwork.java | 210 +- .../CoreNetworkPolicyAttachment.java | 192 +- .../CustomerGatewayAssociation.java | 28 +- .../com/pulumi/aws/networkmanager/Device.java | 8 +- .../aws/networkmanager/GlobalNetwork.java | 10 +- .../com/pulumi/aws/networkmanager/Link.java | 10 +- .../aws/networkmanager/LinkAssociation.java | 8 +- .../NetworkmanagerFunctions.java | 520 +- .../com/pulumi/aws/networkmanager/Site.java | 10 +- .../SiteToSiteVpnAttachment.java | 8 +- .../TransitGatewayConnectPeerAssociation.java | 8 +- .../networkmanager/TransitGatewayPeering.java | 8 +- .../TransitGatewayRegistration.java | 14 +- .../TransitGatewayRouteTableAttachment.java | 8 +- .../aws/networkmanager/VpcAttachment.java | 8 +- .../main/java/com/pulumi/aws/oam/Link.java | 14 +- .../java/com/pulumi/aws/oam/OamFunctions.java | 136 +- .../main/java/com/pulumi/aws/oam/Sink.java | 12 +- .../java/com/pulumi/aws/oam/SinkPolicy.java | 44 +- .../com/pulumi/aws/opensearch/Domain.java | 178 +- .../pulumi/aws/opensearch/DomainPolicy.java | 32 +- .../aws/opensearch/DomainSamlOptions.java | 22 +- .../opensearch/InboundConnectionAccepter.java | 20 +- .../aws/opensearch/OpensearchFunctions.java | 248 +- .../aws/opensearch/OutboundConnection.java | 20 +- .../com/pulumi/aws/opensearch/Package.java | 24 +- .../aws/opensearch/PackageAssociation.java | 22 +- .../opensearch/ServerlessAccessPolicy.java | 98 +- .../aws/opensearch/ServerlessCollection.java | 24 +- .../opensearch/ServerlessLifecyclePolicy.java | 26 +- .../opensearch/ServerlessSecurityPolicy.java | 166 +- .../aws/opensearch/ServerlessVpcEndpoint.java | 10 +- .../pulumi/aws/opensearch/VpcEndpoint.java | 8 +- .../pulumi/aws/opensearchingest/Pipeline.java | 54 +- .../com/pulumi/aws/opsworks/Application.java | 38 +- .../com/pulumi/aws/opsworks/CustomLayer.java | 12 +- .../pulumi/aws/opsworks/EcsClusterLayer.java | 8 +- .../com/pulumi/aws/opsworks/GangliaLayer.java | 10 +- .../com/pulumi/aws/opsworks/HaproxyLayer.java | 10 +- .../com/pulumi/aws/opsworks/Instance.java | 14 +- .../com/pulumi/aws/opsworks/JavaAppLayer.java | 8 +- .../pulumi/aws/opsworks/MemcachedLayer.java | 8 +- .../com/pulumi/aws/opsworks/MysqlLayer.java | 8 +- .../pulumi/aws/opsworks/NodejsAppLayer.java | 8 +- .../com/pulumi/aws/opsworks/Permission.java | 10 +- .../com/pulumi/aws/opsworks/PhpAppLayer.java | 8 +- .../pulumi/aws/opsworks/RailsAppLayer.java | 8 +- .../pulumi/aws/opsworks/RdsDbInstance.java | 12 +- .../java/com/pulumi/aws/opsworks/Stack.java | 22 +- .../pulumi/aws/opsworks/StaticWebLayer.java | 8 +- .../com/pulumi/aws/opsworks/UserProfile.java | 10 +- .../com/pulumi/aws/organizations/Account.java | 12 +- .../organizations/DelegatedAdministrator.java | 12 +- .../aws/organizations/Organization.java | 14 +- .../aws/organizations/OrganizationalUnit.java | 10 +- .../organizations/OrganizationsFunctions.java | 476 +- .../com/pulumi/aws/organizations/Policy.java | 18 +- .../aws/organizations/PolicyAttachment.java | 26 +- .../aws/organizations/ResourcePolicy.java | 58 +- .../aws/outposts/OutpostsFunctions.java | 336 +- .../com/pulumi/aws/pinpoint/AdmChannel.java | 14 +- .../com/pulumi/aws/pinpoint/ApnsChannel.java | 14 +- .../aws/pinpoint/ApnsSandboxChannel.java | 14 +- .../pulumi/aws/pinpoint/ApnsVoipChannel.java | 14 +- .../aws/pinpoint/ApnsVoipSandboxChannel.java | 14 +- .../java/com/pulumi/aws/pinpoint/App.java | 14 +- .../com/pulumi/aws/pinpoint/BaiduChannel.java | 14 +- .../com/pulumi/aws/pinpoint/EmailChannel.java | 46 +- .../pulumi/aws/pinpoint/EmailChannelArgs.java | 8 +- .../com/pulumi/aws/pinpoint/EventStream.java | 40 +- .../com/pulumi/aws/pinpoint/GcmChannel.java | 12 +- .../com/pulumi/aws/pinpoint/SmsChannel.java | 10 +- .../pinpoint/inputs/EmailChannelState.java | 8 +- .../main/java/com/pulumi/aws/pipes/Pipe.java | 110 +- .../com/pulumi/aws/polly/PollyFunctions.java | 84 +- .../pulumi/aws/pricing/PricingFunctions.java | 208 +- .../main/java/com/pulumi/aws/qldb/Ledger.java | 12 +- .../com/pulumi/aws/qldb/QldbFunctions.java | 32 +- .../main/java/com/pulumi/aws/qldb/Stream.java | 20 +- .../aws/quicksight/AccountSubscription.java | 16 +- .../com/pulumi/aws/quicksight/Analysis.java | 26 +- .../com/pulumi/aws/quicksight/Dashboard.java | 30 +- .../com/pulumi/aws/quicksight/DataSet.java | 138 +- .../com/pulumi/aws/quicksight/DataSource.java | 18 +- .../com/pulumi/aws/quicksight/Folder.java | 58 +- .../aws/quicksight/FolderMembership.java | 10 +- .../java/com/pulumi/aws/quicksight/Group.java | 10 +- .../aws/quicksight/GroupMembership.java | 12 +- .../aws/quicksight/IamPolicyAssignment.java | 12 +- .../com/pulumi/aws/quicksight/Ingestion.java | 12 +- .../com/pulumi/aws/quicksight/Namespace.java | 10 +- .../aws/quicksight/QuicksightFunctions.java | 128 +- .../aws/quicksight/RefreshSchedule.java | 60 +- .../com/pulumi/aws/quicksight/Template.java | 28 +- .../pulumi/aws/quicksight/TemplateAlias.java | 10 +- .../java/com/pulumi/aws/quicksight/Theme.java | 40 +- .../java/com/pulumi/aws/quicksight/User.java | 20 +- .../pulumi/aws/quicksight/VpcConnection.java | 54 +- .../pulumi/aws/ram/PrincipalAssociation.java | 20 +- .../java/com/pulumi/aws/ram/RamFunctions.java | 88 +- .../pulumi/aws/ram/ResourceAssociation.java | 8 +- .../com/pulumi/aws/ram/ResourceShare.java | 12 +- .../pulumi/aws/ram/ResourceShareAccepter.java | 18 +- .../aws/ram/SharingWithOrganization.java | 8 +- .../main/java/com/pulumi/aws/rbin/Rule.java | 20 +- .../main/java/com/pulumi/aws/rds/Cluster.java | 184 +- .../pulumi/aws/rds/ClusterActivityStream.java | 40 +- .../com/pulumi/aws/rds/ClusterEndpoint.java | 54 +- .../com/pulumi/aws/rds/ClusterInstance.java | 30 +- .../pulumi/aws/rds/ClusterParameterGroup.java | 22 +- .../aws/rds/ClusterRoleAssociation.java | 10 +- .../com/pulumi/aws/rds/ClusterSnapshot.java | 10 +- .../pulumi/aws/rds/CustomDbEngineVersion.java | 92 +- .../com/pulumi/aws/rds/EventSubscription.java | 54 +- .../java/com/pulumi/aws/rds/ExportTask.java | 98 +- .../com/pulumi/aws/rds/GlobalCluster.java | 142 +- .../java/com/pulumi/aws/rds/Instance.java | 196 +- .../InstanceAutomatedBackupsReplication.java | 50 +- .../java/com/pulumi/aws/rds/OptionGroup.java | 28 +- .../com/pulumi/aws/rds/ParameterGroup.java | 20 +- .../main/java/com/pulumi/aws/rds/Proxy.java | 22 +- .../aws/rds/ProxyDefaultTargetGroup.java | 28 +- .../com/pulumi/aws/rds/ProxyEndpoint.java | 14 +- .../java/com/pulumi/aws/rds/ProxyTarget.java | 30 +- .../java/com/pulumi/aws/rds/RdsFunctions.java | 1132 ++-- .../com/pulumi/aws/rds/ReservedInstance.java | 18 +- .../com/pulumi/aws/rds/RoleAssociation.java | 10 +- .../java/com/pulumi/aws/rds/Snapshot.java | 28 +- .../java/com/pulumi/aws/rds/SnapshotCopy.java | 32 +- .../java/com/pulumi/aws/rds/SubnetGroup.java | 12 +- .../aws/redshift/AuthenticationProfile.java | 16 +- .../java/com/pulumi/aws/redshift/Cluster.java | 38 +- .../pulumi/aws/redshift/ClusterIamRoles.java | 8 +- .../pulumi/aws/redshift/ClusterSnapshot.java | 16 +- .../aws/redshift/DataShareAuthorization.java | 12 +- .../DataShareConsumerAssociation.java | 22 +- .../pulumi/aws/redshift/EndpointAccess.java | 10 +- .../aws/redshift/EndpointAuthorization.java | 10 +- .../aws/redshift/EventSubscription.java | 34 +- .../aws/redshift/HsmClientCertificate.java | 10 +- .../pulumi/aws/redshift/HsmConfiguration.java | 20 +- .../java/com/pulumi/aws/redshift/Logging.java | 26 +- .../pulumi/aws/redshift/ParameterGroup.java | 24 +- .../java/com/pulumi/aws/redshift/Partner.java | 10 +- .../aws/redshift/RedshiftFunctions.java | 516 +- .../pulumi/aws/redshift/ResourcePolicy.java | 24 +- .../pulumi/aws/redshift/ScheduledAction.java | 64 +- .../com/pulumi/aws/redshift/SnapshotCopy.java | 10 +- .../aws/redshift/SnapshotCopyGrant.java | 14 +- .../pulumi/aws/redshift/SnapshotSchedule.java | 12 +- .../redshift/SnapshotScheduleAssociation.java | 28 +- .../com/pulumi/aws/redshift/SubnetGroup.java | 32 +- .../com/pulumi/aws/redshift/UsageLimit.java | 12 +- .../pulumi/aws/redshiftdata/Statement.java | 22 +- .../CustomDomainAssociation.java | 22 +- .../redshiftserverless/EndpointAccess.java | 12 +- .../aws/redshiftserverless/Namespace.java | 10 +- .../RedshiftserverlessFunctions.java | 80 +- .../redshiftserverless/ResourcePolicy.java | 22 +- .../aws/redshiftserverless/Snapshot.java | 10 +- .../aws/redshiftserverless/UsageLimit.java | 14 +- .../aws/redshiftserverless/Workgroup.java | 12 +- .../pulumi/aws/rekognition/Collection.java | 12 +- .../com/pulumi/aws/rekognition/Project.java | 14 +- .../pulumi/aws/resourceexplorer/Index.java | 10 +- .../ResourceexplorerFunctions.java | 32 +- .../com/pulumi/aws/resourceexplorer/View.java | 18 +- .../com/pulumi/aws/resourcegroups/Group.java | 24 +- .../pulumi/aws/resourcegroups/Resource.java | 22 +- .../ResourcegroupstaggingapiFunctions.java | 156 +- .../com/pulumi/aws/rolesanywhere/Profile.java | 36 +- .../pulumi/aws/rolesanywhere/TrustAnchor.java | 32 +- .../pulumi/aws/route53/CidrCollection.java | 10 +- .../com/pulumi/aws/route53/CidrLocation.java | 18 +- .../com/pulumi/aws/route53/DelegationSet.java | 18 +- .../com/pulumi/aws/route53/HealthCheck.java | 86 +- .../pulumi/aws/route53/HostedZoneDnsSec.java | 58 +- .../com/pulumi/aws/route53/KeySigningKey.java | 84 +- .../java/com/pulumi/aws/route53/QueryLog.java | 30 +- .../java/com/pulumi/aws/route53/Record.java | 104 +- .../pulumi/aws/route53/ResolverConfig.java | 14 +- .../aws/route53/ResolverDnsSecConfig.java | 12 +- .../pulumi/aws/route53/ResolverEndpoint.java | 20 +- .../aws/route53/ResolverFirewallConfig.java | 14 +- .../route53/ResolverFirewallDomainList.java | 10 +- .../aws/route53/ResolverFirewallRule.java | 28 +- .../route53/ResolverFirewallRuleGroup.java | 10 +- .../ResolverFirewallRuleGroupAssociation.java | 14 +- .../aws/route53/ResolverQueryLogConfig.java | 12 +- .../ResolverQueryLogConfigAssociation.java | 8 +- .../com/pulumi/aws/route53/ResolverRule.java | 30 +- .../aws/route53/ResolverRuleAssociation.java | 8 +- .../pulumi/aws/route53/Route53Functions.java | 1420 ++--- .../com/pulumi/aws/route53/TrafficPolicy.java | 30 +- .../aws/route53/TrafficPolicyInstance.java | 14 +- .../route53/VpcAssociationAuthorization.java | 22 +- .../java/com/pulumi/aws/route53/Zone.java | 44 +- .../pulumi/aws/route53/ZoneAssociation.java | 20 +- .../DelegationSignerRecord.java | 88 +- .../aws/route53domains/RegisteredDomain.java | 16 +- .../aws/route53recoverycontrol/Cluster.java | 10 +- .../route53recoverycontrol/ControlPanel.java | 12 +- .../RoutingControl.java | 26 +- .../route53recoverycontrol/SafetyRule.java | 28 +- .../aws/route53recoveryreadiness/Cell.java | 10 +- .../ReadinessCheck.java | 8 +- .../RecoveryGroup.java | 10 +- .../route53recoveryreadiness/ResourceSet.java | 10 +- .../java/com/pulumi/aws/rum/AppMonitor.java | 12 +- .../pulumi/aws/rum/MetricsDestination.java | 10 +- .../java/com/pulumi/aws/s3/AccessPoint.java | 32 +- .../aws/s3/AccountPublicAccessBlock.java | 8 +- .../pulumi/aws/s3/AnalyticsConfiguration.java | 38 +- .../main/java/com/pulumi/aws/s3/Bucket.java | 284 +- .../s3/BucketAccelerateConfigurationV2.java | 14 +- .../java/com/pulumi/aws/s3/BucketAclV2.java | 68 +- .../aws/s3/BucketCorsConfigurationV2.java | 26 +- ...BucketIntelligentTieringConfiguration.java | 42 +- .../s3/BucketLifecycleConfigurationV2.java | 196 +- .../com/pulumi/aws/s3/BucketLoggingV2.java | 26 +- .../java/com/pulumi/aws/s3/BucketMetric.java | 56 +- .../com/pulumi/aws/s3/BucketNotification.java | 250 +- .../java/com/pulumi/aws/s3/BucketObject.java | 114 +- .../s3/BucketObjectLockConfigurationV2.java | 18 +- .../com/pulumi/aws/s3/BucketObjectv2.java | 132 +- .../aws/s3/BucketOwnershipControls.java | 14 +- .../java/com/pulumi/aws/s3/BucketPolicy.java | 24 +- .../aws/s3/BucketPublicAccessBlock.java | 12 +- .../aws/s3/BucketReplicationConfig.java | 126 +- .../BucketRequestPaymentConfigurationV2.java | 10 +- ...etServerSideEncryptionConfigurationV2.java | 18 +- .../main/java/com/pulumi/aws/s3/BucketV2.java | 14 +- .../com/pulumi/aws/s3/BucketVersioningV2.java | 56 +- .../aws/s3/BucketWebsiteConfigurationV2.java | 40 +- .../com/pulumi/aws/s3/DirectoryBucket.java | 12 +- .../java/com/pulumi/aws/s3/Inventory.java | 52 +- .../java/com/pulumi/aws/s3/ObjectCopy.java | 20 +- .../java/com/pulumi/aws/s3/S3Functions.java | 624 ++- .../com/pulumi/aws/s3control/AccessGrant.java | 20 +- .../aws/s3control/AccessGrantsInstance.java | 18 +- .../AccessGrantsInstanceResourcePolicy.java | 38 +- .../aws/s3control/AccessGrantsLocation.java | 12 +- .../aws/s3control/AccessPointPolicy.java | 32 +- .../java/com/pulumi/aws/s3control/Bucket.java | 10 +- .../BucketLifecycleConfiguration.java | 16 +- .../pulumi/aws/s3control/BucketPolicy.java | 26 +- .../aws/s3control/MultiRegionAccessPoint.java | 18 +- .../s3control/ObjectLambdaAccessPoint.java | 20 +- .../ObjectLambdaAccessPointPolicy.java | 38 +- .../aws/s3control/S3controlFunctions.java | 32 +- .../s3control/StorageLensConfiguration.java | 18 +- .../com/pulumi/aws/s3outposts/Endpoint.java | 8 +- .../java/com/pulumi/aws/sagemaker/App.java | 12 +- .../pulumi/aws/sagemaker/AppImageConfig.java | 20 +- .../pulumi/aws/sagemaker/CodeRepository.java | 34 +- .../sagemaker/DataQualityJobDefinition.java | 14 +- .../java/com/pulumi/aws/sagemaker/Device.java | 10 +- .../com/pulumi/aws/sagemaker/DeviceFleet.java | 12 +- .../java/com/pulumi/aws/sagemaker/Domain.java | 50 +- .../com/pulumi/aws/sagemaker/Endpoint.java | 12 +- .../aws/sagemaker/EndpointConfiguration.java | 16 +- .../pulumi/aws/sagemaker/FeatureGroup.java | 18 +- .../pulumi/aws/sagemaker/FlowDefinition.java | 64 +- .../com/pulumi/aws/sagemaker/HumanTaskUI.java | 12 +- .../java/com/pulumi/aws/sagemaker/Image.java | 10 +- .../pulumi/aws/sagemaker/ImageVersion.java | 10 +- .../java/com/pulumi/aws/sagemaker/Model.java | 24 +- .../aws/sagemaker/ModelPackageGroup.java | 10 +- .../aws/sagemaker/MonitoringSchedule.java | 12 +- .../aws/sagemaker/NotebookInstance.java | 34 +- ...otebookInstanceLifecycleConfiguration.java | 14 +- .../com/pulumi/aws/sagemaker/Pipeline.java | 24 +- .../com/pulumi/aws/sagemaker/Project.java | 10 +- .../aws/sagemaker/SagemakerFunctions.java | 40 +- .../ServicecatalogPortfolioStatus.java | 10 +- .../java/com/pulumi/aws/sagemaker/Space.java | 10 +- .../aws/sagemaker/StudioLifecycleConfig.java | 14 +- .../com/pulumi/aws/sagemaker/UserProfile.java | 10 +- .../com/pulumi/aws/sagemaker/Workforce.java | 48 +- .../com/pulumi/aws/sagemaker/Workteam.java | 26 +- .../com/pulumi/aws/scheduler/Schedule.java | 40 +- .../pulumi/aws/scheduler/ScheduleGroup.java | 10 +- .../com/pulumi/aws/schemas/Discoverer.java | 14 +- .../java/com/pulumi/aws/schemas/Registry.java | 12 +- .../pulumi/aws/schemas/RegistryPolicy.java | 26 +- .../java/com/pulumi/aws/schemas/Schema.java | 46 +- .../com/pulumi/aws/schemas/SchemaArgs.java | 8 +- .../aws/schemas/inputs/SchemaState.java | 8 +- .../com/pulumi/aws/secretsmanager/Secret.java | 14 +- .../pulumi/aws/secretsmanager/SecretArgs.java | 8 +- .../aws/secretsmanager/SecretPolicy.java | 26 +- .../aws/secretsmanager/SecretRotation.java | 8 +- .../aws/secretsmanager/SecretVersion.java | 20 +- .../SecretsmanagerFunctions.java | 272 +- .../inputs/GetRandomPasswordArgs.java | 8 +- .../inputs/GetRandomPasswordPlainArgs.java | 6 +- .../secretsmanager/inputs/SecretState.java | 8 +- .../com/pulumi/aws/securityhub/Account.java | 8 +- .../pulumi/aws/securityhub/ActionTarget.java | 16 +- .../aws/securityhub/AutomationRule.java | 30 +- .../aws/securityhub/ConfigurationPolicy.java | 76 +- .../ConfigurationPolicyAssociation.java | 38 +- .../aws/securityhub/FindingAggregator.java | 44 +- .../com/pulumi/aws/securityhub/Insight.java | 90 +- .../aws/securityhub/InviteAccepter.java | 18 +- .../com/pulumi/aws/securityhub/Member.java | 14 +- .../securityhub/OrganizationAdminAccount.java | 20 +- .../OrganizationConfiguration.java | 38 +- .../aws/securityhub/ProductSubscription.java | 12 +- .../aws/securityhub/StandardsControl.java | 20 +- .../securityhub/StandardsSubscription.java | 16 +- .../pulumi/aws/securitylake/AwsLogSource.java | 16 +- .../aws/securitylake/CustomLogSource.java | 18 +- .../com/pulumi/aws/securitylake/DataLake.java | 28 +- .../pulumi/aws/securitylake/Subscriber.java | 22 +- .../securitylake/SubscriberNotification.java | 8 +- .../CloudFormationStack.java | 20 +- .../ServerlessrepositoryFunctions.java | 72 +- .../AppregistryApplication.java | 24 +- .../BudgetResourceAssociation.java | 12 +- .../pulumi/aws/servicecatalog/Constraint.java | 14 +- .../servicecatalog/OrganizationsAccess.java | 10 +- .../pulumi/aws/servicecatalog/Portfolio.java | 14 +- .../aws/servicecatalog/PortfolioShare.java | 12 +- .../PrincipalPortfolioAssociation.java | 12 +- .../pulumi/aws/servicecatalog/Product.java | 18 +- .../ProductPortfolioAssociation.java | 12 +- .../servicecatalog/ProvisionedProduct.java | 20 +- .../servicecatalog/ProvisioningArtifact.java | 14 +- .../aws/servicecatalog/ServiceAction.java | 14 +- .../ServicecatalogFunctions.java | 232 +- .../pulumi/aws/servicecatalog/TagOption.java | 12 +- .../TagOptionResourceAssociation.java | 12 +- .../aws/servicediscovery/HttpNamespace.java | 12 +- .../pulumi/aws/servicediscovery/Instance.java | 54 +- .../servicediscovery/PrivateDnsNamespace.java | 16 +- .../servicediscovery/PublicDnsNamespace.java | 12 +- .../pulumi/aws/servicediscovery/Service.java | 46 +- .../ServicediscoveryFunctions.java | 112 +- .../aws/servicequotas/ServiceQuota.java | 12 +- .../servicequotas/ServicequotasFunctions.java | 120 +- .../pulumi/aws/servicequotas/Template.java | 16 +- .../servicequotas/TemplateAssociation.java | 8 +- .../pulumi/aws/ses/ActiveReceiptRuleSet.java | 10 +- .../com/pulumi/aws/ses/ConfigurationSet.java | 34 +- .../java/com/pulumi/aws/ses/DomainDkim.java | 26 +- .../com/pulumi/aws/ses/DomainIdentity.java | 30 +- .../aws/ses/DomainIdentityVerification.java | 20 +- .../com/pulumi/aws/ses/EmailIdentity.java | 12 +- .../com/pulumi/aws/ses/EventDestination.java | 48 +- .../aws/ses/IdentityNotificationTopic.java | 10 +- .../com/pulumi/aws/ses/IdentityPolicy.java | 24 +- .../java/com/pulumi/aws/ses/MailFrom.java | 44 +- .../com/pulumi/aws/ses/ReceiptFilter.java | 14 +- .../java/com/pulumi/aws/ses/ReceiptRule.java | 20 +- .../com/pulumi/aws/ses/ReceiptRuleSet.java | 10 +- .../java/com/pulumi/aws/ses/SesFunctions.java | 100 +- .../java/com/pulumi/aws/ses/Template.java | 18 +- .../aws/sesv2/AccountVdmAttributes.java | 14 +- .../pulumi/aws/sesv2/ConfigurationSet.java | 18 +- .../ConfigurationSetEventDestination.java | 70 +- .../com/pulumi/aws/sesv2/ContactList.java | 30 +- .../aws/sesv2/DedicatedIpAssignment.java | 12 +- .../com/pulumi/aws/sesv2/DedicatedIpPool.java | 22 +- .../com/pulumi/aws/sesv2/EmailIdentity.java | 48 +- .../EmailIdentityFeedbackAttributes.java | 12 +- .../EmailIdentityMailFromAttributes.java | 16 +- .../pulumi/aws/sesv2/EmailIdentityPolicy.java | 44 +- .../com/pulumi/aws/sesv2/Sesv2Functions.java | 136 +- .../java/com/pulumi/aws/sfn/Activity.java | 10 +- .../main/java/com/pulumi/aws/sfn/Alias.java | 18 +- .../java/com/pulumi/aws/sfn/SfnFunctions.java | 136 +- .../java/com/pulumi/aws/sfn/StateMachine.java | 120 +- .../shield/DrtAccessLogBucketAssociation.java | 12 +- .../shield/DrtAccessRoleArnAssociation.java | 28 +- .../aws/shield/ProactiveEngagement.java | 50 +- .../com/pulumi/aws/shield/Protection.java | 18 +- .../pulumi/aws/shield/ProtectionGroup.java | 56 +- .../ProtectionHealthCheckAssociation.java | 32 +- .../pulumi/aws/signer/SignerFunctions.java | 64 +- .../com/pulumi/aws/signer/SigningJob.java | 22 +- .../com/pulumi/aws/signer/SigningProfile.java | 22 +- .../aws/signer/SigningProfilePermission.java | 36 +- .../java/com/pulumi/aws/simpledb/Domain.java | 10 +- .../pulumi/aws/sns/DataProtectionPolicy.java | 32 +- .../pulumi/aws/sns/PlatformApplication.java | 50 +- .../com/pulumi/aws/sns/SmsPreferences.java | 8 +- .../java/com/pulumi/aws/sns/SnsFunctions.java | 32 +- .../main/java/com/pulumi/aws/sns/Topic.java | 70 +- .../java/com/pulumi/aws/sns/TopicPolicy.java | 46 +- .../com/pulumi/aws/sns/TopicSubscription.java | 122 +- .../main/java/com/pulumi/aws/sqs/Queue.java | 86 +- .../java/com/pulumi/aws/sqs/QueuePolicy.java | 28 +- .../pulumi/aws/sqs/RedriveAllowPolicy.java | 28 +- .../com/pulumi/aws/sqs/RedrivePolicy.java | 28 +- .../java/com/pulumi/aws/sqs/SqsFunctions.java | 80 +- .../java/com/pulumi/aws/ssm/Activation.java | 32 +- .../java/com/pulumi/aws/ssm/Association.java | 50 +- .../com/pulumi/aws/ssm/ContactsRotation.java | 48 +- .../pulumi/aws/ssm/DefaultPatchBaseline.java | 14 +- .../java/com/pulumi/aws/ssm/Document.java | 56 +- .../com/pulumi/aws/ssm/MaintenanceWindow.java | 12 +- .../aws/ssm/MaintenanceWindowTarget.java | 48 +- .../pulumi/aws/ssm/MaintenanceWindowTask.java | 74 +- .../java/com/pulumi/aws/ssm/Parameter.java | 48 +- .../com/pulumi/aws/ssm/PatchBaseline.java | 126 +- .../java/com/pulumi/aws/ssm/PatchGroup.java | 16 +- .../com/pulumi/aws/ssm/ResourceDataSync.java | 48 +- .../com/pulumi/aws/ssm/ServiceSetting.java | 12 +- .../java/com/pulumi/aws/ssm/SsmFunctions.java | 360 +- .../com/pulumi/aws/ssmcontacts/Contact.java | 28 +- .../aws/ssmcontacts/ContactChannel.java | 36 +- .../java/com/pulumi/aws/ssmcontacts/Plan.java | 50 +- .../aws/ssmcontacts/SsmcontactsFunctions.java | 96 +- .../aws/ssmincidents/ReplicationSet.java | 48 +- .../pulumi/aws/ssmincidents/ResponsePlan.java | 66 +- .../ssmincidents/SsmincidentsFunctions.java | 76 +- .../aws/ssoadmin/ApplicationAssignment.java | 20 +- .../ApplicationAssignmentConfiguration.java | 8 +- .../PermissionsBoundaryAttachment.java | 10 +- .../aws/ssoadmin/SsoadminFunctions.java | 92 +- .../com/pulumi/aws/storagegateway/Cache.java | 8 +- .../aws/storagegateway/CachesIscsiVolume.java | 30 +- .../storagegateway/FileSystemAssociation.java | 40 +- .../pulumi/aws/storagegateway/Gateway.java | 104 +- .../aws/storagegateway/NfsFileShare.java | 10 +- .../aws/storagegateway/SmbFileShare.java | 24 +- .../aws/storagegateway/SmbFileShareArgs.java | 10 +- .../StoragegatewayFunctions.java | 24 +- .../aws/storagegateway/StoredIscsiVolume.java | 20 +- .../pulumi/aws/storagegateway/TapePool.java | 12 +- .../aws/storagegateway/UploadBuffer.java | 18 +- .../aws/storagegateway/WorkingStorage.java | 8 +- .../inputs/SmbFileShareState.java | 10 +- .../main/java/com/pulumi/aws/swf/Domain.java | 12 +- .../com/pulumi/aws/synthetics/Canary.java | 22 +- .../java/com/pulumi/aws/synthetics/Group.java | 10 +- .../aws/synthetics/GroupAssociation.java | 8 +- .../pulumi/aws/timestreamwrite/Database.java | 22 +- .../com/pulumi/aws/timestreamwrite/Table.java | 38 +- .../pulumi/aws/transcribe/LanguageModel.java | 58 +- .../aws/transcribe/MedicalVocabulary.java | 30 +- .../com/pulumi/aws/transcribe/Vocabulary.java | 30 +- .../aws/transcribe/VocabularyFilter.java | 20 +- .../java/com/pulumi/aws/transfer/Access.java | 24 +- .../com/pulumi/aws/transfer/Agreement.java | 12 +- .../com/pulumi/aws/transfer/Connector.java | 34 +- .../java/com/pulumi/aws/transfer/Profile.java | 12 +- .../java/com/pulumi/aws/transfer/Server.java | 102 +- .../java/com/pulumi/aws/transfer/SshKey.java | 54 +- .../java/com/pulumi/aws/transfer/Tag.java | 22 +- .../aws/transfer/TransferFunctions.java | 32 +- .../java/com/pulumi/aws/transfer/User.java | 50 +- .../com/pulumi/aws/transfer/Workflow.java | 38 +- .../pulumi/aws/verifiedaccess/Endpoint.java | 20 +- .../com/pulumi/aws/verifiedaccess/Group.java | 20 +- .../pulumi/aws/verifiedaccess/Instance.java | 20 +- .../InstanceLoggingConfiguration.java | 52 +- .../InstanceTrustProviderAttachment.java | 20 +- .../aws/verifiedaccess/TrustProvider.java | 14 +- .../aws/verifiedpermissions/Policy.java | 10 +- .../aws/verifiedpermissions/PolicyStore.java | 10 +- .../verifiedpermissions/PolicyTemplate.java | 10 +- .../aws/verifiedpermissions/Schema.java | 14 +- .../VerifiedpermissionsFunctions.java | 32 +- .../aws/vpc/SecurityGroupEgressRule.java | 12 +- .../aws/vpc/SecurityGroupIngressRule.java | 20 +- .../java/com/pulumi/aws/vpc/VpcFunctions.java | 84 +- .../aws/vpclattice/AccessLogSubscription.java | 8 +- .../com/pulumi/aws/vpclattice/AuthPolicy.java | 34 +- .../com/pulumi/aws/vpclattice/Listener.java | 72 +- .../pulumi/aws/vpclattice/ListenerRule.java | 28 +- .../pulumi/aws/vpclattice/ResourcePolicy.java | 36 +- .../com/pulumi/aws/vpclattice/Service.java | 14 +- .../pulumi/aws/vpclattice/ServiceNetwork.java | 12 +- .../ServiceNetworkServiceAssociation.java | 8 +- .../ServiceNetworkVpcAssociation.java | 8 +- .../pulumi/aws/vpclattice/TargetGroup.java | 68 +- .../aws/vpclattice/TargetGroupAttachment.java | 8 +- .../aws/vpclattice/VpclatticeFunctions.java | 152 +- .../java/com/pulumi/aws/waf/ByteMatchSet.java | 20 +- .../java/com/pulumi/aws/waf/GeoMatchSet.java | 18 +- .../main/java/com/pulumi/aws/waf/IpSet.java | 18 +- .../com/pulumi/aws/waf/RateBasedRule.java | 24 +- .../com/pulumi/aws/waf/RegexMatchSet.java | 24 +- .../com/pulumi/aws/waf/RegexPatternSet.java | 18 +- .../pulumi/aws/waf/RegexPatternSetArgs.java | 10 +- .../main/java/com/pulumi/aws/waf/Rule.java | 22 +- .../java/com/pulumi/aws/waf/RuleGroup.java | 20 +- .../com/pulumi/aws/waf/SizeConstraintSet.java | 18 +- .../pulumi/aws/waf/SqlInjectionMatchSet.java | 14 +- .../java/com/pulumi/aws/waf/WafFunctions.java | 248 +- .../main/java/com/pulumi/aws/waf/WebAcl.java | 48 +- .../java/com/pulumi/aws/waf/XssMatchSet.java | 18 +- .../aws/waf/inputs/RegexPatternSetState.java | 10 +- .../pulumi/aws/wafregional/ByteMatchSet.java | 20 +- .../pulumi/aws/wafregional/GeoMatchSet.java | 18 +- .../com/pulumi/aws/wafregional/IpSet.java | 18 +- .../pulumi/aws/wafregional/RateBasedRule.java | 24 +- .../pulumi/aws/wafregional/RegexMatchSet.java | 24 +- .../aws/wafregional/RegexPatternSet.java | 18 +- .../aws/wafregional/RegexPatternSetArgs.java | 10 +- .../java/com/pulumi/aws/wafregional/Rule.java | 22 +- .../com/pulumi/aws/wafregional/RuleGroup.java | 20 +- .../aws/wafregional/SizeConstraintSet.java | 18 +- .../aws/wafregional/SqlInjectionMatchSet.java | 14 +- .../aws/wafregional/WafregionalFunctions.java | 248 +- .../com/pulumi/aws/wafregional/WebAcl.java | 66 +- .../aws/wafregional/WebAclAssociation.java | 52 +- .../pulumi/aws/wafregional/XssMatchSet.java | 18 +- .../inputs/RegexPatternSetState.java | 10 +- .../main/java/com/pulumi/aws/wafv2/IpSet.java | 24 +- .../com/pulumi/aws/wafv2/RegexPatternSet.java | 26 +- .../pulumi/aws/wafv2/RegexPatternSetArgs.java | 10 +- .../com/pulumi/aws/wafv2/Wafv2Functions.java | 160 +- .../aws/wafv2/WebAclLoggingConfiguration.java | 34 +- .../wafv2/inputs/RegexPatternSetState.java | 10 +- .../java/com/pulumi/aws/worklink/Fleet.java | 36 +- ...ebsiteCertificateAuthorityAssociation.java | 14 +- .../aws/workspaces/ConnectionAlias.java | 10 +- .../com/pulumi/aws/workspaces/Directory.java | 96 +- .../com/pulumi/aws/workspaces/IpGroup.java | 24 +- .../com/pulumi/aws/workspaces/Workspace.java | 24 +- .../aws/workspaces/WorkspacesFunctions.java | 280 +- .../com/pulumi/aws/xray/EncryptionConfig.java | 38 +- .../main/java/com/pulumi/aws/xray/Group.java | 12 +- .../com/pulumi/aws/xray/SamplingRule.java | 24 +- sdk/nodejs/provider.ts | 20 +- 1525 files changed, 44548 insertions(+), 34037 deletions(-) diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 2774f8587f4..142464bf22b 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.10.0 \ No newline at end of file +0.11.0 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index e68a315f5d7..180e552bad3 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -8,9 +8,9 @@ require ( github.com/aws/aws-sdk-go v1.52.0 github.com/pulumi/providertest v0.0.11 github.com/pulumi/pulumi-aws/provider/v6 v6.0.0-00010101000000-000000000000 - github.com/pulumi/pulumi-terraform-bridge/pf v0.34.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.35.0 github.com/pulumi/pulumi-terraform-bridge/testing v0.0.2-0.20230927165309-e3fd9503f2d3 - github.com/pulumi/pulumi/pkg/v3 v3.113.0 + github.com/pulumi/pulumi/pkg/v3 v3.114.0 github.com/stretchr/testify v1.9.0 ) @@ -255,7 +255,7 @@ require ( github.com/gertd/go-pluralize v0.2.1 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect @@ -307,9 +307,9 @@ require ( github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect github.com/hashicorp/terraform-plugin-framework-timetypes v0.3.0 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.22.2 // indirect + github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-mux v0.15.0 // indirect + github.com/hashicorp/terraform-plugin-mux v0.16.0 // indirect github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect github.com/hashicorp/terraform-plugin-testing v1.7.0 // indirect github.com/hashicorp/terraform-provider-aws v1.60.1-0.20220923175450-ca71523cdc36 // indirect @@ -358,9 +358,9 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.6.2 // indirect - github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.1-0.20240508204503-c0c57794d7bb // indirect + github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.113.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.114.0 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect @@ -369,9 +369,9 @@ require ( github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.3.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/shopspring/decimal v1.4.0 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect @@ -414,7 +414,7 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.33.0 // indirect + google.golang.org/protobuf v1.34.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect diff --git a/examples/go.sum b/examples/go.sum index 51e721485ec..8df0da5ed42 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -2115,8 +2115,9 @@ github.com/gkampitakis/go-diff v1.3.2 h1:Qyn0J9XJSDTgnsgHRdz9Zp24RaJeKMUHg2+PDZZ github.com/gkampitakis/go-diff v1.3.2/go.mod h1:LLgOrpqleQe26cte8s36HTWcTmMEur6OPYerdAAS9tk= github.com/gkampitakis/go-snaps v0.4.9 h1:x6+GEQeYWC+cnLNsHK5uXXgEQADmlH/1EqMrjfXjzk8= github.com/gkampitakis/go-snaps v0.4.9/go.mod h1:8HW4KX3JKV8M0GSw69CvT+Jqhd1AlBPMPpBfjBI3bdY= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= @@ -2131,8 +2132,9 @@ github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgF github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= github.com/go-git/go-git/v5 v5.10.1/go.mod h1:uEuHjxkHap8kAl//V5F/nNWwqIYtP/402ddd05mp0wg= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -2600,10 +2602,10 @@ github.com/hashicorp/terraform-plugin-framework-timetypes v0.3.0/go.mod h1:9vjvl github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= -github.com/hashicorp/terraform-plugin-go v0.22.2 h1:5o8uveu6eZUf5J7xGPV0eY0TPXg3qpmwX9sce03Bxnc= -github.com/hashicorp/terraform-plugin-go v0.22.2/go.mod h1:drq8Snexp9HsbFZddvyLHN6LuWHHndSQg+gV+FPkcIM= -github.com/hashicorp/terraform-plugin-mux v0.15.0 h1:+/+lDx0WUsIOpkAmdwBIoFU8UP9o2eZASoOnLsWbKME= -github.com/hashicorp/terraform-plugin-mux v0.15.0/go.mod h1:9ezplb1Dyq394zQ+ldB0nvy/qbNAz3mMoHHseMTMaKo= +github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co= +github.com/hashicorp/terraform-plugin-go v0.23.0/go.mod h1:1E3Cr9h2vMlahWMbsSEcNrOCxovCZhOOIXjFHbjc/lQ= +github.com/hashicorp/terraform-plugin-mux v0.16.0 h1:RCzXHGDYwUwwqfYYWJKBFaS3fQsWn/ZECEiW7p2023I= +github.com/hashicorp/terraform-plugin-mux v0.16.0/go.mod h1:PF79mAsPc8CpusXPfEVa4X8PtkB+ngWoiUClMrNZlYo= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= @@ -3161,18 +3163,18 @@ github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVdnQUe8= github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= -github.com/pulumi/pulumi-terraform-bridge/pf v0.34.0 h1:krNRrR9XX9sR7YEHDHjSEV5PE3AdB59vmHc4VG5MQhY= -github.com/pulumi/pulumi-terraform-bridge/pf v0.34.0/go.mod h1:TqZuTmBQhYQVP2dQFpbbz9UcckW27+hZSjAniEGW5go= +github.com/pulumi/pulumi-terraform-bridge/pf v0.35.0 h1:CqTTjZE3kIDwsBwdPVP/k1/0UUuGXg5HTG3PzbGi8ME= +github.com/pulumi/pulumi-terraform-bridge/pf v0.35.0/go.mod h1:X2hcVpFdnjoqPI5bvc5loK9ibZhK1YIv9eJ6zkW3ZIQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.2-0.20230927165309-e3fd9503f2d3 h1:bBWWeAtSPPYpKYlPZr2h0BiYgWQpHRIk0HO/MQmB+jc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.2-0.20230927165309-e3fd9503f2d3/go.mod h1:vAQ7DeddebQ7FHdRaSG6ijuS28FS9PC4j8Y9wUuue0c= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.1-0.20240508204503-c0c57794d7bb h1:eW9nJ5NcViF5aL0hyev4TK4D5q1bVy1exJqr36scPSE= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.1-0.20240508204503-c0c57794d7bb/go.mod h1:B8/cgXxqjfBcOx+yntCG8suxaq2h+mhe2+1LbPQ7ajI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 h1:qCZ7ALm4xVrSLJboi4ZwkS5FRQvyzmIZni85m1iFBIw= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0/go.mod h1:jXjZLukQcYrfIWxSYwSWSzPBK9BTcYGv2DDkpNKHJJw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi/pkg/v3 v3.113.0 h1:fo63QR2nB5ksqq0fxg5uPm/zbXW7eJVRdYpAawIda7I= -github.com/pulumi/pulumi/pkg/v3 v3.113.0/go.mod h1:i5hGDlTN59giiXHfrigWEo30x51FPUj8GllAlVkUcQA= -github.com/pulumi/pulumi/sdk/v3 v3.113.0 h1:CIlmxJZdjxpPPoFe/rrP1dWTwh3CB7ahs/dA6SHcbuE= -github.com/pulumi/pulumi/sdk/v3 v3.113.0/go.mod h1:JWSzKBoHd8rlncC1DhXLf7YdV+Bk/Qf+hSZOOQh0WwQ= +github.com/pulumi/pulumi/pkg/v3 v3.114.0 h1:+Ru1DfQKKmZcTYF7i+IWTaxvHX+vIWmVPyUXXksM3Uk= +github.com/pulumi/pulumi/pkg/v3 v3.114.0/go.mod h1:kNu4WL3BkF8zZ+1BTIWnEetNN1JtR4oRHWlxH2NZ6s0= +github.com/pulumi/pulumi/sdk/v3 v3.114.0 h1:KPBSvm04wE2/AdS8PlABxZAW4o7pSAnar0QOooH13no= +github.com/pulumi/pulumi/sdk/v3 v3.114.0/go.mod h1:d6LZJHqEfpgXUd8rFSSsbaPJcocZObXeaUr87jbA5MY= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975 h1:1WBy43K/lHEdS5Hliwf3ylVSfAu5s0KhhEs6wNeP11Y= @@ -3229,8 +3231,8 @@ github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oH github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= @@ -3248,8 +3250,9 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= +github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -4562,8 +4565,8 @@ google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= +google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/provider/go.mod b/provider/go.mod index a2b35837358..61b09a9989b 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,16 +5,18 @@ go 1.22.0 toolchain go1.22.2 require ( + github.com/aws/aws-sdk-go-v2/config v1.27.11 github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 + github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.52 github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 github.com/hashicorp/terraform-provider-aws v1.60.1-0.20220923175450-ca71523cdc36 github.com/mitchellh/go-homedir v1.1.0 github.com/pulumi/providertest v0.0.11 - github.com/pulumi/pulumi-terraform-bridge/pf v0.33.1-0.20240508204503-c0c57794d7bb - github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.1-0.20240508204503-c0c57794d7bb - github.com/pulumi/pulumi/pkg/v3 v3.113.0 - github.com/pulumi/pulumi/sdk/v3 v3.113.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.35.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 + github.com/pulumi/pulumi/pkg/v3 v3.114.0 + github.com/pulumi/pulumi/sdk/v3 v3.114.0 github.com/stretchr/testify v1.9.0 pgregory.net/rapid v0.6.1 ) @@ -67,7 +69,6 @@ require ( github.com/aws/aws-sdk-go v1.52.0 // indirect github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect - github.com/aws/aws-sdk-go-v2/config v1.27.11 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.17.11 // indirect github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.15 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.5 // indirect @@ -209,7 +210,6 @@ require ( github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.11.0 // indirect github.com/aws/aws-sdk-go-v2/service/route53domains v1.23.4 // indirect github.com/aws/aws-sdk-go-v2/service/route53profiles v1.0.0 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 // indirect github.com/aws/aws-sdk-go-v2/service/s3control v1.44.6 // indirect github.com/aws/aws-sdk-go-v2/service/scheduler v1.8.4 // indirect github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.28.6 // indirect @@ -268,7 +268,7 @@ require ( github.com/gertd/go-pluralize v0.2.1 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect @@ -323,9 +323,9 @@ require ( github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect github.com/hashicorp/terraform-plugin-framework-timetypes v0.3.0 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.22.2 // indirect + github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-mux v0.15.0 // indirect + github.com/hashicorp/terraform-plugin-mux v0.16.0 // indirect github.com/hashicorp/terraform-plugin-testing v1.7.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect @@ -391,9 +391,9 @@ require ( github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.3.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/shopspring/decimal v1.4.0 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.1 // indirect github.com/spf13/cobra v1.8.0 // indirect @@ -439,7 +439,7 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.33.0 // indirect + google.golang.org/protobuf v1.34.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect diff --git a/provider/go.sum b/provider/go.sum index 6f6fe91d4fd..d5d5c0a9b17 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2120,8 +2120,9 @@ github.com/gkampitakis/go-diff v1.3.2 h1:Qyn0J9XJSDTgnsgHRdz9Zp24RaJeKMUHg2+PDZZ github.com/gkampitakis/go-diff v1.3.2/go.mod h1:LLgOrpqleQe26cte8s36HTWcTmMEur6OPYerdAAS9tk= github.com/gkampitakis/go-snaps v0.4.9 h1:x6+GEQeYWC+cnLNsHK5uXXgEQADmlH/1EqMrjfXjzk8= github.com/gkampitakis/go-snaps v0.4.9/go.mod h1:8HW4KX3JKV8M0GSw69CvT+Jqhd1AlBPMPpBfjBI3bdY= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= @@ -2136,8 +2137,9 @@ github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgF github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= github.com/go-git/go-git/v5 v5.10.1/go.mod h1:uEuHjxkHap8kAl//V5F/nNWwqIYtP/402ddd05mp0wg= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -2609,10 +2611,10 @@ github.com/hashicorp/terraform-plugin-framework-timetypes v0.3.0/go.mod h1:9vjvl github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= -github.com/hashicorp/terraform-plugin-go v0.22.2 h1:5o8uveu6eZUf5J7xGPV0eY0TPXg3qpmwX9sce03Bxnc= -github.com/hashicorp/terraform-plugin-go v0.22.2/go.mod h1:drq8Snexp9HsbFZddvyLHN6LuWHHndSQg+gV+FPkcIM= -github.com/hashicorp/terraform-plugin-mux v0.15.0 h1:+/+lDx0WUsIOpkAmdwBIoFU8UP9o2eZASoOnLsWbKME= -github.com/hashicorp/terraform-plugin-mux v0.15.0/go.mod h1:9ezplb1Dyq394zQ+ldB0nvy/qbNAz3mMoHHseMTMaKo= +github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co= +github.com/hashicorp/terraform-plugin-go v0.23.0/go.mod h1:1E3Cr9h2vMlahWMbsSEcNrOCxovCZhOOIXjFHbjc/lQ= +github.com/hashicorp/terraform-plugin-mux v0.16.0 h1:RCzXHGDYwUwwqfYYWJKBFaS3fQsWn/ZECEiW7p2023I= +github.com/hashicorp/terraform-plugin-mux v0.16.0/go.mod h1:PF79mAsPc8CpusXPfEVa4X8PtkB+ngWoiUClMrNZlYo= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= @@ -3177,18 +3179,18 @@ github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVd github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.10.0 h1:D1i5MiiNrxYr2uJ1szcj1aQwF9DYv7TTsPmajB9dKSw= github.com/pulumi/pulumi-java/pkg v0.10.0/go.mod h1:xu6UgYtQm+xXOo1/DZNa2CWVPytu+RMkZVTtI7w7ffY= -github.com/pulumi/pulumi-terraform-bridge/pf v0.33.1-0.20240508204503-c0c57794d7bb h1:4ElhnkKEluxYk11oG8LCOghUAwLyizBmqNtXbFTzSdg= -github.com/pulumi/pulumi-terraform-bridge/pf v0.33.1-0.20240508204503-c0c57794d7bb/go.mod h1:6qtbayBR59VRykMOUJjmK/M22cJ5IynD1dLwqNXeGWM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.1-0.20240508204503-c0c57794d7bb h1:eW9nJ5NcViF5aL0hyev4TK4D5q1bVy1exJqr36scPSE= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.81.1-0.20240508204503-c0c57794d7bb/go.mod h1:B8/cgXxqjfBcOx+yntCG8suxaq2h+mhe2+1LbPQ7ajI= +github.com/pulumi/pulumi-terraform-bridge/pf v0.35.0 h1:CqTTjZE3kIDwsBwdPVP/k1/0UUuGXg5HTG3PzbGi8ME= +github.com/pulumi/pulumi-terraform-bridge/pf v0.35.0/go.mod h1:X2hcVpFdnjoqPI5bvc5loK9ibZhK1YIv9eJ6zkW3ZIQ= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 h1:qCZ7ALm4xVrSLJboi4ZwkS5FRQvyzmIZni85m1iFBIw= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0/go.mod h1:jXjZLukQcYrfIWxSYwSWSzPBK9BTcYGv2DDkpNKHJJw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.6.0 h1:mb/QkebWXTa1fR+P3ZkCCHGXOYC6iTN8X8By9eNz8xM= github.com/pulumi/pulumi-yaml v1.6.0/go.mod h1:RyEPo4MhL363sbAiFMVKRsQmXpQPDCY1S8pGv3E6Ij0= -github.com/pulumi/pulumi/pkg/v3 v3.113.0 h1:fo63QR2nB5ksqq0fxg5uPm/zbXW7eJVRdYpAawIda7I= -github.com/pulumi/pulumi/pkg/v3 v3.113.0/go.mod h1:i5hGDlTN59giiXHfrigWEo30x51FPUj8GllAlVkUcQA= -github.com/pulumi/pulumi/sdk/v3 v3.113.0 h1:CIlmxJZdjxpPPoFe/rrP1dWTwh3CB7ahs/dA6SHcbuE= -github.com/pulumi/pulumi/sdk/v3 v3.113.0/go.mod h1:JWSzKBoHd8rlncC1DhXLf7YdV+Bk/Qf+hSZOOQh0WwQ= +github.com/pulumi/pulumi/pkg/v3 v3.114.0 h1:+Ru1DfQKKmZcTYF7i+IWTaxvHX+vIWmVPyUXXksM3Uk= +github.com/pulumi/pulumi/pkg/v3 v3.114.0/go.mod h1:kNu4WL3BkF8zZ+1BTIWnEetNN1JtR4oRHWlxH2NZ6s0= +github.com/pulumi/pulumi/sdk/v3 v3.114.0 h1:KPBSvm04wE2/AdS8PlABxZAW4o7pSAnar0QOooH13no= +github.com/pulumi/pulumi/sdk/v3 v3.114.0/go.mod h1:d6LZJHqEfpgXUd8rFSSsbaPJcocZObXeaUr87jbA5MY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -3248,8 +3250,8 @@ github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oH github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= @@ -3267,8 +3269,9 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= +github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -4583,8 +4586,8 @@ google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= +google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/provider/resources.go b/provider/resources.go index bc0efee8118..8eb250d407a 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -5889,8 +5889,6 @@ func ProviderFromMeta(metaInfo *tfbridge.MetadataInfo) *tfbridge.ProviderInfo { prov.MustApplyAutoAliases() - prov.XSkipDetailedDiffForChanges = true - return &prov } diff --git a/sdk/go.mod b/sdk/go.mod index f953ad0df73..0781fb6c28b 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.113.0 + github.com/pulumi/pulumi/sdk/v3 v3.114.0 ) retract ( @@ -15,7 +15,7 @@ retract ( require ( dario.cat/mergo v1.0.0 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect @@ -32,12 +32,11 @@ require ( github.com/emirpasic/gods v1.18.1 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.11.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/google/uuid v1.3.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect @@ -67,8 +66,8 @@ require ( github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/sergi/go-diff v1.3.1 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect github.com/spf13/cast v1.4.1 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect @@ -83,13 +82,13 @@ require ( golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect golang.org/x/mod v0.14.0 // indirect golang.org/x/net v0.24.0 // indirect - golang.org/x/sync v0.5.0 // indirect + golang.org/x/sync v0.6.0 // indirect golang.org/x/sys v0.19.0 // indirect golang.org/x/term v0.19.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/tools v0.15.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/grpc v1.57.1 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/grpc v1.63.2 // indirect google.golang.org/protobuf v1.34.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index 1d008a12cb8..2811ec232be 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -5,8 +5,8 @@ github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXY github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= +github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= @@ -52,31 +52,29 @@ github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FM github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= -github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= -github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= -github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= +github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -150,8 +148,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.113.0 h1:CIlmxJZdjxpPPoFe/rrP1dWTwh3CB7ahs/dA6SHcbuE= -github.com/pulumi/pulumi/sdk/v3 v3.113.0/go.mod h1:JWSzKBoHd8rlncC1DhXLf7YdV+Bk/Qf+hSZOOQh0WwQ= +github.com/pulumi/pulumi/sdk/v3 v3.114.0 h1:KPBSvm04wE2/AdS8PlABxZAW4o7pSAnar0QOooH13no= +github.com/pulumi/pulumi/sdk/v3 v3.114.0/go.mod h1:d6LZJHqEfpgXUd8rFSSsbaPJcocZObXeaUr87jbA5MY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -163,11 +161,11 @@ github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDj github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= -github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= +github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= @@ -181,8 +179,8 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -237,8 +235,8 @@ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -291,12 +289,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= -google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= -google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/sdk/go/aws/provider.go b/sdk/go/aws/provider.go index 62f8a55456e..394537a6c9c 100644 --- a/sdk/go/aws/provider.go +++ b/sdk/go/aws/provider.go @@ -21,7 +21,7 @@ type Provider struct { // The access key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console. AccessKey pulumi.StringPtrOutput `pulumi:"accessKey"` // File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment - // variable. (Setting `ca_bundle` in the shared config file is not supported.) + // variable. (Setting `caBundle` in the shared config file is not supported.) CustomCaBundle pulumi.StringPtrOutput `pulumi:"customCaBundle"` // Address of the EC2 metadata service endpoint to use. Can also be configured using the // `AWS_EC2_METADATA_SERVICE_ENDPOINT` environment variable. @@ -30,13 +30,13 @@ type Provider struct { // `AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE` environment variable. Ec2MetadataServiceEndpointMode pulumi.StringPtrOutput `pulumi:"ec2MetadataServiceEndpointMode"` // URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the `HTTP_PROXY` or - // `http_proxy` environment variables. + // `httpProxy` environment variables. HttpProxy pulumi.StringPtrOutput `pulumi:"httpProxy"` // URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the `HTTPS_PROXY` or - // `https_proxy` environment variables. + // `httpsProxy` environment variables. HttpsProxy pulumi.StringPtrOutput `pulumi:"httpsProxy"` // Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the `NO_PROXY` or - // `no_proxy` environment variables. + // `noProxy` environment variables. NoProxy pulumi.StringPtrOutput `pulumi:"noProxy"` // The profile for API operations. If not set, the default profile created with `aws configure` will be used. Profile pulumi.StringPtrOutput `pulumi:"profile"` @@ -47,7 +47,7 @@ type Provider struct { RetryMode pulumi.StringPtrOutput `pulumi:"retryMode"` // Specifies whether S3 API calls in the `us-east-1` region use the legacy global endpoint or a regional endpoint. Valid // values are `legacy` or `regional`. Can also be configured using the `AWS_S3_US_EAST_1_REGIONAL_ENDPOINT` environment - // variable or the `s3_us_east_1_regional_endpoint` shared config file parameter + // variable or the `s3UsEast1RegionalEndpoint` shared config file parameter S3UsEast1RegionalEndpoint pulumi.StringPtrOutput `pulumi:"s3UsEast1RegionalEndpoint"` // The secret key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console. SecretKey pulumi.StringPtrOutput `pulumi:"secretKey"` @@ -109,7 +109,7 @@ type providerArgs struct { AssumeRole *ProviderAssumeRole `pulumi:"assumeRole"` AssumeRoleWithWebIdentity *ProviderAssumeRoleWithWebIdentity `pulumi:"assumeRoleWithWebIdentity"` // File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment - // variable. (Setting `ca_bundle` in the shared config file is not supported.) + // variable. (Setting `caBundle` in the shared config file is not supported.) CustomCaBundle *string `pulumi:"customCaBundle"` // Configuration block with settings to default resource tags across all resources. DefaultTags *ProviderDefaultTags `pulumi:"defaultTags"` @@ -122,10 +122,10 @@ type providerArgs struct { Endpoints []ProviderEndpoint `pulumi:"endpoints"` ForbiddenAccountIds []string `pulumi:"forbiddenAccountIds"` // URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the `HTTP_PROXY` or - // `http_proxy` environment variables. + // `httpProxy` environment variables. HttpProxy *string `pulumi:"httpProxy"` // URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the `HTTPS_PROXY` or - // `https_proxy` environment variables. + // `httpsProxy` environment variables. HttpsProxy *string `pulumi:"httpsProxy"` // Configuration block with settings to ignore resource tags across all resources. IgnoreTags *ProviderIgnoreTags `pulumi:"ignoreTags"` @@ -134,7 +134,7 @@ type providerArgs struct { // The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown. MaxRetries *int `pulumi:"maxRetries"` // Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the `NO_PROXY` or - // `no_proxy` environment variables. + // `noProxy` environment variables. NoProxy *string `pulumi:"noProxy"` // The profile for API operations. If not set, the default profile created with `aws configure` will be used. Profile *string `pulumi:"profile"` @@ -145,7 +145,7 @@ type providerArgs struct { RetryMode *string `pulumi:"retryMode"` // Specifies whether S3 API calls in the `us-east-1` region use the legacy global endpoint or a regional endpoint. Valid // values are `legacy` or `regional`. Can also be configured using the `AWS_S3_US_EAST_1_REGIONAL_ENDPOINT` environment - // variable or the `s3_us_east_1_regional_endpoint` shared config file parameter + // variable or the `s3UsEast1RegionalEndpoint` shared config file parameter S3UsEast1RegionalEndpoint *string `pulumi:"s3UsEast1RegionalEndpoint"` // Set this to true to enable the request to use path-style addressing, i.e., https://s3.amazonaws.com/BUCKET/KEY. By // default, the S3 client will use virtual hosted bucket addressing when possible (https://BUCKET.s3.amazonaws.com/KEY). @@ -187,7 +187,7 @@ type ProviderArgs struct { AssumeRole ProviderAssumeRolePtrInput AssumeRoleWithWebIdentity ProviderAssumeRoleWithWebIdentityPtrInput // File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment - // variable. (Setting `ca_bundle` in the shared config file is not supported.) + // variable. (Setting `caBundle` in the shared config file is not supported.) CustomCaBundle pulumi.StringPtrInput // Configuration block with settings to default resource tags across all resources. DefaultTags ProviderDefaultTagsPtrInput @@ -200,10 +200,10 @@ type ProviderArgs struct { Endpoints ProviderEndpointArrayInput ForbiddenAccountIds pulumi.StringArrayInput // URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the `HTTP_PROXY` or - // `http_proxy` environment variables. + // `httpProxy` environment variables. HttpProxy pulumi.StringPtrInput // URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the `HTTPS_PROXY` or - // `https_proxy` environment variables. + // `httpsProxy` environment variables. HttpsProxy pulumi.StringPtrInput // Configuration block with settings to ignore resource tags across all resources. IgnoreTags ProviderIgnoreTagsPtrInput @@ -212,7 +212,7 @@ type ProviderArgs struct { // The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown. MaxRetries pulumi.IntPtrInput // Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the `NO_PROXY` or - // `no_proxy` environment variables. + // `noProxy` environment variables. NoProxy pulumi.StringPtrInput // The profile for API operations. If not set, the default profile created with `aws configure` will be used. Profile pulumi.StringPtrInput @@ -223,7 +223,7 @@ type ProviderArgs struct { RetryMode pulumi.StringPtrInput // Specifies whether S3 API calls in the `us-east-1` region use the legacy global endpoint or a regional endpoint. Valid // values are `legacy` or `regional`. Can also be configured using the `AWS_S3_US_EAST_1_REGIONAL_ENDPOINT` environment - // variable or the `s3_us_east_1_regional_endpoint` shared config file parameter + // variable or the `s3UsEast1RegionalEndpoint` shared config file parameter S3UsEast1RegionalEndpoint pulumi.StringPtrInput // Set this to true to enable the request to use path-style addressing, i.e., https://s3.amazonaws.com/BUCKET/KEY. By // default, the S3 client will use virtual hosted bucket addressing when possible (https://BUCKET.s3.amazonaws.com/KEY). @@ -300,7 +300,7 @@ func (o ProviderOutput) AccessKey() pulumi.StringPtrOutput { } // File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment -// variable. (Setting `ca_bundle` in the shared config file is not supported.) +// variable. (Setting `caBundle` in the shared config file is not supported.) func (o ProviderOutput) CustomCaBundle() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.CustomCaBundle }).(pulumi.StringPtrOutput) } @@ -318,19 +318,19 @@ func (o ProviderOutput) Ec2MetadataServiceEndpointMode() pulumi.StringPtrOutput } // URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the `HTTP_PROXY` or -// `http_proxy` environment variables. +// `httpProxy` environment variables. func (o ProviderOutput) HttpProxy() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.HttpProxy }).(pulumi.StringPtrOutput) } // URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the `HTTPS_PROXY` or -// `https_proxy` environment variables. +// `httpsProxy` environment variables. func (o ProviderOutput) HttpsProxy() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.HttpsProxy }).(pulumi.StringPtrOutput) } // Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the `NO_PROXY` or -// `no_proxy` environment variables. +// `noProxy` environment variables. func (o ProviderOutput) NoProxy() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.NoProxy }).(pulumi.StringPtrOutput) } @@ -353,7 +353,7 @@ func (o ProviderOutput) RetryMode() pulumi.StringPtrOutput { // Specifies whether S3 API calls in the `us-east-1` region use the legacy global endpoint or a regional endpoint. Valid // values are `legacy` or `regional`. Can also be configured using the `AWS_S3_US_EAST_1_REGIONAL_ENDPOINT` environment -// variable or the `s3_us_east_1_regional_endpoint` shared config file parameter +// variable or the `s3UsEast1RegionalEndpoint` shared config file parameter func (o ProviderOutput) S3UsEast1RegionalEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.S3UsEast1RegionalEndpoint }).(pulumi.StringPtrOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 106cafff43b..961b1046259 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.10.0") + implementation("com.pulumi:pulumi:0.11.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/aws/AwsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/AwsFunctions.java index deba4bd2073..b2ba68d018c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/AwsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/AwsFunctions.java @@ -50,7 +50,8 @@ public final class AwsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -72,12 +73,13 @@ public final class AwsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var dbInstance = AwsFunctions.getArn(GetArnArgs.builder()
-     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
+     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -90,7 +92,8 @@ public static Output getArn(GetArnArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -112,12 +115,13 @@ public static Output getArn(GetArnArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var dbInstance = AwsFunctions.getArn(GetArnArgs.builder()
-     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
+     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -130,7 +134,8 @@ public static CompletableFuture getArnPlain(GetArnPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -152,12 +157,13 @@ public static CompletableFuture getArnPlain(GetArnPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var dbInstance = AwsFunctions.getArn(GetArnArgs.builder()
-     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
+     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -170,7 +176,8 @@ public static Output getArn(GetArnArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -192,12 +199,13 @@ public static Output getArn(GetArnArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var dbInstance = AwsFunctions.getArn(GetArnArgs.builder()
-     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
+     *             .arn("arn:aws:rds:eu-west-1:123456789012:db:mysql-db")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -223,7 +231,8 @@ public static CompletableFuture getArnPlain(GetArnPlainArgs args, * VPC and subnet CIDR prefixes systematically for an availability zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -249,32 +258,33 @@ public static CompletableFuture getArnPlain(GetArnPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
-     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
      *         // Retrieve the AZ where we want to create network resources
      *         // This must be in the region selected on the AWS provider.
      *         final var example = AwsFunctions.getAvailabilityZone(GetAvailabilityZoneArgs.builder()
-     *             .name("eu-central-1a")
+     *             .name("eu-central-1a")
      *             .build());
      * 
      *         // Create a VPC for the region associated with the AZ
-     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input("10.0.0.0/8")
+     *                 .input("10.0.0.0/8")
      *                 .newbits(4)
-     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
+     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
      *                 .build()).result())
      *             .build());
      * 
      *         // Create a subnet for the AZ within the regional VPC
-     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
      *             .vpcId(exampleVpc.id())
-     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -300,7 +310,8 @@ public static Output getAvailabilityZone() { * VPC and subnet CIDR prefixes systematically for an availability zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -326,32 +337,33 @@ public static Output getAvailabilityZone() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
-     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
      *         // Retrieve the AZ where we want to create network resources
      *         // This must be in the region selected on the AWS provider.
      *         final var example = AwsFunctions.getAvailabilityZone(GetAvailabilityZoneArgs.builder()
-     *             .name("eu-central-1a")
+     *             .name("eu-central-1a")
      *             .build());
      * 
      *         // Create a VPC for the region associated with the AZ
-     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input("10.0.0.0/8")
+     *                 .input("10.0.0.0/8")
      *                 .newbits(4)
-     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
+     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
      *                 .build()).result())
      *             .build());
      * 
      *         // Create a subnet for the AZ within the regional VPC
-     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
      *             .vpcId(exampleVpc.id())
-     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -377,7 +389,8 @@ public static CompletableFuture getAvailabilityZonePl * VPC and subnet CIDR prefixes systematically for an availability zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -403,32 +416,33 @@ public static CompletableFuture getAvailabilityZonePl
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
-     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
      *         // Retrieve the AZ where we want to create network resources
      *         // This must be in the region selected on the AWS provider.
      *         final var example = AwsFunctions.getAvailabilityZone(GetAvailabilityZoneArgs.builder()
-     *             .name("eu-central-1a")
+     *             .name("eu-central-1a")
      *             .build());
      * 
      *         // Create a VPC for the region associated with the AZ
-     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input("10.0.0.0/8")
+     *                 .input("10.0.0.0/8")
      *                 .newbits(4)
-     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
+     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
      *                 .build()).result())
      *             .build());
      * 
      *         // Create a subnet for the AZ within the regional VPC
-     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
      *             .vpcId(exampleVpc.id())
-     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -454,7 +468,8 @@ public static Output getAvailabilityZone(GetAvailabil * VPC and subnet CIDR prefixes systematically for an availability zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -480,32 +495,33 @@ public static Output getAvailabilityZone(GetAvailabil
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
-     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
      *         // Retrieve the AZ where we want to create network resources
      *         // This must be in the region selected on the AWS provider.
      *         final var example = AwsFunctions.getAvailabilityZone(GetAvailabilityZoneArgs.builder()
-     *             .name("eu-central-1a")
+     *             .name("eu-central-1a")
      *             .build());
      * 
      *         // Create a VPC for the region associated with the AZ
-     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input("10.0.0.0/8")
+     *                 .input("10.0.0.0/8")
      *                 .newbits(4)
-     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
+     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
      *                 .build()).result())
      *             .build());
      * 
      *         // Create a subnet for the AZ within the regional VPC
-     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
      *             .vpcId(exampleVpc.id())
-     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -531,7 +547,8 @@ public static CompletableFuture getAvailabilityZonePl * VPC and subnet CIDR prefixes systematically for an availability zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -557,32 +574,33 @@ public static CompletableFuture getAvailabilityZonePl
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
-     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
      *         // Retrieve the AZ where we want to create network resources
      *         // This must be in the region selected on the AWS provider.
      *         final var example = AwsFunctions.getAvailabilityZone(GetAvailabilityZoneArgs.builder()
-     *             .name("eu-central-1a")
+     *             .name("eu-central-1a")
      *             .build());
      * 
      *         // Create a VPC for the region associated with the AZ
-     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input("10.0.0.0/8")
+     *                 .input("10.0.0.0/8")
      *                 .newbits(4)
-     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
+     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
      *                 .build()).result())
      *             .build());
      * 
      *         // Create a subnet for the AZ within the regional VPC
-     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
      *             .vpcId(exampleVpc.id())
-     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -608,7 +626,8 @@ public static Output getAvailabilityZone(GetAvailabil * VPC and subnet CIDR prefixes systematically for an availability zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -634,32 +653,33 @@ public static Output getAvailabilityZone(GetAvailabil
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
-     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var regionNumber = config.get("regionNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+     *         final var azNumber = config.get("azNumber").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
      *         // Retrieve the AZ where we want to create network resources
      *         // This must be in the region selected on the AWS provider.
      *         final var example = AwsFunctions.getAvailabilityZone(GetAvailabilityZoneArgs.builder()
-     *             .name("eu-central-1a")
+     *             .name("eu-central-1a")
      *             .build());
      * 
      *         // Create a VPC for the region associated with the AZ
-     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+     *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input("10.0.0.0/8")
+     *                 .input("10.0.0.0/8")
      *                 .newbits(4)
-     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
+     *                 .netnum(regionNumber[example.applyValue(getAvailabilityZoneResult -> getAvailabilityZoneResult.region())])
      *                 .build()).result())
      *             .build());
      * 
      *         // Create a subnet for the AZ within the regional VPC
-     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+     *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
      *             .vpcId(exampleVpc.id())
-     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+     *             .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -681,7 +701,8 @@ public static CompletableFuture getAvailabilityZonePl * ### By State * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -706,21 +727,22 @@ public static CompletableFuture getAvailabilityZonePl
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
-     *             .state("available")
+     *             .state("available")
      *             .build());
      * 
      *         // e.g., Create subnets in the first two available availability zones
-     *         var primary = new Subnet("primary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+     *         var primary = new Subnet("primary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
      *             .build());
      * 
-     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Filter @@ -728,7 +750,8 @@ public static CompletableFuture getAvailabilityZonePl * All Local Zones (regardless of opt-in status): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -752,22 +775,24 @@ public static CompletableFuture getAvailabilityZonePl
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .allAvailabilityZones(true)
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
+     *                 .name("opt-in-status")
      *                 .values(                
-     *                     "not-opted-in",
-     *                     "opted-in")
+     *                     "not-opted-in",
+     *                     "opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Only Availability Zones (no Local Zones): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -790,14 +815,15 @@ public static CompletableFuture getAvailabilityZonePl
      *     public static void stack(Context ctx) {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("opt-in-not-required")
+     *                 .name("opt-in-status")
+     *                 .values("opt-in-not-required")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -819,7 +845,8 @@ public static Output getAvailabilityZones() { * ### By State * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -844,21 +871,22 @@ public static Output getAvailabilityZones() {
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
-     *             .state("available")
+     *             .state("available")
      *             .build());
      * 
      *         // e.g., Create subnets in the first two available availability zones
-     *         var primary = new Subnet("primary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+     *         var primary = new Subnet("primary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
      *             .build());
      * 
-     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Filter @@ -866,7 +894,8 @@ public static Output getAvailabilityZones() { * All Local Zones (regardless of opt-in status): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -890,22 +919,24 @@ public static Output getAvailabilityZones() {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .allAvailabilityZones(true)
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
+     *                 .name("opt-in-status")
      *                 .values(                
-     *                     "not-opted-in",
-     *                     "opted-in")
+     *                     "not-opted-in",
+     *                     "opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Only Availability Zones (no Local Zones): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -928,14 +959,15 @@ public static Output getAvailabilityZones() {
      *     public static void stack(Context ctx) {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("opt-in-not-required")
+     *                 .name("opt-in-status")
+     *                 .values("opt-in-not-required")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -957,7 +989,8 @@ public static CompletableFuture getAvailabilityZones * ### By State * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -982,21 +1015,22 @@ public static CompletableFuture getAvailabilityZones
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
-     *             .state("available")
+     *             .state("available")
      *             .build());
      * 
      *         // e.g., Create subnets in the first two available availability zones
-     *         var primary = new Subnet("primary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+     *         var primary = new Subnet("primary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
      *             .build());
      * 
-     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Filter @@ -1004,7 +1038,8 @@ public static CompletableFuture getAvailabilityZones * All Local Zones (regardless of opt-in status): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1028,22 +1063,24 @@ public static CompletableFuture getAvailabilityZones
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .allAvailabilityZones(true)
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
+     *                 .name("opt-in-status")
      *                 .values(                
-     *                     "not-opted-in",
-     *                     "opted-in")
+     *                     "not-opted-in",
+     *                     "opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Only Availability Zones (no Local Zones): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1066,14 +1103,15 @@ public static CompletableFuture getAvailabilityZones
      *     public static void stack(Context ctx) {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("opt-in-not-required")
+     *                 .name("opt-in-status")
+     *                 .values("opt-in-not-required")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1095,7 +1133,8 @@ public static Output getAvailabilityZones(GetAvailab * ### By State * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1120,21 +1159,22 @@ public static Output getAvailabilityZones(GetAvailab
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
-     *             .state("available")
+     *             .state("available")
      *             .build());
      * 
      *         // e.g., Create subnets in the first two available availability zones
-     *         var primary = new Subnet("primary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+     *         var primary = new Subnet("primary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
      *             .build());
      * 
-     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Filter @@ -1142,7 +1182,8 @@ public static Output getAvailabilityZones(GetAvailab * All Local Zones (regardless of opt-in status): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1166,22 +1207,24 @@ public static Output getAvailabilityZones(GetAvailab
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .allAvailabilityZones(true)
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
+     *                 .name("opt-in-status")
      *                 .values(                
-     *                     "not-opted-in",
-     *                     "opted-in")
+     *                     "not-opted-in",
+     *                     "opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Only Availability Zones (no Local Zones): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1204,14 +1247,15 @@ public static Output getAvailabilityZones(GetAvailab
      *     public static void stack(Context ctx) {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("opt-in-not-required")
+     *                 .name("opt-in-status")
+     *                 .values("opt-in-not-required")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1233,7 +1277,8 @@ public static CompletableFuture getAvailabilityZones * ### By State * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1258,21 +1303,22 @@ public static CompletableFuture getAvailabilityZones
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
-     *             .state("available")
+     *             .state("available")
      *             .build());
      * 
      *         // e.g., Create subnets in the first two available availability zones
-     *         var primary = new Subnet("primary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+     *         var primary = new Subnet("primary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
      *             .build());
      * 
-     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Filter @@ -1280,7 +1326,8 @@ public static CompletableFuture getAvailabilityZones * All Local Zones (regardless of opt-in status): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1304,22 +1351,24 @@ public static CompletableFuture getAvailabilityZones
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .allAvailabilityZones(true)
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
+     *                 .name("opt-in-status")
      *                 .values(                
-     *                     "not-opted-in",
-     *                     "opted-in")
+     *                     "not-opted-in",
+     *                     "opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Only Availability Zones (no Local Zones): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1342,14 +1391,15 @@ public static CompletableFuture getAvailabilityZones
      *     public static void stack(Context ctx) {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("opt-in-not-required")
+     *                 .name("opt-in-status")
+     *                 .values("opt-in-not-required")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1371,7 +1421,8 @@ public static Output getAvailabilityZones(GetAvailab * ### By State * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1396,21 +1447,22 @@ public static Output getAvailabilityZones(GetAvailab
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
-     *             .state("available")
+     *             .state("available")
      *             .build());
      * 
      *         // e.g., Create subnets in the first two available availability zones
-     *         var primary = new Subnet("primary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+     *         var primary = new Subnet("primary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
      *             .build());
      * 
-     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
-     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+     *         var secondary = new Subnet("secondary", SubnetArgs.builder()        
+     *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Filter @@ -1418,7 +1470,8 @@ public static Output getAvailabilityZones(GetAvailab * All Local Zones (regardless of opt-in status): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1442,22 +1495,24 @@ public static Output getAvailabilityZones(GetAvailab
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .allAvailabilityZones(true)
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
+     *                 .name("opt-in-status")
      *                 .values(                
-     *                     "not-opted-in",
-     *                     "opted-in")
+     *                     "not-opted-in",
+     *                     "opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Only Availability Zones (no Local Zones): * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1480,14 +1535,15 @@ public static Output getAvailabilityZones(GetAvailab
      *     public static void stack(Context ctx) {
      *         final var example = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
      *             .filters(GetAvailabilityZonesFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("opt-in-not-required")
+     *                 .name("opt-in-status")
+     *                 .values("opt-in-not-required")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1500,7 +1556,8 @@ public static CompletableFuture getAvailabilityZones * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1531,47 +1588,48 @@ public static CompletableFuture getAvailabilityZones
      *     public static void stack(Context ctx) {
      *         final var main = AwsFunctions.getBillingServiceAccount();
      * 
-     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
-     *             .bucket("my-billing-tf-test-bucket")
+     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
+     *             .bucket("my-billing-tf-test-bucket")
      *             .build());
      * 
-     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
+     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(billingLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowBillingLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
      *                     .actions(                    
-     *                         "s3:GetBucketAcl",
-     *                         "s3:GetBucketPolicy")
+     *                         "s3:GetBucketAcl",
+     *                         "s3:GetBucketPolicy")
      *                     .resources(billingLogs.arn())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build())
      *             .build());
      * 
-     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(billingLogs.id())
-     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1584,7 +1642,8 @@ public static Output getBillingServiceAccount() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1615,47 +1674,48 @@ public static Output getBillingServiceAccount()
      *     public static void stack(Context ctx) {
      *         final var main = AwsFunctions.getBillingServiceAccount();
      * 
-     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
-     *             .bucket("my-billing-tf-test-bucket")
+     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
+     *             .bucket("my-billing-tf-test-bucket")
      *             .build());
      * 
-     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
+     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(billingLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowBillingLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
      *                     .actions(                    
-     *                         "s3:GetBucketAcl",
-     *                         "s3:GetBucketPolicy")
+     *                         "s3:GetBucketAcl",
+     *                         "s3:GetBucketPolicy")
      *                     .resources(billingLogs.arn())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build())
      *             .build());
      * 
-     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(billingLogs.id())
-     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1668,7 +1728,8 @@ public static CompletableFuture getBillingServic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1699,47 +1760,48 @@ public static CompletableFuture getBillingServic
      *     public static void stack(Context ctx) {
      *         final var main = AwsFunctions.getBillingServiceAccount();
      * 
-     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
-     *             .bucket("my-billing-tf-test-bucket")
+     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
+     *             .bucket("my-billing-tf-test-bucket")
      *             .build());
      * 
-     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
+     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(billingLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowBillingLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
      *                     .actions(                    
-     *                         "s3:GetBucketAcl",
-     *                         "s3:GetBucketPolicy")
+     *                         "s3:GetBucketAcl",
+     *                         "s3:GetBucketPolicy")
      *                     .resources(billingLogs.arn())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build())
      *             .build());
      * 
-     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(billingLogs.id())
-     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1752,7 +1814,8 @@ public static Output getBillingServiceAccount(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1783,47 +1846,48 @@ public static Output getBillingServiceAccount(Ge
      *     public static void stack(Context ctx) {
      *         final var main = AwsFunctions.getBillingServiceAccount();
      * 
-     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
-     *             .bucket("my-billing-tf-test-bucket")
+     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
+     *             .bucket("my-billing-tf-test-bucket")
      *             .build());
      * 
-     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
+     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(billingLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowBillingLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
      *                     .actions(                    
-     *                         "s3:GetBucketAcl",
-     *                         "s3:GetBucketPolicy")
+     *                         "s3:GetBucketAcl",
+     *                         "s3:GetBucketPolicy")
      *                     .resources(billingLogs.arn())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build())
      *             .build());
      * 
-     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(billingLogs.id())
-     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1836,7 +1900,8 @@ public static CompletableFuture getBillingServic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1867,47 +1932,48 @@ public static CompletableFuture getBillingServic
      *     public static void stack(Context ctx) {
      *         final var main = AwsFunctions.getBillingServiceAccount();
      * 
-     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
-     *             .bucket("my-billing-tf-test-bucket")
+     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
+     *             .bucket("my-billing-tf-test-bucket")
      *             .build());
      * 
-     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
+     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(billingLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowBillingLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
      *                     .actions(                    
-     *                         "s3:GetBucketAcl",
-     *                         "s3:GetBucketPolicy")
+     *                         "s3:GetBucketAcl",
+     *                         "s3:GetBucketPolicy")
      *                     .resources(billingLogs.arn())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build())
      *             .build());
      * 
-     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(billingLogs.id())
-     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1920,7 +1986,8 @@ public static Output getBillingServiceAccount(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1951,47 +2018,48 @@ public static Output getBillingServiceAccount(Ge
      *     public static void stack(Context ctx) {
      *         final var main = AwsFunctions.getBillingServiceAccount();
      * 
-     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
-     *             .bucket("my-billing-tf-test-bucket")
+     *         var billingLogs = new BucketV2("billingLogs", BucketV2Args.builder()        
+     *             .bucket("my-billing-tf-test-bucket")
      *             .build());
      * 
-     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
+     *         var billingLogsAcl = new BucketAclV2("billingLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(billingLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowBillingLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
      *                     .actions(                    
-     *                         "s3:GetBucketAcl",
-     *                         "s3:GetBucketPolicy")
+     *                         "s3:GetBucketAcl",
+     *                         "s3:GetBucketPolicy")
      *                     .resources(billingLogs.arn())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getBillingServiceAccountResult -> getBillingServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(billingLogs.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build())
      *             .build());
      * 
-     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowBillingLoggingBucketPolicy = new BucketPolicy("allowBillingLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(billingLogs.id())
-     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowBillingLogging -> allowBillingLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2005,7 +2073,8 @@ public static CompletableFuture getBillingServic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2028,12 +2097,13 @@ public static CompletableFuture getBillingServic
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
-     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
-     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
+     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
+     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
+     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2047,7 +2117,8 @@ public static Output getCallerIdentity() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2070,12 +2141,13 @@ public static Output getCallerIdentity() {
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
-     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
-     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
+     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
+     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
+     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2089,7 +2161,8 @@ public static CompletableFuture getCallerIdentityPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2112,12 +2185,13 @@ public static CompletableFuture getCallerIdentityPlain(
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
-     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
-     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
+     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
+     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
+     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2131,7 +2205,8 @@ public static Output getCallerIdentity(GetCallerIdentit * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2154,12 +2229,13 @@ public static Output getCallerIdentity(GetCallerIdentit
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
-     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
-     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
+     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
+     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
+     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2173,7 +2249,8 @@ public static CompletableFuture getCallerIdentityPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2196,12 +2273,13 @@ public static CompletableFuture getCallerIdentityPlain(
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
-     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
-     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
+     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
+     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
+     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2215,7 +2293,8 @@ public static Output getCallerIdentity(GetCallerIdentit * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2238,12 +2317,13 @@ public static Output getCallerIdentity(GetCallerIdentit
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
-     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
-     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
+     *         ctx.export("accountId", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()));
+     *         ctx.export("callerArn", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()));
+     *         ctx.export("callerUser", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.userId()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2260,7 +2340,8 @@ public static CompletableFuture getCallerIdentityPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2285,7 +2366,8 @@ public static CompletableFuture getCallerIdentityPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Dynamically Apply Default Tags to Auto Scaling Group @@ -2307,7 +2389,8 @@ public static Output getDefaultTags() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2332,7 +2415,8 @@ public static Output getDefaultTags() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Dynamically Apply Default Tags to Auto Scaling Group @@ -2354,7 +2438,8 @@ public static CompletableFuture getDefaultTagsPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2379,7 +2464,8 @@ public static CompletableFuture getDefaultTagsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Dynamically Apply Default Tags to Auto Scaling Group @@ -2401,7 +2487,8 @@ public static Output getDefaultTags(GetDefaultTagsArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2426,7 +2513,8 @@ public static Output getDefaultTags(GetDefaultTagsArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Dynamically Apply Default Tags to Auto Scaling Group @@ -2448,7 +2536,8 @@ public static CompletableFuture getDefaultTagsPlain(GetDef * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2473,7 +2562,8 @@ public static CompletableFuture getDefaultTagsPlain(GetDef
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Dynamically Apply Default Tags to Auto Scaling Group @@ -2495,7 +2585,8 @@ public static Output getDefaultTags(GetDefaultTagsArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2520,7 +2611,8 @@ public static Output getDefaultTags(GetDefaultTagsArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Dynamically Apply Default Tags to Auto Scaling Group @@ -2538,7 +2630,8 @@ public static CompletableFuture getDefaultTagsPlain(GetDef * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2564,29 +2657,30 @@ public static CompletableFuture getDefaultTagsPlain(GetDef
      *     public static void stack(Context ctx) {
      *         final var europeanEc2 = AwsFunctions.getIpRanges(GetIpRangesArgs.builder()
      *             .regions(            
-     *                 "eu-west-1",
-     *                 "eu-central-1")
-     *             .services("ec2")
+     *                 "eu-west-1",
+     *                 "eu-central-1")
+     *             .services("ec2")
      *             .build());
      * 
-     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
-     *             .name("from_europe")
+     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
+     *             .name("from_europe")
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .fromPort("443")
-     *                 .toPort("443")
-     *                 .protocol("tcp")
-     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
-     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
+     *                 .fromPort("443")
+     *                 .toPort("443")
+     *                 .protocol("tcp")
+     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
+     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
      *                 .build())
      *             .tags(Map.ofEntries(
-     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
-     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
+     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
+     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2599,7 +2693,8 @@ public static Output getIpRanges(GetIpRangesArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2625,29 +2720,30 @@ public static Output getIpRanges(GetIpRangesArgs args) {
      *     public static void stack(Context ctx) {
      *         final var europeanEc2 = AwsFunctions.getIpRanges(GetIpRangesArgs.builder()
      *             .regions(            
-     *                 "eu-west-1",
-     *                 "eu-central-1")
-     *             .services("ec2")
+     *                 "eu-west-1",
+     *                 "eu-central-1")
+     *             .services("ec2")
      *             .build());
      * 
-     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
-     *             .name("from_europe")
+     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
+     *             .name("from_europe")
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .fromPort("443")
-     *                 .toPort("443")
-     *                 .protocol("tcp")
-     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
-     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
+     *                 .fromPort("443")
+     *                 .toPort("443")
+     *                 .protocol("tcp")
+     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
+     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
      *                 .build())
      *             .tags(Map.ofEntries(
-     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
-     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
+     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
+     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2660,7 +2756,8 @@ public static CompletableFuture getIpRangesPlain(GetIpRangesP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2686,29 +2783,30 @@ public static CompletableFuture getIpRangesPlain(GetIpRangesP
      *     public static void stack(Context ctx) {
      *         final var europeanEc2 = AwsFunctions.getIpRanges(GetIpRangesArgs.builder()
      *             .regions(            
-     *                 "eu-west-1",
-     *                 "eu-central-1")
-     *             .services("ec2")
+     *                 "eu-west-1",
+     *                 "eu-central-1")
+     *             .services("ec2")
      *             .build());
      * 
-     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
-     *             .name("from_europe")
+     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
+     *             .name("from_europe")
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .fromPort("443")
-     *                 .toPort("443")
-     *                 .protocol("tcp")
-     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
-     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
+     *                 .fromPort("443")
+     *                 .toPort("443")
+     *                 .protocol("tcp")
+     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
+     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
      *                 .build())
      *             .tags(Map.ofEntries(
-     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
-     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
+     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
+     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2721,7 +2819,8 @@ public static Output getIpRanges(GetIpRangesArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2747,29 +2846,30 @@ public static Output getIpRanges(GetIpRangesArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var europeanEc2 = AwsFunctions.getIpRanges(GetIpRangesArgs.builder()
      *             .regions(            
-     *                 "eu-west-1",
-     *                 "eu-central-1")
-     *             .services("ec2")
+     *                 "eu-west-1",
+     *                 "eu-central-1")
+     *             .services("ec2")
      *             .build());
      * 
-     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
-     *             .name("from_europe")
+     *         var fromEurope = new SecurityGroup("fromEurope", SecurityGroupArgs.builder()        
+     *             .name("from_europe")
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .fromPort("443")
-     *                 .toPort("443")
-     *                 .protocol("tcp")
-     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
-     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
+     *                 .fromPort("443")
+     *                 .toPort("443")
+     *                 .protocol("tcp")
+     *                 .cidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.cidrBlocks()))
+     *                 .ipv6CidrBlocks(europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.ipv6CidrBlocks()))
      *                 .build())
      *             .tags(Map.ofEntries(
-     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
-     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
+     *                 Map.entry("CreateDate", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.createDate())),
+     *                 Map.entry("SyncToken", europeanEc2.applyValue(getIpRangesResult -> getIpRangesResult.syncToken()))
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2783,7 +2883,8 @@ public static CompletableFuture getIpRangesPlain(GetIpRangesP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2810,15 +2911,16 @@ public static CompletableFuture getIpRangesPlain(GetIpRangesP
      * 
      *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("1")
-     *                 .actions("s3:ListBucket")
-     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+     *                 .sid("1")
+     *                 .actions("s3:ListBucket")
+     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2832,7 +2934,8 @@ public static Output getPartition() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2859,15 +2962,16 @@ public static Output getPartition() {
      * 
      *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("1")
-     *                 .actions("s3:ListBucket")
-     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+     *                 .sid("1")
+     *                 .actions("s3:ListBucket")
+     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2881,7 +2985,8 @@ public static CompletableFuture getPartitionPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2908,15 +3013,16 @@ public static CompletableFuture getPartitionPlain() {
      * 
      *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("1")
-     *                 .actions("s3:ListBucket")
-     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+     *                 .sid("1")
+     *                 .actions("s3:ListBucket")
+     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2930,7 +3036,8 @@ public static Output getPartition(GetPartitionArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2957,15 +3064,16 @@ public static Output getPartition(GetPartitionArgs args) {
      * 
      *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("1")
-     *                 .actions("s3:ListBucket")
-     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+     *                 .sid("1")
+     *                 .actions("s3:ListBucket")
+     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2979,7 +3087,8 @@ public static CompletableFuture getPartitionPlain(GetPartiti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3006,15 +3115,16 @@ public static CompletableFuture getPartitionPlain(GetPartiti
      * 
      *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("1")
-     *                 .actions("s3:ListBucket")
-     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+     *                 .sid("1")
+     *                 .actions("s3:ListBucket")
+     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3028,7 +3138,8 @@ public static Output getPartition(GetPartitionArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3055,15 +3166,16 @@ public static Output getPartition(GetPartitionArgs args, Inv
      * 
      *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("1")
-     *                 .actions("s3:ListBucket")
-     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+     *                 .sid("1")
+     *                 .actions("s3:ListBucket")
+     *                 .resources(String.format("arn:%s:s3:::my-bucket", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3084,7 +3196,8 @@ public static CompletableFuture getPartitionPlain(GetPartiti * the name of the AWS region configured on the provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3109,7 +3222,8 @@ public static CompletableFuture getPartitionPlain(GetPartiti
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3130,7 +3244,8 @@ public static Output getRegion() { * the name of the AWS region configured on the provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3155,7 +3270,8 @@ public static Output getRegion() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3176,7 +3292,8 @@ public static CompletableFuture getRegionPlain() { * the name of the AWS region configured on the provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3201,7 +3318,8 @@ public static CompletableFuture getRegionPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3222,7 +3340,8 @@ public static Output getRegion(GetRegionArgs args) { * the name of the AWS region configured on the provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3247,7 +3366,8 @@ public static Output getRegion(GetRegionArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3268,7 +3388,8 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * the name of the AWS region configured on the provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3293,7 +3414,8 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3314,7 +3436,8 @@ public static Output getRegion(GetRegionArgs args, InvokeOption * the name of the AWS region configured on the provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3339,7 +3462,8 @@ public static Output getRegion(GetRegionArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3354,7 +3478,8 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * Enabled AWS Regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3379,13 +3504,15 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * All the regions regardless of the availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3412,13 +3539,15 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To see regions that are filtered by `"not-opted-in"`, the `all_regions` argument needs to be set to `true` or no results will be returned. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3442,14 +3571,15 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr
      *         final var current = AwsFunctions.getRegions(GetRegionsArgs.builder()
      *             .allRegions(true)
      *             .filters(GetRegionsFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("not-opted-in")
+     *                 .name("opt-in-status")
+     *                 .values("not-opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3464,7 +3594,8 @@ public static Output getRegions() { * Enabled AWS Regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3489,13 +3620,15 @@ public static Output getRegions() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * All the regions regardless of the availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3522,13 +3655,15 @@ public static Output getRegions() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To see regions that are filtered by `"not-opted-in"`, the `all_regions` argument needs to be set to `true` or no results will be returned. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3552,14 +3687,15 @@ public static Output getRegions() {
      *         final var current = AwsFunctions.getRegions(GetRegionsArgs.builder()
      *             .allRegions(true)
      *             .filters(GetRegionsFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("not-opted-in")
+     *                 .name("opt-in-status")
+     *                 .values("not-opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3574,7 +3710,8 @@ public static CompletableFuture getRegionsPlain() { * Enabled AWS Regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3599,13 +3736,15 @@ public static CompletableFuture getRegionsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * All the regions regardless of the availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3632,13 +3771,15 @@ public static CompletableFuture getRegionsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To see regions that are filtered by `"not-opted-in"`, the `all_regions` argument needs to be set to `true` or no results will be returned. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3662,14 +3803,15 @@ public static CompletableFuture getRegionsPlain() {
      *         final var current = AwsFunctions.getRegions(GetRegionsArgs.builder()
      *             .allRegions(true)
      *             .filters(GetRegionsFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("not-opted-in")
+     *                 .name("opt-in-status")
+     *                 .values("not-opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3684,7 +3826,8 @@ public static Output getRegions(GetRegionsArgs args) { * Enabled AWS Regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3709,13 +3852,15 @@ public static Output getRegions(GetRegionsArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * All the regions regardless of the availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3742,13 +3887,15 @@ public static Output getRegions(GetRegionsArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To see regions that are filtered by `"not-opted-in"`, the `all_regions` argument needs to be set to `true` or no results will be returned. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3772,14 +3919,15 @@ public static Output getRegions(GetRegionsArgs args) {
      *         final var current = AwsFunctions.getRegions(GetRegionsArgs.builder()
      *             .allRegions(true)
      *             .filters(GetRegionsFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("not-opted-in")
+     *                 .name("opt-in-status")
+     *                 .values("not-opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3794,7 +3942,8 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * Enabled AWS Regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3819,13 +3968,15 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * All the regions regardless of the availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3852,13 +4003,15 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To see regions that are filtered by `"not-opted-in"`, the `all_regions` argument needs to be set to `true` or no results will be returned. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3882,14 +4035,15 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai
      *         final var current = AwsFunctions.getRegions(GetRegionsArgs.builder()
      *             .allRegions(true)
      *             .filters(GetRegionsFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("not-opted-in")
+     *                 .name("opt-in-status")
+     *                 .values("not-opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3904,7 +4058,8 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt * Enabled AWS Regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3929,13 +4084,15 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * All the regions regardless of the availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3962,13 +4119,15 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To see regions that are filtered by `"not-opted-in"`, the `all_regions` argument needs to be set to `true` or no results will be returned. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3992,14 +4151,15 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt
      *         final var current = AwsFunctions.getRegions(GetRegionsArgs.builder()
      *             .allRegions(true)
      *             .filters(GetRegionsFilterArgs.builder()
-     *                 .name("opt-in-status")
-     *                 .values("not-opted-in")
+     *                 .name("opt-in-status")
+     *                 .values("not-opted-in")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4014,7 +4174,8 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * ### Get Service DNS Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4039,19 +4200,21 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var test = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *             .serviceId("ec2")
+     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *             .serviceId("ec2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Use Service Reverse DNS Name to Get Components * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4073,18 +4236,20 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
+     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Determine Regional Support for a Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4106,12 +4271,13 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
+     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4126,7 +4292,8 @@ public static Output getService() { * ### Get Service DNS Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4151,19 +4318,21 @@ public static Output getService() {
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var test = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *             .serviceId("ec2")
+     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *             .serviceId("ec2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Use Service Reverse DNS Name to Get Components * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4185,18 +4354,20 @@ public static Output getService() {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
+     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Determine Regional Support for a Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4218,12 +4389,13 @@ public static Output getService() {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
+     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4238,7 +4410,8 @@ public static CompletableFuture getServicePlain() { * ### Get Service DNS Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4263,19 +4436,21 @@ public static CompletableFuture getServicePlain() {
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var test = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *             .serviceId("ec2")
+     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *             .serviceId("ec2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Use Service Reverse DNS Name to Get Components * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4297,18 +4472,20 @@ public static CompletableFuture getServicePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
+     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Determine Regional Support for a Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4330,12 +4507,13 @@ public static CompletableFuture getServicePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
+     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4350,7 +4528,8 @@ public static Output getService(GetServiceArgs args) { * ### Get Service DNS Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4375,19 +4554,21 @@ public static Output getService(GetServiceArgs args) {
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var test = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *             .serviceId("ec2")
+     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *             .serviceId("ec2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Use Service Reverse DNS Name to Get Components * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4409,18 +4590,20 @@ public static Output getService(GetServiceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
+     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Determine Regional Support for a Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4442,12 +4625,13 @@ public static Output getService(GetServiceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
+     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4462,7 +4646,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ### Get Service DNS Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4487,19 +4672,21 @@ public static CompletableFuture getServicePlain(GetServicePlai
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var test = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *             .serviceId("ec2")
+     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *             .serviceId("ec2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Use Service Reverse DNS Name to Get Components * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4521,18 +4708,20 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
+     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Determine Regional Support for a Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4554,12 +4743,13 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
+     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4574,7 +4764,8 @@ public static Output getService(GetServiceArgs args, InvokeOpt * ### Get Service DNS Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4599,19 +4790,21 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var test = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *             .serviceId("ec2")
+     *             .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *             .serviceId("ec2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Use Service Reverse DNS Name to Get Components * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4633,18 +4826,20 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
+     *             .reverseDnsName("cn.com.amazonaws.cn-north-1.s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Determine Regional Support for a Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4666,12 +4861,13 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = AwsFunctions.getService(GetServiceArgs.builder()
-     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
+     *             .reverseDnsName("com.amazonaws.us-gov-west-1.waf")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/Analyzer.java b/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/Analyzer.java index 4ce27597c88..f3a863ba624 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/Analyzer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/Analyzer.java @@ -24,7 +24,8 @@ * ### Account Analyzer * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Analyzer("example", AnalyzerArgs.builder()        
- *             .analyzerName("example")
+ *         var example = new Analyzer("example", AnalyzerArgs.builder()        
+ *             .analyzerName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Analyzer * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,20 +84,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Organization("example", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("access-analyzer.amazonaws.com")
+ *         var example = new Organization("example", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("access-analyzer.amazonaws.com")
  *             .build());
  * 
- *         var exampleAnalyzer = new Analyzer("exampleAnalyzer", AnalyzerArgs.builder()        
- *             .analyzerName("example")
- *             .type("ORGANIZATION")
+ *         var exampleAnalyzer = new Analyzer("exampleAnalyzer", AnalyzerArgs.builder()        
+ *             .analyzerName("example")
+ *             .type("ORGANIZATION")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/ArchiveRule.java b/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/ArchiveRule.java index 14b2e112c27..acafcd8603f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/ArchiveRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/accessanalyzer/ArchiveRule.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,27 +46,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ArchiveRule("example", ArchiveRuleArgs.builder()        
- *             .analyzerName("example-analyzer")
- *             .ruleName("example-rule")
+ *         var example = new ArchiveRule("example", ArchiveRuleArgs.builder()        
+ *             .analyzerName("example-analyzer")
+ *             .ruleName("example-rule")
  *             .filters(            
  *                 ArchiveRuleFilterArgs.builder()
- *                     .criteria("condition.aws:UserId")
- *                     .eqs("userid")
+ *                     .criteria("condition.aws:UserId")
+ *                     .eqs("userid")
  *                     .build(),
  *                 ArchiveRuleFilterArgs.builder()
- *                     .criteria("error")
+ *                     .criteria("error")
  *                     .exists(true)
  *                     .build(),
  *                 ArchiveRuleFilterArgs.builder()
- *                     .criteria("isPublic")
- *                     .eqs("false")
+ *                     .criteria("isPublic")
+ *                     .eqs("false")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/account/AlternativeContact.java b/sdk/java/src/main/java/com/pulumi/aws/account/AlternativeContact.java index 72649ef6ca8..cdb9aa6dff4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/account/AlternativeContact.java +++ b/sdk/java/src/main/java/com/pulumi/aws/account/AlternativeContact.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,17 +42,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var operations = new AlternativeContact("operations", AlternativeContactArgs.builder()        
- *             .alternateContactType("OPERATIONS")
- *             .name("Example")
- *             .title("Example")
- *             .emailAddress("test@example.com")
- *             .phoneNumber("+1234567890")
+ *         var operations = new AlternativeContact("operations", AlternativeContactArgs.builder()        
+ *             .alternateContactType("OPERATIONS")
+ *             .name("Example")
+ *             .title("Example")
+ *             .emailAddress("test{@literal @}example.com")
+ *             .phoneNumber("+1234567890")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/account/PrimaryContact.java b/sdk/java/src/main/java/com/pulumi/aws/account/PrimaryContact.java index b40ae2ed689..c4c7866d117 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/account/PrimaryContact.java +++ b/sdk/java/src/main/java/com/pulumi/aws/account/PrimaryContact.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,22 +42,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new PrimaryContact("test", PrimaryContactArgs.builder()        
- *             .addressLine1("123 Any Street")
- *             .city("Seattle")
- *             .companyName("Example Corp, Inc.")
- *             .countryCode("US")
- *             .districtOrCounty("King")
- *             .fullName("My Name")
- *             .phoneNumber("+64211111111")
- *             .postalCode("98101")
- *             .stateOrRegion("WA")
- *             .websiteUrl("https://www.examplecorp.com")
+ *         var test = new PrimaryContact("test", PrimaryContactArgs.builder()        
+ *             .addressLine1("123 Any Street")
+ *             .city("Seattle")
+ *             .companyName("Example Corp, Inc.")
+ *             .countryCode("US")
+ *             .districtOrCounty("King")
+ *             .fullName("My Name")
+ *             .phoneNumber("+64211111111")
+ *             .postalCode("98101")
+ *             .stateOrRegion("WA")
+ *             .websiteUrl("https://www.examplecorp.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/account/Region.java b/sdk/java/src/main/java/com/pulumi/aws/account/Region.java index 04e6a2bce89..0f161c62fd9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/account/Region.java +++ b/sdk/java/src/main/java/com/pulumi/aws/account/Region.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Region("example", RegionArgs.builder()        
- *             .regionName("ap-southeast-3")
+ *         var example = new Region("example", RegionArgs.builder()        
+ *             .regionName("ap-southeast-3")
  *             .enabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/acm/AcmFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/acm/AcmFunctions.java index c2abc5ec186..5550fe66e82 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acm/AcmFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acm/AcmFunctions.java @@ -22,7 +22,8 @@ public final class AcmFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,26 +46,27 @@ public final class AcmFunctions {
      *     public static void stack(Context ctx) {
      *         // Find a certificate that is issued
      *         final var issued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .statuses("ISSUED")
+     *             .domain("tf.example.com")
+     *             .statuses("ISSUED")
      *             .build());
      * 
      *         // Find a certificate issued by (not imported into) ACM
      *         final var amazonIssued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .types("AMAZON_ISSUED")
+     *             .domain("tf.example.com")
+     *             .types("AMAZON_ISSUED")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Find a RSA 4096 bit certificate
      *         final var rsa4096 = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .keyTypes("RSA_4096")
+     *             .domain("tf.example.com")
+     *             .keyTypes("RSA_4096")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -79,7 +81,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -102,26 +105,27 @@ public static Output getCertificate(GetCertificateArgs arg
      *     public static void stack(Context ctx) {
      *         // Find a certificate that is issued
      *         final var issued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .statuses("ISSUED")
+     *             .domain("tf.example.com")
+     *             .statuses("ISSUED")
      *             .build());
      * 
      *         // Find a certificate issued by (not imported into) ACM
      *         final var amazonIssued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .types("AMAZON_ISSUED")
+     *             .domain("tf.example.com")
+     *             .types("AMAZON_ISSUED")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Find a RSA 4096 bit certificate
      *         final var rsa4096 = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .keyTypes("RSA_4096")
+     *             .domain("tf.example.com")
+     *             .keyTypes("RSA_4096")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -136,7 +140,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -159,26 +164,27 @@ public static CompletableFuture getCertificatePlain(GetCer
      *     public static void stack(Context ctx) {
      *         // Find a certificate that is issued
      *         final var issued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .statuses("ISSUED")
+     *             .domain("tf.example.com")
+     *             .statuses("ISSUED")
      *             .build());
      * 
      *         // Find a certificate issued by (not imported into) ACM
      *         final var amazonIssued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .types("AMAZON_ISSUED")
+     *             .domain("tf.example.com")
+     *             .types("AMAZON_ISSUED")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Find a RSA 4096 bit certificate
      *         final var rsa4096 = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .keyTypes("RSA_4096")
+     *             .domain("tf.example.com")
+     *             .keyTypes("RSA_4096")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +199,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -216,26 +223,27 @@ public static Output getCertificate(GetCertificateArgs arg
      *     public static void stack(Context ctx) {
      *         // Find a certificate that is issued
      *         final var issued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .statuses("ISSUED")
+     *             .domain("tf.example.com")
+     *             .statuses("ISSUED")
      *             .build());
      * 
      *         // Find a certificate issued by (not imported into) ACM
      *         final var amazonIssued = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .types("AMAZON_ISSUED")
+     *             .domain("tf.example.com")
+     *             .types("AMAZON_ISSUED")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Find a RSA 4096 bit certificate
      *         final var rsa4096 = AcmFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .domain("tf.example.com")
-     *             .keyTypes("RSA_4096")
+     *             .domain("tf.example.com")
+     *             .keyTypes("RSA_4096")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/acm/Certificate.java b/sdk/java/src/main/java/com/pulumi/aws/acm/Certificate.java index d4143827b00..ce925951391 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acm/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acm/Certificate.java @@ -65,7 +65,8 @@ * ### Custom Domain Validation Options * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,24 +88,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
- *             .domainName("testing.example.com")
- *             .validationMethod("EMAIL")
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *             .domainName("testing.example.com")
+ *             .validationMethod("EMAIL")
  *             .validationOptions(CertificateValidationOptionArgs.builder()
- *                 .domainName("testing.example.com")
- *                 .validationDomain("example.com")
+ *                 .domainName("testing.example.com")
+ *                 .validationDomain("example.com")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Existing Certificate Body Import * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -130,32 +133,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PrivateKey("example", PrivateKeyArgs.builder()        
- *             .algorithm("RSA")
+ *         var example = new PrivateKey("example", PrivateKeyArgs.builder()        
+ *             .algorithm("RSA")
  *             .build());
  * 
- *         var exampleSelfSignedCert = new SelfSignedCert("exampleSelfSignedCert", SelfSignedCertArgs.builder()        
- *             .keyAlgorithm("RSA")
+ *         var exampleSelfSignedCert = new SelfSignedCert("exampleSelfSignedCert", SelfSignedCertArgs.builder()        
+ *             .keyAlgorithm("RSA")
  *             .privateKeyPem(example.privateKeyPem())
  *             .subject(SelfSignedCertSubjectArgs.builder()
- *                 .commonName("example.com")
- *                 .organization("ACME Examples, Inc")
+ *                 .commonName("example.com")
+ *                 .organization("ACME Examples, Inc")
  *                 .build())
  *             .validityPeriodHours(12)
  *             .allowedUses(            
- *                 "key_encipherment",
- *                 "digital_signature",
- *                 "server_auth")
+ *                 "key_encipherment",
+ *                 "digital_signature",
+ *                 "server_auth")
  *             .build());
  * 
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
  *             .privateKey(example.privateKeyPem())
  *             .certificateBody(exampleSelfSignedCert.certPem())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Referencing domain_validation_options With for_each Based Resources diff --git a/sdk/java/src/main/java/com/pulumi/aws/acm/CertificateValidation.java b/sdk/java/src/main/java/com/pulumi/aws/acm/CertificateValidation.java index 37240f6fa87..7c40749f8ab 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acm/CertificateValidation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acm/CertificateValidation.java @@ -42,7 +42,8 @@ * In this situation, the resource is simply a waiter for manual email approval of ACM certificates. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -65,18 +66,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Certificate("example", CertificateArgs.builder()        
- *             .domainName("example.com")
- *             .validationMethod("EMAIL")
+ *         var example = new Certificate("example", CertificateArgs.builder()        
+ *             .domainName("example.com")
+ *             .validationMethod("EMAIL")
  *             .build());
  * 
- *         var exampleCertificateValidation = new CertificateValidation("exampleCertificateValidation", CertificateValidationArgs.builder()        
+ *         var exampleCertificateValidation = new CertificateValidation("exampleCertificateValidation", CertificateValidationArgs.builder()        
  *             .certificateArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/acmpca/AcmpcaFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/acmpca/AcmpcaFunctions.java index c87b0679387..2aba76f5ed5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acmpca/AcmpcaFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acmpca/AcmpcaFunctions.java @@ -23,7 +23,8 @@ public final class AcmpcaFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,13 +46,14 @@ public final class AcmpcaFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
-     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
+     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,13 +89,14 @@ public static Output getCertificate(GetCertificateArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
-     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
+     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -105,7 +109,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -127,13 +132,14 @@ public static CompletableFuture getCertificatePlain(GetCer
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
-     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
+     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +152,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -168,13 +175,14 @@ public static Output getCertificate(GetCertificateArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificate(GetCertificateArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
-     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23")
+     *             .certificateAuthorityArn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -187,7 +195,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -209,12 +218,13 @@ public static CompletableFuture getCertificatePlain(GetCer
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificateAuthority(GetCertificateAuthorityArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -227,7 +237,8 @@ public static Output getCertificateAuthority(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -249,12 +260,13 @@ public static Output getCertificateAuthority(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificateAuthority(GetCertificateAuthorityArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -267,7 +279,8 @@ public static CompletableFuture getCertificateAut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -289,12 +302,13 @@ public static CompletableFuture getCertificateAut
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificateAuthority(GetCertificateAuthorityArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -307,7 +321,8 @@ public static Output getCertificateAuthority(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -329,12 +344,13 @@ public static Output getCertificateAuthority(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AcmpcaFunctions.getCertificateAuthority(GetCertificateAuthorityArgs.builder()
-     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
+     *             .arn("arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/acmpca/Certificate.java b/sdk/java/src/main/java/com/pulumi/aws/acmpca/Certificate.java index f53cbc514a9..98efc89e028 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acmpca/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acmpca/Certificate.java @@ -28,7 +28,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,41 +60,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
+ *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .permanentDeletionTimeInDays(7)
  *             .build());
  * 
- *         var key = new PrivateKey("key", PrivateKeyArgs.builder()        
- *             .algorithm("RSA")
+ *         var key = new PrivateKey("key", PrivateKeyArgs.builder()        
+ *             .algorithm("RSA")
  *             .build());
  * 
- *         var csr = new CertRequest("csr", CertRequestArgs.builder()        
+ *         var csr = new CertRequest("csr", CertRequestArgs.builder()        
  *             .privateKeyPem(key.privateKeyPem())
  *             .subject(CertRequestSubjectArgs.builder()
- *                 .commonName("example")
+ *                 .commonName("example")
  *                 .build())
  *             .build());
  * 
- *         var example = new Certificate("example", CertificateArgs.builder()        
+ *         var example = new Certificate("example", CertificateArgs.builder()        
  *             .certificateAuthorityArn(exampleCertificateAuthority.arn())
  *             .certificateSigningRequest(csr.certRequestPem())
- *             .signingAlgorithm("SHA256WITHRSA")
+ *             .signingAlgorithm("SHA256WITHRSA")
  *             .validity(CertificateValidityArgs.builder()
- *                 .type("YEARS")
+ *                 .type("YEARS")
  *                 .value(1)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthority.java b/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthority.java index 62bc7a9dc6d..0117fc0782d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthority.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthority.java @@ -29,7 +29,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,12 +53,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CertificateAuthority("example", CertificateAuthorityArgs.builder()        
+ *         var example = new CertificateAuthority("example", CertificateAuthorityArgs.builder()        
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .permanentDeletionTimeInDays(7)
@@ -65,13 +66,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Short-lived certificate * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,26 +97,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CertificateAuthority("example", CertificateAuthorityArgs.builder()        
- *             .usageMode("SHORT_LIVED_CERTIFICATE")
+ *         var example = new CertificateAuthority("example", CertificateAuthorityArgs.builder()        
+ *             .usageMode("SHORT_LIVED_CERTIFICATE")
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enable Certificate Revocation List * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -145,48 +150,48 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .forceDestroy(true)
  *             .build());
  * 
  *         final var acmpcaBucketAccess = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "s3:GetBucketAcl",
- *                     "s3:GetBucketLocation",
- *                     "s3:PutObject",
- *                     "s3:PutObjectAcl")
+ *                     "s3:GetBucketAcl",
+ *                     "s3:GetBucketLocation",
+ *                     "s3:PutObject",
+ *                     "s3:PutObjectAcl")
  *                 .resources(                
  *                     example.arn(),
- *                     example.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                     example.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("acm-pca.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("acm-pca.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
+ *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(example.id())
- *             .policy(acmpcaBucketAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(acmpcaBucketAccess -> acmpcaBucketAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(acmpcaBucketAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(acmpcaBucketAccess -> acmpcaBucketAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
+ *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .revocationConfiguration(CertificateAuthorityRevocationConfigurationArgs.builder()
  *                 .crlConfiguration(CertificateAuthorityRevocationConfigurationCrlConfigurationArgs.builder()
- *                     .customCname("crl.example.com")
+ *                     .customCname("crl.example.com")
  *                     .enabled(true)
  *                     .expirationInDays(7)
  *                     .s3BucketName(example.id())
- *                     .s3ObjectAcl("BUCKET_OWNER_FULL_CONTROL")
+ *                     .s3ObjectAcl("BUCKET_OWNER_FULL_CONTROL")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -195,7 +200,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthorityCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthorityCertificate.java index 9cb05daf84c..11eeb8f0233 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthorityCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acmpca/CertificateAuthorityCertificate.java @@ -22,7 +22,8 @@ * ### Self-Signed Root Certificate Authority Certificate * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,31 +53,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
- *             .type("ROOT")
+ *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
+ *             .type("ROOT")
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         final var current = AwsFunctions.getPartition();
  * 
- *         var exampleCertificate = new Certificate("exampleCertificate", CertificateArgs.builder()        
+ *         var exampleCertificate = new Certificate("exampleCertificate", CertificateArgs.builder()        
  *             .certificateAuthorityArn(exampleCertificateAuthority.arn())
  *             .certificateSigningRequest(exampleCertificateAuthority.certificateSigningRequest())
- *             .signingAlgorithm("SHA512WITHRSA")
- *             .templateArn(String.format("arn:%s:acm-pca:::template/RootCACertificate/V1", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+ *             .signingAlgorithm("SHA512WITHRSA")
+ *             .templateArn(String.format("arn:%s:acm-pca:::template/RootCACertificate/V1", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
  *             .validity(CertificateValidityArgs.builder()
- *                 .type("YEARS")
+ *                 .type("YEARS")
  *                 .value(1)
  *                 .build())
  *             .build());
  * 
- *         var example = new CertificateAuthorityCertificate("example", CertificateAuthorityCertificateArgs.builder()        
+ *         var example = new CertificateAuthorityCertificate("example", CertificateAuthorityCertificateArgs.builder()        
  *             .certificateAuthorityArn(exampleCertificateAuthority.arn())
  *             .certificate(exampleCertificate.certificate())
  *             .certificateChain(exampleCertificate.certificateChain())
@@ -84,7 +85,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Certificate for Subordinate Certificate Authority @@ -92,7 +94,8 @@ * Note that the certificate for the subordinate certificate authority must be issued by the root certificate authority using a signing request from the subordinate certificate authority. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -122,45 +125,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var subordinateCertificateAuthority = new CertificateAuthority("subordinateCertificateAuthority", CertificateAuthorityArgs.builder()        
- *             .type("SUBORDINATE")
+ *         var subordinateCertificateAuthority = new CertificateAuthority("subordinateCertificateAuthority", CertificateAuthorityArgs.builder()        
+ *             .type("SUBORDINATE")
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_2048")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_2048")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("sub.example.com")
+ *                     .commonName("sub.example.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var root = new CertificateAuthority("root");
+ *         var root = new CertificateAuthority("root");
  * 
  *         final var current = AwsFunctions.getPartition();
  * 
- *         var subordinateCertificate = new Certificate("subordinateCertificate", CertificateArgs.builder()        
+ *         var subordinateCertificate = new Certificate("subordinateCertificate", CertificateArgs.builder()        
  *             .certificateAuthorityArn(root.arn())
  *             .certificateSigningRequest(subordinateCertificateAuthority.certificateSigningRequest())
- *             .signingAlgorithm("SHA512WITHRSA")
- *             .templateArn(String.format("arn:%s:acm-pca:::template/SubordinateCACertificate_PathLen0/V1", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+ *             .signingAlgorithm("SHA512WITHRSA")
+ *             .templateArn(String.format("arn:%s:acm-pca:::template/SubordinateCACertificate_PathLen0/V1", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
  *             .validity(CertificateValidityArgs.builder()
- *                 .type("YEARS")
+ *                 .type("YEARS")
  *                 .value(1)
  *                 .build())
  *             .build());
  * 
- *         var subordinate = new CertificateAuthorityCertificate("subordinate", CertificateAuthorityCertificateArgs.builder()        
+ *         var subordinate = new CertificateAuthorityCertificate("subordinate", CertificateAuthorityCertificateArgs.builder()        
  *             .certificateAuthorityArn(subordinateCertificateAuthority.arn())
  *             .certificate(subordinateCertificate.certificate())
  *             .certificateChain(subordinateCertificate.certificateChain())
  *             .build());
  * 
- *         var rootCertificateAuthorityCertificate = new CertificateAuthorityCertificate("rootCertificateAuthorityCertificate");
+ *         var rootCertificateAuthorityCertificate = new CertificateAuthorityCertificate("rootCertificateAuthorityCertificate");
  * 
- *         var rootCertificate = new Certificate("rootCertificate");
+ *         var rootCertificate = new Certificate("rootCertificate");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/acmpca/Permission.java b/sdk/java/src/main/java/com/pulumi/aws/acmpca/Permission.java index 7862b4505ac..dfa6c697683 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acmpca/Permission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acmpca/Permission.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,28 +47,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
+ *         var exampleCertificateAuthority = new CertificateAuthority("exampleCertificateAuthority", CertificateAuthorityArgs.builder()        
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var example = new Permission("example", PermissionArgs.builder()        
+ *         var example = new Permission("example", PermissionArgs.builder()        
  *             .certificateAuthorityArn(exampleCertificateAuthority.arn())
  *             .actions(            
- *                 "IssueCertificate",
- *                 "GetCertificate",
- *                 "ListPermissions")
- *             .principal("acm.amazonaws.com")
+ *                 "IssueCertificate",
+ *                 "GetCertificate",
+ *                 "ListPermissions")
+ *             .principal("acm.amazonaws.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/acmpca/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/acmpca/Policy.java index 6555a047c86..6305f6c2119 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/acmpca/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/acmpca/Policy.java @@ -21,7 +21,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,45 +48,46 @@
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("1")
- *                     .effect("Allow")
+ *                     .sid("1")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
+ *                         .type("AWS")
  *                         .identifiers(current.accountId())
  *                         .build())
  *                     .actions(                    
- *                         "acm-pca:DescribeCertificateAuthority",
- *                         "acm-pca:GetCertificate",
- *                         "acm-pca:GetCertificateAuthorityCertificate",
- *                         "acm-pca:ListPermissions",
- *                         "acm-pca:ListTags")
+ *                         "acm-pca:DescribeCertificateAuthority",
+ *                         "acm-pca:GetCertificate",
+ *                         "acm-pca:GetCertificateAuthorityCertificate",
+ *                         "acm-pca:ListPermissions",
+ *                         "acm-pca:ListTags")
  *                     .resources(exampleAwsAcmpcaCertificateAuthority.arn())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("2")
+ *                     .sid("2")
  *                     .effect(allow)
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
+ *                         .type("AWS")
  *                         .identifiers(current.accountId())
  *                         .build())
- *                     .actions("acm-pca:IssueCertificate")
+ *                     .actions("acm-pca:IssueCertificate")
  *                     .resources(exampleAwsAcmpcaCertificateAuthority.arn())
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("acm-pca:TemplateArn")
- *                         .values("arn:aws:acm-pca:::template/EndEntityCertificate/V1")
+ *                         .test("StringEquals")
+ *                         .variable("acm-pca:TemplateArn")
+ *                         .values("arn:aws:acm-pca:::template/EndEntityCertificate/V1")
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+ *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
  *             .resourceArn(exampleAwsAcmpcaCertificateAuthority.arn())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/AlbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/alb/AlbFunctions.java index 96c7ea8beeb..490966e486b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/AlbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/AlbFunctions.java @@ -30,7 +30,8 @@ public final class AlbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,24 +54,25 @@ public final class AlbFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -87,7 +89,8 @@ public static Output getListener() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -110,24 +113,25 @@ public static Output getListener() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -144,7 +148,8 @@ public static CompletableFuture getListenerPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -167,24 +172,25 @@ public static CompletableFuture getListenerPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -201,7 +207,8 @@ public static Output getListener(GetListenerArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -224,24 +231,25 @@ public static Output getListener(GetListenerArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -258,7 +266,8 @@ public static CompletableFuture getListenerPlain(GetListenerP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -281,24 +290,25 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -315,7 +325,8 @@ public static Output getListener(GetListenerArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -338,24 +349,25 @@ public static Output getListener(GetListenerArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -374,7 +386,8 @@ public static CompletableFuture getListenerPlain(GetListenerP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -396,8 +409,8 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -405,7 +418,8 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -424,7 +438,8 @@ public static Output getLoadBalancer() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -446,8 +461,8 @@ public static Output getLoadBalancer() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -455,7 +470,8 @@ public static Output getLoadBalancer() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -474,7 +490,8 @@ public static CompletableFuture getLoadBalancerPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -496,8 +513,8 @@ public static CompletableFuture getLoadBalancerPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -505,7 +522,8 @@ public static CompletableFuture getLoadBalancerPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -524,7 +542,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -546,8 +565,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -555,7 +574,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -574,7 +594,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -596,8 +617,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -605,7 +626,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -624,7 +646,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -646,8 +669,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -655,7 +678,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -674,7 +698,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -696,8 +721,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -705,7 +730,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -724,7 +750,8 @@ public static Output getTargetGroup() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -746,8 +773,8 @@ public static Output getTargetGroup() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -755,7 +782,8 @@ public static Output getTargetGroup() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -774,7 +802,8 @@ public static CompletableFuture getTargetGroupPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -796,8 +825,8 @@ public static CompletableFuture getTargetGroupPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -805,7 +834,8 @@ public static CompletableFuture getTargetGroupPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -824,7 +854,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -846,8 +877,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -855,7 +886,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -874,7 +906,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -896,8 +929,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -905,7 +938,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -924,7 +958,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -946,8 +981,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -955,7 +990,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/Listener.java b/sdk/java/src/main/java/com/pulumi/aws/alb/Listener.java index e0d378fd3a6..440ba4918a3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/Listener.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/Listener.java @@ -30,7 +30,8 @@ * ### Forward Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,31 +55,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
+ *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("443")
- *             .protocol("HTTPS")
- *             .sslPolicy("ELBSecurityPolicy-2016-08")
- *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
+ *             .port("443")
+ *             .protocol("HTTPS")
+ *             .sslPolicy("ELBSecurityPolicy-2016-08")
+ *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(frontEndTargetGroup.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * To a NLB: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,27 +103,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new Listener("frontEnd", ListenerArgs.builder()        
+ *         var frontEnd = new Listener("frontEnd", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEndAwsLb.arn())
- *             .port("443")
- *             .protocol("TLS")
- *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
- *             .alpnPolicy("HTTP2Preferred")
+ *             .port("443")
+ *             .protocol("TLS")
+ *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
+ *             .alpnPolicy("HTTP2Preferred")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(frontEndAwsLbTargetGroup.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redirect Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,31 +149,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("redirect")
+ *                 .type("redirect")
  *                 .redirect(ListenerDefaultActionRedirectArgs.builder()
- *                     .port("443")
- *                     .protocol("HTTPS")
- *                     .statusCode("HTTP_301")
+ *                     .port("443")
+ *                     .protocol("HTTPS")
+ *                     .statusCode("HTTP_301")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Fixed-response Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -192,31 +199,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("fixed-response")
+ *                 .type("fixed-response")
  *                 .fixedResponse(ListenerDefaultActionFixedResponseArgs.builder()
- *                     .contentType("text/plain")
- *                     .messageBody("Fixed response content")
- *                     .statusCode("200")
+ *                     .contentType("text/plain")
+ *                     .messageBody("Fixed response content")
+ *                     .statusCode("200")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Authenticate-cognito Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -244,23 +253,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
+ *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
  * 
- *         var pool = new UserPool("pool");
+ *         var pool = new UserPool("pool");
  * 
- *         var client = new UserPoolClient("client");
+ *         var client = new UserPoolClient("client");
  * 
- *         var domain = new UserPoolDomain("domain");
+ *         var domain = new UserPoolDomain("domain");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(            
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("authenticate-cognito")
+ *                     .type("authenticate-cognito")
  *                     .authenticateCognito(ListenerDefaultActionAuthenticateCognitoArgs.builder()
  *                         .userPoolArn(pool.arn())
  *                         .userPoolClientId(client.id())
@@ -268,20 +277,22 @@
  *                         .build())
  *                     .build(),
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(frontEndTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Authenticate-OIDC Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -306,41 +317,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
+ *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(            
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("authenticate-oidc")
+ *                     .type("authenticate-oidc")
  *                     .authenticateOidc(ListenerDefaultActionAuthenticateOidcArgs.builder()
- *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
- *                         .clientId("client_id")
- *                         .clientSecret("client_secret")
- *                         .issuer("https://example.com")
- *                         .tokenEndpoint("https://example.com/token_endpoint")
- *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
+ *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
+ *                         .clientId("client_id")
+ *                         .clientSecret("client_secret")
+ *                         .issuer("https://example.com")
+ *                         .tokenEndpoint("https://example.com/token_endpoint")
+ *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
  *                         .build())
  *                     .build(),
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(frontEndTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Gateway Load Balancer Listener * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -368,42 +381,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .loadBalancerType("gateway")
- *             .name("example")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .loadBalancerType("gateway")
+ *             .name("example")
  *             .subnetMappings(LoadBalancerSubnetMappingArgs.builder()
  *                 .subnetId(exampleAwsSubnet.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup", TargetGroupArgs.builder()        
- *             .name("example")
+ *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup", TargetGroupArgs.builder()        
+ *             .name("example")
  *             .port(6081)
- *             .protocol("GENEVE")
+ *             .protocol("GENEVE")
  *             .vpcId(exampleAwsVpc.id())
  *             .healthCheck(TargetGroupHealthCheckArgs.builder()
  *                 .port(80)
- *                 .protocol("HTTP")
+ *                 .protocol("HTTP")
  *                 .build())
  *             .build());
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
  *             .loadBalancerArn(example.id())
  *             .defaultActions(ListenerDefaultActionArgs.builder()
  *                 .targetGroupArn(exampleTargetGroup.id())
- *                 .type("forward")
+ *                 .type("forward")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mutual TLS Authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -429,27 +444,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .loadBalancerType("application")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .loadBalancerType("application")
  *             .build());
  * 
- *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup");
+ *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup");
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
  *             .loadBalancerArn(example.id())
  *             .defaultActions(ListenerDefaultActionArgs.builder()
  *                 .targetGroupArn(exampleTargetGroup.id())
- *                 .type("forward")
+ *                 .type("forward")
  *                 .build())
  *             .mutualAuthentication(ListenerMutualAuthenticationArgs.builder()
- *                 .mode("verify")
- *                 .trustStoreArn("...")
+ *                 .mode("verify")
+ *                 .trustStoreArn("...")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerCertificate.java index 075bb8e27ab..80a3ebe5a5b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerCertificate.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,20 +50,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Certificate("example");
+ *         var example = new Certificate("example");
  * 
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener");
+ *         var frontEndListener = new Listener("frontEndListener");
  * 
- *         var exampleListenerCertificate = new ListenerCertificate("exampleListenerCertificate", ListenerCertificateArgs.builder()        
+ *         var exampleListenerCertificate = new ListenerCertificate("exampleListenerCertificate", ListenerCertificateArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .certificateArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerRule.java b/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerRule.java index 6b2609ac6ea..8c408237650 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/ListenerRule.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -65,51 +66,51 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener");
+ *         var frontEndListener = new Listener("frontEndListener");
  * 
- *         var static_ = new ListenerRule("static", ListenerRuleArgs.builder()        
+ *         var static_ = new ListenerRule("static", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .priority(100)
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                 .build())
  *             .conditions(            
  *                 ListenerRuleConditionArgs.builder()
  *                     .pathPattern(ListenerRuleConditionPathPatternArgs.builder()
- *                         .values("/static/*")
+ *                         .values("/static/*")
  *                         .build())
  *                     .build(),
  *                 ListenerRuleConditionArgs.builder()
  *                     .hostHeader(ListenerRuleConditionHostHeaderArgs.builder()
- *                         .values("example.com")
+ *                         .values("example.com")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *         // Forward action
- *         var hostBasedWeightedRouting = new ListenerRule("hostBasedWeightedRouting", ListenerRuleArgs.builder()        
+ *         var hostBasedWeightedRouting = new ListenerRule("hostBasedWeightedRouting", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .priority(99)
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .hostHeader(ListenerRuleConditionHostHeaderArgs.builder()
- *                     .values("my-service.*.mycompany.io")
+ *                     .values("my-service.*.mycompany.io")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         // Weighted Forward action
- *         var hostBasedRouting = new ListenerRule("hostBasedRouting", ListenerRuleArgs.builder()        
+ *         var hostBasedRouting = new ListenerRule("hostBasedRouting", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .priority(99)
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .forward(ListenerRuleActionForwardArgs.builder()
  *                     .targetGroups(                    
  *                         ListenerRuleActionForwardTargetGroupArgs.builder()
@@ -128,65 +129,65 @@
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .hostHeader(ListenerRuleConditionHostHeaderArgs.builder()
- *                     .values("my-service.*.mycompany.io")
+ *                     .values("my-service.*.mycompany.io")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         // Redirect action
- *         var redirectHttpToHttps = new ListenerRule("redirectHttpToHttps", ListenerRuleArgs.builder()        
+ *         var redirectHttpToHttps = new ListenerRule("redirectHttpToHttps", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("redirect")
+ *                 .type("redirect")
  *                 .redirect(ListenerRuleActionRedirectArgs.builder()
- *                     .port("443")
- *                     .protocol("HTTPS")
- *                     .statusCode("HTTP_301")
+ *                     .port("443")
+ *                     .protocol("HTTPS")
+ *                     .statusCode("HTTP_301")
  *                     .build())
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .httpHeader(ListenerRuleConditionHttpHeaderArgs.builder()
- *                     .httpHeaderName("X-Forwarded-For")
- *                     .values("192.168.1.*")
+ *                     .httpHeaderName("X-Forwarded-For")
+ *                     .values("192.168.1.*")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         // Fixed-response action
- *         var healthCheck = new ListenerRule("healthCheck", ListenerRuleArgs.builder()        
+ *         var healthCheck = new ListenerRule("healthCheck", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("fixed-response")
+ *                 .type("fixed-response")
  *                 .fixedResponse(ListenerRuleActionFixedResponseArgs.builder()
- *                     .contentType("text/plain")
- *                     .messageBody("HEALTHY")
- *                     .statusCode("200")
+ *                     .contentType("text/plain")
+ *                     .messageBody("HEALTHY")
+ *                     .statusCode("200")
  *                     .build())
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .queryStrings(                
  *                     ListenerRuleConditionQueryStringArgs.builder()
- *                         .key("health")
- *                         .value("check")
+ *                         .key("health")
+ *                         .value("check")
  *                         .build(),
  *                     ListenerRuleConditionQueryStringArgs.builder()
- *                         .value("bar")
+ *                         .value("bar")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *         // Authenticate-cognito Action
- *         var pool = new UserPool("pool");
+ *         var pool = new UserPool("pool");
  * 
- *         var client = new UserPoolClient("client");
+ *         var client = new UserPoolClient("client");
  * 
- *         var domain = new UserPoolDomain("domain");
+ *         var domain = new UserPoolDomain("domain");
  * 
- *         var admin = new ListenerRule("admin", ListenerRuleArgs.builder()        
+ *         var admin = new ListenerRule("admin", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(            
  *                 ListenerRuleActionArgs.builder()
- *                     .type("authenticate-cognito")
+ *                     .type("authenticate-cognito")
  *                     .authenticateCognito(ListenerRuleActionAuthenticateCognitoArgs.builder()
  *                         .userPoolArn(pool.arn())
  *                         .userPoolClientId(client.id())
@@ -194,35 +195,36 @@
  *                         .build())
  *                     .build(),
  *                 ListenerRuleActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *         // Authenticate-oidc Action
- *         var oidc = new ListenerRule("oidc", ListenerRuleArgs.builder()        
+ *         var oidc = new ListenerRule("oidc", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(            
  *                 ListenerRuleActionArgs.builder()
- *                     .type("authenticate-oidc")
+ *                     .type("authenticate-oidc")
  *                     .authenticateOidc(ListenerRuleActionAuthenticateOidcArgs.builder()
- *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
- *                         .clientId("client_id")
- *                         .clientSecret("client_secret")
- *                         .issuer("https://example.com")
- *                         .tokenEndpoint("https://example.com/token_endpoint")
- *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
+ *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
+ *                         .clientId("client_id")
+ *                         .clientSecret("client_secret")
+ *                         .issuer("https://example.com")
+ *                         .tokenEndpoint("https://example.com/token_endpoint")
+ *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
  *                         .build())
  *                     .build(),
  *                 ListenerRuleActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/LoadBalancer.java b/sdk/java/src/main/java/com/pulumi/aws/alb/LoadBalancer.java index b4db268defe..3c22cae25b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/LoadBalancer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/LoadBalancer.java @@ -42,7 +42,8 @@ * ### Specifying Elastic IPs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,9 +65,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .name("example")
- *             .loadBalancerType("network")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .name("example")
+ *             .loadBalancerType("network")
  *             .subnetMappings(            
  *                 LoadBalancerSubnetMappingArgs.builder()
  *                     .subnetId(example1AwsSubnet.id())
@@ -80,13 +81,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying private IP addresses for an internal-facing load balancer * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -108,23 +111,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .name("example")
- *             .loadBalancerType("network")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .name("example")
+ *             .loadBalancerType("network")
  *             .subnetMappings(            
  *                 LoadBalancerSubnetMappingArgs.builder()
  *                     .subnetId(example1.id())
- *                     .privateIpv4Address("10.0.1.15")
+ *                     .privateIpv4Address("10.0.1.15")
  *                     .build(),
  *                 LoadBalancerSubnetMappingArgs.builder()
  *                     .subnetId(example2.id())
- *                     .privateIpv4Address("10.0.2.15")
+ *                     .privateIpv4Address("10.0.2.15")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroup.java index e3937b7e898..98cd3eb3729 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroup.java @@ -33,7 +33,8 @@ * ### Instance Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,26 +57,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-tg")
+ *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-tg")
  *             .port(80)
- *             .protocol("HTTP")
+ *             .protocol("HTTP")
  *             .vpcId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### IP Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,27 +101,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var ip_example = new TargetGroup("ip-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-tg")
+ *         var ip_example = new TargetGroup("ip-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-tg")
  *             .port(80)
- *             .protocol("HTTP")
- *             .targetType("ip")
+ *             .protocol("HTTP")
+ *             .targetType("ip")
  *             .vpcId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -139,20 +144,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lambda_example = new TargetGroup("lambda-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-tg")
- *             .targetType("lambda")
+ *         var lambda_example = new TargetGroup("lambda-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-tg")
+ *             .targetType("lambda")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ALB Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -173,23 +180,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var alb_example = new TargetGroup("alb-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-alb-tg")
- *             .targetType("alb")
+ *         var alb_example = new TargetGroup("alb-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-alb-tg")
+ *             .targetType("alb")
  *             .port(80)
- *             .protocol("TCP")
+ *             .protocol("TCP")
  *             .vpcId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Target group with unhealthy connection termination disabled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -211,10 +220,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var tcp_example = new TargetGroup("tcp-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-nlb-tg")
+ *         var tcp_example = new TargetGroup("tcp-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-nlb-tg")
  *             .port(25)
- *             .protocol("TCP")
+ *             .protocol("TCP")
  *             .vpcId(main.id())
  *             .targetHealthStates(TargetGroupTargetHealthStateArgs.builder()
  *                 .enableUnhealthyConnectionTermination(false)
@@ -223,7 +232,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroupAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroupAttachment.java index b9459bee58f..548cc6e66ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroupAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/alb/TargetGroupAttachment.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,11 +51,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testTargetGroup = new TargetGroup("testTargetGroup");
+ *         var testTargetGroup = new TargetGroup("testTargetGroup");
  * 
- *         var testInstance = new Instance("testInstance");
+ *         var testInstance = new Instance("testInstance");
  * 
- *         var test = new TargetGroupAttachment("test", TargetGroupAttachmentArgs.builder()        
+ *         var test = new TargetGroupAttachment("test", TargetGroupAttachmentArgs.builder()        
  *             .targetGroupArn(testTargetGroup.arn())
  *             .targetId(testInstance.id())
  *             .port(80)
@@ -62,13 +63,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -95,22 +98,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
- *             .name("test")
- *             .targetType("lambda")
+ *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
+ *             .name("test")
+ *             .targetType("lambda")
  *             .build());
  * 
- *         var testFunction = new Function("testFunction");
+ *         var testFunction = new Function("testFunction");
  * 
- *         var withLb = new Permission("withLb", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromlb")
- *             .action("lambda:InvokeFunction")
+ *         var withLb = new Permission("withLb", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromlb")
+ *             .action("lambda:InvokeFunction")
  *             .function(testFunction.name())
- *             .principal("elasticloadbalancing.amazonaws.com")
+ *             .principal("elasticloadbalancing.amazonaws.com")
  *             .sourceArn(test.arn())
  *             .build());
  * 
- *         var testTargetGroupAttachment = new TargetGroupAttachment("testTargetGroupAttachment", TargetGroupAttachmentArgs.builder()        
+ *         var testTargetGroupAttachment = new TargetGroupAttachment("testTargetGroupAttachment", TargetGroupAttachmentArgs.builder()        
  *             .targetGroupArn(test.arn())
  *             .targetId(testFunction.arn())
  *             .build(), CustomResourceOptions.builder()
@@ -119,7 +122,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Registering Multiple Targets diff --git a/sdk/java/src/main/java/com/pulumi/aws/amp/AlertManagerDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/amp/AlertManagerDefinition.java index 3e4c936aff2..23b6664bbc8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amp/AlertManagerDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amp/AlertManagerDefinition.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,22 +42,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var demo = new Workspace("demo");
+ *         var demo = new Workspace("demo");
  * 
- *         var demoAlertManagerDefinition = new AlertManagerDefinition("demoAlertManagerDefinition", AlertManagerDefinitionArgs.builder()        
+ *         var demoAlertManagerDefinition = new AlertManagerDefinition("demoAlertManagerDefinition", AlertManagerDefinitionArgs.builder()        
  *             .workspaceId(demo.id())
- *             .definition("""
+ *             .definition("""
  * alertmanager_config: |
  *   route:
- *     receiver: 'default'
+ *     receiver: 'default'
  *   receivers:
- *     - name: 'default'
- *             """)
+ *     - name: 'default'
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amp/AmpFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/amp/AmpFunctions.java index 8c0e34223af..5ee60815e9e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amp/AmpFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amp/AmpFunctions.java @@ -25,7 +25,8 @@ public final class AmpFunctions { * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,12 +48,13 @@ public final class AmpFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
+     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getWorkspace(GetWorkspaceArgs args) { * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,12 +92,13 @@ public static Output getWorkspace(GetWorkspaceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
+     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
+     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -151,7 +157,8 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -173,12 +180,13 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
+     *             .workspaceId("ws-41det8a1-2c67-6a1a-9381-9b83d3d78ef7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa * The following example returns all of the workspaces in a region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -218,14 +227,16 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example filters the workspaces by alias. Only the workspaces with * aliases that begin with the value of `alias_prefix` will be returned: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -247,12 +258,13 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspaces(GetWorkspacesArgs.builder()
-     *             .aliasPrefix("example")
+     *             .aliasPrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -267,7 +279,8 @@ public static Output getWorkspaces() { * The following example returns all of the workspaces in a region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -292,14 +305,16 @@ public static Output getWorkspaces() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example filters the workspaces by alias. Only the workspaces with * aliases that begin with the value of `alias_prefix` will be returned: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -321,12 +336,13 @@ public static Output getWorkspaces() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspaces(GetWorkspacesArgs.builder()
-     *             .aliasPrefix("example")
+     *             .aliasPrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -341,7 +357,8 @@ public static CompletableFuture getWorkspacesPlain() { * The following example returns all of the workspaces in a region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -366,14 +383,16 @@ public static CompletableFuture getWorkspacesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example filters the workspaces by alias. Only the workspaces with * aliases that begin with the value of `alias_prefix` will be returned: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -395,12 +414,13 @@ public static CompletableFuture getWorkspacesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspaces(GetWorkspacesArgs.builder()
-     *             .aliasPrefix("example")
+     *             .aliasPrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -415,7 +435,8 @@ public static Output getWorkspaces(GetWorkspacesArgs args) * The following example returns all of the workspaces in a region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -440,14 +461,16 @@ public static Output getWorkspaces(GetWorkspacesArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example filters the workspaces by alias. Only the workspaces with * aliases that begin with the value of `alias_prefix` will be returned: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -469,12 +492,13 @@ public static Output getWorkspaces(GetWorkspacesArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspaces(GetWorkspacesArgs.builder()
-     *             .aliasPrefix("example")
+     *             .aliasPrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -489,7 +513,8 @@ public static CompletableFuture getWorkspacesPlain(GetWorks * The following example returns all of the workspaces in a region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -514,14 +539,16 @@ public static CompletableFuture getWorkspacesPlain(GetWorks
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example filters the workspaces by alias. Only the workspaces with * aliases that begin with the value of `alias_prefix` will be returned: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -543,12 +570,13 @@ public static CompletableFuture getWorkspacesPlain(GetWorks
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspaces(GetWorkspacesArgs.builder()
-     *             .aliasPrefix("example")
+     *             .aliasPrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -563,7 +591,8 @@ public static Output getWorkspaces(GetWorkspacesArgs args, * The following example returns all of the workspaces in a region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -588,14 +617,16 @@ public static Output getWorkspaces(GetWorkspacesArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example filters the workspaces by alias. Only the workspaces with * aliases that begin with the value of `alias_prefix` will be returned: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -617,12 +648,13 @@ public static Output getWorkspaces(GetWorkspacesArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AmpFunctions.getWorkspaces(GetWorkspacesArgs.builder()
-     *             .aliasPrefix("example")
+     *             .aliasPrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/amp/RuleGroupNamespace.java b/sdk/java/src/main/java/com/pulumi/aws/amp/RuleGroupNamespace.java index af35fcfa3e4..8251381ad39 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amp/RuleGroupNamespace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amp/RuleGroupNamespace.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,23 +42,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var demo = new Workspace("demo");
+ *         var demo = new Workspace("demo");
  * 
- *         var demoRuleGroupNamespace = new RuleGroupNamespace("demoRuleGroupNamespace", RuleGroupNamespaceArgs.builder()        
- *             .name("rules")
+ *         var demoRuleGroupNamespace = new RuleGroupNamespace("demoRuleGroupNamespace", RuleGroupNamespaceArgs.builder()        
+ *             .name("rules")
  *             .workspaceId(demo.id())
- *             .data("""
+ *             .data("""
  * groups:
  *   - name: test
  *     rules:
  *     - record: metric:recording_rule
  *       expr: avg(rate(container_cpu_usage_seconds_total[5m]))
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amp/Workspace.java b/sdk/java/src/main/java/com/pulumi/aws/amp/Workspace.java index 9d377d3ec80..b8608323bb8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amp/Workspace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amp/Workspace.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,20 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workspace("example", WorkspaceArgs.builder()        
- *             .alias("example")
- *             .tags(Map.of("Environment", "production"))
+ *         var example = new Workspace("example", WorkspaceArgs.builder()        
+ *             .alias("example")
+ *             .tags(Map.of("Environment", "production"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### CloudWatch Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,25 +83,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("example")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
+ *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
  *             .loggingConfiguration(WorkspaceLoggingConfigurationArgs.builder()
- *                 .logGroupArn(example.arn().applyValue(arn -> String.format("%s:*", arn)))
+ *                 .logGroupArn(example.arn().applyValue(arn -> String.format("%s:*", arn)))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS KMS Customer Managed Keys (CMK) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -121,19 +126,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
- *             .description("example")
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *             .description("example")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var example = new Workspace("example", WorkspaceArgs.builder()        
- *             .alias("example")
+ *         var example = new Workspace("example", WorkspaceArgs.builder()        
+ *             .alias("example")
  *             .kmsKeyArn(exampleKey.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amplify/App.java b/sdk/java/src/main/java/com/pulumi/aws/amplify/App.java index 772fa480ccf..ab26b169cea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amplify/App.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amplify/App.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,10 +51,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
- *             .repository("https://github.com/example/app")
- *             .buildSpec("""
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
+ *             .repository("https://github.com/example/app")
+ *             .buildSpec("""
  * version: 0.1
  * frontend:
  *   phases:
@@ -66,22 +67,23 @@
  *   artifacts:
  *     baseDirectory: build
  *     files:
- *       - '**{@literal /}*'
+ *       - '**{@literal /}*'
  *   cache:
  *     paths:
  *       - node_modules/**{@literal /}*
- *             """)
+ *             """)
  *             .customRules(AppCustomRuleArgs.builder()
- *                 .source("/<*>")
- *                 .status("404")
- *                 .target("/index.html")
+ *                 .source("/<*>")
+ *                 .status("404")
+ *                 .target("/index.html")
  *                 .build())
- *             .environmentVariables(Map.of("ENV", "test"))
+ *             .environmentVariables(Map.of("ENV", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Repository with Tokens @@ -89,7 +91,8 @@ * If you create a new Amplify App with the `repository` argument, you also need to set `oauth_token` or `access_token` for authentication. For GitHub, get a [personal access token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) and set `access_token` as follows: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -110,15 +113,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
- *             .repository("https://github.com/example/app")
- *             .accessToken("...")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
+ *             .repository("https://github.com/example/app")
+ *             .accessToken("...")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * You can omit `access_token` if you import an existing Amplify App created by the Amplify Console (using OAuth for authentication). @@ -126,7 +130,8 @@ * ### Auto Branch Creation * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -148,12 +153,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
  *             .enableAutoBranchCreation(true)
  *             .autoBranchCreationPatterns(            
- *                 "*",
- *                 "*{@literal /}**")
+ *                 "*",
+ *                 "*{@literal /}**")
  *             .autoBranchCreationConfig(AppAutoBranchCreationConfigArgs.builder()
  *                 .enableAutoBuild(true)
  *                 .build())
@@ -161,13 +166,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Authorization * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -188,23 +195,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
  *             .enableBasicAuth(true)
  *             .basicAuthCredentials(StdFunctions.base64encode(Base64encodeArgs.builder()
- *                 .input("username1:password1")
+ *                 .input("username1:password1")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Rewrites and Redirects * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -226,30 +235,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
  *             .customRules(            
  *                 AppCustomRuleArgs.builder()
- *                     .source("/api/<*>")
- *                     .status("200")
- *                     .target("https://api.example.com/api/<*>")
+ *                     .source("/api/<*>")
+ *                     .status("200")
+ *                     .target("https://api.example.com/api/<*>")
  *                     .build(),
  *                 AppCustomRuleArgs.builder()
- *                     .source("</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>")
- *                     .status("200")
- *                     .target("/index.html")
+ *                     .source("")
+ *                     .status("200")
+ *                     .target("/index.html")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Image * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -270,20 +281,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
- *             .environmentVariables(Map.of("_CUSTOM_IMAGE", "node:16"))
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
+ *             .environmentVariables(Map.of("_CUSTOM_IMAGE", "node:16"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Headers * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -304,28 +317,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
- *             .customHeaders("""
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
+ *             .customHeaders("""
  * customHeaders:
- *   - pattern: '**'
+ *   - pattern: '**'
  *     headers:
- *       - key: 'Strict-Transport-Security'
- *         value: 'max-age=31536000; includeSubDomains'
- *       - key: 'X-Frame-Options'
- *         value: 'SAMEORIGIN'
- *       - key: 'X-XSS-Protection'
- *         value: '1; mode=block'
- *       - key: 'X-Content-Type-Options'
- *         value: 'nosniff'
- *       - key: 'Content-Security-Policy'
- *         value: "default-src 'self'"
- *             """)
+ *       - key: 'Strict-Transport-Security'
+ *         value: 'max-age=31536000; includeSubDomains'
+ *       - key: 'X-Frame-Options'
+ *         value: 'SAMEORIGIN'
+ *       - key: 'X-XSS-Protection'
+ *         value: '1; mode=block'
+ *       - key: 'X-Content-Type-Options'
+ *         value: 'nosniff'
+ *       - key: 'Content-Security-Policy'
+ *         value: "default-src 'self'"
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amplify/BackendEnvironment.java b/sdk/java/src/main/java/com/pulumi/aws/amplify/BackendEnvironment.java index db8f453891e..fdf164780d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amplify/BackendEnvironment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amplify/BackendEnvironment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,20 +43,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("example")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleBackendEnvironment = new BackendEnvironment("exampleBackendEnvironment", BackendEnvironmentArgs.builder()        
+ *         var exampleBackendEnvironment = new BackendEnvironment("exampleBackendEnvironment", BackendEnvironmentArgs.builder()        
  *             .appId(example.id())
- *             .environmentName("example")
- *             .deploymentArtifacts("app-example-deployment")
- *             .stackName("amplify-app-example")
+ *             .environmentName("example")
+ *             .deploymentArtifacts("app-example-deployment")
+ *             .stackName("amplify-app-example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amplify/Branch.java b/sdk/java/src/main/java/com/pulumi/aws/amplify/Branch.java index a8b79b6f1d6..6f9cd570d4e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amplify/Branch.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amplify/Branch.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,27 +47,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("app")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("app")
  *             .build());
  * 
- *         var master = new Branch("master", BranchArgs.builder()        
+ *         var master = new Branch("master", BranchArgs.builder()        
  *             .appId(example.id())
- *             .branchName("master")
- *             .framework("React")
- *             .stage("PRODUCTION")
- *             .environmentVariables(Map.of("REACT_APP_API_SERVER", "https://api.example.com"))
+ *             .branchName("master")
+ *             .framework("React")
+ *             .stage("PRODUCTION")
+ *             .environmentVariables(Map.of("REACT_APP_API_SERVER", "https://api.example.com"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,22 +92,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("app")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("app")
  *             .build());
  * 
- *         var master = new Branch("master", BranchArgs.builder()        
+ *         var master = new Branch("master", BranchArgs.builder()        
  *             .appId(example.id())
- *             .branchName("master")
+ *             .branchName("master")
  *             .enableBasicAuth(true)
  *             .basicAuthCredentials(StdFunctions.base64encode(Base64encodeArgs.builder()
- *                 .input("username:password")
+ *                 .input("username:password")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Notifications @@ -112,7 +116,8 @@ * Amplify Console uses EventBridge (formerly known as CloudWatch Events) and SNS for email notifications. To implement the same functionality, you need to set `enable_notification` in a `aws.amplify.Branch` resource, as well as creating an EventBridge Rule, an SNS topic, and SNS subscriptions. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -149,88 +154,89 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("app")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("app")
  *             .build());
  * 
- *         var master = new Branch("master", BranchArgs.builder()        
+ *         var master = new Branch("master", BranchArgs.builder()        
  *             .appId(example.id())
- *             .branchName("master")
+ *             .branchName("master")
  *             .enableNotification(true)
  *             .build());
  * 
  *         // EventBridge Rule for Amplify notifications
- *         var amplifyAppMasterEventRule = new EventRule("amplifyAppMasterEventRule", EventRuleArgs.builder()        
- *             .name(master.branchName().applyValue(branchName -> String.format("amplify-%s-%s-branch-notification", app.id(),branchName)))
- *             .description(master.branchName().applyValue(branchName -> String.format("AWS Amplify build notifications for :  App: %s Branch: %s", app.id(),branchName)))
- *             .eventPattern(Output.tuple(example.id(), master.branchName()).applyValue(values -> {
+ *         var amplifyAppMasterEventRule = new EventRule("amplifyAppMasterEventRule", EventRuleArgs.builder()        
+ *             .name(master.branchName().applyValue(branchName -> String.format("amplify-%s-%s-branch-notification", app.id(),branchName)))
+ *             .description(master.branchName().applyValue(branchName -> String.format("AWS Amplify build notifications for :  App: %s Branch: %s", app.id(),branchName)))
+ *             .eventPattern(Output.tuple(example.id(), master.branchName()).applyValue(values -> {
  *                 var id = values.t1;
  *                 var branchName = values.t2;
  *                 return serializeJson(
  *                     jsonObject(
- *                         jsonProperty("detail", jsonObject(
- *                             jsonProperty("appId", jsonArray(id)),
- *                             jsonProperty("branchName", jsonArray(branchName)),
- *                             jsonProperty("jobStatus", jsonArray(
- *                                 "SUCCEED", 
- *                                 "FAILED", 
- *                                 "STARTED"
+ *                         jsonProperty("detail", jsonObject(
+ *                             jsonProperty("appId", jsonArray(id)),
+ *                             jsonProperty("branchName", jsonArray(branchName)),
+ *                             jsonProperty("jobStatus", jsonArray(
+ *                                 "SUCCEED", 
+ *                                 "FAILED", 
+ *                                 "STARTED"
  *                             ))
  *                         )),
- *                         jsonProperty("detail-type", jsonArray("Amplify Deployment Status Change")),
- *                         jsonProperty("source", jsonArray("aws.amplify"))
+ *                         jsonProperty("detail-type", jsonArray("Amplify Deployment Status Change")),
+ *                         jsonProperty("source", jsonArray("aws.amplify"))
  *                     ));
  *             }))
  *             .build());
  * 
  *         // SNS Topic for Amplify notifications
- *         var amplifyAppMasterTopic = new Topic("amplifyAppMasterTopic", TopicArgs.builder()        
- *             .name(master.branchName().applyValue(branchName -> String.format("amplify-%s_%s", app.id(),branchName)))
+ *         var amplifyAppMasterTopic = new Topic("amplifyAppMasterTopic", TopicArgs.builder()        
+ *             .name(master.branchName().applyValue(branchName -> String.format("amplify-%s_%s", app.id(),branchName)))
  *             .build());
  * 
- *         var amplifyAppMasterEventTarget = new EventTarget("amplifyAppMasterEventTarget", EventTargetArgs.builder()        
+ *         var amplifyAppMasterEventTarget = new EventTarget("amplifyAppMasterEventTarget", EventTargetArgs.builder()        
  *             .rule(amplifyAppMasterEventRule.name())
  *             .targetId(master.branchName())
  *             .arn(amplifyAppMasterTopic.arn())
  *             .inputTransformer(EventTargetInputTransformerArgs.builder()
  *                 .inputPaths(Map.ofEntries(
- *                     Map.entry("jobId", "$.detail.jobId"),
- *                     Map.entry("appId", "$.detail.appId"),
- *                     Map.entry("region", "$.region"),
- *                     Map.entry("branch", "$.detail.branchName"),
- *                     Map.entry("status", "$.detail.jobStatus")
+ *                     Map.entry("jobId", "$.detail.jobId"),
+ *                     Map.entry("appId", "$.detail.appId"),
+ *                     Map.entry("region", "$.region"),
+ *                     Map.entry("branch", "$.detail.branchName"),
+ *                     Map.entry("status", "$.detail.jobStatus")
  *                 ))
- *                 .inputTemplate("\"Build notification from the AWS Amplify Console for app: https://<branch>.<appId>.amplifyapp.com/. Your build status is <status>. Go to https://console.aws.amazon.com/amplify/home?region=<region>#<appId>/<branch>/<jobId> to view details on your build. \"")
+ *                 .inputTemplate("\"Build notification from the AWS Amplify Console for app: https://..amplifyapp.com/. Your build status is . Go to https://console.aws.amazon.com/amplify/home?region=#// to view details on your build. \"")
  *                 .build())
  *             .build());
  * 
  *         final var amplifyAppMaster = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid(master.arn().applyValue(arn -> String.format("Allow_Publish_Events %s", arn)))
- *                 .effect("Allow")
- *                 .actions("SNS:Publish")
+ *                 .sid(master.arn().applyValue(arn -> String.format("Allow_Publish_Events %s", arn)))
+ *                 .effect("Allow")
+ *                 .actions("SNS:Publish")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("events.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("events.amazonaws.com")
  *                     .build())
  *                 .resources(amplifyAppMasterTopic.arn())
  *                 .build())
  *             .build());
  * 
- *         var amplifyAppMasterTopicPolicy = new TopicPolicy("amplifyAppMasterTopicPolicy", TopicPolicyArgs.builder()        
+ *         var amplifyAppMasterTopicPolicy = new TopicPolicy("amplifyAppMasterTopicPolicy", TopicPolicyArgs.builder()        
  *             .arn(amplifyAppMasterTopic.arn())
- *             .policy(amplifyAppMaster.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(amplifyAppMaster -> amplifyAppMaster.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(amplifyAppMaster.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(amplifyAppMaster -> amplifyAppMaster.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var this_ = new TopicSubscription("this", TopicSubscriptionArgs.builder()        
+ *         var this_ = new TopicSubscription("this", TopicSubscriptionArgs.builder()        
  *             .topic(amplifyAppMasterTopic.arn())
- *             .protocol("email")
- *             .endpoint("user@acme.com")
+ *             .protocol("email")
+ *             .endpoint("user{@literal @}acme.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amplify/DomainAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/amplify/DomainAssociation.java index c34cd7742ee..2f7bfa96b44 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amplify/DomainAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amplify/DomainAssociation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,37 +51,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("app")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("app")
  *             .customRules(AppCustomRuleArgs.builder()
- *                 .source("https://example.com")
- *                 .status("302")
- *                 .target("https://www.example.com")
+ *                 .source("https://example.com")
+ *                 .status("302")
+ *                 .target("https://www.example.com")
  *                 .build())
  *             .build());
  * 
- *         var master = new Branch("master", BranchArgs.builder()        
+ *         var master = new Branch("master", BranchArgs.builder()        
  *             .appId(example.id())
- *             .branchName("master")
+ *             .branchName("master")
  *             .build());
  * 
- *         var exampleDomainAssociation = new DomainAssociation("exampleDomainAssociation", DomainAssociationArgs.builder()        
+ *         var exampleDomainAssociation = new DomainAssociation("exampleDomainAssociation", DomainAssociationArgs.builder()        
  *             .appId(example.id())
- *             .domainName("example.com")
+ *             .domainName("example.com")
  *             .subDomains(            
  *                 DomainAssociationSubDomainArgs.builder()
  *                     .branchName(master.branchName())
- *                     .prefix("")
+ *                     .prefix("")
  *                     .build(),
  *                 DomainAssociationSubDomainArgs.builder()
  *                     .branchName(master.branchName())
- *                     .prefix("www")
+ *                     .prefix("www")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/amplify/Webhook.java b/sdk/java/src/main/java/com/pulumi/aws/amplify/Webhook.java index ed681d5c55f..760cd2c1c82 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/amplify/Webhook.java +++ b/sdk/java/src/main/java/com/pulumi/aws/amplify/Webhook.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,24 +46,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("app")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("app")
  *             .build());
  * 
- *         var master = new Branch("master", BranchArgs.builder()        
+ *         var master = new Branch("master", BranchArgs.builder()        
  *             .appId(example.id())
- *             .branchName("master")
+ *             .branchName("master")
  *             .build());
  * 
- *         var masterWebhook = new Webhook("masterWebhook", WebhookArgs.builder()        
+ *         var masterWebhook = new Webhook("masterWebhook", WebhookArgs.builder()        
  *             .appId(example.id())
  *             .branchName(master.branchName())
- *             .description("triggermaster")
+ *             .description("triggermaster")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Account.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Account.java index 16a1d508748..a2e3702b7f3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Account.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Account.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,48 +54,49 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("apigateway.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("apigateway.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var cloudwatchRole = new Role("cloudwatchRole", RoleArgs.builder()        
- *             .name("api_gateway_cloudwatch_global")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var cloudwatchRole = new Role("cloudwatchRole", RoleArgs.builder()        
+ *             .name("api_gateway_cloudwatch_global")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var demo = new Account("demo", AccountArgs.builder()        
+ *         var demo = new Account("demo", AccountArgs.builder()        
  *             .cloudwatchRoleArn(cloudwatchRole.arn())
  *             .build());
  * 
  *         final var cloudwatch = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "logs:CreateLogGroup",
- *                     "logs:CreateLogStream",
- *                     "logs:DescribeLogGroups",
- *                     "logs:DescribeLogStreams",
- *                     "logs:PutLogEvents",
- *                     "logs:GetLogEvents",
- *                     "logs:FilterLogEvents")
- *                 .resources("*")
+ *                     "logs:CreateLogGroup",
+ *                     "logs:CreateLogStream",
+ *                     "logs:DescribeLogGroups",
+ *                     "logs:DescribeLogStreams",
+ *                     "logs:PutLogEvents",
+ *                     "logs:GetLogEvents",
+ *                     "logs:FilterLogEvents")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var cloudwatchRolePolicy = new RolePolicy("cloudwatchRolePolicy", RolePolicyArgs.builder()        
- *             .name("default")
+ *         var cloudwatchRolePolicy = new RolePolicy("cloudwatchRolePolicy", RolePolicyArgs.builder()        
+ *             .name("default")
  *             .role(cloudwatchRole.id())
- *             .policy(cloudwatch.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(cloudwatch.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApiKey.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApiKey.java index 303f896c98a..eebc310a69d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApiKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApiKey.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApiKey("example", ApiKeyArgs.builder()        
- *             .name("example")
+ *         var example = new ApiKey("example", ApiKeyArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApigatewayFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApigatewayFunctions.java index 5d06a06f89b..a685dde1478 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApigatewayFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/ApigatewayFunctions.java @@ -44,7 +44,8 @@ public final class ApigatewayFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -72,7 +73,8 @@ public final class ApigatewayFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -85,7 +87,8 @@ public static Output getAuthorizer(GetAuthorizerArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -113,7 +116,8 @@ public static Output getAuthorizer(GetAuthorizerArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -126,7 +130,8 @@ public static CompletableFuture getAuthorizerPlain(GetAutho * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -154,7 +159,8 @@ public static CompletableFuture getAuthorizerPlain(GetAutho
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -167,7 +173,8 @@ public static Output getAuthorizer(GetAuthorizerArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -195,7 +202,8 @@ public static Output getAuthorizer(GetAuthorizerArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -208,7 +216,8 @@ public static CompletableFuture getAuthorizerPlain(GetAutho * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -235,7 +244,8 @@ public static CompletableFuture getAuthorizerPlain(GetAutho
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -248,7 +258,8 @@ public static Output getAuthorizers(GetAuthorizersArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -275,7 +286,8 @@ public static Output getAuthorizers(GetAuthorizersArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -288,7 +300,8 @@ public static CompletableFuture getAuthorizersPlain(GetAut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -315,7 +328,8 @@ public static CompletableFuture getAuthorizersPlain(GetAut
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -328,7 +342,8 @@ public static Output getAuthorizers(GetAuthorizersArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -355,7 +370,8 @@ public static Output getAuthorizers(GetAuthorizersArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -368,7 +384,8 @@ public static CompletableFuture getAuthorizersPlain(GetAut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -390,12 +407,13 @@ public static CompletableFuture getAuthorizersPlain(GetAut
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ApigatewayFunctions.getDomainName(GetDomainNameArgs.builder()
-     *             .domainName("api.example.com")
+     *             .domainName("api.example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -408,7 +426,8 @@ public static Output getDomainName(GetDomainNameArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -430,12 +449,13 @@ public static Output getDomainName(GetDomainNameArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ApigatewayFunctions.getDomainName(GetDomainNameArgs.builder()
-     *             .domainName("api.example.com")
+     *             .domainName("api.example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -448,7 +468,8 @@ public static CompletableFuture getDomainNamePlain(GetDomai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -470,12 +491,13 @@ public static CompletableFuture getDomainNamePlain(GetDomai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ApigatewayFunctions.getDomainName(GetDomainNameArgs.builder()
-     *             .domainName("api.example.com")
+     *             .domainName("api.example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -488,7 +510,8 @@ public static Output getDomainName(GetDomainNameArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -510,12 +533,13 @@ public static Output getDomainName(GetDomainNameArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ApigatewayFunctions.getDomainName(GetDomainNameArgs.builder()
-     *             .domainName("api.example.com")
+     *             .domainName("api.example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -526,7 +550,8 @@ public static CompletableFuture getDomainNamePlain(GetDomai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -550,12 +575,13 @@ public static CompletableFuture getDomainNamePlain(GetDomai
      *         final var example = ApigatewayFunctions.getExport(GetExportArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .exportType("oas30")
+     *             .exportType("oas30")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -566,7 +592,8 @@ public static Output getExport(GetExportArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -590,12 +617,13 @@ public static Output getExport(GetExportArgs args) {
      *         final var example = ApigatewayFunctions.getExport(GetExportArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .exportType("oas30")
+     *             .exportType("oas30")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -606,7 +634,8 @@ public static CompletableFuture getExportPlain(GetExportPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -630,12 +659,13 @@ public static CompletableFuture getExportPlain(GetExportPlainAr
      *         final var example = ApigatewayFunctions.getExport(GetExportArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .exportType("oas30")
+     *             .exportType("oas30")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -646,7 +676,8 @@ public static Output getExport(GetExportArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -670,12 +701,13 @@ public static Output getExport(GetExportArgs args, InvokeOption
      *         final var example = ApigatewayFunctions.getExport(GetExportArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .exportType("oas30")
+     *             .exportType("oas30")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -689,7 +721,8 @@ public static CompletableFuture getExportPlain(GetExportPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -711,12 +744,13 @@ public static CompletableFuture getExportPlain(GetExportPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiKey = ApigatewayFunctions.getKey(GetKeyArgs.builder()
-     *             .id("ru3mpjgse6")
+     *             .id("ru3mpjgse6")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -730,7 +764,8 @@ public static Output getKey(GetKeyArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -752,12 +787,13 @@ public static Output getKey(GetKeyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiKey = ApigatewayFunctions.getKey(GetKeyArgs.builder()
-     *             .id("ru3mpjgse6")
+     *             .id("ru3mpjgse6")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -771,7 +807,8 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -793,12 +830,13 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiKey = ApigatewayFunctions.getKey(GetKeyArgs.builder()
-     *             .id("ru3mpjgse6")
+     *             .id("ru3mpjgse6")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -812,7 +850,8 @@ public static Output getKey(GetKeyArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -834,12 +873,13 @@ public static Output getKey(GetKeyArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiKey = ApigatewayFunctions.getKey(GetKeyArgs.builder()
-     *             .id("ru3mpjgse6")
+     *             .id("ru3mpjgse6")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -853,7 +893,8 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -876,17 +917,18 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *         final var myResource = ApigatewayFunctions.getResource(GetResourceArgs.builder()
-     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .path("/endpoint/path")
+     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .path("/endpoint/path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -900,7 +942,8 @@ public static Output getResource(GetResourceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -923,17 +966,18 @@ public static Output getResource(GetResourceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *         final var myResource = ApigatewayFunctions.getResource(GetResourceArgs.builder()
-     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .path("/endpoint/path")
+     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .path("/endpoint/path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -947,7 +991,8 @@ public static CompletableFuture getResourcePlain(GetResourceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -970,17 +1015,18 @@ public static CompletableFuture getResourcePlain(GetResourceP
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *         final var myResource = ApigatewayFunctions.getResource(GetResourceArgs.builder()
-     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .path("/endpoint/path")
+     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .path("/endpoint/path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -994,7 +1040,8 @@ public static Output getResource(GetResourceArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1017,17 +1064,18 @@ public static Output getResource(GetResourceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *         final var myResource = ApigatewayFunctions.getResource(GetResourceArgs.builder()
-     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .path("/endpoint/path")
+     *             .restApiId(myRestApi.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .path("/endpoint/path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1043,7 +1091,8 @@ public static CompletableFuture getResourcePlain(GetResourceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1065,12 +1114,13 @@ public static CompletableFuture getResourcePlain(GetResourceP
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1086,7 +1136,8 @@ public static Output getRestApi(GetRestApiArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1108,12 +1159,13 @@ public static Output getRestApi(GetRestApiArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1129,7 +1181,8 @@ public static CompletableFuture getRestApiPlain(GetRestApiPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1151,12 +1204,13 @@ public static CompletableFuture getRestApiPlain(GetRestApiPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1172,7 +1226,8 @@ public static Output getRestApi(GetRestApiArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1194,12 +1249,13 @@ public static Output getRestApi(GetRestApiArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var myRestApi = ApigatewayFunctions.getRestApi(GetRestApiArgs.builder()
-     *             .name("my-rest-api")
+     *             .name("my-rest-api")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1210,7 +1266,8 @@ public static CompletableFuture getRestApiPlain(GetRestApiPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1234,18 +1291,19 @@ public static CompletableFuture getRestApiPlain(GetRestApiPlai
      *         final var example = ApigatewayFunctions.getSdk(GetSdkArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .sdkType("android")
+     *             .sdkType("android")
      *             .parameters(Map.ofEntries(
-     *                 Map.entry("groupId", "example"),
-     *                 Map.entry("artifactId", "example"),
-     *                 Map.entry("artifactVersion", "example"),
-     *                 Map.entry("invokerPackage", "example")
+     *                 Map.entry("groupId", "example"),
+     *                 Map.entry("artifactId", "example"),
+     *                 Map.entry("artifactVersion", "example"),
+     *                 Map.entry("invokerPackage", "example")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1256,7 +1314,8 @@ public static Output getSdk(GetSdkArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1280,18 +1339,19 @@ public static Output getSdk(GetSdkArgs args) {
      *         final var example = ApigatewayFunctions.getSdk(GetSdkArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .sdkType("android")
+     *             .sdkType("android")
      *             .parameters(Map.ofEntries(
-     *                 Map.entry("groupId", "example"),
-     *                 Map.entry("artifactId", "example"),
-     *                 Map.entry("artifactVersion", "example"),
-     *                 Map.entry("invokerPackage", "example")
+     *                 Map.entry("groupId", "example"),
+     *                 Map.entry("artifactId", "example"),
+     *                 Map.entry("artifactVersion", "example"),
+     *                 Map.entry("invokerPackage", "example")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1302,7 +1362,8 @@ public static CompletableFuture getSdkPlain(GetSdkPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1326,18 +1387,19 @@ public static CompletableFuture getSdkPlain(GetSdkPlainArgs args)
      *         final var example = ApigatewayFunctions.getSdk(GetSdkArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .sdkType("android")
+     *             .sdkType("android")
      *             .parameters(Map.ofEntries(
-     *                 Map.entry("groupId", "example"),
-     *                 Map.entry("artifactId", "example"),
-     *                 Map.entry("artifactVersion", "example"),
-     *                 Map.entry("invokerPackage", "example")
+     *                 Map.entry("groupId", "example"),
+     *                 Map.entry("artifactId", "example"),
+     *                 Map.entry("artifactVersion", "example"),
+     *                 Map.entry("invokerPackage", "example")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1348,7 +1410,8 @@ public static Output getSdk(GetSdkArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1372,18 +1435,19 @@ public static Output getSdk(GetSdkArgs args, InvokeOptions options
      *         final var example = ApigatewayFunctions.getSdk(GetSdkArgs.builder()
      *             .restApiId(exampleAwsApiGatewayStage.restApiId())
      *             .stageName(exampleAwsApiGatewayStage.stageName())
-     *             .sdkType("android")
+     *             .sdkType("android")
      *             .parameters(Map.ofEntries(
-     *                 Map.entry("groupId", "example"),
-     *                 Map.entry("artifactId", "example"),
-     *                 Map.entry("artifactVersion", "example"),
-     *                 Map.entry("invokerPackage", "example")
+     *                 Map.entry("groupId", "example"),
+     *                 Map.entry("artifactId", "example"),
+     *                 Map.entry("artifactVersion", "example"),
+     *                 Map.entry("invokerPackage", "example")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1399,7 +1463,8 @@ public static CompletableFuture getSdkPlain(GetSdkPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1421,12 +1486,13 @@ public static CompletableFuture getSdkPlain(GetSdkPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiGatewayVpcLink = ApigatewayFunctions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .name("my-vpc-link")
+     *             .name("my-vpc-link")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1442,7 +1508,8 @@ public static Output getVpcLink(GetVpcLinkArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1464,12 +1531,13 @@ public static Output getVpcLink(GetVpcLinkArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiGatewayVpcLink = ApigatewayFunctions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .name("my-vpc-link")
+     *             .name("my-vpc-link")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1485,7 +1553,8 @@ public static CompletableFuture getVpcLinkPlain(GetVpcLinkPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1507,12 +1576,13 @@ public static CompletableFuture getVpcLinkPlain(GetVpcLinkPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiGatewayVpcLink = ApigatewayFunctions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .name("my-vpc-link")
+     *             .name("my-vpc-link")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1528,7 +1598,8 @@ public static Output getVpcLink(GetVpcLinkArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1550,12 +1621,13 @@ public static Output getVpcLink(GetVpcLinkArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var myApiGatewayVpcLink = ApigatewayFunctions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .name("my-vpc-link")
+     *             .name("my-vpc-link")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Authorizer.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Authorizer.java index 7b600b0e255..48519ac0339 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Authorizer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Authorizer.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,55 +55,55 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var demoRestApi = new RestApi("demoRestApi", RestApiArgs.builder()        
- *             .name("auth-demo")
+ *         var demoRestApi = new RestApi("demoRestApi", RestApiArgs.builder()        
+ *             .name("auth-demo")
  *             .build());
  * 
  *         final var invocationAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("apigateway.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("apigateway.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var invocationRole = new Role("invocationRole", RoleArgs.builder()        
- *             .name("api_gateway_auth_invocation")
- *             .path("/")
- *             .assumeRolePolicy(invocationAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var invocationRole = new Role("invocationRole", RoleArgs.builder()        
+ *             .name("api_gateway_auth_invocation")
+ *             .path("/")
+ *             .assumeRolePolicy(invocationAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var lambdaAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("sts:AssumeRole")
+ *                 .effect("Allow")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var lambda = new Role("lambda", RoleArgs.builder()        
- *             .name("demo-lambda")
- *             .assumeRolePolicy(lambdaAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var lambda = new Role("lambda", RoleArgs.builder()        
+ *             .name("demo-lambda")
+ *             .assumeRolePolicy(lambdaAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var authorizer = new Function("authorizer", FunctionArgs.builder()        
- *             .code(new FileArchive("lambda-function.zip"))
- *             .name("api_gateway_authorizer")
+ *         var authorizer = new Function("authorizer", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambda-function.zip"))
+ *             .name("api_gateway_authorizer")
  *             .role(lambda.arn())
- *             .handler("exports.example")
+ *             .handler("exports.example")
  *             .sourceCodeHash(StdFunctions.filebase64sha256(Filebase64sha256Args.builder()
- *                 .input("lambda-function.zip")
+ *                 .input("lambda-function.zip")
  *                 .build()).result())
  *             .build());
  * 
- *         var demo = new Authorizer("demo", AuthorizerArgs.builder()        
- *             .name("demo")
+ *         var demo = new Authorizer("demo", AuthorizerArgs.builder()        
+ *             .name("demo")
  *             .restApi(demoRestApi.id())
  *             .authorizerUri(authorizer.invokeArn())
  *             .authorizerCredentials(invocationRole.arn())
@@ -110,21 +111,22 @@
  * 
  *         final var invocationPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("lambda:InvokeFunction")
+ *                 .effect("Allow")
+ *                 .actions("lambda:InvokeFunction")
  *                 .resources(authorizer.arn())
  *                 .build())
  *             .build());
  * 
- *         var invocationPolicyRolePolicy = new RolePolicy("invocationPolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("default")
+ *         var invocationPolicyRolePolicy = new RolePolicy("invocationPolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("default")
  *             .role(invocationRole.id())
- *             .policy(invocationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(invocationPolicy -> invocationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(invocationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(invocationPolicy -> invocationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/ClientCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/ClientCertificate.java index 307a9be67f9..ff42f853d3c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/ClientCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/ClientCertificate.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var demo = new ClientCertificate("demo", ClientCertificateArgs.builder()        
- *             .description("My client certificate")
+ *         var demo = new ClientCertificate("demo", ClientCertificateArgs.builder()        
+ *             .description("My client certificate")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationPart.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationPart.java index ba60403506a..fe2c467b7c1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationPart.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationPart.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,23 +45,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRestApi = new RestApi("exampleRestApi", RestApiArgs.builder()        
- *             .name("example_api")
+ *         var exampleRestApi = new RestApi("exampleRestApi", RestApiArgs.builder()        
+ *             .name("example_api")
  *             .build());
  * 
- *         var example = new DocumentationPart("example", DocumentationPartArgs.builder()        
+ *         var example = new DocumentationPart("example", DocumentationPartArgs.builder()        
  *             .location(DocumentationPartLocationArgs.builder()
- *                 .type("METHOD")
- *                 .method("GET")
- *                 .path("/example")
+ *                 .type("METHOD")
+ *                 .method("GET")
+ *                 .path("/example")
  *                 .build())
- *             .properties("{\"description\":\"Example description\"}")
+ *             .properties("{\"description\":\"Example description\"}")
  *             .restApiId(exampleRestApi.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationVersion.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationVersion.java index 6bce13123d0..56638e11277 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/DocumentationVersion.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,29 +48,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRestApi = new RestApi("exampleRestApi", RestApiArgs.builder()        
- *             .name("example_api")
+ *         var exampleRestApi = new RestApi("exampleRestApi", RestApiArgs.builder()        
+ *             .name("example_api")
  *             .build());
  * 
- *         var exampleDocumentationPart = new DocumentationPart("exampleDocumentationPart", DocumentationPartArgs.builder()        
+ *         var exampleDocumentationPart = new DocumentationPart("exampleDocumentationPart", DocumentationPartArgs.builder()        
  *             .location(DocumentationPartLocationArgs.builder()
- *                 .type("API")
+ *                 .type("API")
  *                 .build())
- *             .properties("{\"description\":\"Example\"}")
+ *             .properties("{\"description\":\"Example\"}")
  *             .restApiId(exampleRestApi.id())
  *             .build());
  * 
- *         var example = new DocumentationVersion("example", DocumentationVersionArgs.builder()        
- *             .version("example_version")
+ *         var example = new DocumentationVersion("example", DocumentationVersionArgs.builder()        
+ *             .version("example_version")
  *             .restApiId(exampleRestApi.id())
- *             .description("Example description")
+ *             .description("Example description")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleDocumentationPart)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/DomainName.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/DomainName.java index 397dbcf7706..805ea4b0e18 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/DomainName.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/DomainName.java @@ -51,7 +51,8 @@ * ### Edge Optimized (ACM Certificate) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -75,16 +76,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainName("example", DomainNameArgs.builder()        
+ *         var example = new DomainName("example", DomainNameArgs.builder()        
  *             .certificateArn(exampleAwsAcmCertificateValidation.certificateArn())
- *             .domainName("api.example.com")
+ *             .domainName("api.example.com")
  *             .build());
  * 
  *         // Example DNS record using Route53.
  *         // Route53 is not specifically required; any DNS host can be used.
- *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
+ *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
  *             .name(example.domainName())
- *             .type("A")
+ *             .type("A")
  *             .zoneId(exampleAwsRoute53Zone.id())
  *             .aliases(RecordAliasArgs.builder()
  *                 .evaluateTargetHealth(true)
@@ -95,13 +96,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Regional (ACM Certificate) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -126,19 +129,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainName("example", DomainNameArgs.builder()        
- *             .domainName("api.example.com")
+ *         var example = new DomainName("example", DomainNameArgs.builder()        
+ *             .domainName("api.example.com")
  *             .regionalCertificateArn(exampleAwsAcmCertificateValidation.certificateArn())
  *             .endpointConfiguration(DomainNameEndpointConfigurationArgs.builder()
- *                 .types("REGIONAL")
+ *                 .types("REGIONAL")
  *                 .build())
  *             .build());
  * 
  *         // Example DNS record using Route53.
  *         // Route53 is not specifically required; any DNS host can be used.
- *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
+ *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
  *             .name(example.domainName())
- *             .type("A")
+ *             .type("A")
  *             .zoneId(exampleAwsRoute53Zone.id())
  *             .aliases(RecordAliasArgs.builder()
  *                 .evaluateTargetHealth(true)
@@ -149,7 +152,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Integration.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Integration.java index bdeb65d3d36..d66ecfaecab 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Integration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Integration.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,49 +52,51 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
+ *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .parentId(myDemoAPI.rootResourceId())
- *             .pathPart("mydemoresource")
+ *             .pathPart("mydemoresource")
  *             .build());
  * 
- *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
+ *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
  *             .build());
  * 
- *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
+ *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .type("MOCK")
- *             .cacheKeyParameters("method.request.path.param")
- *             .cacheNamespace("foobar")
+ *             .type("MOCK")
+ *             .cacheKeyParameters("method.request.path.param")
+ *             .cacheNamespace("foobar")
  *             .timeoutMilliseconds(29000)
- *             .requestParameters(Map.of("integration.request.header.X-Authorization", "'static'"))
- *             .requestTemplates(Map.of("application/xml", """
+ *             .requestParameters(Map.of("integration.request.header.X-Authorization", "'static'"))
+ *             .requestTemplates(Map.of("application/xml", """
  * {
- *    "body" : $input.json('$')
+ *    "body" : $input.json('$')
  * }
- *             """))
+ *             """))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Lambda integration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -130,86 +133,88 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var myregion = config.get("myregion");
- *         final var accountId = config.get("accountId");
+ *         final var myregion = config.get("myregion");
+ *         final var accountId = config.get("accountId");
  *         // API Gateway
- *         var api = new RestApi("api", RestApiArgs.builder()        
- *             .name("myapi")
+ *         var api = new RestApi("api", RestApiArgs.builder()        
+ *             .name("myapi")
  *             .build());
  * 
- *         var resource = new Resource("resource", ResourceArgs.builder()        
- *             .pathPart("resource")
+ *         var resource = new Resource("resource", ResourceArgs.builder()        
+ *             .pathPart("resource")
  *             .parentId(api.rootResourceId())
  *             .restApi(api.id())
  *             .build());
  * 
- *         var method = new Method("method", MethodArgs.builder()        
+ *         var method = new Method("method", MethodArgs.builder()        
  *             .restApi(api.id())
  *             .resourceId(resource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
  *             .build());
  * 
  *         // IAM
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var role = new Role("role", RoleArgs.builder()        
- *             .name("myrole")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var role = new Role("role", RoleArgs.builder()        
+ *             .name("myrole")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var lambda = new Function("lambda", FunctionArgs.builder()        
- *             .code(new FileArchive("lambda.zip"))
- *             .name("mylambda")
+ *         var lambda = new Function("lambda", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambda.zip"))
+ *             .name("mylambda")
  *             .role(role.arn())
- *             .handler("lambda.lambda_handler")
- *             .runtime("python3.7")
+ *             .handler("lambda.lambda_handler")
+ *             .runtime("python3.7")
  *             .sourceCodeHash(StdFunctions.filebase64sha256(Filebase64sha256Args.builder()
- *                 .input("lambda.zip")
+ *                 .input("lambda.zip")
  *                 .build()).result())
  *             .build());
  * 
- *         var integration = new Integration("integration", IntegrationArgs.builder()        
+ *         var integration = new Integration("integration", IntegrationArgs.builder()        
  *             .restApi(api.id())
  *             .resourceId(resource.id())
  *             .httpMethod(method.httpMethod())
- *             .integrationHttpMethod("POST")
- *             .type("AWS_PROXY")
+ *             .integrationHttpMethod("POST")
+ *             .type("AWS_PROXY")
  *             .uri(lambda.invokeArn())
  *             .build());
  * 
  *         // Lambda
- *         var apigwLambda = new Permission("apigwLambda", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromAPIGateway")
- *             .action("lambda:InvokeFunction")
+ *         var apigwLambda = new Permission("apigwLambda", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromAPIGateway")
+ *             .action("lambda:InvokeFunction")
  *             .function(lambda.name())
- *             .principal("apigateway.amazonaws.com")
- *             .sourceArn(Output.tuple(api.id(), method.httpMethod(), resource.path()).applyValue(values -> {
+ *             .principal("apigateway.amazonaws.com")
+ *             .sourceArn(Output.tuple(api.id(), method.httpMethod(), resource.path()).applyValue(values -> {
  *                 var id = values.t1;
  *                 var httpMethod = values.t2;
  *                 var path = values.t3;
- *                 return String.format("arn:aws:execute-api:%s:%s:%s/*{@literal /}%s%s", myregion,accountId,id,httpMethod,path);
+ *                 return String.format("arn:aws:execute-api:%s:%s:%s/*{@literal /}%s%s", myregion,accountId,id,httpMethod,path);
  *             }))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## VPC Link * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -241,64 +246,65 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var name = config.get("name");
- *         final var subnetId = config.get("subnetId");
- *         var test = new LoadBalancer("test", LoadBalancerArgs.builder()        
+ *         final var name = config.get("name");
+ *         final var subnetId = config.get("subnetId");
+ *         var test = new LoadBalancer("test", LoadBalancerArgs.builder()        
  *             .name(name)
  *             .internal(true)
- *             .loadBalancerType("network")
+ *             .loadBalancerType("network")
  *             .subnets(subnetId)
  *             .build());
  * 
- *         var testVpcLink = new VpcLink("testVpcLink", VpcLinkArgs.builder()        
+ *         var testVpcLink = new VpcLink("testVpcLink", VpcLinkArgs.builder()        
  *             .name(name)
  *             .targetArn(test.arn())
  *             .build());
  * 
- *         var testRestApi = new RestApi("testRestApi", RestApiArgs.builder()        
+ *         var testRestApi = new RestApi("testRestApi", RestApiArgs.builder()        
  *             .name(name)
  *             .build());
  * 
- *         var testResource = new Resource("testResource", ResourceArgs.builder()        
+ *         var testResource = new Resource("testResource", ResourceArgs.builder()        
  *             .restApi(testRestApi.id())
  *             .parentId(testRestApi.rootResourceId())
- *             .pathPart("test")
+ *             .pathPart("test")
  *             .build());
  * 
- *         var testMethod = new Method("testMethod", MethodArgs.builder()        
+ *         var testMethod = new Method("testMethod", MethodArgs.builder()        
  *             .restApi(testRestApi.id())
  *             .resourceId(testResource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
- *             .requestModels(Map.of("application/json", "Error"))
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
+ *             .requestModels(Map.of("application/json", "Error"))
  *             .build());
  * 
- *         var testIntegration = new Integration("testIntegration", IntegrationArgs.builder()        
+ *         var testIntegration = new Integration("testIntegration", IntegrationArgs.builder()        
  *             .restApi(testRestApi.id())
  *             .resourceId(testResource.id())
  *             .httpMethod(testMethod.httpMethod())
  *             .requestTemplates(Map.ofEntries(
- *                 Map.entry("application/json", ""),
- *                 Map.entry("application/xml", """
- * #set($inputRoot = $input.path('$'))
- * { }                """)
+ *                 Map.entry("application/json", ""),
+ *                 Map.entry("application/xml", """
+ * #set($inputRoot = $input.path('$'))
+ * { }                """)
  *             ))
  *             .requestParameters(Map.ofEntries(
- *                 Map.entry("integration.request.header.X-Authorization", "'static'"),
- *                 Map.entry("integration.request.header.X-Foo", "'Bar'")
+ *                 Map.entry("integration.request.header.X-Authorization", "'static'"),
+ *                 Map.entry("integration.request.header.X-Foo", "'Bar'")
  *             ))
- *             .type("HTTP")
- *             .uri("https://www.google.de")
- *             .integrationHttpMethod("GET")
- *             .passthroughBehavior("WHEN_NO_MATCH")
- *             .contentHandling("CONVERT_TO_TEXT")
- *             .connectionType("VPC_LINK")
+ *             .type("HTTP")
+ *             .uri("https://www.google.de")
+ *             .integrationHttpMethod("GET")
+ *             .passthroughBehavior("WHEN_NO_MATCH")
+ *             .contentHandling("CONVERT_TO_TEXT")
+ *             .connectionType("VPC_LINK")
  *             .connectionId(testVpcLink.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/IntegrationResponse.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/IntegrationResponse.java index 61e8465ac58..ba4887f3e64 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/IntegrationResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/IntegrationResponse.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,55 +56,56 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
+ *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .parentId(myDemoAPI.rootResourceId())
- *             .pathPart("mydemoresource")
+ *             .pathPart("mydemoresource")
  *             .build());
  * 
- *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
+ *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
  *             .build());
  * 
- *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
+ *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .type("MOCK")
+ *             .type("MOCK")
  *             .build());
  * 
- *         var response200 = new MethodResponse("response200", MethodResponseArgs.builder()        
+ *         var response200 = new MethodResponse("response200", MethodResponseArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .statusCode("200")
+ *             .statusCode("200")
  *             .build());
  * 
- *         var myDemoIntegrationResponse = new IntegrationResponse("myDemoIntegrationResponse", IntegrationResponseArgs.builder()        
+ *         var myDemoIntegrationResponse = new IntegrationResponse("myDemoIntegrationResponse", IntegrationResponseArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
  *             .statusCode(response200.statusCode())
- *             .responseTemplates(Map.of("application/xml", """
- * #set($inputRoot = $input.path('$'))
- * <?xml version="1.0" encoding="UTF-8"?>
- * <message>
+ *             .responseTemplates(Map.of("application/xml", """
+ * #set($inputRoot = $input.path('$'))
+ * 
+ * 
  *     $inputRoot.body
- * </message>
- *             """))
+ * 
+ *             """))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Method.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Method.java index a74727f59c2..11051fcb08e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Method.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Method.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,33 +49,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
+ *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .parentId(myDemoAPI.rootResourceId())
- *             .pathPart("mydemoresource")
+ *             .pathPart("mydemoresource")
  *             .build());
  * 
- *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
+ *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Usage with Cognito User Pool Authorizer * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -104,40 +107,41 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var cognitoUserPoolName = config.get("cognitoUserPoolName");
+ *         final var cognitoUserPoolName = config.get("cognitoUserPoolName");
  *         final var this = CognitoFunctions.getUserPools(GetUserPoolsArgs.builder()
  *             .name(cognitoUserPoolName)
  *             .build());
  * 
- *         var thisRestApi = new RestApi("thisRestApi", RestApiArgs.builder()        
- *             .name("with-authorizer")
+ *         var thisRestApi = new RestApi("thisRestApi", RestApiArgs.builder()        
+ *             .name("with-authorizer")
  *             .build());
  * 
- *         var thisResource = new Resource("thisResource", ResourceArgs.builder()        
+ *         var thisResource = new Resource("thisResource", ResourceArgs.builder()        
  *             .restApi(thisRestApi.id())
  *             .parentId(thisRestApi.rootResourceId())
- *             .pathPart("{proxy+}")
+ *             .pathPart("{proxy+}")
  *             .build());
  * 
- *         var thisAuthorizer = new Authorizer("thisAuthorizer", AuthorizerArgs.builder()        
- *             .name("CognitoUserPoolAuthorizer")
- *             .type("COGNITO_USER_POOLS")
+ *         var thisAuthorizer = new Authorizer("thisAuthorizer", AuthorizerArgs.builder()        
+ *             .name("CognitoUserPoolAuthorizer")
+ *             .type("COGNITO_USER_POOLS")
  *             .restApi(thisRestApi.id())
  *             .providerArns(this_.arns())
  *             .build());
  * 
- *         var any = new Method("any", MethodArgs.builder()        
+ *         var any = new Method("any", MethodArgs.builder()        
  *             .restApi(thisRestApi.id())
  *             .resourceId(thisResource.id())
- *             .httpMethod("ANY")
- *             .authorization("COGNITO_USER_POOLS")
+ *             .httpMethod("ANY")
+ *             .authorization("COGNITO_USER_POOLS")
  *             .authorizerId(thisAuthorizer.id())
- *             .requestParameters(Map.of("method.request.path.proxy", true))
+ *             .requestParameters(Map.of("method.request.path.proxy", true))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodResponse.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodResponse.java index 8c2891420fe..1cbe10be3ca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodResponse.java @@ -24,7 +24,8 @@ * ### Basic Response * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,47 +54,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
+ *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .parentId(myDemoAPI.rootResourceId())
- *             .pathPart("mydemoresource")
+ *             .pathPart("mydemoresource")
  *             .build());
  * 
- *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
+ *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
  *             .build());
  * 
- *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
+ *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .type("MOCK")
+ *             .type("MOCK")
  *             .build());
  * 
- *         var response200 = new MethodResponse("response200", MethodResponseArgs.builder()        
+ *         var response200 = new MethodResponse("response200", MethodResponseArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .statusCode("200")
+ *             .statusCode("200")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Response with Custom Header and Model * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,64 +128,65 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
+ *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .parentId(myDemoAPI.rootResourceId())
- *             .pathPart("mydemoresource")
+ *             .pathPart("mydemoresource")
  *             .build());
  * 
- *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
+ *         var myDemoMethod = new Method("myDemoMethod", MethodArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
- *             .httpMethod("GET")
- *             .authorization("NONE")
+ *             .httpMethod("GET")
+ *             .authorization("NONE")
  *             .build());
  * 
- *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
+ *         var myDemoIntegration = new Integration("myDemoIntegration", IntegrationArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .type("MOCK")
+ *             .type("MOCK")
  *             .build());
  * 
- *         var myDemoResponseModel = new Model("myDemoResponseModel", ModelArgs.builder()        
+ *         var myDemoResponseModel = new Model("myDemoResponseModel", ModelArgs.builder()        
  *             .restApi(myDemoAPI.id())
- *             .name("MyDemoResponseModel")
- *             .description("API response for MyDemoMethod")
- *             .contentType("application/json")
+ *             .name("MyDemoResponseModel")
+ *             .description("API response for MyDemoMethod")
+ *             .contentType("application/json")
  *             .schema(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("$schema", "http://json-schema.org/draft-04/schema#"),
- *                     jsonProperty("title", "MyDemoResponse"),
- *                     jsonProperty("type", "object"),
- *                     jsonProperty("properties", jsonObject(
- *                         jsonProperty("Message", jsonObject(
- *                             jsonProperty("type", "string")
+ *                     jsonProperty("$schema", "http://json-schema.org/draft-04/schema#"),
+ *                     jsonProperty("title", "MyDemoResponse"),
+ *                     jsonProperty("type", "object"),
+ *                     jsonProperty("properties", jsonObject(
+ *                         jsonProperty("Message", jsonObject(
+ *                             jsonProperty("type", "string")
  *                         ))
  *                     ))
  *                 )))
  *             .build());
  * 
- *         var response200 = new MethodResponse("response200", MethodResponseArgs.builder()        
+ *         var response200 = new MethodResponse("response200", MethodResponseArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .resourceId(myDemoResource.id())
  *             .httpMethod(myDemoMethod.httpMethod())
- *             .statusCode("200")
- *             .responseModels(Map.of("application/json", "MyDemoResponseModel"))
+ *             .statusCode("200")
+ *             .responseModels(Map.of("application/json", "MyDemoResponseModel"))
  *             .responseParameters(Map.ofEntries(
- *                 Map.entry("method.response.header.Content-Type", false),
- *                 Map.entry("method-response-header.X-My-Demo-Header", false)
+ *                 Map.entry("method.response.header.Content-Type", false),
+ *                 Map.entry("method-response-header.X-My-Demo-Header", false)
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodSettings.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodSettings.java index eef8489692a..a2f5d668710 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/MethodSettings.java @@ -26,7 +26,8 @@ * ### Off * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
+ *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
  *             .restApi(example.id())
  *             .stageName(exampleAwsApiGatewayStage.stageName())
- *             .methodPath("path1/GET")
+ *             .methodPath("path1/GET")
  *             .settings(MethodSettingsSettingsArgs.builder()
- *                 .loggingLevel("OFF")
+ *                 .loggingLevel("OFF")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Errors Only * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,12 +90,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
+ *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
  *             .restApi(example.id())
  *             .stageName(exampleAwsApiGatewayStage.stageName())
- *             .methodPath("path1/GET")
+ *             .methodPath("path1/GET")
  *             .settings(MethodSettingsSettingsArgs.builder()
- *                 .loggingLevel("ERROR")
+ *                 .loggingLevel("ERROR")
  *                 .metricsEnabled(true)
  *                 .dataTraceEnabled(false)
  *                 .build())
@@ -100,13 +103,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Errors and Info Logs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -128,12 +133,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
+ *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
  *             .restApi(example.id())
  *             .stageName(exampleAwsApiGatewayStage.stageName())
- *             .methodPath("path1/GET")
+ *             .methodPath("path1/GET")
  *             .settings(MethodSettingsSettingsArgs.builder()
- *                 .loggingLevel("INFO")
+ *                 .loggingLevel("INFO")
  *                 .metricsEnabled(true)
  *                 .dataTraceEnabled(false)
  *                 .build())
@@ -141,13 +146,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Full Request and Response Logs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -169,12 +176,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
+ *         var pathSpecific = new MethodSettings("pathSpecific", MethodSettingsArgs.builder()        
  *             .restApi(example.id())
  *             .stageName(exampleAwsApiGatewayStage.stageName())
- *             .methodPath("path1/GET")
+ *             .methodPath("path1/GET")
  *             .settings(MethodSettingsSettingsArgs.builder()
- *                 .loggingLevel("INFO")
+ *                 .loggingLevel("INFO")
  *                 .metricsEnabled(true)
  *                 .dataTraceEnabled(true)
  *                 .build())
@@ -182,7 +189,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Model.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Model.java index c0f32506c14..9083fc9b7cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Model.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Model.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,25 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoModel = new Model("myDemoModel", ModelArgs.builder()        
+ *         var myDemoModel = new Model("myDemoModel", ModelArgs.builder()        
  *             .restApi(myDemoAPI.id())
- *             .name("user")
- *             .description("a JSON schema")
- *             .contentType("application/json")
+ *             .name("user")
+ *             .description("a JSON schema")
+ *             .contentType("application/json")
  *             .schema(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("type", "object")
+ *                     jsonProperty("type", "object")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/RequestValidator.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/RequestValidator.java index c61176398b9..598bd5b0a91 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/RequestValidator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/RequestValidator.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,8 +43,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RequestValidator("example", RequestValidatorArgs.builder()        
- *             .name("example")
+ *         var example = new RequestValidator("example", RequestValidatorArgs.builder()        
+ *             .name("example")
  *             .restApi(exampleAwsApiGatewayRestApi.id())
  *             .validateRequestBody(true)
  *             .validateRequestParameters(true)
@@ -51,7 +52,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Resource.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Resource.java index a30d14a273b..cbd4df18b14 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Resource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Resource.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,20 +43,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
+ *         var myDemoResource = new Resource("myDemoResource", ResourceArgs.builder()        
  *             .restApi(myDemoAPI.id())
  *             .parentId(myDemoAPI.rootResourceId())
- *             .pathPart("mydemoresource")
+ *             .pathPart("mydemoresource")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Response.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Response.java index ca249ce0c9e..273e06889e6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Response.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Response.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,21 +45,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new RestApi("main", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
+ *         var main = new RestApi("main", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
  *             .build());
  * 
- *         var test = new Response("test", ResponseArgs.builder()        
+ *         var test = new Response("test", ResponseArgs.builder()        
  *             .restApiId(main.id())
- *             .statusCode("401")
- *             .responseType("UNAUTHORIZED")
- *             .responseTemplates(Map.of("application/json", "{\"message\":$context.error.messageString}"))
- *             .responseParameters(Map.of("gatewayresponse.header.Authorization", "'Basic'"))
+ *             .statusCode("401")
+ *             .responseType("UNAUTHORIZED")
+ *             .responseTemplates(Map.of("application/json", "{\"message\":$context.error.messageString}"))
+ *             .responseParameters(Map.of("gatewayresponse.header.Authorization", "'Basic'"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/RestApiPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/RestApiPolicy.java index 1b960eb659e..18b3817856d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/RestApiPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/RestApiPolicy.java @@ -23,7 +23,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,35 +49,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testRestApi = new RestApi("testRestApi", RestApiArgs.builder()        
- *             .name("example-rest-api")
+ *         var testRestApi = new RestApi("testRestApi", RestApiArgs.builder()        
+ *             .name("example-rest-api")
  *             .build());
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("*")
+ *                     .type("AWS")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("execute-api:Invoke")
+ *                 .actions("execute-api:Invoke")
  *                 .resources(testRestApi.executionArn())
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("IpAddress")
- *                     .variable("aws:SourceIp")
- *                     .values("123.123.123.123/32")
+ *                     .test("IpAddress")
+ *                     .variable("aws:SourceIp")
+ *                     .values("123.123.123.123/32")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var testRestApiPolicy = new RestApiPolicy("testRestApiPolicy", RestApiPolicyArgs.builder()        
+ *         var testRestApiPolicy = new RestApiPolicy("testRestApiPolicy", RestApiPolicyArgs.builder()        
  *             .restApiId(testRestApi.id())
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Stage.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Stage.java index 5847814e543..8df8422bd81 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/Stage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/Stage.java @@ -26,7 +26,8 @@ * API Gateway provides the ability to [enable CloudWatch API logging](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html). To manage the CloudWatch Log Group when this feature is enabled, the `aws.cloudwatch.LogGroup` resource can be used where the name matches the API Gateway naming convention. If the CloudWatch Log Group previously exists, import the `aws.cloudwatch.LogGroup` resource into Pulumi as a one time operation. You can recreate the environment without import. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,15 +53,15 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var stageName = config.get("stageName").orElse("example");
- *         var example = new RestApi("example");
+ *         final var stageName = config.get("stageName").orElse("example");
+ *         var example = new RestApi("example");
  * 
- *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
- *             .name(example.id().applyValue(id -> String.format("API-Gateway-Execution-Logs_%s/%s", id,stageName)))
+ *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
+ *             .name(example.id().applyValue(id -> String.format("API-Gateway-Execution-Logs_%s/%s", id,stageName)))
  *             .retentionInDays(7)
  *             .build());
  * 
- *         var exampleStage = new Stage("exampleStage", StageArgs.builder()        
+ *         var exampleStage = new Stage("exampleStage", StageArgs.builder()        
  *             .stageName(stageName)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleLogGroup)
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/UsagePlanKey.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/UsagePlanKey.java index 283050fc6ac..77f3eba885d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/UsagePlanKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/UsagePlanKey.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,32 +48,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new RestApi("test", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
+ *         var test = new RestApi("test", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
  *             .build());
  * 
  *         // ...
- *         var myusageplan = new UsagePlan("myusageplan", UsagePlanArgs.builder()        
- *             .name("my_usage_plan")
+ *         var myusageplan = new UsagePlan("myusageplan", UsagePlanArgs.builder()        
+ *             .name("my_usage_plan")
  *             .apiStages(UsagePlanApiStageArgs.builder()
  *                 .apiId(test.id())
  *                 .stage(foo.stageName())
  *                 .build())
  *             .build());
  * 
- *         var mykey = new ApiKey("mykey", ApiKeyArgs.builder()        
- *             .name("my_key")
+ *         var mykey = new ApiKey("mykey", ApiKeyArgs.builder()        
+ *             .name("my_key")
  *             .build());
  * 
- *         var main = new UsagePlanKey("main", UsagePlanKeyArgs.builder()        
+ *         var main = new UsagePlanKey("main", UsagePlanKeyArgs.builder()        
  *             .keyId(mykey.id())
- *             .keyType("API_KEY")
+ *             .keyType("API_KEY")
  *             .usagePlanId(myusageplan.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigateway/VpcLink.java b/sdk/java/src/main/java/com/pulumi/aws/apigateway/VpcLink.java index 4ac94980be7..71892082fa4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigateway/VpcLink.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigateway/VpcLink.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .name("example")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .name("example")
  *             .internal(true)
- *             .loadBalancerType("network")
+ *             .loadBalancerType("network")
  *             .subnetMappings(LoadBalancerSubnetMappingArgs.builder()
- *                 .subnetId("12345")
+ *                 .subnetId("12345")
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcLink = new VpcLink("exampleVpcLink", VpcLinkArgs.builder()        
- *             .name("example")
- *             .description("example description")
+ *         var exampleVpcLink = new VpcLink("exampleVpcLink", VpcLinkArgs.builder()        
+ *             .name("example")
+ *             .description("example description")
  *             .targetArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Api.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Api.java index 163e3efc65b..52f85673cd4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Api.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Api.java @@ -27,7 +27,8 @@ * ### Basic WebSocket API * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,21 +49,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Api("example", ApiArgs.builder()        
- *             .name("example-websocket-api")
- *             .protocolType("WEBSOCKET")
- *             .routeSelectionExpression("$request.body.action")
+ *         var example = new Api("example", ApiArgs.builder()        
+ *             .name("example-websocket-api")
+ *             .protocolType("WEBSOCKET")
+ *             .routeSelectionExpression("$request.body.action")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic HTTP API * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,14 +86,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Api("example", ApiArgs.builder()        
- *             .name("example-http-api")
- *             .protocolType("HTTP")
+ *         var example = new Api("example", ApiArgs.builder()        
+ *             .name("example-http-api")
+ *             .protocolType("HTTP")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -226,7 +230,7 @@ public Output> disableExecuteApiEndpoint() { } /** * ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -235,7 +239,7 @@ public Output> disableExecuteApiEndpoint() { /** * @return ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/ApiMapping.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/ApiMapping.java index 02a51cf44ff..53a8b02d179 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/ApiMapping.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/ApiMapping.java @@ -23,7 +23,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApiMapping("example", ApiMappingArgs.builder()        
+ *         var example = new ApiMapping("example", ApiMappingArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
  *             .domainName(exampleAwsApigatewayv2DomainName.id())
  *             .stage(exampleAwsApigatewayv2Stage.id())
@@ -52,7 +53,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Apigatewayv2Functions.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Apigatewayv2Functions.java index 5d6542b0bc2..0e5a834ad0c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Apigatewayv2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Apigatewayv2Functions.java @@ -29,7 +29,8 @@ public final class Apigatewayv2Functions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,12 +52,13 @@ public final class Apigatewayv2Functions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApi(GetApiArgs.builder()
-     *             .apiId("aabbccddee")
+     *             .apiId("aabbccddee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getApi(GetApiArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,12 +94,13 @@ public static Output getApi(GetApiArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApi(GetApiArgs.builder()
-     *             .apiId("aabbccddee")
+     *             .apiId("aabbccddee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getApiPlain(GetApiPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getApiPlain(GetApiPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApi(GetApiArgs.builder()
-     *             .apiId("aabbccddee")
+     *             .apiId("aabbccddee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +155,8 @@ public static Output getApi(GetApiArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,12 +178,13 @@ public static Output getApi(GetApiArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApi(GetApiArgs.builder()
-     *             .apiId("aabbccddee")
+     *             .apiId("aabbccddee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -189,7 +197,8 @@ public static CompletableFuture getApiPlain(GetApiPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -211,12 +220,13 @@ public static CompletableFuture getApiPlain(GetApiPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApis(GetApisArgs.builder()
-     *             .protocolType("HTTP")
+     *             .protocolType("HTTP")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -229,7 +239,8 @@ public static Output getApis() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,12 +262,13 @@ public static Output getApis() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApis(GetApisArgs.builder()
-     *             .protocolType("HTTP")
+     *             .protocolType("HTTP")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -269,7 +281,8 @@ public static CompletableFuture getApisPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -291,12 +304,13 @@ public static CompletableFuture getApisPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApis(GetApisArgs.builder()
-     *             .protocolType("HTTP")
+     *             .protocolType("HTTP")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -309,7 +323,8 @@ public static Output getApis(GetApisArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -331,12 +346,13 @@ public static Output getApis(GetApisArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApis(GetApisArgs.builder()
-     *             .protocolType("HTTP")
+     *             .protocolType("HTTP")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -349,7 +365,8 @@ public static CompletableFuture getApisPlain(GetApisPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -371,12 +388,13 @@ public static CompletableFuture getApisPlain(GetApisPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApis(GetApisArgs.builder()
-     *             .protocolType("HTTP")
+     *             .protocolType("HTTP")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -389,7 +407,8 @@ public static Output getApis(GetApisArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -411,12 +430,13 @@ public static Output getApis(GetApisArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getApis(GetApisArgs.builder()
-     *             .protocolType("HTTP")
+     *             .protocolType("HTTP")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -429,7 +449,8 @@ public static CompletableFuture getApisPlain(GetApisPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -452,13 +473,14 @@ public static CompletableFuture getApisPlain(GetApisPlainArgs arg
      *     public static void stack(Context ctx) {
      *         final var test = Apigatewayv2Functions.getExport(GetExportArgs.builder()
      *             .apiId(testAwsApigatewayv2Route.apiId())
-     *             .specification("OAS30")
-     *             .outputType("JSON")
+     *             .specification("OAS30")
+     *             .outputType("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -471,7 +493,8 @@ public static Output getExport(GetExportArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,13 +517,14 @@ public static Output getExport(GetExportArgs args) {
      *     public static void stack(Context ctx) {
      *         final var test = Apigatewayv2Functions.getExport(GetExportArgs.builder()
      *             .apiId(testAwsApigatewayv2Route.apiId())
-     *             .specification("OAS30")
-     *             .outputType("JSON")
+     *             .specification("OAS30")
+     *             .outputType("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -513,7 +537,8 @@ public static CompletableFuture getExportPlain(GetExportPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -536,13 +561,14 @@ public static CompletableFuture getExportPlain(GetExportPlainAr
      *     public static void stack(Context ctx) {
      *         final var test = Apigatewayv2Functions.getExport(GetExportArgs.builder()
      *             .apiId(testAwsApigatewayv2Route.apiId())
-     *             .specification("OAS30")
-     *             .outputType("JSON")
+     *             .specification("OAS30")
+     *             .outputType("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -555,7 +581,8 @@ public static Output getExport(GetExportArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -578,13 +605,14 @@ public static Output getExport(GetExportArgs args, InvokeOption
      *     public static void stack(Context ctx) {
      *         final var test = Apigatewayv2Functions.getExport(GetExportArgs.builder()
      *             .apiId(testAwsApigatewayv2Route.apiId())
-     *             .specification("OAS30")
-     *             .outputType("JSON")
+     *             .specification("OAS30")
+     *             .outputType("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -599,7 +627,8 @@ public static CompletableFuture getExportPlain(GetExportPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -621,12 +650,13 @@ public static CompletableFuture getExportPlain(GetExportPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .vpcLinkId("example")
+     *             .vpcLinkId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -641,7 +671,8 @@ public static Output getVpcLink(GetVpcLinkArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -663,12 +694,13 @@ public static Output getVpcLink(GetVpcLinkArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .vpcLinkId("example")
+     *             .vpcLinkId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -683,7 +715,8 @@ public static CompletableFuture getVpcLinkPlain(GetVpcLinkPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -705,12 +738,13 @@ public static CompletableFuture getVpcLinkPlain(GetVpcLinkPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .vpcLinkId("example")
+     *             .vpcLinkId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -725,7 +759,8 @@ public static Output getVpcLink(GetVpcLinkArgs args, InvokeOpt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -747,12 +782,13 @@ public static Output getVpcLink(GetVpcLinkArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Apigatewayv2Functions.getVpcLink(GetVpcLinkArgs.builder()
-     *             .vpcLinkId("example")
+     *             .vpcLinkId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Authorizer.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Authorizer.java index 15dd76a5767..8b1ee217a54 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Authorizer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Authorizer.java @@ -27,7 +27,8 @@ * ### Basic WebSocket API * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Authorizer("example", AuthorizerArgs.builder()        
+ *         var example = new Authorizer("example", AuthorizerArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
- *             .authorizerType("REQUEST")
+ *             .authorizerType("REQUEST")
  *             .authorizerUri(exampleAwsLambdaFunction.invokeArn())
- *             .identitySources("route.request.header.Auth")
- *             .name("example-authorizer")
+ *             .identitySources("route.request.header.Auth")
+ *             .name("example-authorizer")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic HTTP API * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,18 +88,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Authorizer("example", AuthorizerArgs.builder()        
+ *         var example = new Authorizer("example", AuthorizerArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
- *             .authorizerType("REQUEST")
+ *             .authorizerType("REQUEST")
  *             .authorizerUri(exampleAwsLambdaFunction.invokeArn())
- *             .identitySources("$request.header.Authorization")
- *             .name("example-authorizer")
- *             .authorizerPayloadFormatVersion("2.0")
+ *             .identitySources("$request.header.Authorization")
+ *             .name("example-authorizer")
+ *             .authorizerPayloadFormatVersion("2.0")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/DomainName.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/DomainName.java index c2ee2d01ed0..3ea3a77555b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/DomainName.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/DomainName.java @@ -29,7 +29,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,24 +52,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainName("example", DomainNameArgs.builder()        
- *             .domainName("ws-api.example.com")
+ *         var example = new DomainName("example", DomainNameArgs.builder()        
+ *             .domainName("ws-api.example.com")
  *             .domainNameConfiguration(DomainNameDomainNameConfigurationArgs.builder()
  *                 .certificateArn(exampleAwsAcmCertificate.arn())
- *                 .endpointType("REGIONAL")
- *                 .securityPolicy("TLS_1_2")
+ *                 .endpointType("REGIONAL")
+ *                 .securityPolicy("TLS_1_2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Associated Route 53 Resource Record * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,29 +96,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainName("example", DomainNameArgs.builder()        
- *             .domainName("http-api.example.com")
+ *         var example = new DomainName("example", DomainNameArgs.builder()        
+ *             .domainName("http-api.example.com")
  *             .domainNameConfiguration(DomainNameDomainNameConfigurationArgs.builder()
  *                 .certificateArn(exampleAwsAcmCertificate.arn())
- *                 .endpointType("REGIONAL")
- *                 .securityPolicy("TLS_1_2")
+ *                 .endpointType("REGIONAL")
+ *                 .securityPolicy("TLS_1_2")
  *                 .build())
  *             .build());
  * 
- *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
+ *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
  *             .name(example.domainName())
- *             .type("A")
+ *             .type("A")
  *             .zoneId(exampleAwsRoute53Zone.zoneId())
  *             .aliases(RecordAliasArgs.builder()
- *                 .name(example.domainNameConfiguration().applyValue(domainNameConfiguration -> domainNameConfiguration.targetDomainName()))
- *                 .zoneId(example.domainNameConfiguration().applyValue(domainNameConfiguration -> domainNameConfiguration.hostedZoneId()))
+ *                 .name(example.domainNameConfiguration().applyValue(domainNameConfiguration -> domainNameConfiguration.targetDomainName()))
+ *                 .zoneId(example.domainNameConfiguration().applyValue(domainNameConfiguration -> domainNameConfiguration.hostedZoneId()))
  *                 .evaluateTargetHealth(false)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Integration.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Integration.java index c2644efddb1..57f90def35d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Integration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Integration.java @@ -28,7 +28,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,20 +50,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Integration("example", IntegrationArgs.builder()        
+ *         var example = new Integration("example", IntegrationArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
- *             .integrationType("MOCK")
+ *             .integrationType("MOCK")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Integration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,34 +89,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Function("example", FunctionArgs.builder()        
- *             .code(new FileArchive("example.zip"))
- *             .name("Example")
+ *         var example = new Function("example", FunctionArgs.builder()        
+ *             .code(new FileArchive("example.zip"))
+ *             .name("Example")
  *             .role(exampleAwsIamRole.arn())
- *             .handler("index.handler")
- *             .runtime("nodejs16.x")
+ *             .handler("index.handler")
+ *             .runtime("nodejs16.x")
  *             .build());
  * 
- *         var exampleIntegration = new Integration("exampleIntegration", IntegrationArgs.builder()        
+ *         var exampleIntegration = new Integration("exampleIntegration", IntegrationArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
- *             .integrationType("AWS_PROXY")
- *             .connectionType("INTERNET")
- *             .contentHandlingStrategy("CONVERT_TO_TEXT")
- *             .description("Lambda example")
- *             .integrationMethod("POST")
+ *             .integrationType("AWS_PROXY")
+ *             .connectionType("INTERNET")
+ *             .contentHandlingStrategy("CONVERT_TO_TEXT")
+ *             .description("Lambda example")
+ *             .integrationMethod("POST")
  *             .integrationUri(example.invokeArn())
- *             .passthroughBehavior("WHEN_NO_MATCH")
+ *             .passthroughBehavior("WHEN_NO_MATCH")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS Service Integration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -134,27 +139,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Integration("example", IntegrationArgs.builder()        
+ *         var example = new Integration("example", IntegrationArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
  *             .credentialsArn(exampleAwsIamRole.arn())
- *             .description("SQS example")
- *             .integrationType("AWS_PROXY")
- *             .integrationSubtype("SQS-SendMessage")
+ *             .description("SQS example")
+ *             .integrationType("AWS_PROXY")
+ *             .integrationSubtype("SQS-SendMessage")
  *             .requestParameters(Map.ofEntries(
- *                 Map.entry("QueueUrl", "$request.header.queueUrl"),
- *                 Map.entry("MessageBody", "$request.body.message")
+ *                 Map.entry("QueueUrl", "$request.header.queueUrl"),
+ *                 Map.entry("MessageBody", "$request.body.message")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Private Integration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -177,36 +184,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Integration("example", IntegrationArgs.builder()        
+ *         var example = new Integration("example", IntegrationArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
  *             .credentialsArn(exampleAwsIamRole.arn())
- *             .description("Example with a load balancer")
- *             .integrationType("HTTP_PROXY")
+ *             .description("Example with a load balancer")
+ *             .integrationType("HTTP_PROXY")
  *             .integrationUri(exampleAwsLbListener.arn())
- *             .integrationMethod("ANY")
- *             .connectionType("VPC_LINK")
+ *             .integrationMethod("ANY")
+ *             .connectionType("VPC_LINK")
  *             .connectionId(exampleAwsApigatewayv2VpcLink.id())
  *             .tlsConfig(IntegrationTlsConfigArgs.builder()
- *                 .serverNameToVerify("example.com")
+ *                 .serverNameToVerify("example.com")
  *                 .build())
  *             .requestParameters(Map.ofEntries(
- *                 Map.entry("append:header.authforintegration", "$context.authorizer.authorizerResponse"),
- *                 Map.entry("overwrite:path", "staticValueForIntegration")
+ *                 Map.entry("append:header.authforintegration", "$context.authorizer.authorizerResponse"),
+ *                 Map.entry("overwrite:path", "staticValueForIntegration")
  *             ))
  *             .responseParameters(            
  *                 IntegrationResponseParameterArgs.builder()
  *                     .statusCode(403)
- *                     .mappings(Map.of("append:header.auth", "$context.authorizer.authorizerResponse"))
+ *                     .mappings(Map.of("append:header.auth", "$context.authorizer.authorizerResponse"))
  *                     .build(),
  *                 IntegrationResponseParameterArgs.builder()
  *                     .statusCode(200)
- *                     .mappings(Map.of("overwrite:statuscode", "204"))
+ *                     .mappings(Map.of("overwrite:statuscode", "204"))
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/IntegrationResponse.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/IntegrationResponse.java index efedbf1ef73..9d57da7bc23 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/IntegrationResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/IntegrationResponse.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,15 +46,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new IntegrationResponse("example", IntegrationResponseArgs.builder()        
+ *         var example = new IntegrationResponse("example", IntegrationResponseArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
  *             .integrationId(exampleAwsApigatewayv2Integration.id())
- *             .integrationResponseKey("/200/")
+ *             .integrationResponseKey("/200/")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Model.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Model.java index 5b38dfcc7fc..e5c1d8aed2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Model.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Model.java @@ -22,7 +22,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Model("example", ModelArgs.builder()        
+ *         var example = new Model("example", ModelArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
- *             .contentType("application/json")
- *             .name("example")
+ *             .contentType("application/json")
+ *             .name("example")
  *             .schema(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("$schema", "http://json-schema.org/draft-04/schema#"),
- *                     jsonProperty("title", "ExampleModel"),
- *                     jsonProperty("type", "object"),
- *                     jsonProperty("properties", jsonObject(
- *                         jsonProperty("id", jsonObject(
- *                             jsonProperty("type", "string")
+ *                     jsonProperty("$schema", "http://json-schema.org/draft-04/schema#"),
+ *                     jsonProperty("title", "ExampleModel"),
+ *                     jsonProperty("type", "object"),
+ *                     jsonProperty("properties", jsonObject(
+ *                         jsonProperty("id", jsonObject(
+ *                             jsonProperty("type", "string")
  *                         ))
  *                     ))
  *                 )))
@@ -63,7 +64,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Route.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Route.java index e7742f268d3..ddab8345412 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Route.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Route.java @@ -27,7 +27,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,26 +51,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Api("example", ApiArgs.builder()        
- *             .name("example-websocket-api")
- *             .protocolType("WEBSOCKET")
- *             .routeSelectionExpression("$request.body.action")
+ *         var example = new Api("example", ApiArgs.builder()        
+ *             .name("example-websocket-api")
+ *             .protocolType("WEBSOCKET")
+ *             .routeSelectionExpression("$request.body.action")
  *             .build());
  * 
- *         var exampleRoute = new Route("exampleRoute", RouteArgs.builder()        
+ *         var exampleRoute = new Route("exampleRoute", RouteArgs.builder()        
  *             .apiId(example.id())
- *             .routeKey("$default")
+ *             .routeKey("$default")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### HTTP Proxy Integration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,27 +97,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Api("example", ApiArgs.builder()        
- *             .name("example-http-api")
- *             .protocolType("HTTP")
+ *         var example = new Api("example", ApiArgs.builder()        
+ *             .name("example-http-api")
+ *             .protocolType("HTTP")
  *             .build());
  * 
- *         var exampleIntegration = new Integration("exampleIntegration", IntegrationArgs.builder()        
+ *         var exampleIntegration = new Integration("exampleIntegration", IntegrationArgs.builder()        
  *             .apiId(example.id())
- *             .integrationType("HTTP_PROXY")
- *             .integrationMethod("ANY")
- *             .integrationUri("https://example.com/{proxy}")
+ *             .integrationType("HTTP_PROXY")
+ *             .integrationMethod("ANY")
+ *             .integrationUri("https://example.com/{proxy}")
  *             .build());
  * 
- *         var exampleRoute = new Route("exampleRoute", RouteArgs.builder()        
+ *         var exampleRoute = new Route("exampleRoute", RouteArgs.builder()        
  *             .apiId(example.id())
- *             .routeKey("ANY /example/{proxy+}")
- *             .target(exampleIntegration.id().applyValue(id -> String.format("integrations/%s", id)))
+ *             .routeKey("ANY /example/{proxy+}")
+ *             .target(exampleIntegration.id().applyValue(id -> String.format("integrations/%s", id)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/RouteResponse.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/RouteResponse.java index c853cc7cc84..562214bdf87 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/RouteResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/RouteResponse.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,15 +46,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteResponse("example", RouteResponseArgs.builder()        
+ *         var example = new RouteResponse("example", RouteResponseArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
  *             .routeId(exampleAwsApigatewayv2Route.id())
- *             .routeResponseKey("$default")
+ *             .routeResponseKey("$default")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Enabling Two-Way Communication diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Stage.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Stage.java index 35b03edac96..07bdbd20868 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Stage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/Stage.java @@ -29,7 +29,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Stage("example", StageArgs.builder()        
+ *         var example = new Stage("example", StageArgs.builder()        
  *             .apiId(exampleAwsApigatewayv2Api.id())
- *             .name("example-stage")
+ *             .name("example-stage")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -190,7 +192,7 @@ public Output> description() { } /** * ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute. - * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -199,7 +201,7 @@ public Output> description() { /** * @return ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute. - * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/VpcLink.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/VpcLink.java index 6e69e0b1c34..2a291927cf7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/VpcLink.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/VpcLink.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcLink("example", VpcLinkArgs.builder()        
- *             .name("example")
+ *         var example = new VpcLink("example", VpcLinkArgs.builder()        
+ *             .name("example")
  *             .securityGroupIds(exampleAwsSecurityGroup.id())
  *             .subnetIds(exampleAwsSubnets.ids())
- *             .tags(Map.of("Usage", "example"))
+ *             .tags(Map.of("Usage", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/ApiState.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/ApiState.java index 290f2b25751..9b29cfc605b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/ApiState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/ApiState.java @@ -148,7 +148,7 @@ public Optional> disableExecuteApiEndpoint() { /** * ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -157,7 +157,7 @@ public Optional> disableExecuteApiEndpoint() { /** * @return ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -533,7 +533,7 @@ public Builder disableExecuteApiEndpoint(Boolean disableExecuteApiEndpoint) { /** * @param executionArn ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * * @return builder @@ -546,7 +546,7 @@ public Builder executionArn(@Nullable Output executionArn) { /** * @param executionArn ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/StageState.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/StageState.java index 4a79f6ec2b2..bc2deb47bfc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/StageState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/inputs/StageState.java @@ -147,7 +147,7 @@ public Optional> description() { /** * ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute. - * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -156,7 +156,7 @@ public Optional> description() { /** * @return ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute. - * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -480,7 +480,7 @@ public Builder description(String description) { /** * @param executionArn ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute. - * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * * @return builder @@ -493,7 +493,7 @@ public Builder executionArn(@Nullable Output executionArn) { /** * @param executionArn ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute. - * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * For WebSocket APIs this attribute can additionally be used in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/outputs/GetApiResult.java b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/outputs/GetApiResult.java index f2f41f53e56..f1abdd6b257 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/outputs/GetApiResult.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apigatewayv2/outputs/GetApiResult.java @@ -49,7 +49,7 @@ public final class GetApiResult { private Boolean disableExecuteApiEndpoint; /** * @return ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ @@ -135,7 +135,7 @@ public Boolean disableExecuteApiEndpoint() { } /** * @return ARN prefix to be used in an `aws.lambda.Permission`'s `source_arn` attribute - * or in an `aws.iam.Policy` to authorize access to the [`@connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). + * or in an `aws.iam.Policy` to authorize access to the [`{@literal @}connections` API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html). * See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html) for details. * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Policy.java index 31996feb43a..47be18ffd80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Policy.java @@ -25,7 +25,8 @@ * ### DynamoDB Table Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,23 +51,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dynamodbTableReadTarget = new Target("dynamodbTableReadTarget", TargetArgs.builder()        
+ *         var dynamodbTableReadTarget = new Target("dynamodbTableReadTarget", TargetArgs.builder()        
  *             .maxCapacity(100)
  *             .minCapacity(5)
- *             .resourceId("table/tableName")
- *             .scalableDimension("dynamodb:table:ReadCapacityUnits")
- *             .serviceNamespace("dynamodb")
+ *             .resourceId("table/tableName")
+ *             .scalableDimension("dynamodb:table:ReadCapacityUnits")
+ *             .serviceNamespace("dynamodb")
  *             .build());
  * 
- *         var dynamodbTableReadPolicy = new Policy("dynamodbTableReadPolicy", PolicyArgs.builder()        
- *             .name(dynamodbTableReadTarget.resourceId().applyValue(resourceId -> String.format("DynamoDBReadCapacityUtilization:%s", resourceId)))
- *             .policyType("TargetTrackingScaling")
+ *         var dynamodbTableReadPolicy = new Policy("dynamodbTableReadPolicy", PolicyArgs.builder()        
+ *             .name(dynamodbTableReadTarget.resourceId().applyValue(resourceId -> String.format("DynamoDBReadCapacityUtilization:%s", resourceId)))
+ *             .policyType("TargetTrackingScaling")
  *             .resourceId(dynamodbTableReadTarget.resourceId())
  *             .scalableDimension(dynamodbTableReadTarget.scalableDimension())
  *             .serviceNamespace(dynamodbTableReadTarget.serviceNamespace())
  *             .targetTrackingScalingPolicyConfiguration(PolicyTargetTrackingScalingPolicyConfigurationArgs.builder()
  *                 .predefinedMetricSpecification(PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs.builder()
- *                     .predefinedMetricType("DynamoDBReadCapacityUtilization")
+ *                     .predefinedMetricType("DynamoDBReadCapacityUtilization")
  *                     .build())
  *                 .targetValue(70)
  *                 .build())
@@ -74,7 +75,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ECS Service Autoscaling @@ -85,7 +87,8 @@ * ### Preserve desired count when updating an autoscaled ECS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -106,22 +109,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ecsService = new Service("ecsService", ServiceArgs.builder()        
- *             .name("serviceName")
- *             .cluster("clusterName")
- *             .taskDefinition("taskDefinitionFamily:1")
+ *         var ecsService = new Service("ecsService", ServiceArgs.builder()        
+ *             .name("serviceName")
+ *             .cluster("clusterName")
+ *             .taskDefinition("taskDefinitionFamily:1")
  *             .desiredCount(2)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Aurora Read Replica Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -146,23 +151,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replicas = new Target("replicas", TargetArgs.builder()        
- *             .serviceNamespace("rds")
- *             .scalableDimension("rds:cluster:ReadReplicaCount")
- *             .resourceId(String.format("cluster:%s", example.id()))
+ *         var replicas = new Target("replicas", TargetArgs.builder()        
+ *             .serviceNamespace("rds")
+ *             .scalableDimension("rds:cluster:ReadReplicaCount")
+ *             .resourceId(String.format("cluster:%s", example.id()))
  *             .minCapacity(1)
  *             .maxCapacity(15)
  *             .build());
  * 
- *         var replicasPolicy = new Policy("replicasPolicy", PolicyArgs.builder()        
- *             .name("cpu-auto-scaling")
+ *         var replicasPolicy = new Policy("replicasPolicy", PolicyArgs.builder()        
+ *             .name("cpu-auto-scaling")
  *             .serviceNamespace(replicas.serviceNamespace())
  *             .scalableDimension(replicas.scalableDimension())
  *             .resourceId(replicas.resourceId())
- *             .policyType("TargetTrackingScaling")
+ *             .policyType("TargetTrackingScaling")
  *             .targetTrackingScalingPolicyConfiguration(PolicyTargetTrackingScalingPolicyConfigurationArgs.builder()
  *                 .predefinedMetricSpecification(PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs.builder()
- *                     .predefinedMetricType("RDSReaderAverageCPUUtilization")
+ *                     .predefinedMetricType("RDSReaderAverageCPUUtilization")
  *                     .build())
  *                 .targetValue(75)
  *                 .scaleInCooldown(300)
@@ -172,13 +177,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create target tracking scaling policy using metric math * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -203,17 +210,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ecsTarget = new Target("ecsTarget", TargetArgs.builder()        
+ *         var ecsTarget = new Target("ecsTarget", TargetArgs.builder()        
  *             .maxCapacity(4)
  *             .minCapacity(1)
- *             .resourceId("service/clusterName/serviceName")
- *             .scalableDimension("ecs:service:DesiredCount")
- *             .serviceNamespace("ecs")
+ *             .resourceId("service/clusterName/serviceName")
+ *             .scalableDimension("ecs:service:DesiredCount")
+ *             .serviceNamespace("ecs")
  *             .build());
  * 
- *         var example = new Policy("example", PolicyArgs.builder()        
- *             .name("foo")
- *             .policyType("TargetTrackingScaling")
+ *         var example = new Policy("example", PolicyArgs.builder()        
+ *             .name("foo")
+ *             .policyType("TargetTrackingScaling")
  *             .resourceId(ecsTarget.resourceId())
  *             .scalableDimension(ecsTarget.scalableDimension())
  *             .serviceNamespace(ecsTarget.serviceNamespace())
@@ -222,46 +229,46 @@
  *                 .customizedMetricSpecification(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs.builder()
  *                     .metrics(                    
  *                         PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.builder()
- *                             .label("Get the queue size (the number of messages waiting to be processed)")
- *                             .id("m1")
+ *                             .label("Get the queue size (the number of messages waiting to be processed)")
+ *                             .id("m1")
  *                             .metricStat(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()
  *                                 .metric(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()
- *                                     .metricName("ApproximateNumberOfMessagesVisible")
- *                                     .namespace("AWS/SQS")
+ *                                     .metricName("ApproximateNumberOfMessagesVisible")
+ *                                     .namespace("AWS/SQS")
  *                                     .dimensions(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()
- *                                         .name("QueueName")
- *                                         .value("my-queue")
+ *                                         .name("QueueName")
+ *                                         .value("my-queue")
  *                                         .build())
  *                                     .build())
- *                                 .stat("Sum")
+ *                                 .stat("Sum")
  *                                 .build())
  *                             .returnData(false)
  *                             .build(),
  *                         PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.builder()
- *                             .label("Get the ECS running task count (the number of currently running tasks)")
- *                             .id("m2")
+ *                             .label("Get the ECS running task count (the number of currently running tasks)")
+ *                             .id("m2")
  *                             .metricStat(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()
  *                                 .metric(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()
- *                                     .metricName("RunningTaskCount")
- *                                     .namespace("ECS/ContainerInsights")
+ *                                     .metricName("RunningTaskCount")
+ *                                     .namespace("ECS/ContainerInsights")
  *                                     .dimensions(                                    
  *                                         PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()
- *                                             .name("ClusterName")
- *                                             .value("default")
+ *                                             .name("ClusterName")
+ *                                             .value("default")
  *                                             .build(),
  *                                         PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()
- *                                             .name("ServiceName")
- *                                             .value("web-app")
+ *                                             .name("ServiceName")
+ *                                             .value("web-app")
  *                                             .build())
  *                                     .build())
- *                                 .stat("Average")
+ *                                 .stat("Average")
  *                                 .build())
  *                             .returnData(false)
  *                             .build(),
  *                         PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.builder()
- *                             .label("Calculate the backlog per instance")
- *                             .id("e1")
- *                             .expression("m1 / m2")
+ *                             .label("Calculate the backlog per instance")
+ *                             .id("e1")
+ *                             .expression("m1 / m2")
  *                             .returnData(true)
  *                             .build())
  *                     .build())
@@ -270,13 +277,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### MSK / Kafka Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -301,23 +310,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mskTarget = new Target("mskTarget", TargetArgs.builder()        
- *             .serviceNamespace("kafka")
- *             .scalableDimension("kafka:broker-storage:VolumeSize")
+ *         var mskTarget = new Target("mskTarget", TargetArgs.builder()        
+ *             .serviceNamespace("kafka")
+ *             .scalableDimension("kafka:broker-storage:VolumeSize")
  *             .resourceId(example.arn())
  *             .minCapacity(1)
  *             .maxCapacity(8)
  *             .build());
  * 
- *         var targets = new Policy("targets", PolicyArgs.builder()        
- *             .name("storage-size-auto-scaling")
+ *         var targets = new Policy("targets", PolicyArgs.builder()        
+ *             .name("storage-size-auto-scaling")
  *             .serviceNamespace(mskTarget.serviceNamespace())
  *             .scalableDimension(mskTarget.scalableDimension())
  *             .resourceId(mskTarget.resourceId())
- *             .policyType("TargetTrackingScaling")
+ *             .policyType("TargetTrackingScaling")
  *             .targetTrackingScalingPolicyConfiguration(PolicyTargetTrackingScalingPolicyConfigurationArgs.builder()
  *                 .predefinedMetricSpecification(PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs.builder()
- *                     .predefinedMetricType("KafkaBrokerStorageUtilization")
+ *                     .predefinedMetricType("KafkaBrokerStorageUtilization")
  *                     .build())
  *                 .targetValue(55)
  *                 .build())
@@ -325,7 +334,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/ScheduledAction.java b/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/ScheduledAction.java index a50a214526f..9bbc30c5b23 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/ScheduledAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/ScheduledAction.java @@ -23,7 +23,8 @@ * ### DynamoDB Table Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dynamodb = new Target("dynamodb", TargetArgs.builder()        
+ *         var dynamodb = new Target("dynamodb", TargetArgs.builder()        
  *             .maxCapacity(100)
  *             .minCapacity(5)
- *             .resourceId("table/tableName")
- *             .scalableDimension("dynamodb:table:ReadCapacityUnits")
- *             .serviceNamespace("dynamodb")
+ *             .resourceId("table/tableName")
+ *             .scalableDimension("dynamodb:table:ReadCapacityUnits")
+ *             .serviceNamespace("dynamodb")
  *             .build());
  * 
- *         var dynamodbScheduledAction = new ScheduledAction("dynamodbScheduledAction", ScheduledActionArgs.builder()        
- *             .name("dynamodb")
+ *         var dynamodbScheduledAction = new ScheduledAction("dynamodbScheduledAction", ScheduledActionArgs.builder()        
+ *             .name("dynamodb")
  *             .serviceNamespace(dynamodb.serviceNamespace())
  *             .resourceId(dynamodb.resourceId())
  *             .scalableDimension(dynamodb.scalableDimension())
- *             .schedule("at(2006-01-02T15:04:05)")
+ *             .schedule("at(2006-01-02T15:04:05)")
  *             .scalableTargetAction(ScheduledActionScalableTargetActionArgs.builder()
  *                 .minCapacity(1)
  *                 .maxCapacity(200)
@@ -69,13 +70,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ECS Service Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -99,20 +102,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ecs = new Target("ecs", TargetArgs.builder()        
+ *         var ecs = new Target("ecs", TargetArgs.builder()        
  *             .maxCapacity(4)
  *             .minCapacity(1)
- *             .resourceId("service/clusterName/serviceName")
- *             .scalableDimension("ecs:service:DesiredCount")
- *             .serviceNamespace("ecs")
+ *             .resourceId("service/clusterName/serviceName")
+ *             .scalableDimension("ecs:service:DesiredCount")
+ *             .serviceNamespace("ecs")
  *             .build());
  * 
- *         var ecsScheduledAction = new ScheduledAction("ecsScheduledAction", ScheduledActionArgs.builder()        
- *             .name("ecs")
+ *         var ecsScheduledAction = new ScheduledAction("ecsScheduledAction", ScheduledActionArgs.builder()        
+ *             .name("ecs")
  *             .serviceNamespace(ecs.serviceNamespace())
  *             .resourceId(ecs.resourceId())
  *             .scalableDimension(ecs.scalableDimension())
- *             .schedule("at(2006-01-02T15:04:05)")
+ *             .schedule("at(2006-01-02T15:04:05)")
  *             .scalableTargetAction(ScheduledActionScalableTargetActionArgs.builder()
  *                 .minCapacity(1)
  *                 .maxCapacity(10)
@@ -121,7 +124,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Target.java b/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Target.java index becc3708f34..1a75a808c92 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Target.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appautoscaling/Target.java @@ -28,7 +28,8 @@ * ### DynamoDB Table Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,23 +50,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dynamodbTableReadTarget = new Target("dynamodbTableReadTarget", TargetArgs.builder()        
+ *         var dynamodbTableReadTarget = new Target("dynamodbTableReadTarget", TargetArgs.builder()        
  *             .maxCapacity(100)
  *             .minCapacity(5)
- *             .resourceId(String.format("table/%s", example.name()))
- *             .scalableDimension("dynamodb:table:ReadCapacityUnits")
- *             .serviceNamespace("dynamodb")
+ *             .resourceId(String.format("table/%s", example.name()))
+ *             .scalableDimension("dynamodb:table:ReadCapacityUnits")
+ *             .serviceNamespace("dynamodb")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### DynamoDB Index Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,23 +89,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dynamodbIndexReadTarget = new Target("dynamodbIndexReadTarget", TargetArgs.builder()        
+ *         var dynamodbIndexReadTarget = new Target("dynamodbIndexReadTarget", TargetArgs.builder()        
  *             .maxCapacity(100)
  *             .minCapacity(5)
- *             .resourceId(String.format("table/%s/index/%s", example.name(),indexName))
- *             .scalableDimension("dynamodb:index:ReadCapacityUnits")
- *             .serviceNamespace("dynamodb")
+ *             .resourceId(String.format("table/%s/index/%s", example.name(),indexName))
+ *             .scalableDimension("dynamodb:index:ReadCapacityUnits")
+ *             .serviceNamespace("dynamodb")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ECS Service Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,23 +128,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ecsTarget = new Target("ecsTarget", TargetArgs.builder()        
+ *         var ecsTarget = new Target("ecsTarget", TargetArgs.builder()        
  *             .maxCapacity(4)
  *             .minCapacity(1)
- *             .resourceId(String.format("service/%s/%s", example.name(),exampleAwsEcsService.name()))
- *             .scalableDimension("ecs:service:DesiredCount")
- *             .serviceNamespace("ecs")
+ *             .resourceId(String.format("service/%s/%s", example.name(),exampleAwsEcsService.name()))
+ *             .scalableDimension("ecs:service:DesiredCount")
+ *             .serviceNamespace("ecs")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Aurora Read Replica Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -160,23 +167,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replicas = new Target("replicas", TargetArgs.builder()        
- *             .serviceNamespace("rds")
- *             .scalableDimension("rds:cluster:ReadReplicaCount")
- *             .resourceId(String.format("cluster:%s", example.id()))
+ *         var replicas = new Target("replicas", TargetArgs.builder()        
+ *             .serviceNamespace("rds")
+ *             .scalableDimension("rds:cluster:ReadReplicaCount")
+ *             .resourceId(String.format("cluster:%s", example.id()))
  *             .minCapacity(1)
  *             .maxCapacity(15)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Suppressing `tags_all` Differences For Older Resources * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -197,23 +206,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ecsTarget = new Target("ecsTarget", TargetArgs.builder()        
+ *         var ecsTarget = new Target("ecsTarget", TargetArgs.builder()        
  *             .maxCapacity(4)
  *             .minCapacity(1)
- *             .resourceId(String.format("service/%s/%s", example.name(),exampleAwsEcsService.name()))
- *             .scalableDimension("ecs:service:DesiredCount")
- *             .serviceNamespace("ecs")
+ *             .resourceId(String.format("service/%s/%s", example.name(),exampleAwsEcsService.name()))
+ *             .scalableDimension("ecs:service:DesiredCount")
+ *             .serviceNamespace("ecs")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### MSK / Kafka Autoscaling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -234,9 +245,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mskTarget = new Target("mskTarget", TargetArgs.builder()        
- *             .serviceNamespace("kafka")
- *             .scalableDimension("kafka:broker-storage:VolumeSize")
+ *         var mskTarget = new Target("mskTarget", TargetArgs.builder()        
+ *             .serviceNamespace("kafka")
+ *             .scalableDimension("kafka:broker-storage:VolumeSize")
  *             .resourceId(example.arn())
  *             .minCapacity(1)
  *             .maxCapacity(8)
@@ -244,7 +255,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/AppconfigFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/AppconfigFunctions.java index 289015eed39..348c4241975 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/AppconfigFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/AppconfigFunctions.java @@ -31,7 +31,8 @@ public final class AppconfigFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,13 +54,14 @@ public final class AppconfigFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getConfigurationProfile(GetConfigurationProfileArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .configurationProfileId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .configurationProfileId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -74,7 +76,8 @@ public static Output getConfigurationProfile(GetC * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -96,13 +99,14 @@ public static Output getConfigurationProfile(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getConfigurationProfile(GetConfigurationProfileArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .configurationProfileId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .configurationProfileId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -117,7 +121,8 @@ public static CompletableFuture getConfigurationP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -139,13 +144,14 @@ public static CompletableFuture getConfigurationP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getConfigurationProfile(GetConfigurationProfileArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .configurationProfileId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .configurationProfileId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -160,7 +166,8 @@ public static Output getConfigurationProfile(GetC * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -182,13 +189,14 @@ public static Output getConfigurationProfile(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getConfigurationProfile(GetConfigurationProfileArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .configurationProfileId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .configurationProfileId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -263,7 +271,8 @@ public static CompletableFuture getConfiguration * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -285,13 +294,14 @@ public static CompletableFuture getConfiguration
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironment(GetEnvironmentArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .environmentId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .environmentId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -306,7 +316,8 @@ public static Output getEnvironment(GetEnvironmentArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -328,13 +339,14 @@ public static Output getEnvironment(GetEnvironmentArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironment(GetEnvironmentArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .environmentId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .environmentId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -349,7 +361,8 @@ public static CompletableFuture getEnvironmentPlain(GetEnv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -371,13 +384,14 @@ public static CompletableFuture getEnvironmentPlain(GetEnv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironment(GetEnvironmentArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .environmentId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .environmentId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -392,7 +406,8 @@ public static Output getEnvironment(GetEnvironmentArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,13 +429,14 @@ public static Output getEnvironment(GetEnvironmentArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironment(GetEnvironmentArgs.builder()
-     *             .applicationId("b5d5gpj")
-     *             .environmentId("qrbb1c1")
+     *             .applicationId("b5d5gpj")
+     *             .environmentId("qrbb1c1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +452,8 @@ public static CompletableFuture getEnvironmentPlain(GetEnv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,12 +475,13 @@ public static CompletableFuture getEnvironmentPlain(GetEnv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironments(GetEnvironmentsArgs.builder()
-     *             .applicationId("a1d3rpe")
+     *             .applicationId("a1d3rpe")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -479,7 +497,8 @@ public static Output getEnvironments(GetEnvironmentsArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -501,12 +520,13 @@ public static Output getEnvironments(GetEnvironmentsArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironments(GetEnvironmentsArgs.builder()
-     *             .applicationId("a1d3rpe")
+     *             .applicationId("a1d3rpe")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -522,7 +542,8 @@ public static CompletableFuture getEnvironmentsPlain(GetE * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -544,12 +565,13 @@ public static CompletableFuture getEnvironmentsPlain(GetE
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironments(GetEnvironmentsArgs.builder()
-     *             .applicationId("a1d3rpe")
+     *             .applicationId("a1d3rpe")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -565,7 +587,8 @@ public static Output getEnvironments(GetEnvironmentsArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -587,12 +610,13 @@ public static Output getEnvironments(GetEnvironmentsArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppconfigFunctions.getEnvironments(GetEnvironmentsArgs.builder()
-     *             .applicationId("a1d3rpe")
+     *             .applicationId("a1d3rpe")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Application.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Application.java index f4b3f2816a4..462ccf012e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Application.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .name("example-application-tf")
- *             .description("Example AppConfig Application")
- *             .tags(Map.of("Type", "AppConfig Application"))
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .name("example-application-tf")
+ *             .description("Example AppConfig Application")
+ *             .tags(Map.of("Type", "AppConfig Application"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/ConfigurationProfile.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/ConfigurationProfile.java index f717cf837f8..4913467106f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/ConfigurationProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/ConfigurationProfile.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationProfile("example", ConfigurationProfileArgs.builder()        
+ *         var example = new ConfigurationProfile("example", ConfigurationProfileArgs.builder()        
  *             .applicationId(exampleAwsAppconfigApplication.id())
- *             .description("Example Configuration Profile")
- *             .name("example-configuration-profile-tf")
- *             .locationUri("hosted")
+ *             .description("Example Configuration Profile")
+ *             .name("example-configuration-profile-tf")
+ *             .locationUri("hosted")
  *             .validators(ConfigurationProfileValidatorArgs.builder()
  *                 .content(exampleAwsLambdaFunction.arn())
- *                 .type("LAMBDA")
+ *                 .type("LAMBDA")
  *                 .build())
- *             .tags(Map.of("Type", "AppConfig Configuration Profile"))
+ *             .tags(Map.of("Type", "AppConfig Configuration Profile"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Deployment.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Deployment.java index c4c0606bcbd..8bb75310422 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Deployment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Deployment.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,20 +44,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Deployment("example", DeploymentArgs.builder()        
+ *         var example = new Deployment("example", DeploymentArgs.builder()        
  *             .applicationId(exampleAwsAppconfigApplication.id())
  *             .configurationProfileId(exampleAwsAppconfigConfigurationProfile.configurationProfileId())
  *             .configurationVersion(exampleAwsAppconfigHostedConfigurationVersion.versionNumber())
  *             .deploymentStrategyId(exampleAwsAppconfigDeploymentStrategy.id())
- *             .description("My example deployment")
+ *             .description("My example deployment")
  *             .environmentId(exampleAwsAppconfigEnvironment.environmentId())
  *             .kmsKeyIdentifier(exampleAwsKmsKey.arn())
- *             .tags(Map.of("Type", "AppConfig Deployment"))
+ *             .tags(Map.of("Type", "AppConfig Deployment"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/DeploymentStrategy.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/DeploymentStrategy.java index 6381f4cfa2f..e3ffaa28bab 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/DeploymentStrategy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/DeploymentStrategy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DeploymentStrategy("example", DeploymentStrategyArgs.builder()        
- *             .name("example-deployment-strategy-tf")
- *             .description("Example Deployment Strategy")
+ *         var example = new DeploymentStrategy("example", DeploymentStrategyArgs.builder()        
+ *             .name("example-deployment-strategy-tf")
+ *             .description("Example Deployment Strategy")
  *             .deploymentDurationInMinutes(3)
  *             .finalBakeTimeInMinutes(4)
  *             .growthFactor(10)
- *             .growthType("LINEAR")
- *             .replicateTo("NONE")
- *             .tags(Map.of("Type", "AppConfig Deployment Strategy"))
+ *             .growthType("LINEAR")
+ *             .replicateTo("NONE")
+ *             .tags(Map.of("Type", "AppConfig Deployment Strategy"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Environment.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Environment.java index 883ecff8eae..2de36785dc7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Environment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Environment.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,26 +48,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
- *             .name("example-application-tf")
- *             .description("Example AppConfig Application")
- *             .tags(Map.of("Type", "AppConfig Application"))
+ *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
+ *             .name("example-application-tf")
+ *             .description("Example AppConfig Application")
+ *             .tags(Map.of("Type", "AppConfig Application"))
  *             .build());
  * 
- *         var example = new Environment("example", EnvironmentArgs.builder()        
- *             .name("example-environment-tf")
- *             .description("Example AppConfig Environment")
+ *         var example = new Environment("example", EnvironmentArgs.builder()        
+ *             .name("example-environment-tf")
+ *             .description("Example AppConfig Environment")
  *             .applicationId(exampleApplication.id())
  *             .monitors(EnvironmentMonitorArgs.builder()
  *                 .alarmArn(exampleAwsCloudwatchMetricAlarm.arn())
  *                 .alarmRoleArn(exampleAwsIamRole.arn())
  *                 .build())
- *             .tags(Map.of("Type", "AppConfig Environment"))
+ *             .tags(Map.of("Type", "AppConfig Environment"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/EventIntegration.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/EventIntegration.java index 4ae643f65fc..5a3665a6724 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/EventIntegration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/EventIntegration.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventIntegration("example", EventIntegrationArgs.builder()        
- *             .name("example-name")
- *             .description("Example Description")
- *             .eventbridgeBus("default")
+ *         var example = new EventIntegration("example", EventIntegrationArgs.builder()        
+ *             .name("example-name")
+ *             .description("Example Description")
+ *             .eventbridgeBus("default")
  *             .eventFilter(EventIntegrationEventFilterArgs.builder()
- *                 .source("aws.partner/examplepartner.com")
+ *                 .source("aws.partner/examplepartner.com")
  *                 .build())
- *             .tags(Map.of("Name", "Example Event Integration"))
+ *             .tags(Map.of("Name", "Example Event Integration"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Extension.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Extension.java index 5849fa5640c..f4c0afbdbc3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/Extension.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/Extension.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,42 +54,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testTopic = new Topic("testTopic", TopicArgs.builder()        
- *             .name("test")
+ *         var testTopic = new Topic("testTopic", TopicArgs.builder()        
+ *             .name("test")
  *             .build());
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("appconfig.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("appconfig.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .name("test")
- *             .assumeRolePolicy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .name("test")
+ *             .assumeRolePolicy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testExtension = new Extension("testExtension", ExtensionArgs.builder()        
- *             .name("test")
- *             .description("test description")
+ *         var testExtension = new Extension("testExtension", ExtensionArgs.builder()        
+ *             .name("test")
+ *             .description("test description")
  *             .actionPoints(ExtensionActionPointArgs.builder()
- *                 .point("ON_DEPLOYMENT_COMPLETE")
+ *                 .point("ON_DEPLOYMENT_COMPLETE")
  *                 .actions(ExtensionActionPointActionArgs.builder()
- *                     .name("test")
+ *                     .name("test")
  *                     .roleArn(testRole.arn())
  *                     .uri(testTopic.arn())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Type", "AppConfig Extension"))
+ *             .tags(Map.of("Type", "AppConfig Extension"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/ExtensionAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/ExtensionAssociation.java index a1ef2826a89..7b28e8942c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/ExtensionAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/ExtensionAssociation.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,51 +55,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testTopic = new Topic("testTopic", TopicArgs.builder()        
- *             .name("test")
+ *         var testTopic = new Topic("testTopic", TopicArgs.builder()        
+ *             .name("test")
  *             .build());
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("appconfig.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("appconfig.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .name("test")
- *             .assumeRolePolicy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .name("test")
+ *             .assumeRolePolicy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testExtension = new Extension("testExtension", ExtensionArgs.builder()        
- *             .name("test")
- *             .description("test description")
+ *         var testExtension = new Extension("testExtension", ExtensionArgs.builder()        
+ *             .name("test")
+ *             .description("test description")
  *             .actionPoints(ExtensionActionPointArgs.builder()
- *                 .point("ON_DEPLOYMENT_COMPLETE")
+ *                 .point("ON_DEPLOYMENT_COMPLETE")
  *                 .actions(ExtensionActionPointActionArgs.builder()
- *                     .name("test")
+ *                     .name("test")
  *                     .roleArn(testRole.arn())
  *                     .uri(testTopic.arn())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Type", "AppConfig Extension"))
+ *             .tags(Map.of("Type", "AppConfig Extension"))
  *             .build());
  * 
- *         var testApplication = new Application("testApplication", ApplicationArgs.builder()        
- *             .name("test")
+ *         var testApplication = new Application("testApplication", ApplicationArgs.builder()        
+ *             .name("test")
  *             .build());
  * 
- *         var testExtensionAssociation = new ExtensionAssociation("testExtensionAssociation", ExtensionAssociationArgs.builder()        
+ *         var testExtensionAssociation = new ExtensionAssociation("testExtensionAssociation", ExtensionAssociationArgs.builder()        
  *             .extensionArn(testExtension.arn())
  *             .resourceArn(testApplication.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appconfig/HostedConfigurationVersion.java b/sdk/java/src/main/java/com/pulumi/aws/appconfig/HostedConfigurationVersion.java index 9816ef339b9..71e06942d8b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appconfig/HostedConfigurationVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appconfig/HostedConfigurationVersion.java @@ -24,7 +24,8 @@ * ### Freeform * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,32 +47,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HostedConfigurationVersion("example", HostedConfigurationVersionArgs.builder()        
+ *         var example = new HostedConfigurationVersion("example", HostedConfigurationVersionArgs.builder()        
  *             .applicationId(exampleAwsAppconfigApplication.id())
  *             .configurationProfileId(exampleAwsAppconfigConfigurationProfile.configurationProfileId())
- *             .description("Example Freeform Hosted Configuration Version")
- *             .contentType("application/json")
+ *             .description("Example Freeform Hosted Configuration Version")
+ *             .contentType("application/json")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("foo", "bar"),
- *                     jsonProperty("fruit", jsonArray(
- *                         "apple", 
- *                         "pear", 
- *                         "orange"
+ *                     jsonProperty("foo", "bar"),
+ *                     jsonProperty("fruit", jsonArray(
+ *                         "apple", 
+ *                         "pear", 
+ *                         "orange"
  *                     )),
- *                     jsonProperty("isThingEnabled", true)
+ *                     jsonProperty("isThingEnabled", true)
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Feature Flags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,55 +96,56 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HostedConfigurationVersion("example", HostedConfigurationVersionArgs.builder()        
+ *         var example = new HostedConfigurationVersion("example", HostedConfigurationVersionArgs.builder()        
  *             .applicationId(exampleAwsAppconfigApplication.id())
  *             .configurationProfileId(exampleAwsAppconfigConfigurationProfile.configurationProfileId())
- *             .description("Example Feature Flag Configuration Version")
- *             .contentType("application/json")
+ *             .description("Example Feature Flag Configuration Version")
+ *             .contentType("application/json")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("flags", jsonObject(
- *                         jsonProperty("foo", jsonObject(
- *                             jsonProperty("name", "foo"),
- *                             jsonProperty("_deprecation", jsonObject(
- *                                 jsonProperty("status", "planned")
+ *                     jsonProperty("flags", jsonObject(
+ *                         jsonProperty("foo", jsonObject(
+ *                             jsonProperty("name", "foo"),
+ *                             jsonProperty("_deprecation", jsonObject(
+ *                                 jsonProperty("status", "planned")
  *                             ))
  *                         )),
- *                         jsonProperty("bar", jsonObject(
- *                             jsonProperty("name", "bar"),
- *                             jsonProperty("attributes", jsonObject(
- *                                 jsonProperty("someAttribute", jsonObject(
- *                                     jsonProperty("constraints", jsonObject(
- *                                         jsonProperty("type", "string"),
- *                                         jsonProperty("required", true)
+ *                         jsonProperty("bar", jsonObject(
+ *                             jsonProperty("name", "bar"),
+ *                             jsonProperty("attributes", jsonObject(
+ *                                 jsonProperty("someAttribute", jsonObject(
+ *                                     jsonProperty("constraints", jsonObject(
+ *                                         jsonProperty("type", "string"),
+ *                                         jsonProperty("required", true)
  *                                     ))
  *                                 )),
- *                                 jsonProperty("someOtherAttribute", jsonObject(
- *                                     jsonProperty("constraints", jsonObject(
- *                                         jsonProperty("type", "number"),
- *                                         jsonProperty("required", true)
+ *                                 jsonProperty("someOtherAttribute", jsonObject(
+ *                                     jsonProperty("constraints", jsonObject(
+ *                                         jsonProperty("type", "number"),
+ *                                         jsonProperty("required", true)
  *                                     ))
  *                                 ))
  *                             ))
  *                         ))
  *                     )),
- *                     jsonProperty("values", jsonObject(
- *                         jsonProperty("foo", jsonObject(
- *                             jsonProperty("enabled", "true")
+ *                     jsonProperty("values", jsonObject(
+ *                         jsonProperty("foo", jsonObject(
+ *                             jsonProperty("enabled", "true")
  *                         )),
- *                         jsonProperty("bar", jsonObject(
- *                             jsonProperty("enabled", "true"),
- *                             jsonProperty("someAttribute", "Hello World"),
- *                             jsonProperty("someOtherAttribute", 123)
+ *                         jsonProperty("bar", jsonObject(
+ *                             jsonProperty("enabled", "true"),
+ *                             jsonProperty("someAttribute", "Hello World"),
+ *                             jsonProperty("someOtherAttribute", 123)
  *                         ))
  *                     )),
- *                     jsonProperty("version", "1")
+ *                     jsonProperty("version", "1")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appflow/ConnectorProfile.java b/sdk/java/src/main/java/com/pulumi/aws/appflow/ConnectorProfile.java index 6901d1e5160..910aed8db29 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appflow/ConnectorProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appflow/ConnectorProfile.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,43 +62,43 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
- *             .name("AmazonRedshiftAllCommandsFullAccess")
+ *             .name("AmazonRedshiftAllCommandsFullAccess")
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example_role")
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example_role")
  *             .managedPolicyArns(test.arn())
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "ec2.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "ec2.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example_bucket")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example_bucket")
  *             .build());
  * 
- *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
- *             .clusterIdentifier("example_cluster")
- *             .databaseName("example_db")
- *             .masterUsername("exampleuser")
- *             .masterPassword("examplePassword123!")
- *             .nodeType("dc1.large")
- *             .clusterType("single-node")
+ *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
+ *             .clusterIdentifier("example_cluster")
+ *             .databaseName("example_db")
+ *             .masterUsername("exampleuser")
+ *             .masterPassword("examplePassword123!")
+ *             .nodeType("dc1.large")
+ *             .clusterType("single-node")
  *             .build());
  * 
- *         var exampleConnectorProfile = new ConnectorProfile("exampleConnectorProfile", ConnectorProfileArgs.builder()        
- *             .name("example_profile")
- *             .connectorType("Redshift")
- *             .connectionMode("Public")
+ *         var exampleConnectorProfile = new ConnectorProfile("exampleConnectorProfile", ConnectorProfileArgs.builder()        
+ *             .name("example_profile")
+ *             .connectorType("Redshift")
+ *             .connectionMode("Public")
  *             .connectorProfileConfig(ConnectorProfileConnectorProfileConfigArgs.builder()
  *                 .connectorProfileCredentials(ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsArgs.builder()
  *                     .redshift(ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsRedshiftArgs.builder()
@@ -108,10 +109,10 @@
  *                 .connectorProfileProperties(ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesArgs.builder()
  *                     .redshift(ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs.builder()
  *                         .bucketName(exampleBucketV2.name())
- *                         .databaseUrl(Output.tuple(exampleCluster.endpoint(), exampleCluster.databaseName()).applyValue(values -> {
+ *                         .databaseUrl(Output.tuple(exampleCluster.endpoint(), exampleCluster.databaseName()).applyValue(values -> {
  *                             var endpoint = values.t1;
  *                             var databaseName = values.t2;
- *                             return String.format("jdbc:redshift://%s/%s", endpoint,databaseName);
+ *                             return String.format("jdbc:redshift://%s/%s", endpoint,databaseName);
  *                         }))
  *                         .roleArn(exampleRole.arn())
  *                         .build())
@@ -121,7 +122,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appflow/Flow.java b/sdk/java/src/main/java/com/pulumi/aws/appflow/Flow.java index 13c3c250946..dea55cd0ed8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appflow/Flow.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appflow/Flow.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -66,108 +67,109 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleSourceBucketV2 = new BucketV2("exampleSourceBucketV2", BucketV2Args.builder()        
- *             .bucket("example-source")
+ *         var exampleSourceBucketV2 = new BucketV2("exampleSourceBucketV2", BucketV2Args.builder()        
+ *             .bucket("example-source")
  *             .build());
  * 
  *         final var exampleSource = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("AllowAppFlowSourceActions")
- *                 .effect("Allow")
+ *                 .sid("AllowAppFlowSourceActions")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("appflow.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("appflow.amazonaws.com")
  *                     .build())
  *                 .actions(                
- *                     "s3:ListBucket",
- *                     "s3:GetObject")
+ *                     "s3:ListBucket",
+ *                     "s3:GetObject")
  *                 .resources(                
- *                     "arn:aws:s3:::example-source",
- *                     "arn:aws:s3:::example-source/*")
+ *                     "arn:aws:s3:::example-source",
+ *                     "arn:aws:s3:::example-source/*")
  *                 .build())
  *             .build());
  * 
- *         var exampleSourceBucketPolicy = new BucketPolicy("exampleSourceBucketPolicy", BucketPolicyArgs.builder()        
+ *         var exampleSourceBucketPolicy = new BucketPolicy("exampleSourceBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(exampleSourceBucketV2.id())
- *             .policy(exampleSource.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(exampleSource.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var example = new BucketObjectv2("example", BucketObjectv2Args.builder()        
+ *         var example = new BucketObjectv2("example", BucketObjectv2Args.builder()        
  *             .bucket(exampleSourceBucketV2.id())
- *             .key("example_source.csv")
- *             .source(new FileAsset("example_source.csv"))
+ *             .key("example_source.csv")
+ *             .source(new FileAsset("example_source.csv"))
  *             .build());
  * 
- *         var exampleDestinationBucketV2 = new BucketV2("exampleDestinationBucketV2", BucketV2Args.builder()        
- *             .bucket("example-destination")
+ *         var exampleDestinationBucketV2 = new BucketV2("exampleDestinationBucketV2", BucketV2Args.builder()        
+ *             .bucket("example-destination")
  *             .build());
  * 
  *         final var exampleDestination = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("AllowAppFlowDestinationActions")
- *                 .effect("Allow")
+ *                 .sid("AllowAppFlowDestinationActions")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("appflow.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("appflow.amazonaws.com")
  *                     .build())
  *                 .actions(                
- *                     "s3:PutObject",
- *                     "s3:AbortMultipartUpload",
- *                     "s3:ListMultipartUploadParts",
- *                     "s3:ListBucketMultipartUploads",
- *                     "s3:GetBucketAcl",
- *                     "s3:PutObjectAcl")
+ *                     "s3:PutObject",
+ *                     "s3:AbortMultipartUpload",
+ *                     "s3:ListMultipartUploadParts",
+ *                     "s3:ListBucketMultipartUploads",
+ *                     "s3:GetBucketAcl",
+ *                     "s3:PutObjectAcl")
  *                 .resources(                
- *                     "arn:aws:s3:::example-destination",
- *                     "arn:aws:s3:::example-destination/*")
+ *                     "arn:aws:s3:::example-destination",
+ *                     "arn:aws:s3:::example-destination/*")
  *                 .build())
  *             .build());
  * 
- *         var exampleDestinationBucketPolicy = new BucketPolicy("exampleDestinationBucketPolicy", BucketPolicyArgs.builder()        
+ *         var exampleDestinationBucketPolicy = new BucketPolicy("exampleDestinationBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(exampleDestinationBucketV2.id())
- *             .policy(exampleDestination.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(exampleDestination.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleFlow = new Flow("exampleFlow", FlowArgs.builder()        
- *             .name("example")
+ *         var exampleFlow = new Flow("exampleFlow", FlowArgs.builder()        
+ *             .name("example")
  *             .sourceFlowConfig(FlowSourceFlowConfigArgs.builder()
- *                 .connectorType("S3")
+ *                 .connectorType("S3")
  *                 .sourceConnectorProperties(FlowSourceFlowConfigSourceConnectorPropertiesArgs.builder()
  *                     .s3(FlowSourceFlowConfigSourceConnectorPropertiesS3Args.builder()
  *                         .bucketName(exampleSourceBucketPolicy.bucket())
- *                         .bucketPrefix("example")
+ *                         .bucketPrefix("example")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .destinationFlowConfigs(FlowDestinationFlowConfigArgs.builder()
- *                 .connectorType("S3")
+ *                 .connectorType("S3")
  *                 .destinationConnectorProperties(FlowDestinationFlowConfigDestinationConnectorPropertiesArgs.builder()
  *                     .s3(FlowDestinationFlowConfigDestinationConnectorPropertiesS3Args.builder()
  *                         .bucketName(exampleDestinationBucketPolicy.bucket())
  *                         .s3OutputFormatConfig(FlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigArgs.builder()
  *                             .prefixConfig(FlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigPrefixConfigArgs.builder()
- *                                 .prefixType("PATH")
+ *                                 .prefixType("PATH")
  *                                 .build())
  *                             .build())
  *                         .build())
  *                     .build())
  *                 .build())
  *             .tasks(FlowTaskArgs.builder()
- *                 .sourceFields("exampleField")
- *                 .destinationField("exampleField")
- *                 .taskType("Map")
+ *                 .sourceFields("exampleField")
+ *                 .destinationField("exampleField")
+ *                 .taskType("Map")
  *                 .connectorOperators(FlowTaskConnectorOperatorArgs.builder()
- *                     .s3("NO_OP")
+ *                     .s3("NO_OP")
  *                     .build())
  *                 .build())
  *             .triggerConfig(FlowTriggerConfigArgs.builder()
- *                 .triggerType("OnDemand")
+ *                 .triggerType("OnDemand")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appflow/inputs/FlowTriggerConfigTriggerPropertiesScheduledArgs.java b/sdk/java/src/main/java/com/pulumi/aws/appflow/inputs/FlowTriggerConfigTriggerPropertiesScheduledArgs.java index b3b2be0b3a2..0c4319cd6c6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appflow/inputs/FlowTriggerConfigTriggerPropertiesScheduledArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appflow/inputs/FlowTriggerConfigTriggerPropertiesScheduledArgs.java @@ -111,7 +111,8 @@ public Optional> scheduleStartTime() { * Time zone used when referring to the date and time of a scheduled-triggered flow, such as `America/New_York`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,7 +134,7 @@ public Optional> scheduleStartTime() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Flow("example", FlowArgs.builder()        
+     *         var example = new Flow("example", FlowArgs.builder()        
      *             .triggerConfig(FlowTriggerConfigArgs.builder()
      *                 .scheduled(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
      *                 .build())
@@ -141,7 +142,8 @@ public Optional> scheduleStartTime() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +154,8 @@ public Optional> scheduleStartTime() { * @return Time zone used when referring to the date and time of a scheduled-triggered flow, such as `America/New_York`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,7 +177,7 @@ public Optional> scheduleStartTime() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Flow("example", FlowArgs.builder()        
+     *         var example = new Flow("example", FlowArgs.builder()        
      *             .triggerConfig(FlowTriggerConfigArgs.builder()
      *                 .scheduled(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
      *                 .build())
@@ -182,7 +185,8 @@ public Optional> scheduleStartTime() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -350,7 +354,8 @@ public Builder scheduleStartTime(String scheduleStartTime) { * @param timezone Time zone used when referring to the date and time of a scheduled-triggered flow, such as `America/New_York`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -372,7 +377,7 @@ public Builder scheduleStartTime(String scheduleStartTime) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var example = new Flow("example", FlowArgs.builder()        
+         *         var example = new Flow("example", FlowArgs.builder()        
          *             .triggerConfig(FlowTriggerConfigArgs.builder()
          *                 .scheduled(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
          *                 .build())
@@ -380,7 +385,8 @@ public Builder scheduleStartTime(String scheduleStartTime) {
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -395,7 +401,8 @@ public Builder timezone(@Nullable Output timezone) { * @param timezone Time zone used when referring to the date and time of a scheduled-triggered flow, such as `America/New_York`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -417,7 +424,7 @@ public Builder timezone(@Nullable Output timezone) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var example = new Flow("example", FlowArgs.builder()        
+         *         var example = new Flow("example", FlowArgs.builder()        
          *             .triggerConfig(FlowTriggerConfigArgs.builder()
          *                 .scheduled(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
          *                 .build())
@@ -425,7 +432,8 @@ public Builder timezone(@Nullable Output timezone) {
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/appflow/outputs/FlowTriggerConfigTriggerPropertiesScheduled.java b/sdk/java/src/main/java/com/pulumi/aws/appflow/outputs/FlowTriggerConfigTriggerPropertiesScheduled.java index a07dadd4e3c..4af3d501ae6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appflow/outputs/FlowTriggerConfigTriggerPropertiesScheduled.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appflow/outputs/FlowTriggerConfigTriggerPropertiesScheduled.java @@ -47,7 +47,8 @@ public final class FlowTriggerConfigTriggerPropertiesScheduled { * @return Time zone used when referring to the date and time of a scheduled-triggered flow, such as `America/New_York`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -69,7 +70,7 @@ public final class FlowTriggerConfigTriggerPropertiesScheduled {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Flow("example", FlowArgs.builder()        
+     *         var example = new Flow("example", FlowArgs.builder()        
      *             .triggerConfig(FlowTriggerConfigArgs.builder()
      *                 .scheduled(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
      *                 .build())
@@ -77,7 +78,8 @@ public final class FlowTriggerConfigTriggerPropertiesScheduled {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -130,7 +132,8 @@ public Optional scheduleStartTime() { * @return Time zone used when referring to the date and time of a scheduled-triggered flow, such as `America/New_York`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -152,7 +155,7 @@ public Optional scheduleStartTime() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Flow("example", FlowArgs.builder()        
+     *         var example = new Flow("example", FlowArgs.builder()        
      *             .triggerConfig(FlowTriggerConfigArgs.builder()
      *                 .scheduled(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
      *                 .build())
@@ -160,7 +163,8 @@ public Optional scheduleStartTime() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/appintegrations/AppintegrationsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/appintegrations/AppintegrationsFunctions.java index a46f616497a..539f9189ee4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appintegrations/AppintegrationsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appintegrations/AppintegrationsFunctions.java @@ -20,7 +20,8 @@ public final class AppintegrationsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class AppintegrationsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppintegrationsFunctions.getEventIntegration(GetEventIntegrationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getEventIntegration(GetEventInte * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getEventIntegration(GetEventInte
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppintegrationsFunctions.getEventIntegration(GetEventIntegrationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getEventIntegrationPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getEventIntegrationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppintegrationsFunctions.getEventIntegration(GetEventIntegrationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getEventIntegration(GetEventInte * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getEventIntegration(GetEventInte
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppintegrationsFunctions.getEventIntegration(GetEventIntegrationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/appintegrations/DataIntegration.java b/sdk/java/src/main/java/com/pulumi/aws/appintegrations/DataIntegration.java index a0be2baa77a..050b6131784 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appintegrations/DataIntegration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appintegrations/DataIntegration.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataIntegration("example", DataIntegrationArgs.builder()        
- *             .name("example")
- *             .description("example")
+ *         var example = new DataIntegration("example", DataIntegrationArgs.builder()        
+ *             .name("example")
+ *             .description("example")
  *             .kmsKey(test.arn())
- *             .sourceUri("Salesforce://AppFlow/example")
+ *             .sourceUri("Salesforce://AppFlow/example")
  *             .scheduleConfig(DataIntegrationScheduleConfigArgs.builder()
- *                 .firstExecutionFrom("1439788442681")
- *                 .object("Account")
- *                 .scheduleExpression("rate(1 hour)")
+ *                 .firstExecutionFrom("1439788442681")
+ *                 .object("Account")
+ *                 .scheduleExpression("rate(1 hour)")
  *                 .build())
- *             .tags(Map.of("Key1", "Value1"))
+ *             .tags(Map.of("Key1", "Value1"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/applicationinsights/Application.java b/sdk/java/src/main/java/com/pulumi/aws/applicationinsights/Application.java index ab5ad0bbfbb..6a5b7d17b75 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/applicationinsights/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/applicationinsights/Application.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,27 +48,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .name("example")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .name("example")
  *             .resourceQuery(GroupResourceQueryArgs.builder()
  *                 .query(serializeJson(
  *                     jsonObject(
- *                         jsonProperty("ResourceTypeFilters", jsonArray("AWS::EC2::Instance")),
- *                         jsonProperty("TagFilters", jsonArray(jsonObject(
- *                             jsonProperty("Key", "Stage"),
- *                             jsonProperty("Values", jsonArray("Test"))
+ *                         jsonProperty("ResourceTypeFilters", jsonArray("AWS::EC2::Instance")),
+ *                         jsonProperty("TagFilters", jsonArray(jsonObject(
+ *                             jsonProperty("Key", "Stage"),
+ *                             jsonProperty("Values", jsonArray("Test"))
  *                         )))
  *                     )))
  *                 .build())
  *             .build());
  * 
- *         var example = new Application("example", ApplicationArgs.builder()        
+ *         var example = new Application("example", ApplicationArgs.builder()        
  *             .resourceGroupName(exampleGroup.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/AppmeshFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/AppmeshFunctions.java index 7341aee4b98..f91df50b0b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/AppmeshFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/AppmeshFunctions.java @@ -38,7 +38,8 @@ public final class AppmeshFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -60,14 +61,15 @@ public final class AppmeshFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getGatewayRoute(GetGatewayRouteArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualGatewayName("test-gateway")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualGatewayName("test-gateway")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -80,7 +82,8 @@ public static Output getGatewayRoute(GetGatewayRouteArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -102,14 +105,15 @@ public static Output getGatewayRoute(GetGatewayRouteArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getGatewayRoute(GetGatewayRouteArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualGatewayName("test-gateway")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualGatewayName("test-gateway")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -122,7 +126,8 @@ public static CompletableFuture getGatewayRoutePlain(GetG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -144,14 +149,15 @@ public static CompletableFuture getGatewayRoutePlain(GetG
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getGatewayRoute(GetGatewayRouteArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualGatewayName("test-gateway")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualGatewayName("test-gateway")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -164,7 +170,8 @@ public static Output getGatewayRoute(GetGatewayRouteArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -186,14 +193,15 @@ public static Output getGatewayRoute(GetGatewayRouteArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getGatewayRoute(GetGatewayRouteArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualGatewayName("test-gateway")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualGatewayName("test-gateway")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -206,7 +214,8 @@ public static CompletableFuture getGatewayRoutePlain(GetG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -228,16 +237,18 @@ public static CompletableFuture getGatewayRoutePlain(GetG
      * 
      *     public static void stack(Context ctx) {
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
+     *             .name("simpleapp")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -263,13 +274,14 @@ public static CompletableFuture getGatewayRoutePlain(GetG
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("simpleapp")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -282,7 +294,8 @@ public static Output getMesh(GetMeshArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -304,16 +317,18 @@ public static Output getMesh(GetMeshArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
+     *             .name("simpleapp")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -339,13 +354,14 @@ public static Output getMesh(GetMeshArgs args) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("simpleapp")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -358,7 +374,8 @@ public static CompletableFuture getMeshPlain(GetMeshPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -380,16 +397,18 @@ public static CompletableFuture getMeshPlain(GetMeshPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
+     *             .name("simpleapp")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -415,13 +434,14 @@ public static CompletableFuture getMeshPlain(GetMeshPlainArgs arg
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("simpleapp")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -434,7 +454,8 @@ public static Output getMesh(GetMeshArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -456,16 +477,18 @@ public static Output getMesh(GetMeshArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
+     *             .name("simpleapp")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -491,13 +514,14 @@ public static Output getMesh(GetMeshArgs args, InvokeOptions opti
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var simple = AppmeshFunctions.getMesh(GetMeshArgs.builder()
-     *             .name("simpleapp")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("simpleapp")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -510,7 +534,8 @@ public static CompletableFuture getMeshPlain(GetMeshPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -532,14 +557,15 @@ public static CompletableFuture getMeshPlain(GetMeshPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualRouterName("test-router")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualRouterName("test-router")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -552,7 +578,8 @@ public static Output getRoute(GetRouteArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -574,14 +601,15 @@ public static Output getRoute(GetRouteArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualRouterName("test-router")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualRouterName("test-router")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -594,7 +622,8 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -616,14 +645,15 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualRouterName("test-router")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualRouterName("test-router")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -636,7 +666,8 @@ public static Output getRoute(GetRouteArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -658,14 +689,15 @@ public static Output getRoute(GetRouteArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("test-route")
-     *             .meshName("test-mesh")
-     *             .virtualRouterName("test-router")
+     *             .name("test-route")
+     *             .meshName("test-mesh")
+     *             .virtualRouterName("test-router")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -680,7 +712,8 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -702,17 +735,19 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .meshName("mesh-gateway")
-     *             .name("example-mesh")
+     *             .meshName("mesh-gateway")
+     *             .name("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -738,14 +773,15 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -760,7 +796,8 @@ public static Output getVirtualGateway(GetVirtualGatewa * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -782,17 +819,19 @@ public static Output getVirtualGateway(GetVirtualGatewa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .meshName("mesh-gateway")
-     *             .name("example-mesh")
+     *             .meshName("mesh-gateway")
+     *             .name("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -818,14 +857,15 @@ public static Output getVirtualGateway(GetVirtualGatewa
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -840,7 +880,8 @@ public static CompletableFuture getVirtualGatewayPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -862,17 +903,19 @@ public static CompletableFuture getVirtualGatewayPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .meshName("mesh-gateway")
-     *             .name("example-mesh")
+     *             .meshName("mesh-gateway")
+     *             .name("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -898,14 +941,15 @@ public static CompletableFuture getVirtualGatewayPlain(
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -920,7 +964,8 @@ public static Output getVirtualGateway(GetVirtualGatewa * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -942,17 +987,19 @@ public static Output getVirtualGateway(GetVirtualGatewa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .meshName("mesh-gateway")
-     *             .name("example-mesh")
+     *             .meshName("mesh-gateway")
+     *             .name("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -978,14 +1025,15 @@ public static Output getVirtualGateway(GetVirtualGatewa
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -998,7 +1046,8 @@ public static CompletableFuture getVirtualGatewayPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1020,13 +1069,14 @@ public static CompletableFuture getVirtualGatewayPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualNode(GetVirtualNodeArgs.builder()
-     *             .name("serviceBv1")
-     *             .meshName("example-mesh")
+     *             .name("serviceBv1")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1039,7 +1089,8 @@ public static Output getVirtualNode(GetVirtualNodeArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1061,13 +1112,14 @@ public static Output getVirtualNode(GetVirtualNodeArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualNode(GetVirtualNodeArgs.builder()
-     *             .name("serviceBv1")
-     *             .meshName("example-mesh")
+     *             .name("serviceBv1")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1080,7 +1132,8 @@ public static CompletableFuture getVirtualNodePlain(GetVir * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1102,13 +1155,14 @@ public static CompletableFuture getVirtualNodePlain(GetVir
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualNode(GetVirtualNodeArgs.builder()
-     *             .name("serviceBv1")
-     *             .meshName("example-mesh")
+     *             .name("serviceBv1")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1121,7 +1175,8 @@ public static Output getVirtualNode(GetVirtualNodeArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1143,13 +1198,14 @@ public static Output getVirtualNode(GetVirtualNodeArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualNode(GetVirtualNodeArgs.builder()
-     *             .name("serviceBv1")
-     *             .meshName("example-mesh")
+     *             .name("serviceBv1")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1162,7 +1218,8 @@ public static CompletableFuture getVirtualNodePlain(GetVir * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1184,13 +1241,14 @@ public static CompletableFuture getVirtualNodePlain(GetVir
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualRouter(GetVirtualRouterArgs.builder()
-     *             .name("example-router-name")
-     *             .meshName("example-mesh-name")
+     *             .name("example-router-name")
+     *             .meshName("example-mesh-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1203,7 +1261,8 @@ public static Output getVirtualRouter(GetVirtualRouterAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1225,13 +1284,14 @@ public static Output getVirtualRouter(GetVirtualRouterAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualRouter(GetVirtualRouterArgs.builder()
-     *             .name("example-router-name")
-     *             .meshName("example-mesh-name")
+     *             .name("example-router-name")
+     *             .meshName("example-mesh-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1244,7 +1304,8 @@ public static CompletableFuture getVirtualRouterPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1266,13 +1327,14 @@ public static CompletableFuture getVirtualRouterPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualRouter(GetVirtualRouterArgs.builder()
-     *             .name("example-router-name")
-     *             .meshName("example-mesh-name")
+     *             .name("example-router-name")
+     *             .meshName("example-mesh-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1285,7 +1347,8 @@ public static Output getVirtualRouter(GetVirtualRouterAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1307,13 +1370,14 @@ public static Output getVirtualRouter(GetVirtualRouterAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualRouter(GetVirtualRouterArgs.builder()
-     *             .name("example-router-name")
-     *             .meshName("example-mesh-name")
+     *             .name("example-router-name")
+     *             .meshName("example-mesh-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1326,7 +1390,8 @@ public static CompletableFuture getVirtualRouterPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1348,17 +1413,19 @@ public static CompletableFuture getVirtualRouterPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1384,14 +1451,15 @@ public static CompletableFuture getVirtualRouterPlain(Ge
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1404,7 +1472,8 @@ public static Output getVirtualService(GetVirtualServic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1426,17 +1495,19 @@ public static Output getVirtualService(GetVirtualServic
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1462,14 +1533,15 @@ public static Output getVirtualService(GetVirtualServic
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1482,7 +1554,8 @@ public static CompletableFuture getVirtualServicePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1504,17 +1577,19 @@ public static CompletableFuture getVirtualServicePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1540,14 +1615,15 @@ public static CompletableFuture getVirtualServicePlain(
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1560,7 +1636,8 @@ public static Output getVirtualService(GetVirtualServic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1582,17 +1659,19 @@ public static Output getVirtualService(GetVirtualServic
      * 
      *     public static void stack(Context ctx) {
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1618,14 +1697,15 @@ public static Output getVirtualService(GetVirtualServic
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var test = AppmeshFunctions.getVirtualService(GetVirtualServiceArgs.builder()
-     *             .name("example.mesh.local")
-     *             .meshName("example-mesh")
-     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *             .name("example.mesh.local")
+     *             .meshName("example-mesh")
+     *             .meshOwner(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/GatewayRoute.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/GatewayRoute.java index a21970fd5af..29128d13fe9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/GatewayRoute.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/GatewayRoute.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,9 +50,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GatewayRoute("example", GatewayRouteArgs.builder()        
- *             .name("example-gateway-route")
- *             .meshName("example-service-mesh")
+ *         var example = new GatewayRoute("example", GatewayRouteArgs.builder()        
+ *             .name("example-gateway-route")
+ *             .meshName("example-service-mesh")
  *             .virtualGatewayName(exampleAwsAppmeshVirtualGateway.name())
  *             .spec(GatewayRouteSpecArgs.builder()
  *                 .httpRoute(GatewayRouteSpecHttpRouteArgs.builder()
@@ -63,16 +64,17 @@
  *                             .build())
  *                         .build())
  *                     .match(GatewayRouteSpecHttpRouteMatchArgs.builder()
- *                         .prefix("/")
+ *                         .prefix("/")
  *                         .build())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Environment", "test"))
+ *             .tags(Map.of("Environment", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/Mesh.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/Mesh.java index fad930154ff..b44742cf20a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/Mesh.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/Mesh.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var simple = new Mesh("simple", MeshArgs.builder()        
- *             .name("simpleapp")
+ *         var simple = new Mesh("simple", MeshArgs.builder()        
+ *             .name("simpleapp")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Egress Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,18 +83,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var simple = new Mesh("simple", MeshArgs.builder()        
- *             .name("simpleapp")
+ *         var simple = new Mesh("simple", MeshArgs.builder()        
+ *             .name("simpleapp")
  *             .spec(MeshSpecArgs.builder()
  *                 .egressFilter(MeshSpecEgressFilterArgs.builder()
- *                     .type("ALLOW_ALL")
+ *                     .type("ALLOW_ALL")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/Route.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/Route.java index ae7f78a9683..8c12083edf7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/Route.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/Route.java @@ -24,7 +24,8 @@ * ### HTTP Routing * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,14 +50,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb = new Route("serviceb", RouteArgs.builder()        
- *             .name("serviceB-route")
+ *         var serviceb = new Route("serviceb", RouteArgs.builder()        
+ *             .name("serviceB-route")
  *             .meshName(simple.id())
  *             .virtualRouterName(servicebAwsAppmeshVirtualRouter.name())
  *             .spec(RouteSpecArgs.builder()
  *                 .httpRoute(RouteSpecHttpRouteArgs.builder()
  *                     .match(RouteSpecHttpRouteMatchArgs.builder()
- *                         .prefix("/")
+ *                         .prefix("/")
  *                         .build())
  *                     .action(RouteSpecHttpRouteActionArgs.builder()
  *                         .weightedTargets(                        
@@ -75,13 +76,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### HTTP Header Routing * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -106,20 +109,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb = new Route("serviceb", RouteArgs.builder()        
- *             .name("serviceB-route")
+ *         var serviceb = new Route("serviceb", RouteArgs.builder()        
+ *             .name("serviceB-route")
  *             .meshName(simple.id())
  *             .virtualRouterName(servicebAwsAppmeshVirtualRouter.name())
  *             .spec(RouteSpecArgs.builder()
  *                 .httpRoute(RouteSpecHttpRouteArgs.builder()
  *                     .match(RouteSpecHttpRouteMatchArgs.builder()
- *                         .method("POST")
- *                         .prefix("/")
- *                         .scheme("https")
+ *                         .method("POST")
+ *                         .prefix("/")
+ *                         .scheme("https")
  *                         .headers(RouteSpecHttpRouteMatchHeaderArgs.builder()
- *                             .name("clientRequestId")
+ *                             .name("clientRequestId")
  *                             .match(RouteSpecHttpRouteMatchHeaderMatchArgs.builder()
- *                                 .prefix("123")
+ *                                 .prefix("123")
  *                                 .build())
  *                             .build())
  *                         .build())
@@ -135,13 +138,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Retry Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -168,20 +173,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb = new Route("serviceb", RouteArgs.builder()        
- *             .name("serviceB-route")
+ *         var serviceb = new Route("serviceb", RouteArgs.builder()        
+ *             .name("serviceB-route")
  *             .meshName(simple.id())
  *             .virtualRouterName(servicebAwsAppmeshVirtualRouter.name())
  *             .spec(RouteSpecArgs.builder()
  *                 .httpRoute(RouteSpecHttpRouteArgs.builder()
  *                     .match(RouteSpecHttpRouteMatchArgs.builder()
- *                         .prefix("/")
+ *                         .prefix("/")
  *                         .build())
  *                     .retryPolicy(RouteSpecHttpRouteRetryPolicyArgs.builder()
- *                         .httpRetryEvents("server-error")
+ *                         .httpRetryEvents("server-error")
  *                         .maxRetries(1)
  *                         .perRetryTimeout(RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs.builder()
- *                             .unit("s")
+ *                             .unit("s")
  *                             .value(15)
  *                             .build())
  *                         .build())
@@ -197,13 +202,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### TCP Routing * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -227,8 +234,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb = new Route("serviceb", RouteArgs.builder()        
- *             .name("serviceB-route")
+ *         var serviceb = new Route("serviceb", RouteArgs.builder()        
+ *             .name("serviceB-route")
  *             .meshName(simple.id())
  *             .virtualRouterName(servicebAwsAppmeshVirtualRouter.name())
  *             .spec(RouteSpecArgs.builder()
@@ -245,7 +252,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualGateway.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualGateway.java index daa767a8d90..7e658341d12 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualGateway.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,29 +47,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VirtualGateway("example", VirtualGatewayArgs.builder()        
- *             .name("example-virtual-gateway")
- *             .meshName("example-service-mesh")
+ *         var example = new VirtualGateway("example", VirtualGatewayArgs.builder()        
+ *             .name("example-virtual-gateway")
+ *             .meshName("example-service-mesh")
  *             .spec(VirtualGatewaySpecArgs.builder()
  *                 .listeners(VirtualGatewaySpecListenerArgs.builder()
  *                     .portMapping(VirtualGatewaySpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Environment", "test"))
+ *             .tags(Map.of("Environment", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Access Logs and TLS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,14 +96,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VirtualGateway("example", VirtualGatewayArgs.builder()        
- *             .name("example-virtual-gateway")
- *             .meshName("example-service-mesh")
+ *         var example = new VirtualGateway("example", VirtualGatewayArgs.builder()        
+ *             .name("example-virtual-gateway")
+ *             .meshName("example-service-mesh")
  *             .spec(VirtualGatewaySpecArgs.builder()
  *                 .listeners(VirtualGatewaySpecListenerArgs.builder()
  *                     .portMapping(VirtualGatewaySpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .tls(VirtualGatewaySpecListenerTlsArgs.builder()
  *                         .certificate(VirtualGatewaySpecListenerTlsCertificateArgs.builder()
@@ -108,13 +111,13 @@
  *                                 .certificateArn(exampleAwsAcmCertificate.arn())
  *                                 .build())
  *                             .build())
- *                         .mode("STRICT")
+ *                         .mode("STRICT")
  *                         .build())
  *                     .build())
  *                 .logging(VirtualGatewaySpecLoggingArgs.builder()
  *                     .accessLog(VirtualGatewaySpecLoggingAccessLogArgs.builder()
  *                         .file(VirtualGatewaySpecLoggingAccessLogFileArgs.builder()
- *                             .path("/var/log/access.log")
+ *                             .path("/var/log/access.log")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -123,7 +126,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualNode.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualNode.java index d3e815b5bca..a53dbbaf95f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualNode.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualNode.java @@ -35,7 +35,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,24 +60,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
- *             .name("serviceBv1")
+ *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
+ *             .name("serviceBv1")
  *             .meshName(simple.id())
  *             .spec(VirtualNodeSpecArgs.builder()
  *                 .backends(VirtualNodeSpecBackendArgs.builder()
  *                     .virtualService(VirtualNodeSpecBackendVirtualServiceArgs.builder()
- *                         .virtualServiceName("servicea.simpleapp.local")
+ *                         .virtualServiceName("servicea.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .listeners(VirtualNodeSpecListenerArgs.builder()
  *                     .portMapping(VirtualNodeSpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .build())
  *                 .serviceDiscovery(VirtualNodeSpecServiceDiscoveryArgs.builder()
  *                     .dns(VirtualNodeSpecServiceDiscoveryDnsArgs.builder()
- *                         .hostname("serviceb.simpleapp.local")
+ *                         .hostname("serviceb.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -84,13 +85,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS Cloud Map Service Discovery * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -116,29 +119,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HttpNamespace("example", HttpNamespaceArgs.builder()        
- *             .name("example-ns")
+ *         var example = new HttpNamespace("example", HttpNamespaceArgs.builder()        
+ *             .name("example-ns")
  *             .build());
  * 
- *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
- *             .name("serviceBv1")
+ *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
+ *             .name("serviceBv1")
  *             .meshName(simple.id())
  *             .spec(VirtualNodeSpecArgs.builder()
  *                 .backends(VirtualNodeSpecBackendArgs.builder()
  *                     .virtualService(VirtualNodeSpecBackendVirtualServiceArgs.builder()
- *                         .virtualServiceName("servicea.simpleapp.local")
+ *                         .virtualServiceName("servicea.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .listeners(VirtualNodeSpecListenerArgs.builder()
  *                     .portMapping(VirtualNodeSpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .build())
  *                 .serviceDiscovery(VirtualNodeSpecServiceDiscoveryArgs.builder()
  *                     .awsCloudMap(VirtualNodeSpecServiceDiscoveryAwsCloudMapArgs.builder()
- *                         .attributes(Map.of("stack", "blue"))
- *                         .serviceName("serviceb1")
+ *                         .attributes(Map.of("stack", "blue"))
+ *                         .serviceName("serviceb1")
  *                         .namespaceName(example.name())
  *                         .build())
  *                     .build())
@@ -147,13 +150,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Listener Health Check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -177,23 +182,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
- *             .name("serviceBv1")
+ *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
+ *             .name("serviceBv1")
  *             .meshName(simple.id())
  *             .spec(VirtualNodeSpecArgs.builder()
  *                 .backends(VirtualNodeSpecBackendArgs.builder()
  *                     .virtualService(VirtualNodeSpecBackendVirtualServiceArgs.builder()
- *                         .virtualServiceName("servicea.simpleapp.local")
+ *                         .virtualServiceName("servicea.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .listeners(VirtualNodeSpecListenerArgs.builder()
  *                     .portMapping(VirtualNodeSpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .healthCheck(VirtualNodeSpecListenerHealthCheckArgs.builder()
- *                         .protocol("http")
- *                         .path("/ping")
+ *                         .protocol("http")
+ *                         .path("/ping")
  *                         .healthyThreshold(2)
  *                         .unhealthyThreshold(2)
  *                         .timeoutMillis(2000)
@@ -202,7 +207,7 @@
  *                     .build())
  *                 .serviceDiscovery(VirtualNodeSpecServiceDiscoveryArgs.builder()
  *                     .dns(VirtualNodeSpecServiceDiscoveryDnsArgs.builder()
- *                         .hostname("serviceb.simpleapp.local")
+ *                         .hostname("serviceb.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -210,13 +215,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -243,30 +250,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
- *             .name("serviceBv1")
+ *         var serviceb1 = new VirtualNode("serviceb1", VirtualNodeArgs.builder()        
+ *             .name("serviceBv1")
  *             .meshName(simple.id())
  *             .spec(VirtualNodeSpecArgs.builder()
  *                 .backends(VirtualNodeSpecBackendArgs.builder()
  *                     .virtualService(VirtualNodeSpecBackendVirtualServiceArgs.builder()
- *                         .virtualServiceName("servicea.simpleapp.local")
+ *                         .virtualServiceName("servicea.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .listeners(VirtualNodeSpecListenerArgs.builder()
  *                     .portMapping(VirtualNodeSpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .build())
  *                 .serviceDiscovery(VirtualNodeSpecServiceDiscoveryArgs.builder()
  *                     .dns(VirtualNodeSpecServiceDiscoveryDnsArgs.builder()
- *                         .hostname("serviceb.simpleapp.local")
+ *                         .hostname("serviceb.simpleapp.local")
  *                         .build())
  *                     .build())
  *                 .logging(VirtualNodeSpecLoggingArgs.builder()
  *                     .accessLog(VirtualNodeSpecLoggingAccessLogArgs.builder()
  *                         .file(VirtualNodeSpecLoggingAccessLogFileArgs.builder()
- *                             .path("/dev/stdout")
+ *                             .path("/dev/stdout")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -275,7 +282,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualRouter.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualRouter.java index 0fda9c661fa..c8051d54023 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualRouter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualRouter.java @@ -32,7 +32,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,14 +55,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceb = new VirtualRouter("serviceb", VirtualRouterArgs.builder()        
- *             .name("serviceB")
+ *         var serviceb = new VirtualRouter("serviceb", VirtualRouterArgs.builder()        
+ *             .name("serviceB")
  *             .meshName(simple.id())
  *             .spec(VirtualRouterSpecArgs.builder()
  *                 .listeners(VirtualRouterSpecListenerArgs.builder()
  *                     .portMapping(VirtualRouterSpecListenerPortMappingArgs.builder()
  *                         .port(8080)
- *                         .protocol("http")
+ *                         .protocol("http")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -69,7 +70,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualService.java b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualService.java index f5581b10e69..c396f2fa019 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualService.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appmesh/VirtualService.java @@ -24,7 +24,8 @@ * ### Virtual Node Provider * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,8 +49,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var servicea = new VirtualService("servicea", VirtualServiceArgs.builder()        
- *             .name("servicea.simpleapp.local")
+ *         var servicea = new VirtualService("servicea", VirtualServiceArgs.builder()        
+ *             .name("servicea.simpleapp.local")
  *             .meshName(simple.id())
  *             .spec(VirtualServiceSpecArgs.builder()
  *                 .provider(VirtualServiceSpecProviderArgs.builder()
@@ -62,13 +63,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Virtual Router Provider * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,8 +95,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var servicea = new VirtualService("servicea", VirtualServiceArgs.builder()        
- *             .name("servicea.simpleapp.local")
+ *         var servicea = new VirtualService("servicea", VirtualServiceArgs.builder()        
+ *             .name("servicea.simpleapp.local")
  *             .meshName(simple.id())
  *             .spec(VirtualServiceSpecArgs.builder()
  *                 .provider(VirtualServiceSpecProviderArgs.builder()
@@ -106,7 +109,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/ApprunnerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/ApprunnerFunctions.java index c6360788f35..51dd150e0ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/ApprunnerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/ApprunnerFunctions.java @@ -21,7 +21,8 @@ public final class ApprunnerFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,20 +48,21 @@ public final class ApprunnerFunctions {
      *     public static void stack(Context ctx) {
      *         final var main = ApprunnerFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsApprunnerCustomDomainAssociation.dnsTarget())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -74,7 +76,8 @@ public static Output getHostedZoneId() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,20 +103,21 @@ public static Output getHostedZoneId() {
      *     public static void stack(Context ctx) {
      *         final var main = ApprunnerFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsApprunnerCustomDomainAssociation.dnsTarget())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -127,7 +131,8 @@ public static CompletableFuture getHostedZoneIdPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -153,20 +158,21 @@ public static CompletableFuture getHostedZoneIdPlain() {
      *     public static void stack(Context ctx) {
      *         final var main = ApprunnerFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsApprunnerCustomDomainAssociation.dnsTarget())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -180,7 +186,8 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -206,20 +213,21 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs
      *     public static void stack(Context ctx) {
      *         final var main = ApprunnerFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsApprunnerCustomDomainAssociation.dnsTarget())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -233,7 +241,8 @@ public static CompletableFuture getHostedZoneIdPlain(GetH * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -259,20 +268,21 @@ public static CompletableFuture getHostedZoneIdPlain(GetH
      *     public static void stack(Context ctx) {
      *         final var main = ApprunnerFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsApprunnerCustomDomainAssociation.dnsTarget())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -286,7 +296,8 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -312,20 +323,21 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs
      *     public static void stack(Context ctx) {
      *         final var main = ApprunnerFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsApprunnerCustomDomainAssociation.dnsTarget())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/AutoScalingConfigurationVersion.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/AutoScalingConfigurationVersion.java index fd383973b3f..7d20b6d35fa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/AutoScalingConfigurationVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/AutoScalingConfigurationVersion.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AutoScalingConfigurationVersion("example", AutoScalingConfigurationVersionArgs.builder()        
- *             .autoScalingConfigurationName("example")
+ *         var example = new AutoScalingConfigurationVersion("example", AutoScalingConfigurationVersionArgs.builder()        
+ *             .autoScalingConfigurationName("example")
  *             .maxConcurrency(50)
  *             .maxSize(10)
  *             .minSize(2)
- *             .tags(Map.of("Name", "example-apprunner-autoscaling"))
+ *             .tags(Map.of("Name", "example-apprunner-autoscaling"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/Connection.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/Connection.java index bfdd0d5a20a..a833a262b48 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/Connection.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
- *             .connectionName("example")
- *             .providerType("GITHUB")
- *             .tags(Map.of("Name", "example-apprunner-connection"))
+ *         var example = new Connection("example", ConnectionArgs.builder()        
+ *             .connectionName("example")
+ *             .providerType("GITHUB")
+ *             .tags(Map.of("Name", "example-apprunner-connection"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/CustomDomainAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/CustomDomainAssociation.java index 559c3c2fd8d..79bbd8395d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/CustomDomainAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/CustomDomainAssociation.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CustomDomainAssociation("example", CustomDomainAssociationArgs.builder()        
- *             .domainName("example.com")
+ *         var example = new CustomDomainAssociation("example", CustomDomainAssociationArgs.builder()        
+ *             .domainName("example.com")
  *             .serviceArn(exampleAwsApprunnerService.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/DefaultAutoScalingConfigurationVersion.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/DefaultAutoScalingConfigurationVersion.java index 4ad35efa8de..6adcd722ff5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/DefaultAutoScalingConfigurationVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/DefaultAutoScalingConfigurationVersion.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AutoScalingConfigurationVersion("example", AutoScalingConfigurationVersionArgs.builder()        
- *             .autoScalingConfigurationName("example")
+ *         var example = new AutoScalingConfigurationVersion("example", AutoScalingConfigurationVersionArgs.builder()        
+ *             .autoScalingConfigurationName("example")
  *             .maxConcurrency(50)
  *             .maxSize(10)
  *             .minSize(2)
  *             .build());
  * 
- *         var exampleDefaultAutoScalingConfigurationVersion = new DefaultAutoScalingConfigurationVersion("exampleDefaultAutoScalingConfigurationVersion", DefaultAutoScalingConfigurationVersionArgs.builder()        
+ *         var exampleDefaultAutoScalingConfigurationVersion = new DefaultAutoScalingConfigurationVersion("exampleDefaultAutoScalingConfigurationVersion", DefaultAutoScalingConfigurationVersionArgs.builder()        
  *             .autoScalingConfigurationArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/Deployment.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/Deployment.java index bc477ea34b7..6b8759ea445 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/Deployment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/Deployment.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Deployment("example", DeploymentArgs.builder()        
+ *         var example = new Deployment("example", DeploymentArgs.builder()        
  *             .serviceArn(exampleAwsApprunnerService.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/ObservabilityConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/ObservabilityConfiguration.java index 3b9ce51eb81..403a558838b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/ObservabilityConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/ObservabilityConfiguration.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,17 +47,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ObservabilityConfiguration("example", ObservabilityConfigurationArgs.builder()        
- *             .observabilityConfigurationName("example")
+ *         var example = new ObservabilityConfiguration("example", ObservabilityConfigurationArgs.builder()        
+ *             .observabilityConfigurationName("example")
  *             .traceConfiguration(ObservabilityConfigurationTraceConfigurationArgs.builder()
- *                 .vendor("AWSXRAY")
+ *                 .vendor("AWSXRAY")
  *                 .build())
- *             .tags(Map.of("Name", "example-apprunner-observability-configuration"))
+ *             .tags(Map.of("Name", "example-apprunner-observability-configuration"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/Service.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/Service.java index bbc3100b0e0..26a83b24af8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/Service.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/Service.java @@ -29,7 +29,8 @@ * ### Service with a Code Repository Source * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,8 +59,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .serviceName("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .serviceName("example")
  *             .sourceConfiguration(ServiceSourceConfigurationArgs.builder()
  *                 .authenticationConfiguration(ServiceSourceConfigurationAuthenticationConfigurationArgs.builder()
  *                     .connectionArn(exampleAwsApprunnerConnection.arn())
@@ -67,38 +68,40 @@
  *                 .codeRepository(ServiceSourceConfigurationCodeRepositoryArgs.builder()
  *                     .codeConfiguration(ServiceSourceConfigurationCodeRepositoryCodeConfigurationArgs.builder()
  *                         .codeConfigurationValues(ServiceSourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesArgs.builder()
- *                             .buildCommand("python setup.py develop")
- *                             .port("8000")
- *                             .runtime("PYTHON_3")
- *                             .startCommand("python runapp.py")
+ *                             .buildCommand("python setup.py develop")
+ *                             .port("8000")
+ *                             .runtime("PYTHON_3")
+ *                             .startCommand("python runapp.py")
  *                             .build())
- *                         .configurationSource("API")
+ *                         .configurationSource("API")
  *                         .build())
- *                     .repositoryUrl("https://github.com/example/my-example-python-app")
+ *                     .repositoryUrl("https://github.com/example/my-example-python-app")
  *                     .sourceCodeVersion(ServiceSourceConfigurationCodeRepositorySourceCodeVersionArgs.builder()
- *                         .type("BRANCH")
- *                         .value("main")
+ *                         .type("BRANCH")
+ *                         .value("main")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .networkConfiguration(ServiceNetworkConfigurationArgs.builder()
  *                 .egressConfiguration(ServiceNetworkConfigurationEgressConfigurationArgs.builder()
- *                     .egressType("VPC")
+ *                     .egressType("VPC")
  *                     .vpcConnectorArn(connector.arn())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Name", "example-apprunner-service"))
+ *             .tags(Map.of("Name", "example-apprunner-service"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Service with an Image Repository Source * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -122,30 +125,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .serviceName("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .serviceName("example")
  *             .sourceConfiguration(ServiceSourceConfigurationArgs.builder()
  *                 .imageRepository(ServiceSourceConfigurationImageRepositoryArgs.builder()
  *                     .imageConfiguration(ServiceSourceConfigurationImageRepositoryImageConfigurationArgs.builder()
- *                         .port("8000")
+ *                         .port("8000")
  *                         .build())
- *                     .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest")
- *                     .imageRepositoryType("ECR_PUBLIC")
+ *                     .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest")
+ *                     .imageRepositoryType("ECR_PUBLIC")
  *                     .build())
  *                 .autoDeploymentsEnabled(false)
  *                 .build())
- *             .tags(Map.of("Name", "example-apprunner-service"))
+ *             .tags(Map.of("Name", "example-apprunner-service"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Service with Observability Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -173,15 +178,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleObservabilityConfiguration = new ObservabilityConfiguration("exampleObservabilityConfiguration", ObservabilityConfigurationArgs.builder()        
- *             .observabilityConfigurationName("example")
+ *         var exampleObservabilityConfiguration = new ObservabilityConfiguration("exampleObservabilityConfiguration", ObservabilityConfigurationArgs.builder()        
+ *             .observabilityConfigurationName("example")
  *             .traceConfiguration(ObservabilityConfigurationTraceConfigurationArgs.builder()
- *                 .vendor("AWSXRAY")
+ *                 .vendor("AWSXRAY")
  *                 .build())
  *             .build());
  * 
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .serviceName("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .serviceName("example")
  *             .observabilityConfiguration(ServiceObservabilityConfigurationArgs.builder()
  *                 .observabilityConfigurationArn(exampleObservabilityConfiguration.arn())
  *                 .observabilityEnabled(true)
@@ -189,19 +194,20 @@
  *             .sourceConfiguration(ServiceSourceConfigurationArgs.builder()
  *                 .imageRepository(ServiceSourceConfigurationImageRepositoryArgs.builder()
  *                     .imageConfiguration(ServiceSourceConfigurationImageRepositoryImageConfigurationArgs.builder()
- *                         .port("8000")
+ *                         .port("8000")
  *                         .build())
- *                     .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest")
- *                     .imageRepositoryType("ECR_PUBLIC")
+ *                     .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest")
+ *                     .imageRepositoryType("ECR_PUBLIC")
  *                     .build())
  *                 .autoDeploymentsEnabled(false)
  *                 .build())
- *             .tags(Map.of("Name", "example-apprunner-service"))
+ *             .tags(Map.of("Name", "example-apprunner-service"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcConnector.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcConnector.java index bf580ad1d0c..caf745f6eb0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcConnector.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcConnector.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var connector = new VpcConnector("connector", VpcConnectorArgs.builder()        
- *             .vpcConnectorName("name")
+ *         var connector = new VpcConnector("connector", VpcConnectorArgs.builder()        
+ *             .vpcConnectorName("name")
  *             .subnets(            
- *                 "subnet1",
- *                 "subnet2")
+ *                 "subnet1",
+ *                 "subnet2")
  *             .securityGroups(            
- *                 "sg1",
- *                 "sg2")
+ *                 "sg1",
+ *                 "sg2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcIngressConnection.java b/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcIngressConnection.java index d228976d09c..fcbc2d596a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcIngressConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/apprunner/VpcIngressConnection.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcIngressConnection("example", VpcIngressConnectionArgs.builder()        
- *             .name("example")
+ *         var example = new VpcIngressConnection("example", VpcIngressConnectionArgs.builder()        
+ *             .name("example")
  *             .serviceArn(exampleAwsApprunnerService.arn())
  *             .ingressVpcConfiguration(VpcIngressConnectionIngressVpcConfigurationArgs.builder()
  *                 .vpcId(default_.id())
  *                 .vpcEndpointId(apprunner.id())
  *                 .build())
- *             .tags(Map.of("foo", "bar"))
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/DirectoryConfig.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/DirectoryConfig.java index e60598c04f3..8cbe0149383 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/DirectoryConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/DirectoryConfig.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,18 +44,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DirectoryConfig("example", DirectoryConfigArgs.builder()        
- *             .directoryName("NAME OF DIRECTORY")
- *             .organizationalUnitDistinguishedNames("DISTINGUISHED NAME")
+ *         var example = new DirectoryConfig("example", DirectoryConfigArgs.builder()        
+ *             .directoryName("NAME OF DIRECTORY")
+ *             .organizationalUnitDistinguishedNames("DISTINGUISHED NAME")
  *             .serviceAccountCredentials(DirectoryConfigServiceAccountCredentialsArgs.builder()
- *                 .accountName("NAME OF ACCOUNT")
- *                 .accountPassword("PASSWORD OF ACCOUNT")
+ *                 .accountName("NAME OF ACCOUNT")
+ *                 .accountPassword("PASSWORD OF ACCOUNT")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/Fleet.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/Fleet.java index c73bd9e850a..1b27a60131e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/Fleet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/Fleet.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,28 +50,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testFleet = new Fleet("testFleet", FleetArgs.builder()        
- *             .name("test-fleet")
+ *         var testFleet = new Fleet("testFleet", FleetArgs.builder()        
+ *             .name("test-fleet")
  *             .computeCapacity(FleetComputeCapacityArgs.builder()
  *                 .desiredInstances(1)
  *                 .build())
- *             .description("test fleet")
+ *             .description("test fleet")
  *             .idleDisconnectTimeoutInSeconds(60)
- *             .displayName("test-fleet")
+ *             .displayName("test-fleet")
  *             .enableDefaultInternetAccess(false)
- *             .fleetType("ON_DEMAND")
- *             .imageName("Amazon-AppStream2-Sample-Image-03-11-2023")
- *             .instanceType("stream.standard.large")
+ *             .fleetType("ON_DEMAND")
+ *             .imageName("Amazon-AppStream2-Sample-Image-03-11-2023")
+ *             .instanceType("stream.standard.large")
  *             .maxUserDurationInSeconds(600)
  *             .vpcConfig(FleetVpcConfigArgs.builder()
- *                 .subnetIds("subnet-06e9b13400c225127")
+ *                 .subnetIds("subnet-06e9b13400c225127")
  *                 .build())
- *             .tags(Map.of("TagName", "tag-value"))
+ *             .tags(Map.of("TagName", "tag-value"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/FleetStackAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/FleetStackAssociation.java index 915c157cdaa..189d7eabd5a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/FleetStackAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/FleetStackAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,27 +46,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Fleet("example", FleetArgs.builder()        
- *             .name("NAME")
- *             .imageName("Amazon-AppStream2-Sample-Image-03-11-2023")
- *             .instanceType("stream.standard.small")
+ *         var example = new Fleet("example", FleetArgs.builder()        
+ *             .name("NAME")
+ *             .imageName("Amazon-AppStream2-Sample-Image-03-11-2023")
+ *             .instanceType("stream.standard.small")
  *             .computeCapacity(FleetComputeCapacityArgs.builder()
  *                 .desiredInstances(1)
  *                 .build())
  *             .build());
  * 
- *         var exampleStack = new Stack("exampleStack", StackArgs.builder()        
- *             .name("STACK NAME")
+ *         var exampleStack = new Stack("exampleStack", StackArgs.builder()        
+ *             .name("STACK NAME")
  *             .build());
  * 
- *         var exampleFleetStackAssociation = new FleetStackAssociation("exampleFleetStackAssociation", FleetStackAssociationArgs.builder()        
+ *         var exampleFleetStackAssociation = new FleetStackAssociation("exampleFleetStackAssociation", FleetStackAssociationArgs.builder()        
  *             .fleetName(example.name())
  *             .stackName(exampleStack.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/ImageBuilder.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/ImageBuilder.java index 17818719351..a988c111f49 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/ImageBuilder.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/ImageBuilder.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testFleet = new ImageBuilder("testFleet", ImageBuilderArgs.builder()        
- *             .name("Name")
- *             .description("Description of a ImageBuilder")
- *             .displayName("Display name of a ImageBuilder")
+ *         var testFleet = new ImageBuilder("testFleet", ImageBuilderArgs.builder()        
+ *             .name("Name")
+ *             .description("Description of a ImageBuilder")
+ *             .displayName("Display name of a ImageBuilder")
  *             .enableDefaultInternetAccess(false)
- *             .imageName("AppStream-WinServer2019-10-05-2022")
- *             .instanceType("stream.standard.large")
+ *             .imageName("AppStream-WinServer2019-10-05-2022")
+ *             .instanceType("stream.standard.large")
  *             .vpcConfig(ImageBuilderVpcConfigArgs.builder()
  *                 .subnetIds(example.id())
  *                 .build())
- *             .tags(Map.of("Name", "Example Image Builder"))
+ *             .tags(Map.of("Name", "Example Image Builder"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/Stack.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/Stack.java index 2501eba6b3c..50905d648b0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/Stack.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/Stack.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,54 +52,55 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Stack("example", StackArgs.builder()        
- *             .name("stack name")
- *             .description("stack description")
- *             .displayName("stack display name")
- *             .feedbackUrl("http://your-domain/feedback")
- *             .redirectUrl("http://your-domain/redirect")
+ *         var example = new Stack("example", StackArgs.builder()        
+ *             .name("stack name")
+ *             .description("stack description")
+ *             .displayName("stack display name")
+ *             .feedbackUrl("http://your-domain/feedback")
+ *             .redirectUrl("http://your-domain/redirect")
  *             .storageConnectors(StackStorageConnectorArgs.builder()
- *                 .connectorType("HOMEFOLDERS")
+ *                 .connectorType("HOMEFOLDERS")
  *                 .build())
  *             .userSettings(            
  *                 StackUserSettingArgs.builder()
- *                     .action("CLIPBOARD_COPY_FROM_LOCAL_DEVICE")
- *                     .permission("ENABLED")
+ *                     .action("CLIPBOARD_COPY_FROM_LOCAL_DEVICE")
+ *                     .permission("ENABLED")
  *                     .build(),
  *                 StackUserSettingArgs.builder()
- *                     .action("CLIPBOARD_COPY_TO_LOCAL_DEVICE")
- *                     .permission("ENABLED")
+ *                     .action("CLIPBOARD_COPY_TO_LOCAL_DEVICE")
+ *                     .permission("ENABLED")
  *                     .build(),
  *                 StackUserSettingArgs.builder()
- *                     .action("DOMAIN_PASSWORD_SIGNIN")
- *                     .permission("ENABLED")
+ *                     .action("DOMAIN_PASSWORD_SIGNIN")
+ *                     .permission("ENABLED")
  *                     .build(),
  *                 StackUserSettingArgs.builder()
- *                     .action("DOMAIN_SMART_CARD_SIGNIN")
- *                     .permission("DISABLED")
+ *                     .action("DOMAIN_SMART_CARD_SIGNIN")
+ *                     .permission("DISABLED")
  *                     .build(),
  *                 StackUserSettingArgs.builder()
- *                     .action("FILE_DOWNLOAD")
- *                     .permission("ENABLED")
+ *                     .action("FILE_DOWNLOAD")
+ *                     .permission("ENABLED")
  *                     .build(),
  *                 StackUserSettingArgs.builder()
- *                     .action("FILE_UPLOAD")
- *                     .permission("ENABLED")
+ *                     .action("FILE_UPLOAD")
+ *                     .permission("ENABLED")
  *                     .build(),
  *                 StackUserSettingArgs.builder()
- *                     .action("PRINTING_TO_LOCAL_DEVICE")
- *                     .permission("ENABLED")
+ *                     .action("PRINTING_TO_LOCAL_DEVICE")
+ *                     .permission("ENABLED")
  *                     .build())
  *             .applicationSettings(StackApplicationSettingsArgs.builder()
  *                 .enabled(true)
- *                 .settingsGroup("SettingsGroup")
+ *                 .settingsGroup("SettingsGroup")
  *                 .build())
- *             .tags(Map.of("TagName", "TagValue"))
+ *             .tags(Map.of("TagName", "TagValue"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/User.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/User.java index 67f79929bf1..dd82efb0eaa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/User.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
- *             .authenticationType("USERPOOL")
- *             .userName("EMAIL")
- *             .firstName("FIRST NAME")
- *             .lastName("LAST NAME")
+ *         var example = new User("example", UserArgs.builder()        
+ *             .authenticationType("USERPOOL")
+ *             .userName("EMAIL")
+ *             .firstName("FIRST NAME")
+ *             .lastName("LAST NAME")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appstream/UserStackAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/appstream/UserStackAssociation.java index aaa3717e733..61ff91dfa0d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appstream/UserStackAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appstream/UserStackAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Stack("test", StackArgs.builder()        
- *             .name("STACK NAME")
+ *         var test = new Stack("test", StackArgs.builder()        
+ *             .name("STACK NAME")
  *             .build());
  * 
- *         var testUser = new User("testUser", UserArgs.builder()        
- *             .authenticationType("USERPOOL")
- *             .userName("EMAIL")
+ *         var testUser = new User("testUser", UserArgs.builder()        
+ *             .authenticationType("USERPOOL")
+ *             .userName("EMAIL")
  *             .build());
  * 
- *         var testUserStackAssociation = new UserStackAssociation("testUserStackAssociation", UserStackAssociationArgs.builder()        
+ *         var testUserStackAssociation = new UserStackAssociation("testUserStackAssociation", UserStackAssociationArgs.builder()        
  *             .authenticationType(testUser.authenticationType())
  *             .stackName(test.name())
  *             .userName(testUser.userName())
@@ -63,7 +64,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiCache.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiCache.java index 9775a6735ca..422393bfe33 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiCache.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiCache.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
- *             .authenticationType("API_KEY")
- *             .name("example")
+ *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
+ *             .authenticationType("API_KEY")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleApiCache = new ApiCache("exampleApiCache", ApiCacheArgs.builder()        
+ *         var exampleApiCache = new ApiCache("exampleApiCache", ApiCacheArgs.builder()        
  *             .apiId(example.id())
- *             .apiCachingBehavior("FULL_REQUEST_CACHING")
- *             .type("LARGE")
+ *             .apiCachingBehavior("FULL_REQUEST_CACHING")
+ *             .type("LARGE")
  *             .ttl(900)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiKey.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiKey.java index d8fa3625e42..5cd144e5c9c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/ApiKey.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
- *             .authenticationType("API_KEY")
- *             .name("example")
+ *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
+ *             .authenticationType("API_KEY")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleApiKey = new ApiKey("exampleApiKey", ApiKeyArgs.builder()        
+ *         var exampleApiKey = new ApiKey("exampleApiKey", ApiKeyArgs.builder()        
  *             .apiId(example.id())
- *             .expires("2018-05-03T04:00:00Z")
+ *             .expires("2018-05-03T04:00:00Z")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/DataSource.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/DataSource.java index 1534b6ff9ab..cdd676194f9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/DataSource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/DataSource.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,57 +61,57 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleTable = new Table("exampleTable", TableArgs.builder()        
- *             .name("example")
+ *         var exampleTable = new Table("exampleTable", TableArgs.builder()        
+ *             .name("example")
  *             .readCapacity(1)
  *             .writeCapacity(1)
- *             .hashKey("UserId")
+ *             .hashKey("UserId")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("UserId")
- *                 .type("S")
+ *                 .name("UserId")
+ *                 .type("S")
  *                 .build())
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("appsync.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("appsync.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("dynamodb:*")
+ *                 .effect("Allow")
+ *                 .actions("dynamodb:*")
  *                 .resources(exampleTable.arn())
  *                 .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .name("example")
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("example")
  *             .role(exampleRole.id())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var exampleGraphQLApi = new GraphQLApi("exampleGraphQLApi", GraphQLApiArgs.builder()        
- *             .authenticationType("API_KEY")
- *             .name("my_appsync_example")
+ *         var exampleGraphQLApi = new GraphQLApi("exampleGraphQLApi", GraphQLApiArgs.builder()        
+ *             .authenticationType("API_KEY")
+ *             .name("my_appsync_example")
  *             .build());
  * 
- *         var exampleDataSource = new DataSource("exampleDataSource", DataSourceArgs.builder()        
+ *         var exampleDataSource = new DataSource("exampleDataSource", DataSourceArgs.builder()        
  *             .apiId(exampleGraphQLApi.id())
- *             .name("my_appsync_example")
+ *             .name("my_appsync_example")
  *             .serviceRoleArn(exampleRole.arn())
- *             .type("AMAZON_DYNAMODB")
+ *             .type("AMAZON_DYNAMODB")
  *             .dynamodbConfig(DataSourceDynamodbConfigArgs.builder()
  *                 .tableName(exampleTable.name())
  *                 .build())
@@ -118,7 +119,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainName.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainName.java index d945e3312f7..b1f97079b76 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainName.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainName.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,14 +42,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainName("example", DomainNameArgs.builder()        
- *             .domainName("api.example.com")
+ *         var example = new DomainName("example", DomainNameArgs.builder()        
+ *             .domainName("api.example.com")
  *             .certificateArn(exampleAwsAcmCertificate.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainNameApiAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainNameApiAssociation.java index 6603e73e1db..dc2156ca1f4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainNameApiAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/DomainNameApiAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainNameApiAssociation("example", DomainNameApiAssociationArgs.builder()        
+ *         var example = new DomainNameApiAssociation("example", DomainNameApiAssociationArgs.builder()        
  *             .apiId(exampleAwsAppsyncGraphqlApi.id())
  *             .domainName(exampleAwsAppsyncDomainName.domainName())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/Function.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/Function.java index cf77438b0e3..d844239770a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/Function.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/Function.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,10 +50,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
- *             .authenticationType("API_KEY")
- *             .name("example")
- *             .schema("""
+ *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
+ *             .authenticationType("API_KEY")
+ *             .name("example")
+ *             .schema("""
  * type Mutation {
  *   putPost(id: ID!, title: String!): Post
  * }
@@ -70,50 +71,52 @@
  *   query: Query
  *   mutation: Mutation
  * }
- *             """)
+ *             """)
  *             .build());
  * 
- *         var exampleDataSource = new DataSource("exampleDataSource", DataSourceArgs.builder()        
+ *         var exampleDataSource = new DataSource("exampleDataSource", DataSourceArgs.builder()        
  *             .apiId(example.id())
- *             .name("example")
- *             .type("HTTP")
+ *             .name("example")
+ *             .type("HTTP")
  *             .httpConfig(DataSourceHttpConfigArgs.builder()
- *                 .endpoint("http://example.com")
+ *                 .endpoint("http://example.com")
  *                 .build())
  *             .build());
  * 
- *         var exampleFunction = new Function("exampleFunction", FunctionArgs.builder()        
+ *         var exampleFunction = new Function("exampleFunction", FunctionArgs.builder()        
  *             .apiId(example.id())
  *             .dataSource(exampleDataSource.name())
- *             .name("example")
- *             .requestMappingTemplate("""
+ *             .name("example")
+ *             .requestMappingTemplate("""
  * {
- *     "version": "2018-05-29",
- *     "method": "GET",
- *     "resourcePath": "/",
- *     "params":{
- *         "headers": $utils.http.copyheaders($ctx.request.headers)
+ *     "version": "2018-05-29",
+ *     "method": "GET",
+ *     "resourcePath": "/",
+ *     "params":{
+ *         "headers": $utils.http.copyheaders($ctx.request.headers)
  *     }
  * }
- *             """)
- *             .responseMappingTemplate("""
+ *             """)
+ *             .responseMappingTemplate("""
  * #if($ctx.result.statusCode == 200)
  *     $ctx.result.body
  * #else
  *     $utils.appendError($ctx.result.body, $ctx.result.statusCode)
  * #end
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -135,22 +138,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Function("example", FunctionArgs.builder()        
+ *         var example = new Function("example", FunctionArgs.builder()        
  *             .apiId(exampleAwsAppsyncGraphqlApi.id())
  *             .dataSource(exampleAwsAppsyncDatasource.name())
- *             .name("example")
+ *             .name("example")
  *             .code(StdFunctions.file(FileArgs.builder()
- *                 .input("some-code-dir")
+ *                 .input("some-code-dir")
  *                 .build()).result())
  *             .runtime(FunctionRuntimeArgs.builder()
- *                 .name("APPSYNC_JS")
- *                 .runtimeVersion("1.0.0")
+ *                 .name("APPSYNC_JS")
+ *                 .runtimeVersion("1.0.0")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/Resolver.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/Resolver.java index 33ee414f91d..314d60e0c9b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/Resolver.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/Resolver.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,10 +54,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new GraphQLApi("test", GraphQLApiArgs.builder()        
- *             .authenticationType("API_KEY")
- *             .name("tf-example")
- *             .schema("""
+ *         var test = new GraphQLApi("test", GraphQLApiArgs.builder()        
+ *             .authenticationType("API_KEY")
+ *             .name("tf-example")
+ *             .schema("""
  * type Mutation {
  * 	putPost(id: ID!, title: String!): Post
  * }
@@ -74,57 +75,57 @@
  * 	query: Query
  * 	mutation: Mutation
  * }
- *             """)
+ *             """)
  *             .build());
  * 
- *         var testDataSource = new DataSource("testDataSource", DataSourceArgs.builder()        
+ *         var testDataSource = new DataSource("testDataSource", DataSourceArgs.builder()        
  *             .apiId(test.id())
- *             .name("my_example")
- *             .type("HTTP")
+ *             .name("my_example")
+ *             .type("HTTP")
  *             .httpConfig(DataSourceHttpConfigArgs.builder()
- *                 .endpoint("http://example.com")
+ *                 .endpoint("http://example.com")
  *                 .build())
  *             .build());
  * 
  *         // UNIT type resolver (default)
- *         var testResolver = new Resolver("testResolver", ResolverArgs.builder()        
+ *         var testResolver = new Resolver("testResolver", ResolverArgs.builder()        
  *             .apiId(test.id())
- *             .field("singlePost")
- *             .type("Query")
+ *             .field("singlePost")
+ *             .type("Query")
  *             .dataSource(testDataSource.name())
- *             .requestTemplate("""
+ *             .requestTemplate("""
  * {
- *     "version": "2018-05-29",
- *     "method": "GET",
- *     "resourcePath": "/",
- *     "params":{
- *         "headers": $utils.http.copyheaders($ctx.request.headers)
+ *     "version": "2018-05-29",
+ *     "method": "GET",
+ *     "resourcePath": "/",
+ *     "params":{
+ *         "headers": $utils.http.copyheaders($ctx.request.headers)
  *     }
  * }
- *             """)
- *             .responseTemplate("""
+ *             """)
+ *             .responseTemplate("""
  * #if($ctx.result.statusCode == 200)
  *     $ctx.result.body
  * #else
  *     $utils.appendError($ctx.result.body, $ctx.result.statusCode)
  * #end
- *             """)
+ *             """)
  *             .cachingConfig(ResolverCachingConfigArgs.builder()
  *                 .cachingKeys(                
- *                     "$context.identity.sub",
- *                     "$context.arguments.id")
+ *                     "$context.identity.sub",
+ *                     "$context.arguments.id")
  *                 .ttl(60)
  *                 .build())
  *             .build());
  * 
  *         // PIPELINE type resolver
- *         var mutationPipelineTest = new Resolver("mutationPipelineTest", ResolverArgs.builder()        
- *             .type("Mutation")
+ *         var mutationPipelineTest = new Resolver("mutationPipelineTest", ResolverArgs.builder()        
+ *             .type("Mutation")
  *             .apiId(test.id())
- *             .field("pipelineTest")
- *             .requestTemplate("{}")
- *             .responseTemplate("$util.toJson($ctx.result)")
- *             .kind("PIPELINE")
+ *             .field("pipelineTest")
+ *             .requestTemplate("{}")
+ *             .responseTemplate("$util.toJson($ctx.result)")
+ *             .kind("PIPELINE")
  *             .pipelineConfig(ResolverPipelineConfigArgs.builder()
  *                 .functions(                
  *                     test1.functionId(),
@@ -135,13 +136,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### JS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -164,17 +167,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Resolver("example", ResolverArgs.builder()        
- *             .type("Query")
+ *         var example = new Resolver("example", ResolverArgs.builder()        
+ *             .type("Query")
  *             .apiId(testAwsAppsyncGraphqlApi.id())
- *             .field("pipelineTest")
- *             .kind("PIPELINE")
+ *             .field("pipelineTest")
+ *             .kind("PIPELINE")
  *             .code(StdFunctions.file(FileArgs.builder()
- *                 .input("some-code-dir")
+ *                 .input("some-code-dir")
  *                 .build()).result())
  *             .runtime(ResolverRuntimeArgs.builder()
- *                 .name("APPSYNC_JS")
- *                 .runtimeVersion("1.0.0")
+ *                 .name("APPSYNC_JS")
+ *                 .runtimeVersion("1.0.0")
  *                 .build())
  *             .pipelineConfig(ResolverPipelineConfigArgs.builder()
  *                 .functions(test.functionId())
@@ -183,7 +186,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/appsync/Type.java b/sdk/java/src/main/java/com/pulumi/aws/appsync/Type.java index ca18336c745..86428134d32 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/appsync/Type.java +++ b/sdk/java/src/main/java/com/pulumi/aws/appsync/Type.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,27 +43,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
- *             .authenticationType("API_KEY")
- *             .name("example")
+ *         var example = new GraphQLApi("example", GraphQLApiArgs.builder()        
+ *             .authenticationType("API_KEY")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleType = new Type("exampleType", TypeArgs.builder()        
+ *         var exampleType = new Type("exampleType", TypeArgs.builder()        
  *             .apiId(example.id())
- *             .format("SDL")
- *             .definition("""
+ *             .format("SDL")
+ *             .definition("""
  * type Mutation
  * 
  * {
  * putPost(id: ID!,title: String! ): Post
  * 
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/athena/AthenaFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/athena/AthenaFunctions.java index a855d1fc289..c300ac570bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/athena/AthenaFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/athena/AthenaFunctions.java @@ -20,7 +20,8 @@ public final class AthenaFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class AthenaFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AthenaFunctions.getNamedQuery(GetNamedQueryArgs.builder()
-     *             .name("athenaQueryName")
+     *             .name("athenaQueryName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getNamedQuery(GetNamedQueryArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getNamedQuery(GetNamedQueryArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AthenaFunctions.getNamedQuery(GetNamedQueryArgs.builder()
-     *             .name("athenaQueryName")
+     *             .name("athenaQueryName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getNamedQueryPlain(GetNamed * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getNamedQueryPlain(GetNamed
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AthenaFunctions.getNamedQuery(GetNamedQueryArgs.builder()
-     *             .name("athenaQueryName")
+     *             .name("athenaQueryName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getNamedQuery(GetNamedQueryArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getNamedQuery(GetNamedQueryArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AthenaFunctions.getNamedQuery(GetNamedQueryArgs.builder()
-     *             .name("athenaQueryName")
+     *             .name("athenaQueryName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/athena/DataCatalog.java b/sdk/java/src/main/java/com/pulumi/aws/athena/DataCatalog.java index 024bb39b18f..7e1a2349a8a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/athena/DataCatalog.java +++ b/sdk/java/src/main/java/com/pulumi/aws/athena/DataCatalog.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,23 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
- *             .name("athena-data-catalog")
- *             .description("Example Athena data catalog")
- *             .type("LAMBDA")
- *             .parameters(Map.of("function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"))
- *             .tags(Map.of("Name", "example-athena-data-catalog"))
+ *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
+ *             .name("athena-data-catalog")
+ *             .description("Example Athena data catalog")
+ *             .type("LAMBDA")
+ *             .parameters(Map.of("function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"))
+ *             .tags(Map.of("Name", "example-athena-data-catalog"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Hive based Data Catalog * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,22 +86,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
- *             .name("hive-data-catalog")
- *             .description("Hive based Data Catalog")
- *             .type("HIVE")
- *             .parameters(Map.of("metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"))
+ *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
+ *             .name("hive-data-catalog")
+ *             .description("Hive based Data Catalog")
+ *             .type("HIVE")
+ *             .parameters(Map.of("metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Glue based Data Catalog * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -119,22 +124,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
- *             .name("glue-data-catalog")
- *             .description("Glue based Data Catalog")
- *             .type("GLUE")
- *             .parameters(Map.of("catalog-id", "123456789012"))
+ *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
+ *             .name("glue-data-catalog")
+ *             .description("Glue based Data Catalog")
+ *             .type("GLUE")
+ *             .parameters(Map.of("catalog-id", "123456789012"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda based Data Catalog * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -155,19 +162,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
- *             .name("lambda-data-catalog")
- *             .description("Lambda based Data Catalog")
- *             .type("LAMBDA")
+ *         var example = new DataCatalog("example", DataCatalogArgs.builder()        
+ *             .name("lambda-data-catalog")
+ *             .description("Lambda based Data Catalog")
+ *             .type("LAMBDA")
  *             .parameters(Map.ofEntries(
- *                 Map.entry("metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1"),
- *                 Map.entry("record-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2")
+ *                 Map.entry("metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1"),
+ *                 Map.entry("record-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/athena/Database.java b/sdk/java/src/main/java/com/pulumi/aws/athena/Database.java index 718e2b170b6..d18887c5fd2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/athena/Database.java +++ b/sdk/java/src/main/java/com/pulumi/aws/athena/Database.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleDatabase = new Database("exampleDatabase", DatabaseArgs.builder()        
- *             .name("database_name")
+ *         var exampleDatabase = new Database("exampleDatabase", DatabaseArgs.builder()        
+ *             .name("database_name")
  *             .bucket(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/athena/NamedQuery.java b/sdk/java/src/main/java/com/pulumi/aws/athena/NamedQuery.java index 6dc7f5fb44d..c67205a44c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/athena/NamedQuery.java +++ b/sdk/java/src/main/java/com/pulumi/aws/athena/NamedQuery.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,42 +53,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var hoge = new BucketV2("hoge", BucketV2Args.builder()        
- *             .bucket("tf-test")
+ *         var hoge = new BucketV2("hoge", BucketV2Args.builder()        
+ *             .bucket("tf-test")
  *             .build());
  * 
- *         var test = new Key("test", KeyArgs.builder()        
+ *         var test = new Key("test", KeyArgs.builder()        
  *             .deletionWindowInDays(7)
- *             .description("Athena KMS Key")
+ *             .description("Athena KMS Key")
  *             .build());
  * 
- *         var testWorkgroup = new Workgroup("testWorkgroup", WorkgroupArgs.builder()        
- *             .name("example")
+ *         var testWorkgroup = new Workgroup("testWorkgroup", WorkgroupArgs.builder()        
+ *             .name("example")
  *             .configuration(WorkgroupConfigurationArgs.builder()
  *                 .resultConfiguration(WorkgroupConfigurationResultConfigurationArgs.builder()
  *                     .encryptionConfiguration(WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs.builder()
- *                         .encryptionOption("SSE_KMS")
+ *                         .encryptionOption("SSE_KMS")
  *                         .kmsKeyArn(test.arn())
  *                         .build())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var hogeDatabase = new Database("hogeDatabase", DatabaseArgs.builder()        
- *             .name("users")
+ *         var hogeDatabase = new Database("hogeDatabase", DatabaseArgs.builder()        
+ *             .name("users")
  *             .bucket(hoge.id())
  *             .build());
  * 
- *         var foo = new NamedQuery("foo", NamedQueryArgs.builder()        
- *             .name("bar")
+ *         var foo = new NamedQuery("foo", NamedQueryArgs.builder()        
+ *             .name("bar")
  *             .workgroup(testWorkgroup.id())
  *             .database(hogeDatabase.name())
- *             .query(hogeDatabase.name().applyValue(name -> String.format("SELECT * FROM %s limit 10;", name)))
+ *             .query(hogeDatabase.name().applyValue(name -> String.format("SELECT * FROM %s limit 10;", name)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/athena/PreparedStatement.java b/sdk/java/src/main/java/com/pulumi/aws/athena/PreparedStatement.java index c0d446e0e8b..97896100729 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/athena/PreparedStatement.java +++ b/sdk/java/src/main/java/com/pulumi/aws/athena/PreparedStatement.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,29 +48,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new BucketV2("test", BucketV2Args.builder()        
- *             .bucket("tf-test")
+ *         var test = new BucketV2("test", BucketV2Args.builder()        
+ *             .bucket("tf-test")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var testWorkgroup = new Workgroup("testWorkgroup", WorkgroupArgs.builder()        
- *             .name("tf-test")
+ *         var testWorkgroup = new Workgroup("testWorkgroup", WorkgroupArgs.builder()        
+ *             .name("tf-test")
  *             .build());
  * 
- *         var testDatabase = new Database("testDatabase", DatabaseArgs.builder()        
- *             .name("example")
+ *         var testDatabase = new Database("testDatabase", DatabaseArgs.builder()        
+ *             .name("example")
  *             .bucket(test.bucket())
  *             .build());
  * 
- *         var testPreparedStatement = new PreparedStatement("testPreparedStatement", PreparedStatementArgs.builder()        
- *             .name("tf_test")
- *             .queryStatement(testDatabase.name().applyValue(name -> String.format("SELECT * FROM %s WHERE x = ?", name)))
+ *         var testPreparedStatement = new PreparedStatement("testPreparedStatement", PreparedStatementArgs.builder()        
+ *             .name("tf_test")
+ *             .queryStatement(testDatabase.name().applyValue(name -> String.format("SELECT * FROM %s WHERE x = ?", name)))
  *             .workgroup(testWorkgroup.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/athena/Workgroup.java b/sdk/java/src/main/java/com/pulumi/aws/athena/Workgroup.java index 4287dab66a4..7c3fcda5820 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/athena/Workgroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/athena/Workgroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,15 +48,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workgroup("example", WorkgroupArgs.builder()        
- *             .name("example")
+ *         var example = new Workgroup("example", WorkgroupArgs.builder()        
+ *             .name("example")
  *             .configuration(WorkgroupConfigurationArgs.builder()
  *                 .enforceWorkgroupConfiguration(true)
  *                 .publishCloudwatchMetricsEnabled(true)
  *                 .resultConfiguration(WorkgroupConfigurationResultConfigurationArgs.builder()
- *                     .outputLocation(String.format("s3://%s/output/", exampleAwsS3Bucket.bucket()))
+ *                     .outputLocation(String.format("s3://%s/output/", exampleAwsS3Bucket.bucket()))
  *                     .encryptionConfiguration(WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs.builder()
- *                         .encryptionOption("SSE_KMS")
+ *                         .encryptionOption("SSE_KMS")
  *                         .kmsKeyArn(exampleAwsKmsKey.arn())
  *                         .build())
  *                     .build())
@@ -64,7 +65,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AccountRegistration.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AccountRegistration.java index 713901da4ca..8b04356b403 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AccountRegistration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AccountRegistration.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccountRegistration("example");
+ *         var example = new AccountRegistration("example");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Deregister On Destroy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -74,13 +77,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccountRegistration("example", AccountRegistrationArgs.builder()        
+ *         var example = new AccountRegistration("example", AccountRegistrationArgs.builder()        
  *             .deregisterOnDestroy(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Assessment.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Assessment.java index 5c10d236cf1..f32ea4e1a32 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Assessment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Assessment.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,30 +53,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Assessment("test", AssessmentArgs.builder()        
- *             .name("example")
+ *         var test = new Assessment("test", AssessmentArgs.builder()        
+ *             .name("example")
  *             .assessmentReportsDestination(AssessmentAssessmentReportsDestinationArgs.builder()
- *                 .destination(String.format("s3://%s", testAwsS3Bucket.id()))
- *                 .destinationType("S3")
+ *                 .destination(String.format("s3://%s", testAwsS3Bucket.id()))
+ *                 .destinationType("S3")
  *                 .build())
  *             .frameworkId(testAwsAuditmanagerFramework.id())
  *             .roles(AssessmentRoleArgs.builder()
  *                 .roleArn(testAwsIamRole.arn())
- *                 .roleType("PROCESS_OWNER")
+ *                 .roleType("PROCESS_OWNER")
  *                 .build())
  *             .scope(AssessmentScopeArgs.builder()
  *                 .awsAccounts(AssessmentScopeAwsAccountArgs.builder()
  *                     .id(current.accountId())
  *                     .build())
  *                 .awsServices(AssessmentScopeAwsServiceArgs.builder()
- *                     .serviceName("S3")
+ *                     .serviceName("S3")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentDelegation.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentDelegation.java index 5d299d40926..b2f9d9d681f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentDelegation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentDelegation.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,16 +44,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AssessmentDelegation("example", AssessmentDelegationArgs.builder()        
+ *         var example = new AssessmentDelegation("example", AssessmentDelegationArgs.builder()        
  *             .assessmentId(exampleAwsAuditmanagerAssessment.id())
  *             .roleArn(exampleAwsIamRole.arn())
- *             .roleType("RESOURCE_OWNER")
- *             .controlSetId("example")
+ *             .roleType("RESOURCE_OWNER")
+ *             .controlSetId("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentReport.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentReport.java index 7750c1fa36a..2c1d6471218 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentReport.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AssessmentReport.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AssessmentReport("test", AssessmentReportArgs.builder()        
- *             .name("example")
+ *         var test = new AssessmentReport("test", AssessmentReportArgs.builder()        
+ *             .name("example")
  *             .assessmentId(testAwsAuditmanagerAssessment.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AuditmanagerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AuditmanagerFunctions.java index 95f3c294935..3fd86bcef02 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AuditmanagerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/AuditmanagerFunctions.java @@ -25,7 +25,8 @@ public final class AuditmanagerFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,19 +48,21 @@ public final class AuditmanagerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Framework Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -84,35 +87,36 @@ public final class AuditmanagerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *         final var example2 = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("2. Personnel")
-     *             .type("Standard")
+     *             .name("2. Personnel")
+     *             .type("Standard")
      *             .build());
      * 
-     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
-     *             .name("example")
+     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
+     *             .name("example")
      *             .controlSets(            
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example")
+     *                     .name("example")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build(),
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example2")
+     *                     .name("example2")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -127,7 +131,8 @@ public static Output getControl(GetControlArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -149,19 +154,21 @@ public static Output getControl(GetControlArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Framework Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -186,35 +193,36 @@ public static Output getControl(GetControlArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *         final var example2 = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("2. Personnel")
-     *             .type("Standard")
+     *             .name("2. Personnel")
+     *             .type("Standard")
      *             .build());
      * 
-     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
-     *             .name("example")
+     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
+     *             .name("example")
      *             .controlSets(            
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example")
+     *                     .name("example")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build(),
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example2")
+     *                     .name("example2")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -229,7 +237,8 @@ public static CompletableFuture getControlPlain(GetControlPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,19 +260,21 @@ public static CompletableFuture getControlPlain(GetControlPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Framework Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -288,35 +299,36 @@ public static CompletableFuture getControlPlain(GetControlPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *         final var example2 = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("2. Personnel")
-     *             .type("Standard")
+     *             .name("2. Personnel")
+     *             .type("Standard")
      *             .build());
      * 
-     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
-     *             .name("example")
+     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
+     *             .name("example")
      *             .controlSets(            
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example")
+     *                     .name("example")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build(),
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example2")
+     *                     .name("example2")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -331,7 +343,8 @@ public static Output getControl(GetControlArgs args, InvokeOpt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -353,19 +366,21 @@ public static Output getControl(GetControlArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Framework Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -390,35 +405,36 @@ public static Output getControl(GetControlArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("1. Risk Management")
-     *             .type("Standard")
+     *             .name("1. Risk Management")
+     *             .type("Standard")
      *             .build());
      * 
      *         final var example2 = AuditmanagerFunctions.getControl(GetControlArgs.builder()
-     *             .name("2. Personnel")
-     *             .type("Standard")
+     *             .name("2. Personnel")
+     *             .type("Standard")
      *             .build());
      * 
-     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
-     *             .name("example")
+     *         var exampleFramework = new Framework("exampleFramework", FrameworkArgs.builder()        
+     *             .name("example")
      *             .controlSets(            
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example")
+     *                     .name("example")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build(),
      *                 FrameworkControlSetArgs.builder()
-     *                     .name("example2")
+     *                     .name("example2")
      *                     .controls(FrameworkControlSetControlArgs.builder()
-     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
+     *                         .id(example2.applyValue(getControlResult -> getControlResult.id()))
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -433,7 +449,8 @@ public static CompletableFuture getControlPlain(GetControlPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -455,13 +472,14 @@ public static CompletableFuture getControlPlain(GetControlPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("Essential Eight")
-     *             .frameworkType("Standard")
+     *             .name("Essential Eight")
+     *             .frameworkType("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -476,7 +494,8 @@ public static Output getFramework(GetFrameworkArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -498,13 +517,14 @@ public static Output getFramework(GetFrameworkArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("Essential Eight")
-     *             .frameworkType("Standard")
+     *             .name("Essential Eight")
+     *             .frameworkType("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -519,7 +539,8 @@ public static CompletableFuture getFrameworkPlain(GetFramewo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -541,13 +562,14 @@ public static CompletableFuture getFrameworkPlain(GetFramewo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("Essential Eight")
-     *             .frameworkType("Standard")
+     *             .name("Essential Eight")
+     *             .frameworkType("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -562,7 +584,8 @@ public static Output getFramework(GetFrameworkArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -584,13 +607,14 @@ public static Output getFramework(GetFrameworkArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = AuditmanagerFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("Essential Eight")
-     *             .frameworkType("Standard")
+     *             .name("Essential Eight")
+     *             .frameworkType("Standard")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Control.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Control.java index 3c637c5547a..4430344381d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Control.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Control.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Control("example", ControlArgs.builder()        
- *             .name("example")
+ *         var example = new Control("example", ControlArgs.builder()        
+ *             .name("example")
  *             .controlMappingSources(ControlControlMappingSourceArgs.builder()
- *                 .sourceName("example")
- *                 .sourceSetUpOption("Procedural_Controls_Mapping")
- *                 .sourceType("MANUAL")
+ *                 .sourceName("example")
+ *                 .sourceSetUpOption("Procedural_Controls_Mapping")
+ *                 .sourceType("MANUAL")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Framework.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Framework.java index 1e520600a02..11928e9a93f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Framework.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/Framework.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,10 +48,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Framework("test", FrameworkArgs.builder()        
- *             .name("example")
+ *         var test = new Framework("test", FrameworkArgs.builder()        
+ *             .name("example")
  *             .controlSets(FrameworkControlSetArgs.builder()
- *                 .name("example")
+ *                 .name("example")
  *                 .controls(                
  *                     FrameworkControlSetControlArgs.builder()
  *                         .id(test1.id())
@@ -63,7 +64,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/FrameworkShare.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/FrameworkShare.java index 044ed4b6880..6fa6655566b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/FrameworkShare.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/FrameworkShare.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FrameworkShare("example", FrameworkShareArgs.builder()        
- *             .destinationAccount("012345678901")
- *             .destinationRegion("us-east-1")
+ *         var example = new FrameworkShare("example", FrameworkShareArgs.builder()        
+ *             .destinationAccount("012345678901")
+ *             .destinationRegion("us-east-1")
  *             .frameworkId(exampleAwsAuditmanagerFramework.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/OrganizationAdminAccountRegistration.java b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/OrganizationAdminAccountRegistration.java index 1ce35ae1a88..b8700a4cc6b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/auditmanager/OrganizationAdminAccountRegistration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/auditmanager/OrganizationAdminAccountRegistration.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OrganizationAdminAccountRegistration("example", OrganizationAdminAccountRegistrationArgs.builder()        
- *             .adminAccountId("012345678901")
+ *         var example = new OrganizationAdminAccountRegistration("example", OrganizationAdminAccountRegistrationArgs.builder()        
+ *             .adminAccountId("012345678901")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Attachment.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Attachment.java index 05f648b3bc0..64e7a881e49 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Attachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Attachment.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,20 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new load balancer attachment
- *         var example = new Attachment("example", AttachmentArgs.builder()        
+ *         var example = new Attachment("example", AttachmentArgs.builder()        
  *             .autoscalingGroupName(exampleAwsAutoscalingGroup.id())
  *             .elb(exampleAwsElb.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,14 +80,15 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new ALB Target Group attachment
- *         var example = new Attachment("example", AttachmentArgs.builder()        
+ *         var example = new Attachment("example", AttachmentArgs.builder()        
  *             .autoscalingGroupName(exampleAwsAutoscalingGroup.id())
  *             .lbTargetGroupArn(exampleAwsLbTargetGroup.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/AutoscalingFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/AutoscalingFunctions.java index 4b273b5f5be..15b4e9335c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/AutoscalingFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/AutoscalingFunctions.java @@ -24,7 +24,8 @@ public final class AutoscalingFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,28 +51,29 @@ public final class AutoscalingFunctions {
      *         final var groups = AutoscalingFunctions.getAmiIds(GetAmiIdsArgs.builder()
      *             .filters(            
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag:Team")
-     *                     .values("Pets")
+     *                     .name("tag:Team")
+     *                     .values("Pets")
      *                     .build(),
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag-key")
-     *                     .values("Environment")
+     *                     .name("tag-key")
+     *                     .values("Environment")
      *                     .build())
      *             .build());
      * 
-     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
-     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
+     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
+     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
      *             .notifications(            
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
-     *             .topicArn("TOPIC ARN")
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+     *             .topicArn("TOPIC ARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -85,7 +87,8 @@ public static Output getAmiIds() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -111,28 +114,29 @@ public static Output getAmiIds() {
      *         final var groups = AutoscalingFunctions.getAmiIds(GetAmiIdsArgs.builder()
      *             .filters(            
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag:Team")
-     *                     .values("Pets")
+     *                     .name("tag:Team")
+     *                     .values("Pets")
      *                     .build(),
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag-key")
-     *                     .values("Environment")
+     *                     .name("tag-key")
+     *                     .values("Environment")
      *                     .build())
      *             .build());
      * 
-     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
-     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
+     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
+     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
      *             .notifications(            
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
-     *             .topicArn("TOPIC ARN")
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+     *             .topicArn("TOPIC ARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +150,8 @@ public static CompletableFuture getAmiIdsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -172,28 +177,29 @@ public static CompletableFuture getAmiIdsPlain() {
      *         final var groups = AutoscalingFunctions.getAmiIds(GetAmiIdsArgs.builder()
      *             .filters(            
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag:Team")
-     *                     .values("Pets")
+     *                     .name("tag:Team")
+     *                     .values("Pets")
      *                     .build(),
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag-key")
-     *                     .values("Environment")
+     *                     .name("tag-key")
+     *                     .values("Environment")
      *                     .build())
      *             .build());
      * 
-     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
-     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
+     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
+     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
      *             .notifications(            
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
-     *             .topicArn("TOPIC ARN")
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+     *             .topicArn("TOPIC ARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -207,7 +213,8 @@ public static Output getAmiIds(GetAmiIdsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -233,28 +240,29 @@ public static Output getAmiIds(GetAmiIdsArgs args) {
      *         final var groups = AutoscalingFunctions.getAmiIds(GetAmiIdsArgs.builder()
      *             .filters(            
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag:Team")
-     *                     .values("Pets")
+     *                     .name("tag:Team")
+     *                     .values("Pets")
      *                     .build(),
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag-key")
-     *                     .values("Environment")
+     *                     .name("tag-key")
+     *                     .values("Environment")
      *                     .build())
      *             .build());
      * 
-     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
-     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
+     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
+     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
      *             .notifications(            
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
-     *             .topicArn("TOPIC ARN")
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+     *             .topicArn("TOPIC ARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -268,7 +276,8 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -294,28 +303,29 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr
      *         final var groups = AutoscalingFunctions.getAmiIds(GetAmiIdsArgs.builder()
      *             .filters(            
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag:Team")
-     *                     .values("Pets")
+     *                     .name("tag:Team")
+     *                     .values("Pets")
      *                     .build(),
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag-key")
-     *                     .values("Environment")
+     *                     .name("tag-key")
+     *                     .values("Environment")
      *                     .build())
      *             .build());
      * 
-     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
-     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
+     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
+     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
      *             .notifications(            
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
-     *             .topicArn("TOPIC ARN")
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+     *             .topicArn("TOPIC ARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -329,7 +339,8 @@ public static Output getAmiIds(GetAmiIdsArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -355,28 +366,29 @@ public static Output getAmiIds(GetAmiIdsArgs args, InvokeOption
      *         final var groups = AutoscalingFunctions.getAmiIds(GetAmiIdsArgs.builder()
      *             .filters(            
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag:Team")
-     *                     .values("Pets")
+     *                     .name("tag:Team")
+     *                     .values("Pets")
      *                     .build(),
      *                 GetAmiIdsFilterArgs.builder()
-     *                     .name("tag-key")
-     *                     .values("Environment")
+     *                     .name("tag-key")
+     *                     .values("Environment")
      *                     .build())
      *             .build());
      * 
-     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
-     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
+     *         var slackNotifications = new Notification("slackNotifications", NotificationArgs.builder()        
+     *             .groupNames(groups.applyValue(getAmiIdsResult -> getAmiIdsResult.names()))
      *             .notifications(            
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
-     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
-     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
-     *             .topicArn("TOPIC ARN")
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+     *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+     *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+     *             .topicArn("TOPIC ARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -389,7 +401,8 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -411,12 +424,13 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = AutoscalingFunctions.getGroup(GetGroupArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -429,7 +443,8 @@ public static Output getGroup(GetGroupArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -451,12 +466,13 @@ public static Output getGroup(GetGroupArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = AutoscalingFunctions.getGroup(GetGroupArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -469,7 +485,8 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -491,12 +508,13 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = AutoscalingFunctions.getGroup(GetGroupArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -509,7 +527,8 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -531,12 +550,13 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = AutoscalingFunctions.getGroup(GetGroupArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Group.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Group.java index c1558ff7654..5a0d6959cd3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Group.java @@ -35,7 +35,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -62,17 +63,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new PlacementGroup("test", PlacementGroupArgs.builder()        
- *             .name("test")
- *             .strategy("cluster")
+ *         var test = new PlacementGroup("test", PlacementGroupArgs.builder()        
+ *             .name("test")
+ *             .strategy("cluster")
  *             .build());
  * 
- *         var bar = new Group("bar", GroupArgs.builder()        
- *             .name("foobar3-test")
+ *         var bar = new Group("bar", GroupArgs.builder()        
+ *             .name("foobar3-test")
  *             .maxSize(5)
  *             .minSize(2)
  *             .healthCheckGracePeriod(300)
- *             .healthCheckType("ELB")
+ *             .healthCheckType("ELB")
  *             .desiredCapacity(4)
  *             .forceDelete(true)
  *             .placementGroup(test.id())
@@ -85,39 +86,41 @@
  *                 .maxHealthyPercentage(120)
  *                 .build())
  *             .initialLifecycleHooks(GroupInitialLifecycleHookArgs.builder()
- *                 .name("foobar")
- *                 .defaultResult("CONTINUE")
+ *                 .name("foobar")
+ *                 .defaultResult("CONTINUE")
  *                 .heartbeatTimeout(2000)
- *                 .lifecycleTransition("autoscaling:EC2_INSTANCE_LAUNCHING")
+ *                 .lifecycleTransition("autoscaling:EC2_INSTANCE_LAUNCHING")
  *                 .notificationMetadata(serializeJson(
  *                     jsonObject(
- *                         jsonProperty("foo", "bar")
+ *                         jsonProperty("foo", "bar")
  *                     )))
- *                 .notificationTargetArn("arn:aws:sqs:us-east-1:444455556666:queue1*")
- *                 .roleArn("arn:aws:iam::123456789012:role/S3Access")
+ *                 .notificationTargetArn("arn:aws:sqs:us-east-1:444455556666:queue1*")
+ *                 .roleArn("arn:aws:iam::123456789012:role/S3Access")
  *                 .build())
  *             .tags(            
  *                 GroupTagArgs.builder()
- *                     .key("foo")
- *                     .value("bar")
+ *                     .key("foo")
+ *                     .value("bar")
  *                     .propagateAtLaunch(true)
  *                     .build(),
  *                 GroupTagArgs.builder()
- *                     .key("lorem")
- *                     .value("ipsum")
+ *                     .key("lorem")
+ *                     .value("ipsum")
  *                     .propagateAtLaunch(false)
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Latest Version Of Launch Template * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -141,32 +144,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foobar = new LaunchTemplate("foobar", LaunchTemplateArgs.builder()        
- *             .namePrefix("foobar")
- *             .imageId("ami-1a2b3c")
- *             .instanceType("t2.micro")
+ *         var foobar = new LaunchTemplate("foobar", LaunchTemplateArgs.builder()        
+ *             .namePrefix("foobar")
+ *             .imageId("ami-1a2b3c")
+ *             .instanceType("t2.micro")
  *             .build());
  * 
- *         var bar = new Group("bar", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
+ *         var bar = new Group("bar", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
  *             .desiredCapacity(1)
  *             .maxSize(1)
  *             .minSize(1)
  *             .launchTemplate(GroupLaunchTemplateArgs.builder()
  *                 .id(foobar.id())
- *                 .version("$Latest")
+ *                 .version("$Latest")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mixed Instances Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -192,14 +197,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
- *             .namePrefix("example")
+ *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
+ *             .namePrefix("example")
  *             .imageId(exampleAwsAmi.id())
- *             .instanceType("c5.large")
+ *             .instanceType("c5.large")
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
  *             .desiredCapacity(1)
  *             .maxSize(1)
  *             .minSize(1)
@@ -210,12 +215,12 @@
  *                         .build())
  *                     .overrides(                    
  *                         GroupMixedInstancesPolicyLaunchTemplateOverrideArgs.builder()
- *                             .instanceType("c4.large")
- *                             .weightedCapacity("3")
+ *                             .instanceType("c4.large")
+ *                             .weightedCapacity("3")
  *                             .build(),
  *                         GroupMixedInstancesPolicyLaunchTemplateOverrideArgs.builder()
- *                             .instanceType("c3.large")
- *                             .weightedCapacity("2")
+ *                             .instanceType("c3.large")
+ *                             .weightedCapacity("2")
  *                             .build())
  *                     .build())
  *                 .build())
@@ -223,13 +228,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mixed Instances Policy with Spot Instances and Capacity Rebalance * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -256,13 +263,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
- *             .namePrefix("example")
+ *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
+ *             .namePrefix("example")
  *             .imageId(exampleAwsAmi.id())
- *             .instanceType("c5.large")
+ *             .instanceType("c5.large")
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
  *             .capacityRebalance(true)
  *             .desiredCapacity(12)
  *             .maxSize(15)
@@ -274,7 +281,7 @@
  *                 .instancesDistribution(GroupMixedInstancesPolicyInstancesDistributionArgs.builder()
  *                     .onDemandBaseCapacity(0)
  *                     .onDemandPercentageAboveBaseCapacity(25)
- *                     .spotAllocationStrategy("capacity-optimized")
+ *                     .spotAllocationStrategy("capacity-optimized")
  *                     .build())
  *                 .launchTemplate(GroupMixedInstancesPolicyLaunchTemplateArgs.builder()
  *                     .launchTemplateSpecification(GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs.builder()
@@ -282,12 +289,12 @@
  *                         .build())
  *                     .overrides(                    
  *                         GroupMixedInstancesPolicyLaunchTemplateOverrideArgs.builder()
- *                             .instanceType("c4.large")
- *                             .weightedCapacity("3")
+ *                             .instanceType("c4.large")
+ *                             .weightedCapacity("3")
  *                             .build(),
  *                         GroupMixedInstancesPolicyLaunchTemplateOverrideArgs.builder()
- *                             .instanceType("c3.large")
- *                             .weightedCapacity("2")
+ *                             .instanceType("c3.large")
+ *                             .weightedCapacity("2")
  *                             .build())
  *                     .build())
  *                 .build())
@@ -295,7 +302,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mixed Instances Policy with Instance level LaunchTemplateSpecification Overrides @@ -303,7 +311,8 @@ * When using a diverse instance set, some instance types might require a launch template with configuration values unique to that instance type such as a different AMI (Graviton2), architecture specific user data script, different EBS configuration, or different networking configuration. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -329,19 +338,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
- *             .namePrefix("example")
+ *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
+ *             .namePrefix("example")
  *             .imageId(exampleAwsAmi.id())
- *             .instanceType("c5.large")
+ *             .instanceType("c5.large")
  *             .build());
  * 
- *         var example2 = new LaunchTemplate("example2", LaunchTemplateArgs.builder()        
- *             .namePrefix("example2")
+ *         var example2 = new LaunchTemplate("example2", LaunchTemplateArgs.builder()        
+ *             .namePrefix("example2")
  *             .imageId(example2AwsAmi.id())
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
  *             .desiredCapacity(1)
  *             .maxSize(1)
  *             .minSize(1)
@@ -352,15 +361,15 @@
  *                         .build())
  *                     .overrides(                    
  *                         GroupMixedInstancesPolicyLaunchTemplateOverrideArgs.builder()
- *                             .instanceType("c4.large")
- *                             .weightedCapacity("3")
+ *                             .instanceType("c4.large")
+ *                             .weightedCapacity("3")
  *                             .build(),
  *                         GroupMixedInstancesPolicyLaunchTemplateOverrideArgs.builder()
- *                             .instanceType("c6g.large")
+ *                             .instanceType("c6g.large")
  *                             .launchTemplateSpecification(GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs.builder()
  *                                 .launchTemplateId(example2.id())
  *                                 .build())
- *                             .weightedCapacity("2")
+ *                             .weightedCapacity("2")
  *                             .build())
  *                     .build())
  *                 .build())
@@ -368,7 +377,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mixed Instances Policy with Attribute-based Instance Type Selection @@ -376,7 +386,8 @@ * As an alternative to manually choosing instance types when creating a mixed instances group, you can specify a set of instance attributes that describe your compute requirements. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -402,14 +413,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
- *             .namePrefix("example")
+ *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
+ *             .namePrefix("example")
  *             .imageId(exampleAwsAmi.id())
- *             .instanceType("c5.large")
+ *             .instanceType("c5.large")
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
  *             .desiredCapacity(1)
  *             .maxSize(1)
  *             .minSize(1)
@@ -434,13 +445,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Dynamic tagging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -463,22 +476,22 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var extraTags = config.get("extraTags").orElse(        
+ *         final var extraTags = config.get("extraTags").orElse(        
  *             %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
  *             %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
- *         var test = new Group("test", GroupArgs.builder()        
+ *         var test = new Group("test", GroupArgs.builder()        
  *             .tags(            
  *                 GroupTagArgs.builder()
- *                     .key("explicit1")
- *                     .value("value1")
+ *                     .key("explicit1")
+ *                     .value("value1")
  *                     .propagateAtLaunch(true)
  *                     .build(),
  *                 GroupTagArgs.builder()
- *                     .key("explicit2")
- *                     .value("value2")
+ *                     .key("explicit2")
+ *                     .value("value2")
  *                     .propagateAtLaunch(true)
  *                     .build())
- *             .name("foobar3-test")
+ *             .name("foobar3-test")
  *             .maxSize(5)
  *             .minSize(2)
  *             .launchConfiguration(foobar.name())
@@ -489,13 +502,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Automatically refresh all instances after the group is updated * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -526,20 +541,20 @@
  *     public static void stack(Context ctx) {
  *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
  *             .mostRecent(true)
- *             .owners("amazon")
+ *             .owners("amazon")
  *             .filters(GetAmiFilterArgs.builder()
- *                 .name("name")
- *                 .values("amzn-ami-hvm-*-x86_64-gp2")
+ *                 .name("name")
+ *                 .values("amzn-ami-hvm-*-x86_64-gp2")
  *                 .build())
  *             .build());
  * 
- *         var exampleLaunchTemplate = new LaunchTemplate("exampleLaunchTemplate", LaunchTemplateArgs.builder()        
- *             .imageId(example.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t3.nano")
+ *         var exampleLaunchTemplate = new LaunchTemplate("exampleLaunchTemplate", LaunchTemplateArgs.builder()        
+ *             .imageId(example.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t3.nano")
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
  *             .desiredCapacity(1)
  *             .maxSize(2)
  *             .minSize(1)
@@ -548,28 +563,30 @@
  *                 .version(exampleLaunchTemplate.latestVersion())
  *                 .build())
  *             .tags(GroupTagArgs.builder()
- *                 .key("Key")
- *                 .value("Value")
+ *                 .key("Key")
+ *                 .value("Value")
  *                 .propagateAtLaunch(true)
  *                 .build())
  *             .instanceRefresh(GroupInstanceRefreshArgs.builder()
- *                 .strategy("Rolling")
+ *                 .strategy("Rolling")
  *                 .preferences(GroupInstanceRefreshPreferencesArgs.builder()
  *                     .minHealthyPercentage(50)
  *                     .build())
- *                 .triggers("tag")
+ *                 .triggers("tag")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Auto Scaling group with Warm Pool * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -594,19 +611,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
- *             .namePrefix("example")
+ *         var example = new LaunchTemplate("example", LaunchTemplateArgs.builder()        
+ *             .namePrefix("example")
  *             .imageId(exampleAwsAmi.id())
- *             .instanceType("c5.large")
+ *             .instanceType("c5.large")
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
  *             .desiredCapacity(1)
  *             .maxSize(5)
  *             .minSize(1)
  *             .warmPool(GroupWarmPoolArgs.builder()
- *                 .poolState("Hibernated")
+ *                 .poolState("Hibernated")
  *                 .minSize(1)
  *                 .maxGroupPreparedCapacity(10)
  *                 .instanceReusePolicy(GroupWarmPoolInstanceReusePolicyArgs.builder()
@@ -617,7 +634,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Auto Scaling group with Traffic Sources diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/LifecycleHook.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/LifecycleHook.java index 702d840c082..6a06ae38b25 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/LifecycleHook.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/LifecycleHook.java @@ -33,7 +33,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,35 +59,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foobar = new Group("foobar", GroupArgs.builder()        
- *             .availabilityZones("us-west-2a")
- *             .name("test-foobar5")
- *             .healthCheckType("EC2")
- *             .terminationPolicies("OldestInstance")
+ *         var foobar = new Group("foobar", GroupArgs.builder()        
+ *             .availabilityZones("us-west-2a")
+ *             .name("test-foobar5")
+ *             .healthCheckType("EC2")
+ *             .terminationPolicies("OldestInstance")
  *             .tags(GroupTagArgs.builder()
- *                 .key("Foo")
- *                 .value("foo-bar")
+ *                 .key("Foo")
+ *                 .value("foo-bar")
  *                 .propagateAtLaunch(true)
  *                 .build())
  *             .build());
  * 
- *         var foobarLifecycleHook = new LifecycleHook("foobarLifecycleHook", LifecycleHookArgs.builder()        
- *             .name("foobar")
+ *         var foobarLifecycleHook = new LifecycleHook("foobarLifecycleHook", LifecycleHookArgs.builder()        
+ *             .name("foobar")
  *             .autoscalingGroupName(foobar.name())
- *             .defaultResult("CONTINUE")
+ *             .defaultResult("CONTINUE")
  *             .heartbeatTimeout(2000)
- *             .lifecycleTransition("autoscaling:EC2_INSTANCE_LAUNCHING")
+ *             .lifecycleTransition("autoscaling:EC2_INSTANCE_LAUNCHING")
  *             .notificationMetadata(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("foo", "bar")
+ *                     jsonProperty("foo", "bar")
  *                 )))
- *             .notificationTargetArn("arn:aws:sqs:us-east-1:444455556666:queue1*")
- *             .roleArn("arn:aws:iam::123456789012:role/S3Access")
+ *             .notificationTargetArn("arn:aws:sqs:us-east-1:444455556666:queue1*")
+ *             .roleArn("arn:aws:iam::123456789012:role/S3Access")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Notification.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Notification.java index 824a82fc0a7..11b73b6e5c2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Notification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Notification.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,33 +50,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Topic("example", TopicArgs.builder()        
- *             .name("example-topic")
+ *         var example = new Topic("example", TopicArgs.builder()        
+ *             .name("example-topic")
  *             .build());
  * 
- *         var bar = new Group("bar", GroupArgs.builder()        
- *             .name("foobar1-test")
+ *         var bar = new Group("bar", GroupArgs.builder()        
+ *             .name("foobar1-test")
  *             .build());
  * 
- *         var foo = new Group("foo", GroupArgs.builder()        
- *             .name("barfoo-test")
+ *         var foo = new Group("foo", GroupArgs.builder()        
+ *             .name("barfoo-test")
  *             .build());
  * 
- *         var exampleNotifications = new Notification("exampleNotifications", NotificationArgs.builder()        
+ *         var exampleNotifications = new Notification("exampleNotifications", NotificationArgs.builder()        
  *             .groupNames(            
  *                 bar.name(),
  *                 foo.name())
  *             .notifications(            
- *                 "autoscaling:EC2_INSTANCE_LAUNCH",
- *                 "autoscaling:EC2_INSTANCE_TERMINATE",
- *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
- *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
+ *                 "autoscaling:EC2_INSTANCE_LAUNCH",
+ *                 "autoscaling:EC2_INSTANCE_TERMINATE",
+ *                 "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
+ *                 "autoscaling:EC2_INSTANCE_TERMINATE_ERROR")
  *             .topicArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java index d2444ede9d1..11dc1bc99f3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java @@ -32,7 +32,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,34 +56,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Group("bar", GroupArgs.builder()        
- *             .availabilityZones("us-east-1a")
- *             .name("foobar3-test")
+ *         var bar = new Group("bar", GroupArgs.builder()        
+ *             .availabilityZones("us-east-1a")
+ *             .name("foobar3-test")
  *             .maxSize(5)
  *             .minSize(2)
  *             .healthCheckGracePeriod(300)
- *             .healthCheckType("ELB")
+ *             .healthCheckType("ELB")
  *             .forceDelete(true)
  *             .launchConfiguration(foo.name())
  *             .build());
  * 
- *         var bat = new Policy("bat", PolicyArgs.builder()        
- *             .name("foobar3-test")
+ *         var bat = new Policy("bat", PolicyArgs.builder()        
+ *             .name("foobar3-test")
  *             .scalingAdjustment(4)
- *             .adjustmentType("ChangeInCapacity")
+ *             .adjustmentType("ChangeInCapacity")
  *             .cooldown(300)
  *             .autoscalingGroupName(bar.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create target tracking scaling policy using metric math * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -105,50 +108,50 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Policy("example", PolicyArgs.builder()        
- *             .autoscalingGroupName("my-test-asg")
- *             .name("foo")
- *             .policyType("TargetTrackingScaling")
+ *         var example = new Policy("example", PolicyArgs.builder()        
+ *             .autoscalingGroupName("my-test-asg")
+ *             .name("foo")
+ *             .policyType("TargetTrackingScaling")
  *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
  *                 .targetValue(100)
  *                 .customizedMetricSpecification(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs.builder()
  *                     .metrics(                    
  *                         PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()
- *                             .label("Get the queue size (the number of messages waiting to be processed)")
- *                             .id("m1")
+ *                             .label("Get the queue size (the number of messages waiting to be processed)")
+ *                             .id("m1")
  *                             .metricStat(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()
  *                                 .metric(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()
- *                                     .namespace("AWS/SQS")
- *                                     .metricName("ApproximateNumberOfMessagesVisible")
+ *                                     .namespace("AWS/SQS")
+ *                                     .metricName("ApproximateNumberOfMessagesVisible")
  *                                     .dimensions(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()
- *                                         .name("QueueName")
- *                                         .value("my-queue")
+ *                                         .name("QueueName")
+ *                                         .value("my-queue")
  *                                         .build())
  *                                     .build())
- *                                 .stat("Sum")
+ *                                 .stat("Sum")
  *                                 .build())
  *                             .returnData(false)
  *                             .build(),
  *                         PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()
- *                             .label("Get the group size (the number of InService instances)")
- *                             .id("m2")
+ *                             .label("Get the group size (the number of InService instances)")
+ *                             .id("m2")
  *                             .metricStat(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()
  *                                 .metric(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()
- *                                     .namespace("AWS/AutoScaling")
- *                                     .metricName("GroupInServiceInstances")
+ *                                     .namespace("AWS/AutoScaling")
+ *                                     .metricName("GroupInServiceInstances")
  *                                     .dimensions(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()
- *                                         .name("AutoScalingGroupName")
- *                                         .value("my-asg")
+ *                                         .name("AutoScalingGroupName")
+ *                                         .value("my-asg")
  *                                         .build())
  *                                     .build())
- *                                 .stat("Average")
+ *                                 .stat("Average")
  *                                 .build())
  *                             .returnData(false)
  *                             .build(),
  *                         PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()
- *                             .label("Calculate the backlog per instance")
- *                             .id("e1")
- *                             .expression("m1 / m2")
+ *                             .label("Calculate the backlog per instance")
+ *                             .id("e1")
+ *                             .expression("m1 / m2")
  *                             .returnData(true)
  *                             .build())
  *                     .build())
@@ -157,13 +160,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create predictive scaling policy using customized metrics * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -189,40 +194,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Policy("example", PolicyArgs.builder()        
- *             .autoscalingGroupName("my-test-asg")
- *             .name("foo")
- *             .policyType("PredictiveScaling")
+ *         var example = new Policy("example", PolicyArgs.builder()        
+ *             .autoscalingGroupName("my-test-asg")
+ *             .name("foo")
+ *             .policyType("PredictiveScaling")
  *             .predictiveScalingConfiguration(PolicyPredictiveScalingConfigurationArgs.builder()
  *                 .metricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationArgs.builder()
  *                     .targetValue(10)
  *                     .customizedLoadMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs.builder()
  *                         .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs.builder()
- *                             .id("load_sum")
- *                             .expression("SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 3600))")
+ *                             .id("load_sum")
+ *                             .expression("SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 3600))")
  *                             .build())
  *                         .build())
  *                     .customizedCapacityMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs.builder()
  *                         .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs.builder()
- *                             .id("capacity_sum")
- *                             .expression("SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))")
+ *                             .id("capacity_sum")
+ *                             .expression("SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))")
  *                             .build())
  *                         .build())
  *                     .customizedScalingMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()
  *                         .metricDataQueries(                        
  *                             PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()
- *                                 .id("capacity_sum")
- *                                 .expression("SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))")
+ *                                 .id("capacity_sum")
+ *                                 .expression("SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))")
  *                                 .returnData(false)
  *                                 .build(),
  *                             PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()
- *                                 .id("load_sum")
- *                                 .expression("SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 300))")
+ *                                 .id("load_sum")
+ *                                 .expression("SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 300))")
  *                                 .returnData(false)
  *                                 .build(),
  *                             PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()
- *                                 .id("weighted_average")
- *                                 .expression("load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)")
+ *                                 .id("weighted_average")
+ *                                 .expression("load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)")
  *                                 .build())
  *                         .build())
  *                     .build())
@@ -231,13 +236,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create predictive scaling policy using customized scaling and predefined load metric * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -262,30 +269,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Policy("example", PolicyArgs.builder()        
- *             .autoscalingGroupName("my-test-asg")
- *             .name("foo")
- *             .policyType("PredictiveScaling")
+ *         var example = new Policy("example", PolicyArgs.builder()        
+ *             .autoscalingGroupName("my-test-asg")
+ *             .name("foo")
+ *             .policyType("PredictiveScaling")
  *             .predictiveScalingConfiguration(PolicyPredictiveScalingConfigurationArgs.builder()
  *                 .metricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationArgs.builder()
  *                     .targetValue(10)
  *                     .predefinedLoadMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs.builder()
- *                         .predefinedMetricType("ASGTotalCPUUtilization")
- *                         .resourceLabel("app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff")
+ *                         .predefinedMetricType("ASGTotalCPUUtilization")
+ *                         .resourceLabel("app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff")
  *                         .build())
  *                     .customizedScalingMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()
  *                         .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()
- *                             .id("scaling")
+ *                             .id("scaling")
  *                             .metricStat(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs.builder()
  *                                 .metric(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.builder()
- *                                     .metricName("CPUUtilization")
- *                                     .namespace("AWS/EC2")
+ *                                     .metricName("CPUUtilization")
+ *                                     .namespace("AWS/EC2")
  *                                     .dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.builder()
- *                                         .name("AutoScalingGroupName")
- *                                         .value("my-test-asg")
+ *                                         .name("AutoScalingGroupName")
+ *                                         .value("my-test-asg")
  *                                         .build())
  *                                     .build())
- *                                 .stat("Average")
+ *                                 .stat("Average")
  *                                 .build())
  *                             .build())
  *                         .build())
@@ -295,7 +302,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -519,7 +527,8 @@ public Output>> stepAdjustments() { * Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -542,10 +551,10 @@ public Output>> stepAdjustments() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Policy("example", PolicyArgs.builder()        
+     *         var example = new Policy("example", PolicyArgs.builder()        
      *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
      *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-     *                     .predefinedMetricType("ASGAverageCPUUtilization")
+     *                     .predefinedMetricType("ASGAverageCPUUtilization")
      *                     .build())
      *                 .targetValue(40)
      *                 .build())
@@ -553,7 +562,8 @@ public Output>> stepAdjustments() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -566,7 +576,8 @@ public Output>> stepAdjustments() { * @return Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -589,10 +600,10 @@ public Output>> stepAdjustments() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Policy("example", PolicyArgs.builder()        
+     *         var example = new Policy("example", PolicyArgs.builder()        
      *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
      *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-     *                     .predefinedMetricType("ASGAverageCPUUtilization")
+     *                     .predefinedMetricType("ASGAverageCPUUtilization")
      *                     .build())
      *                 .targetValue(40)
      *                 .build())
@@ -600,7 +611,8 @@ public Output>> stepAdjustments() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/PolicyArgs.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/PolicyArgs.java index bfbb91c674c..2bebb4df51f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/PolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/PolicyArgs.java @@ -230,7 +230,8 @@ public Optional>> stepAdjustments() { * Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -253,10 +254,10 @@ public Optional>> stepAdjustments() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Policy("example", PolicyArgs.builder()        
+     *         var example = new Policy("example", PolicyArgs.builder()        
      *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
      *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-     *                     .predefinedMetricType("ASGAverageCPUUtilization")
+     *                     .predefinedMetricType("ASGAverageCPUUtilization")
      *                     .build())
      *                 .targetValue(40)
      *                 .build())
@@ -264,7 +265,8 @@ public Optional>> stepAdjustments() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -277,7 +279,8 @@ public Optional>> stepAdjustments() { * @return Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -300,10 +303,10 @@ public Optional>> stepAdjustments() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Policy("example", PolicyArgs.builder()        
+     *         var example = new Policy("example", PolicyArgs.builder()        
      *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
      *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-     *                     .predefinedMetricType("ASGAverageCPUUtilization")
+     *                     .predefinedMetricType("ASGAverageCPUUtilization")
      *                     .build())
      *                 .targetValue(40)
      *                 .build())
@@ -311,7 +314,8 @@ public Optional>> stepAdjustments() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -653,7 +657,8 @@ public Builder stepAdjustments(PolicyStepAdjustmentArgs... stepAdjustments) { * @param targetTrackingConfiguration Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -676,10 +681,10 @@ public Builder stepAdjustments(PolicyStepAdjustmentArgs... stepAdjustments) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var example = new Policy("example", PolicyArgs.builder()        
+         *         var example = new Policy("example", PolicyArgs.builder()        
          *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
          *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-         *                     .predefinedMetricType("ASGAverageCPUUtilization")
+         *                     .predefinedMetricType("ASGAverageCPUUtilization")
          *                     .build())
          *                 .targetValue(40)
          *                 .build())
@@ -687,7 +692,8 @@ public Builder stepAdjustments(PolicyStepAdjustmentArgs... stepAdjustments) {
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -704,7 +710,8 @@ public Builder targetTrackingConfiguration(@Nullable Output + * {@code * package generated_program; * * import com.pulumi.Context; @@ -727,10 +734,10 @@ public Builder targetTrackingConfiguration(@Nullable Output * <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Schedule.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Schedule.java index 76cf20f8e8a..6c5c3d395df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Schedule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Schedule.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,30 +44,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foobar = new Group("foobar", GroupArgs.builder()        
- *             .availabilityZones("us-west-2a")
- *             .name("test-foobar5")
+ *         var foobar = new Group("foobar", GroupArgs.builder()        
+ *             .availabilityZones("us-west-2a")
+ *             .name("test-foobar5")
  *             .maxSize(1)
  *             .minSize(1)
  *             .healthCheckGracePeriod(300)
- *             .healthCheckType("ELB")
+ *             .healthCheckType("ELB")
  *             .forceDelete(true)
- *             .terminationPolicies("OldestInstance")
+ *             .terminationPolicies("OldestInstance")
  *             .build());
  * 
- *         var foobarSchedule = new Schedule("foobarSchedule", ScheduleArgs.builder()        
- *             .scheduledActionName("foobar")
+ *         var foobarSchedule = new Schedule("foobarSchedule", ScheduleArgs.builder()        
+ *             .scheduledActionName("foobar")
  *             .minSize(0)
  *             .maxSize(1)
  *             .desiredCapacity(0)
- *             .startTime("2016-12-11T18:00:00Z")
- *             .endTime("2016-12-12T06:00:00Z")
+ *             .startTime("2016-12-11T18:00:00Z")
+ *             .endTime("2016-12-12T06:00:00Z")
  *             .autoscalingGroupName(foobar.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/TrafficSourceAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/TrafficSourceAttachment.java index 873acd752ec..88aa96df8cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/TrafficSourceAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/TrafficSourceAttachment.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,17 +48,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TrafficSourceAttachment("example", TrafficSourceAttachmentArgs.builder()        
+ *         var example = new TrafficSourceAttachment("example", TrafficSourceAttachmentArgs.builder()        
  *             .autoscalingGroupName(exampleAwsAutoscalingGroup.id())
  *             .trafficSource(TrafficSourceAttachmentTrafficSourceArgs.builder()
  *                 .identifier(exampleAwsLbTargetGroup.arn())
- *                 .type("elbv2")
+ *                 .type("elbv2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyState.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyState.java index 3710872e9bf..cf2a94d57f0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyState.java @@ -244,7 +244,8 @@ public Optional>> stepAdjustments() { * Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -267,10 +268,10 @@ public Optional>> stepAdjustments() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Policy("example", PolicyArgs.builder()        
+     *         var example = new Policy("example", PolicyArgs.builder()        
      *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
      *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-     *                     .predefinedMetricType("ASGAverageCPUUtilization")
+     *                     .predefinedMetricType("ASGAverageCPUUtilization")
      *                     .build())
      *                 .targetValue(40)
      *                 .build())
@@ -278,7 +279,8 @@ public Optional>> stepAdjustments() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -291,7 +293,8 @@ public Optional>> stepAdjustments() { * @return Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -314,10 +317,10 @@ public Optional>> stepAdjustments() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new Policy("example", PolicyArgs.builder()        
+     *         var example = new Policy("example", PolicyArgs.builder()        
      *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
      *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-     *                     .predefinedMetricType("ASGAverageCPUUtilization")
+     *                     .predefinedMetricType("ASGAverageCPUUtilization")
      *                     .build())
      *                 .targetValue(40)
      *                 .build())
@@ -325,7 +328,8 @@ public Optional>> stepAdjustments() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -689,7 +693,8 @@ public Builder stepAdjustments(PolicyStepAdjustmentArgs... stepAdjustments) { * @param targetTrackingConfiguration Target tracking policy. These have the following structure: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -712,10 +717,10 @@ public Builder stepAdjustments(PolicyStepAdjustmentArgs... stepAdjustments) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var example = new Policy("example", PolicyArgs.builder()        
+         *         var example = new Policy("example", PolicyArgs.builder()        
          *             .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()
          *                 .predefinedMetricSpecification(PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs.builder()
-         *                     .predefinedMetricType("ASGAverageCPUUtilization")
+         *                     .predefinedMetricType("ASGAverageCPUUtilization")
          *                     .build())
          *                 .targetValue(40)
          *                 .build())
@@ -723,7 +728,8 @@ public Builder stepAdjustments(PolicyStepAdjustmentArgs... stepAdjustments) {
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: @@ -740,7 +746,8 @@ public Builder targetTrackingConfiguration(@Nullable Output + * {@code * package generated_program; * * import com.pulumi.Context; @@ -763,10 +770,10 @@ public Builder targetTrackingConfiguration(@Nullable Output * <!--End PulumiCodeChooser --> * * The following fields are available in target tracking configuration: diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/BackupFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/backup/BackupFunctions.java index d45ffdabe14..0c3708a81c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/BackupFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/BackupFunctions.java @@ -32,7 +32,8 @@ public final class BackupFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -54,12 +55,13 @@ public final class BackupFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("my_example_backup_framework_name")
+     *             .name("my_example_backup_framework_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -72,7 +74,8 @@ public static Output getFramework(GetFrameworkArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -94,12 +97,13 @@ public static Output getFramework(GetFrameworkArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("my_example_backup_framework_name")
+     *             .name("my_example_backup_framework_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getFrameworkPlain(GetFramewo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getFrameworkPlain(GetFramewo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("my_example_backup_framework_name")
+     *             .name("my_example_backup_framework_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getFramework(GetFrameworkArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,12 +181,13 @@ public static Output getFramework(GetFrameworkArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getFramework(GetFrameworkArgs.builder()
-     *             .name("my_example_backup_framework_name")
+     *             .name("my_example_backup_framework_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -192,7 +200,8 @@ public static CompletableFuture getFrameworkPlain(GetFramewo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -214,12 +223,13 @@ public static CompletableFuture getFrameworkPlain(GetFramewo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getPlan(GetPlanArgs.builder()
-     *             .planId("my_example_backup_plan_id")
+     *             .planId("my_example_backup_plan_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -232,7 +242,8 @@ public static Output getPlan(GetPlanArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -254,12 +265,13 @@ public static Output getPlan(GetPlanArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getPlan(GetPlanArgs.builder()
-     *             .planId("my_example_backup_plan_id")
+     *             .planId("my_example_backup_plan_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -272,7 +284,8 @@ public static CompletableFuture getPlanPlain(GetPlanPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -294,12 +307,13 @@ public static CompletableFuture getPlanPlain(GetPlanPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getPlan(GetPlanArgs.builder()
-     *             .planId("my_example_backup_plan_id")
+     *             .planId("my_example_backup_plan_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -312,7 +326,8 @@ public static Output getPlan(GetPlanArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -334,12 +349,13 @@ public static Output getPlan(GetPlanArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getPlan(GetPlanArgs.builder()
-     *             .planId("my_example_backup_plan_id")
+     *             .planId("my_example_backup_plan_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -352,7 +368,8 @@ public static CompletableFuture getPlanPlain(GetPlanPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -374,12 +391,13 @@ public static CompletableFuture getPlanPlain(GetPlanPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getReportPlan(GetReportPlanArgs.builder()
-     *             .name("my_example_backup_report_plan_name")
+     *             .name("my_example_backup_report_plan_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -392,7 +410,8 @@ public static Output getReportPlan(GetReportPlanArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,12 +433,13 @@ public static Output getReportPlan(GetReportPlanArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getReportPlan(GetReportPlanArgs.builder()
-     *             .name("my_example_backup_report_plan_name")
+     *             .name("my_example_backup_report_plan_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -432,7 +452,8 @@ public static CompletableFuture getReportPlanPlain(GetRepor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -454,12 +475,13 @@ public static CompletableFuture getReportPlanPlain(GetRepor
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getReportPlan(GetReportPlanArgs.builder()
-     *             .name("my_example_backup_report_plan_name")
+     *             .name("my_example_backup_report_plan_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -472,7 +494,8 @@ public static Output getReportPlan(GetReportPlanArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,12 +517,13 @@ public static Output getReportPlan(GetReportPlanArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getReportPlan(GetReportPlanArgs.builder()
-     *             .name("my_example_backup_report_plan_name")
+     *             .name("my_example_backup_report_plan_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -512,7 +536,8 @@ public static CompletableFuture getReportPlanPlain(GetRepor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -535,12 +560,13 @@ public static CompletableFuture getReportPlanPlain(GetRepor
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getSelection(GetSelectionArgs.builder()
      *             .planId(exampleAwsBackupPlan.id())
-     *             .selectionId("selection-id-example")
+     *             .selectionId("selection-id-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -553,7 +579,8 @@ public static Output getSelection(GetSelectionArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -576,12 +603,13 @@ public static Output getSelection(GetSelectionArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getSelection(GetSelectionArgs.builder()
      *             .planId(exampleAwsBackupPlan.id())
-     *             .selectionId("selection-id-example")
+     *             .selectionId("selection-id-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -594,7 +622,8 @@ public static CompletableFuture getSelectionPlain(GetSelecti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -617,12 +646,13 @@ public static CompletableFuture getSelectionPlain(GetSelecti
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getSelection(GetSelectionArgs.builder()
      *             .planId(exampleAwsBackupPlan.id())
-     *             .selectionId("selection-id-example")
+     *             .selectionId("selection-id-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -635,7 +665,8 @@ public static Output getSelection(GetSelectionArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -658,12 +689,13 @@ public static Output getSelection(GetSelectionArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getSelection(GetSelectionArgs.builder()
      *             .planId(exampleAwsBackupPlan.id())
-     *             .selectionId("selection-id-example")
+     *             .selectionId("selection-id-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -676,7 +708,8 @@ public static CompletableFuture getSelectionPlain(GetSelecti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -698,12 +731,13 @@ public static CompletableFuture getSelectionPlain(GetSelecti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getVault(GetVaultArgs.builder()
-     *             .name("example_backup_vault")
+     *             .name("example_backup_vault")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -716,7 +750,8 @@ public static Output getVault(GetVaultArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -738,12 +773,13 @@ public static Output getVault(GetVaultArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getVault(GetVaultArgs.builder()
-     *             .name("example_backup_vault")
+     *             .name("example_backup_vault")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -756,7 +792,8 @@ public static CompletableFuture getVaultPlain(GetVaultPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -778,12 +815,13 @@ public static CompletableFuture getVaultPlain(GetVaultPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getVault(GetVaultArgs.builder()
-     *             .name("example_backup_vault")
+     *             .name("example_backup_vault")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -796,7 +834,8 @@ public static Output getVault(GetVaultArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -818,12 +857,13 @@ public static Output getVault(GetVaultArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = BackupFunctions.getVault(GetVaultArgs.builder()
-     *             .name("example_backup_vault")
+     *             .name("example_backup_vault")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/Framework.java b/sdk/java/src/main/java/com/pulumi/aws/backup/Framework.java index 542c64ed237..06f5c936c07 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/Framework.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/Framework.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,81 +49,82 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Framework("example", FrameworkArgs.builder()        
- *             .name("exampleFramework")
- *             .description("this is an example framework")
+ *         var example = new Framework("example", FrameworkArgs.builder()        
+ *             .name("exampleFramework")
+ *             .description("this is an example framework")
  *             .controls(            
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK")
+ *                     .name("BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK")
  *                     .inputParameters(FrameworkControlInputParameterArgs.builder()
- *                         .name("requiredRetentionDays")
- *                         .value("35")
+ *                         .name("requiredRetentionDays")
+ *                         .value("35")
  *                         .build())
  *                     .build(),
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK")
+ *                     .name("BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK")
  *                     .inputParameters(                    
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("requiredFrequencyUnit")
- *                             .value("hours")
+ *                             .name("requiredFrequencyUnit")
+ *                             .value("hours")
  *                             .build(),
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("requiredRetentionDays")
- *                             .value("35")
+ *                             .name("requiredRetentionDays")
+ *                             .value("35")
  *                             .build(),
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("requiredFrequencyValue")
- *                             .value("1")
+ *                             .name("requiredFrequencyValue")
+ *                             .value("1")
  *                             .build())
  *                     .build(),
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_RECOVERY_POINT_ENCRYPTED")
+ *                     .name("BACKUP_RECOVERY_POINT_ENCRYPTED")
  *                     .build(),
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN")
+ *                     .name("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN")
  *                     .scope(FrameworkControlScopeArgs.builder()
- *                         .complianceResourceTypes("EBS")
+ *                         .complianceResourceTypes("EBS")
  *                         .build())
  *                     .build(),
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED")
+ *                     .name("BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED")
  *                     .build(),
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_VAULT_LOCK")
+ *                     .name("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_VAULT_LOCK")
  *                     .inputParameters(                    
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("maxRetentionDays")
- *                             .value("100")
+ *                             .name("maxRetentionDays")
+ *                             .value("100")
  *                             .build(),
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("minRetentionDays")
- *                             .value("1")
+ *                             .name("minRetentionDays")
+ *                             .value("1")
  *                             .build())
  *                     .scope(FrameworkControlScopeArgs.builder()
- *                         .complianceResourceTypes("EBS")
+ *                         .complianceResourceTypes("EBS")
  *                         .build())
  *                     .build(),
  *                 FrameworkControlArgs.builder()
- *                     .name("BACKUP_LAST_RECOVERY_POINT_CREATED")
+ *                     .name("BACKUP_LAST_RECOVERY_POINT_CREATED")
  *                     .inputParameters(                    
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("recoveryPointAgeUnit")
- *                             .value("days")
+ *                             .name("recoveryPointAgeUnit")
+ *                             .value("days")
  *                             .build(),
  *                         FrameworkControlInputParameterArgs.builder()
- *                             .name("recoveryPointAgeValue")
- *                             .value("1")
+ *                             .name("recoveryPointAgeValue")
+ *                             .value("1")
  *                             .build())
  *                     .scope(FrameworkControlScopeArgs.builder()
- *                         .complianceResourceTypes("EBS")
+ *                         .complianceResourceTypes("EBS")
  *                         .build())
  *                     .build())
- *             .tags(Map.of("Name", "Example Framework"))
+ *             .tags(Map.of("Name", "Example Framework"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/GlobalSettings.java b/sdk/java/src/main/java/com/pulumi/aws/backup/GlobalSettings.java index 4813676b48f..b9b8edcbda0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/GlobalSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/GlobalSettings.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,13 +42,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new GlobalSettings("test", GlobalSettingsArgs.builder()        
- *             .globalSettings(Map.of("isCrossAccountBackupEnabled", "true"))
+ *         var test = new GlobalSettings("test", GlobalSettingsArgs.builder()        
+ *             .globalSettings(Map.of("isCrossAccountBackupEnabled", "true"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/Plan.java b/sdk/java/src/main/java/com/pulumi/aws/backup/Plan.java index 9a3e6ca3f68..7ef5d4a8668 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/Plan.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/Plan.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,25 +49,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Plan("example", PlanArgs.builder()        
- *             .name("my_example_backup_plan")
+ *         var example = new Plan("example", PlanArgs.builder()        
+ *             .name("my_example_backup_plan")
  *             .rules(PlanRuleArgs.builder()
- *                 .ruleName("my_example_backup_rule")
+ *                 .ruleName("my_example_backup_rule")
  *                 .targetVaultName(test.name())
- *                 .schedule("cron(0 12 * * ? *)")
+ *                 .schedule("cron(0 12 * * ? *)")
  *                 .lifecycle(PlanRuleLifecycleArgs.builder()
  *                     .deleteAfter(14)
  *                     .build())
  *                 .build())
  *             .advancedBackupSettings(PlanAdvancedBackupSettingArgs.builder()
- *                 .backupOptions(Map.of("WindowsVSS", "enabled"))
- *                 .resourceType("EC2")
+ *                 .backupOptions(Map.of("WindowsVSS", "enabled"))
+ *                 .resourceType("EC2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/RegionSettings.java b/sdk/java/src/main/java/com/pulumi/aws/backup/RegionSettings.java index 74cfc7e2f4e..81666d90507 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/RegionSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/RegionSettings.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,29 +43,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new RegionSettings("test", RegionSettingsArgs.builder()        
+ *         var test = new RegionSettings("test", RegionSettingsArgs.builder()        
  *             .resourceTypeOptInPreference(Map.ofEntries(
- *                 Map.entry("Aurora", true),
- *                 Map.entry("DocumentDB", true),
- *                 Map.entry("DynamoDB", true),
- *                 Map.entry("EBS", true),
- *                 Map.entry("EC2", true),
- *                 Map.entry("EFS", true),
- *                 Map.entry("FSx", true),
- *                 Map.entry("Neptune", true),
- *                 Map.entry("RDS", true),
- *                 Map.entry("Storage Gateway", true),
- *                 Map.entry("VirtualMachine", true)
+ *                 Map.entry("Aurora", true),
+ *                 Map.entry("DocumentDB", true),
+ *                 Map.entry("DynamoDB", true),
+ *                 Map.entry("EBS", true),
+ *                 Map.entry("EC2", true),
+ *                 Map.entry("EFS", true),
+ *                 Map.entry("FSx", true),
+ *                 Map.entry("Neptune", true),
+ *                 Map.entry("RDS", true),
+ *                 Map.entry("Storage Gateway", true),
+ *                 Map.entry("VirtualMachine", true)
  *             ))
  *             .resourceTypeManagementPreference(Map.ofEntries(
- *                 Map.entry("DynamoDB", true),
- *                 Map.entry("EFS", true)
+ *                 Map.entry("DynamoDB", true),
+ *                 Map.entry("EFS", true)
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/ReportPlan.java b/sdk/java/src/main/java/com/pulumi/aws/backup/ReportPlan.java index 8a3128edac0..300027ef7c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/ReportPlan.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/ReportPlan.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ReportPlan("example", ReportPlanArgs.builder()        
- *             .name("example_name")
- *             .description("example description")
+ *         var example = new ReportPlan("example", ReportPlanArgs.builder()        
+ *             .name("example_name")
+ *             .description("example description")
  *             .reportDeliveryChannel(ReportPlanReportDeliveryChannelArgs.builder()
  *                 .formats(                
- *                     "CSV",
- *                     "JSON")
- *                 .s3BucketName("example-bucket-name")
+ *                     "CSV",
+ *                     "JSON")
+ *                 .s3BucketName("example-bucket-name")
  *                 .build())
  *             .reportSetting(ReportPlanReportSettingArgs.builder()
- *                 .reportTemplate("RESTORE_JOB_REPORT")
+ *                 .reportTemplate("RESTORE_JOB_REPORT")
  *                 .build())
- *             .tags(Map.of("Name", "Example Report Plan"))
+ *             .tags(Map.of("Name", "Example Report Plan"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/Selection.java b/sdk/java/src/main/java/com/pulumi/aws/backup/Selection.java index b126cd4f2ff..a7dbf9d3e06 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/Selection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/Selection.java @@ -29,7 +29,8 @@ * The below example creates an IAM role with the default managed IAM Policy for allowing AWS Backup to create backups. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,38 +59,40 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("backup.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("backup.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup")
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup")
  *             .role(example.name())
  *             .build());
  * 
- *         var exampleSelection = new Selection("exampleSelection", SelectionArgs.builder()        
+ *         var exampleSelection = new Selection("exampleSelection", SelectionArgs.builder()        
  *             .iamRoleArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Selecting Backups By Tag * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -111,26 +114,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Selection("example", SelectionArgs.builder()        
+ *         var example = new Selection("example", SelectionArgs.builder()        
  *             .iamRoleArn(exampleAwsIamRole.arn())
- *             .name("my_example_backup_selection")
+ *             .name("my_example_backup_selection")
  *             .planId(exampleAwsBackupPlan.id())
  *             .selectionTags(SelectionSelectionTagArgs.builder()
- *                 .type("STRINGEQUALS")
- *                 .key("foo")
- *                 .value("bar")
+ *                 .type("STRINGEQUALS")
+ *                 .key("foo")
+ *                 .value("bar")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Selecting Backups By Conditions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -152,40 +157,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Selection("example", SelectionArgs.builder()        
+ *         var example = new Selection("example", SelectionArgs.builder()        
  *             .iamRoleArn(exampleAwsIamRole.arn())
- *             .name("my_example_backup_selection")
+ *             .name("my_example_backup_selection")
  *             .planId(exampleAwsBackupPlan.id())
- *             .resources("*")
+ *             .resources("*")
  *             .conditions(SelectionConditionArgs.builder()
  *                 .stringEquals(SelectionConditionStringEqualArgs.builder()
- *                     .key("aws:ResourceTag/Component")
- *                     .value("rds")
+ *                     .key("aws:ResourceTag/Component")
+ *                     .value("rds")
  *                     .build())
  *                 .stringLikes(SelectionConditionStringLikeArgs.builder()
- *                     .key("aws:ResourceTag/Application")
- *                     .value("app*")
+ *                     .key("aws:ResourceTag/Application")
+ *                     .value("app*")
  *                     .build())
  *                 .stringNotEquals(SelectionConditionStringNotEqualArgs.builder()
- *                     .key("aws:ResourceTag/Backup")
- *                     .value("false")
+ *                     .key("aws:ResourceTag/Backup")
+ *                     .value("false")
  *                     .build())
  *                 .stringNotLikes(SelectionConditionStringNotLikeArgs.builder()
- *                     .key("aws:ResourceTag/Environment")
- *                     .value("test*")
+ *                     .key("aws:ResourceTag/Environment")
+ *                     .value("test*")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Selecting Backups By Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -206,9 +213,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Selection("example", SelectionArgs.builder()        
+ *         var example = new Selection("example", SelectionArgs.builder()        
  *             .iamRoleArn(exampleAwsIamRole.arn())
- *             .name("my_example_backup_selection")
+ *             .name("my_example_backup_selection")
  *             .planId(exampleAwsBackupPlan.id())
  *             .resources(            
  *                 exampleAwsDbInstance.arn(),
@@ -218,13 +225,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Selecting Backups By Not Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -245,9 +254,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Selection("example", SelectionArgs.builder()        
+ *         var example = new Selection("example", SelectionArgs.builder()        
  *             .iamRoleArn(exampleAwsIamRole.arn())
- *             .name("my_example_backup_selection")
+ *             .name("my_example_backup_selection")
  *             .planId(exampleAwsBackupPlan.id())
  *             .notResources(            
  *                 exampleAwsDbInstance.arn(),
@@ -257,7 +266,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/Vault.java b/sdk/java/src/main/java/com/pulumi/aws/backup/Vault.java index 6b42327d1a7..4eec8463983 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/Vault.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/Vault.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vault("example", VaultArgs.builder()        
- *             .name("example_backup_vault")
+ *         var example = new Vault("example", VaultArgs.builder()        
+ *             .name("example_backup_vault")
  *             .kmsKeyArn(exampleAwsKmsKey.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/VaultLockConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/backup/VaultLockConfiguration.java index 814a7294672..f23506d78c3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/VaultLockConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/VaultLockConfiguration.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,8 +43,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new VaultLockConfiguration("test", VaultLockConfigurationArgs.builder()        
- *             .backupVaultName("example_backup_vault")
+ *         var test = new VaultLockConfiguration("test", VaultLockConfigurationArgs.builder()        
+ *             .backupVaultName("example_backup_vault")
  *             .changeableForDays(3)
  *             .maxRetentionDays(1200)
  *             .minRetentionDays(7)
@@ -51,7 +52,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/VaultNotifications.java b/sdk/java/src/main/java/com/pulumi/aws/backup/VaultNotifications.java index 852656792aa..a2ed47770e7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/VaultNotifications.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/VaultNotifications.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,40 +48,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testTopic = new Topic("testTopic", TopicArgs.builder()        
- *             .name("backup-vault-events")
+ *         var testTopic = new Topic("testTopic", TopicArgs.builder()        
+ *             .name("backup-vault-events")
  *             .build());
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .policyId("__default_policy_ID")
+ *             .policyId("__default_policy_ID")
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("SNS:Publish")
- *                 .effect("Allow")
+ *                 .actions("SNS:Publish")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("backup.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("backup.amazonaws.com")
  *                     .build())
  *                 .resources(testTopic.arn())
- *                 .sid("__default_statement_ID")
+ *                 .sid("__default_statement_ID")
  *                 .build())
  *             .build());
  * 
- *         var testTopicPolicy = new TopicPolicy("testTopicPolicy", TopicPolicyArgs.builder()        
+ *         var testTopicPolicy = new TopicPolicy("testTopicPolicy", TopicPolicyArgs.builder()        
  *             .arn(testTopic.arn())
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var testVaultNotifications = new VaultNotifications("testVaultNotifications", VaultNotificationsArgs.builder()        
- *             .backupVaultName("example_backup_vault")
+ *         var testVaultNotifications = new VaultNotifications("testVaultNotifications", VaultNotificationsArgs.builder()        
+ *             .backupVaultName("example_backup_vault")
  *             .snsTopicArn(testTopic.arn())
  *             .backupVaultEvents(            
- *                 "BACKUP_JOB_STARTED",
- *                 "RESTORE_JOB_COMPLETED")
+ *                 "BACKUP_JOB_STARTED",
+ *                 "RESTORE_JOB_COMPLETED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/backup/VaultPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/backup/VaultPolicy.java index 4ed48fa5102..ad4262c22dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/backup/VaultPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/backup/VaultPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,38 +45,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleVault = new Vault("exampleVault", VaultArgs.builder()        
- *             .name("example")
+ *         var exampleVault = new Vault("exampleVault", VaultArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("*")
+ *                     .type("AWS")
+ *                     .identifiers("*")
  *                     .build())
  *                 .actions(                
- *                     "backup:DescribeBackupVault",
- *                     "backup:DeleteBackupVault",
- *                     "backup:PutBackupVaultAccessPolicy",
- *                     "backup:DeleteBackupVaultAccessPolicy",
- *                     "backup:GetBackupVaultAccessPolicy",
- *                     "backup:StartBackupJob",
- *                     "backup:GetBackupVaultNotifications",
- *                     "backup:PutBackupVaultNotifications")
+ *                     "backup:DescribeBackupVault",
+ *                     "backup:DeleteBackupVault",
+ *                     "backup:PutBackupVaultAccessPolicy",
+ *                     "backup:DeleteBackupVaultAccessPolicy",
+ *                     "backup:GetBackupVaultAccessPolicy",
+ *                     "backup:StartBackupJob",
+ *                     "backup:GetBackupVaultNotifications",
+ *                     "backup:PutBackupVaultNotifications")
  *                 .resources(exampleVault.arn())
  *                 .build())
  *             .build());
  * 
- *         var exampleVaultPolicy = new VaultPolicy("exampleVaultPolicy", VaultPolicyArgs.builder()        
+ *         var exampleVaultPolicy = new VaultPolicy("exampleVaultPolicy", VaultPolicyArgs.builder()        
  *             .backupVaultName(exampleVault.name())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/BatchFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/batch/BatchFunctions.java index f778c8865a6..0f1b29d8c1a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/BatchFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/BatchFunctions.java @@ -30,7 +30,8 @@ public final class BatchFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -52,12 +53,13 @@ public final class BatchFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var batch-mongo = BatchFunctions.getComputeEnvironment(GetComputeEnvironmentArgs.builder()
-     *             .computeEnvironmentName("batch-mongo-production")
+     *             .computeEnvironmentName("batch-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -71,7 +73,8 @@ public static Output getComputeEnvironment(GetCompu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -93,12 +96,13 @@ public static Output getComputeEnvironment(GetCompu
      * 
      *     public static void stack(Context ctx) {
      *         final var batch-mongo = BatchFunctions.getComputeEnvironment(GetComputeEnvironmentArgs.builder()
-     *             .computeEnvironmentName("batch-mongo-production")
+     *             .computeEnvironmentName("batch-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getComputeEnvironme * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getComputeEnvironme
      * 
      *     public static void stack(Context ctx) {
      *         final var batch-mongo = BatchFunctions.getComputeEnvironment(GetComputeEnvironmentArgs.builder()
-     *             .computeEnvironmentName("batch-mongo-production")
+     *             .computeEnvironmentName("batch-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -153,7 +159,8 @@ public static Output getComputeEnvironment(GetCompu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -175,12 +182,13 @@ public static Output getComputeEnvironment(GetCompu
      * 
      *     public static void stack(Context ctx) {
      *         final var batch-mongo = BatchFunctions.getComputeEnvironment(GetComputeEnvironmentArgs.builder()
-     *             .computeEnvironmentName("batch-mongo-production")
+     *             .computeEnvironmentName("batch-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -195,7 +203,8 @@ public static CompletableFuture getComputeEnvironme * ### Lookup via Arn * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -217,18 +226,20 @@ public static CompletableFuture getComputeEnvironme
      * 
      *     public static void stack(Context ctx) {
      *         final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup via Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -250,13 +261,14 @@ public static CompletableFuture getComputeEnvironme
      * 
      *     public static void stack(Context ctx) {
      *         final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .revision(2)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -271,7 +283,8 @@ public static Output getJobDefinition() { * ### Lookup via Arn * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -293,18 +306,20 @@ public static Output getJobDefinition() {
      * 
      *     public static void stack(Context ctx) {
      *         final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup via Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -326,13 +341,14 @@ public static Output getJobDefinition() {
      * 
      *     public static void stack(Context ctx) {
      *         final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .revision(2)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -347,7 +363,8 @@ public static CompletableFuture getJobDefinitionPlain() * ### Lookup via Arn * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -369,18 +386,20 @@ public static CompletableFuture getJobDefinitionPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup via Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -402,13 +421,14 @@ public static CompletableFuture getJobDefinitionPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .revision(2)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -423,7 +443,8 @@ public static Output getJobDefinition(GetJobDefinitionAr * ### Lookup via Arn * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -445,18 +466,20 @@ public static Output getJobDefinition(GetJobDefinitionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup via Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -478,13 +501,14 @@ public static Output getJobDefinition(GetJobDefinitionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .revision(2)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -499,7 +523,8 @@ public static CompletableFuture getJobDefinitionPlain(Ge * ### Lookup via Arn * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -521,18 +546,20 @@ public static CompletableFuture getJobDefinitionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup via Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -554,13 +581,14 @@ public static CompletableFuture getJobDefinitionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .revision(2)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -575,7 +603,8 @@ public static Output getJobDefinition(GetJobDefinitionAr * ### Lookup via Arn * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -597,18 +626,20 @@ public static Output getJobDefinition(GetJobDefinitionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var arn = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:job-definition/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup via Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -630,13 +661,14 @@ public static Output getJobDefinition(GetJobDefinitionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var name = BatchFunctions.getJobDefinition(GetJobDefinitionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .revision(2)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -650,7 +682,8 @@ public static CompletableFuture getJobDefinitionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -672,12 +705,13 @@ public static CompletableFuture getJobDefinitionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test-queue = BatchFunctions.getJobQueue(GetJobQueueArgs.builder()
-     *             .name("tf-test-batch-job-queue")
+     *             .name("tf-test-batch-job-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -691,7 +725,8 @@ public static Output getJobQueue(GetJobQueueArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -713,12 +748,13 @@ public static Output getJobQueue(GetJobQueueArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test-queue = BatchFunctions.getJobQueue(GetJobQueueArgs.builder()
-     *             .name("tf-test-batch-job-queue")
+     *             .name("tf-test-batch-job-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -732,7 +768,8 @@ public static CompletableFuture getJobQueuePlain(GetJobQueueP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -754,12 +791,13 @@ public static CompletableFuture getJobQueuePlain(GetJobQueueP
      * 
      *     public static void stack(Context ctx) {
      *         final var test-queue = BatchFunctions.getJobQueue(GetJobQueueArgs.builder()
-     *             .name("tf-test-batch-job-queue")
+     *             .name("tf-test-batch-job-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -773,7 +811,8 @@ public static Output getJobQueue(GetJobQueueArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -795,12 +834,13 @@ public static Output getJobQueue(GetJobQueueArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var test-queue = BatchFunctions.getJobQueue(GetJobQueueArgs.builder()
-     *             .name("tf-test-batch-job-queue")
+     *             .name("tf-test-batch-job-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -813,7 +853,8 @@ public static CompletableFuture getJobQueuePlain(GetJobQueueP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -835,12 +876,13 @@ public static CompletableFuture getJobQueuePlain(GetJobQueueP
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BatchFunctions.getSchedulingPolicy(GetSchedulingPolicyArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -853,7 +895,8 @@ public static Output getSchedulingPolicy(GetSchedulin * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -875,12 +918,13 @@ public static Output getSchedulingPolicy(GetSchedulin
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BatchFunctions.getSchedulingPolicy(GetSchedulingPolicyArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -893,7 +937,8 @@ public static CompletableFuture getSchedulingPolicyPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -915,12 +960,13 @@ public static CompletableFuture getSchedulingPolicyPl
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BatchFunctions.getSchedulingPolicy(GetSchedulingPolicyArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -933,7 +979,8 @@ public static Output getSchedulingPolicy(GetSchedulin * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -955,12 +1002,13 @@ public static Output getSchedulingPolicy(GetSchedulin
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BatchFunctions.getSchedulingPolicy(GetSchedulingPolicyArgs.builder()
-     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
+     *             .arn("arn:aws:batch:us-east-1:012345678910:scheduling-policy/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/ComputeEnvironment.java b/sdk/java/src/main/java/com/pulumi/aws/batch/ComputeEnvironment.java index 9457e865522..cc62014c397 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/ComputeEnvironment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/ComputeEnvironment.java @@ -32,7 +32,8 @@ * ### EC2 Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -74,102 +75,104 @@
  *     public static void stack(Context ctx) {
  *         final var ec2AssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ec2.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ec2.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var ecsInstanceRole = new Role("ecsInstanceRole", RoleArgs.builder()        
- *             .name("ecs_instance_role")
- *             .assumeRolePolicy(ec2AssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var ecsInstanceRole = new Role("ecsInstanceRole", RoleArgs.builder()        
+ *             .name("ecs_instance_role")
+ *             .assumeRolePolicy(ec2AssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var ecsInstanceRoleRolePolicyAttachment = new RolePolicyAttachment("ecsInstanceRoleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var ecsInstanceRoleRolePolicyAttachment = new RolePolicyAttachment("ecsInstanceRoleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(ecsInstanceRole.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role")
  *             .build());
  * 
- *         var ecsInstanceRoleInstanceProfile = new InstanceProfile("ecsInstanceRoleInstanceProfile", InstanceProfileArgs.builder()        
- *             .name("ecs_instance_role")
+ *         var ecsInstanceRoleInstanceProfile = new InstanceProfile("ecsInstanceRoleInstanceProfile", InstanceProfileArgs.builder()        
+ *             .name("ecs_instance_role")
  *             .role(ecsInstanceRole.name())
  *             .build());
  * 
  *         final var batchAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("batch.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("batch.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var awsBatchServiceRole = new Role("awsBatchServiceRole", RoleArgs.builder()        
- *             .name("aws_batch_service_role")
- *             .assumeRolePolicy(batchAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var awsBatchServiceRole = new Role("awsBatchServiceRole", RoleArgs.builder()        
+ *             .name("aws_batch_service_role")
+ *             .assumeRolePolicy(batchAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var awsBatchServiceRoleRolePolicyAttachment = new RolePolicyAttachment("awsBatchServiceRoleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var awsBatchServiceRoleRolePolicyAttachment = new RolePolicyAttachment("awsBatchServiceRoleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(awsBatchServiceRole.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole")
  *             .build());
  * 
- *         var sample = new SecurityGroup("sample", SecurityGroupArgs.builder()        
- *             .name("aws_batch_compute_environment_security_group")
+ *         var sample = new SecurityGroup("sample", SecurityGroupArgs.builder()        
+ *             .name("aws_batch_compute_environment_security_group")
  *             .egress(SecurityGroupEgressArgs.builder()
  *                 .fromPort(0)
  *                 .toPort(0)
- *                 .protocol("-1")
- *                 .cidrBlocks("0.0.0.0/0")
+ *                 .protocol("-1")
+ *                 .cidrBlocks("0.0.0.0/0")
  *                 .build())
  *             .build());
  * 
- *         var sampleVpc = new Vpc("sampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var sampleVpc = new Vpc("sampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var sampleSubnet = new Subnet("sampleSubnet", SubnetArgs.builder()        
+ *         var sampleSubnet = new Subnet("sampleSubnet", SubnetArgs.builder()        
  *             .vpcId(sampleVpc.id())
- *             .cidrBlock("10.1.1.0/24")
+ *             .cidrBlock("10.1.1.0/24")
  *             .build());
  * 
- *         var samplePlacementGroup = new PlacementGroup("samplePlacementGroup", PlacementGroupArgs.builder()        
- *             .name("sample")
- *             .strategy("cluster")
+ *         var samplePlacementGroup = new PlacementGroup("samplePlacementGroup", PlacementGroupArgs.builder()        
+ *             .name("sample")
+ *             .strategy("cluster")
  *             .build());
  * 
- *         var sampleComputeEnvironment = new ComputeEnvironment("sampleComputeEnvironment", ComputeEnvironmentArgs.builder()        
- *             .computeEnvironmentName("sample")
+ *         var sampleComputeEnvironment = new ComputeEnvironment("sampleComputeEnvironment", ComputeEnvironmentArgs.builder()        
+ *             .computeEnvironmentName("sample")
  *             .computeResources(ComputeEnvironmentComputeResourcesArgs.builder()
  *                 .instanceRole(ecsInstanceRoleInstanceProfile.arn())
- *                 .instanceTypes("c4.large")
+ *                 .instanceTypes("c4.large")
  *                 .maxVcpus(16)
  *                 .minVcpus(0)
  *                 .placementGroup(samplePlacementGroup.name())
  *                 .securityGroupIds(sample.id())
  *                 .subnets(sampleSubnet.id())
- *                 .type("EC2")
+ *                 .type("EC2")
  *                 .build())
  *             .serviceRole(awsBatchServiceRole.arn())
- *             .type("MANAGED")
+ *             .type("MANAGED")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(awsBatchServiceRoleRolePolicyAttachment)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Fargate Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -192,29 +195,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sample = new ComputeEnvironment("sample", ComputeEnvironmentArgs.builder()        
- *             .computeEnvironmentName("sample")
+ *         var sample = new ComputeEnvironment("sample", ComputeEnvironmentArgs.builder()        
+ *             .computeEnvironmentName("sample")
  *             .computeResources(ComputeEnvironmentComputeResourcesArgs.builder()
  *                 .maxVcpus(16)
  *                 .securityGroupIds(sampleAwsSecurityGroup.id())
  *                 .subnets(sampleAwsSubnet.id())
- *                 .type("FARGATE")
+ *                 .type("FARGATE")
  *                 .build())
  *             .serviceRole(awsBatchServiceRoleAwsIamRole.arn())
- *             .type("MANAGED")
+ *             .type("MANAGED")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(awsBatchServiceRole)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Setting Update Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -237,28 +242,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sample = new ComputeEnvironment("sample", ComputeEnvironmentArgs.builder()        
- *             .computeEnvironmentName("sample")
+ *         var sample = new ComputeEnvironment("sample", ComputeEnvironmentArgs.builder()        
+ *             .computeEnvironmentName("sample")
  *             .computeResources(ComputeEnvironmentComputeResourcesArgs.builder()
- *                 .allocationStrategy("BEST_FIT_PROGRESSIVE")
+ *                 .allocationStrategy("BEST_FIT_PROGRESSIVE")
  *                 .instanceRole(ecsInstance.arn())
- *                 .instanceTypes("optimal")
+ *                 .instanceTypes("optimal")
  *                 .maxVcpus(4)
  *                 .minVcpus(0)
  *                 .securityGroupIds(sampleAwsSecurityGroup.id())
  *                 .subnets(sampleAwsSubnet.id())
- *                 .type("EC2")
+ *                 .type("EC2")
  *                 .build())
  *             .updatePolicy(ComputeEnvironmentUpdatePolicyArgs.builder()
  *                 .jobExecutionTimeoutMinutes(30)
  *                 .terminateJobsOnUpdate(false)
  *                 .build())
- *             .type("MANAGED")
+ *             .type("MANAGED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/JobDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/batch/JobDefinition.java index 5587d01ff75..485cc59edfd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/JobDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/JobDefinition.java @@ -29,7 +29,8 @@ * ### Job definition of type container * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,58 +52,60 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
- *             .name("my_test_batch_job_definition")
- *             .type("container")
+ *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
+ *             .name("my_test_batch_job_definition")
+ *             .type("container")
  *             .containerProperties(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("command", jsonArray(
- *                         "ls", 
- *                         "-la"
+ *                     jsonProperty("command", jsonArray(
+ *                         "ls", 
+ *                         "-la"
  *                     )),
- *                     jsonProperty("image", "busybox"),
- *                     jsonProperty("resourceRequirements", jsonArray(
+ *                     jsonProperty("image", "busybox"),
+ *                     jsonProperty("resourceRequirements", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("type", "VCPU"),
- *                             jsonProperty("value", "0.25")
+ *                             jsonProperty("type", "VCPU"),
+ *                             jsonProperty("value", "0.25")
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("type", "MEMORY"),
- *                             jsonProperty("value", "512")
+ *                             jsonProperty("type", "MEMORY"),
+ *                             jsonProperty("value", "512")
  *                         )
  *                     )),
- *                     jsonProperty("volumes", jsonArray(jsonObject(
- *                         jsonProperty("host", jsonObject(
- *                             jsonProperty("sourcePath", "/tmp")
+ *                     jsonProperty("volumes", jsonArray(jsonObject(
+ *                         jsonProperty("host", jsonObject(
+ *                             jsonProperty("sourcePath", "/tmp")
  *                         )),
- *                         jsonProperty("name", "tmp")
+ *                         jsonProperty("name", "tmp")
  *                     ))),
- *                     jsonProperty("environment", jsonArray(jsonObject(
- *                         jsonProperty("name", "VARNAME"),
- *                         jsonProperty("value", "VARVAL")
+ *                     jsonProperty("environment", jsonArray(jsonObject(
+ *                         jsonProperty("name", "VARNAME"),
+ *                         jsonProperty("value", "VARVAL")
  *                     ))),
- *                     jsonProperty("mountPoints", jsonArray(jsonObject(
- *                         jsonProperty("sourceVolume", "tmp"),
- *                         jsonProperty("containerPath", "/tmp"),
- *                         jsonProperty("readOnly", false)
+ *                     jsonProperty("mountPoints", jsonArray(jsonObject(
+ *                         jsonProperty("sourceVolume", "tmp"),
+ *                         jsonProperty("containerPath", "/tmp"),
+ *                         jsonProperty("readOnly", false)
  *                     ))),
- *                     jsonProperty("ulimits", jsonArray(jsonObject(
- *                         jsonProperty("hardLimit", 1024),
- *                         jsonProperty("name", "nofile"),
- *                         jsonProperty("softLimit", 1024)
+ *                     jsonProperty("ulimits", jsonArray(jsonObject(
+ *                         jsonProperty("hardLimit", 1024),
+ *                         jsonProperty("name", "nofile"),
+ *                         jsonProperty("softLimit", 1024)
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Job definition of type multinode * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -124,51 +127,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
- *             .name("tf_test_batch_job_definition_multinode")
- *             .type("multinode")
+ *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
+ *             .name("tf_test_batch_job_definition_multinode")
+ *             .type("multinode")
  *             .nodeProperties(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("mainNode", 0),
- *                     jsonProperty("nodeRangeProperties", jsonArray(
+ *                     jsonProperty("mainNode", 0),
+ *                     jsonProperty("nodeRangeProperties", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("container", jsonObject(
- *                                 jsonProperty("command", jsonArray(
- *                                     "ls", 
- *                                     "-la"
+ *                             jsonProperty("container", jsonObject(
+ *                                 jsonProperty("command", jsonArray(
+ *                                     "ls", 
+ *                                     "-la"
  *                                 )),
- *                                 jsonProperty("image", "busybox"),
- *                                 jsonProperty("memory", 128),
- *                                 jsonProperty("vcpus", 1)
+ *                                 jsonProperty("image", "busybox"),
+ *                                 jsonProperty("memory", 128),
+ *                                 jsonProperty("vcpus", 1)
  *                             )),
- *                             jsonProperty("targetNodes", "0:")
+ *                             jsonProperty("targetNodes", "0:")
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("container", jsonObject(
- *                                 jsonProperty("command", jsonArray(
- *                                     "echo", 
- *                                     "test"
+ *                             jsonProperty("container", jsonObject(
+ *                                 jsonProperty("command", jsonArray(
+ *                                     "echo", 
+ *                                     "test"
  *                                 )),
- *                                 jsonProperty("image", "busybox"),
- *                                 jsonProperty("memory", 128),
- *                                 jsonProperty("vcpus", 1)
+ *                                 jsonProperty("image", "busybox"),
+ *                                 jsonProperty("memory", 128),
+ *                                 jsonProperty("vcpus", 1)
  *                             )),
- *                             jsonProperty("targetNodes", "1:")
+ *                             jsonProperty("targetNodes", "1:")
  *                         )
  *                     )),
- *                     jsonProperty("numNodes", 2)
+ *                     jsonProperty("numNodes", 2)
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Job Definitionn of type EKS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -194,26 +199,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
- *             .name(" tf_test_batch_job_definition_eks")
- *             .type("container")
+ *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
+ *             .name(" tf_test_batch_job_definition_eks")
+ *             .type("container")
  *             .eksProperties(JobDefinitionEksPropertiesArgs.builder()
  *                 .podProperties(JobDefinitionEksPropertiesPodPropertiesArgs.builder()
  *                     .hostNetwork(true)
  *                     .containers(JobDefinitionEksPropertiesPodPropertiesContainersArgs.builder()
- *                         .image("public.ecr.aws/amazonlinux/amazonlinux:1")
+ *                         .image("public.ecr.aws/amazonlinux/amazonlinux:1")
  *                         .commands(                        
- *                             "sleep",
- *                             "60")
+ *                             "sleep",
+ *                             "60")
  *                         .resources(JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs.builder()
  *                             .limits(Map.ofEntries(
- *                                 Map.entry("cpu", "1"),
- *                                 Map.entry("memory", "1024Mi")
+ *                                 Map.entry("cpu", "1"),
+ *                                 Map.entry("memory", "1024Mi")
  *                             ))
  *                             .build())
  *                         .build())
  *                     .metadata(JobDefinitionEksPropertiesPodPropertiesMetadataArgs.builder()
- *                         .labels(Map.of("environment", "test"))
+ *                         .labels(Map.of("environment", "test"))
  *                         .build())
  *                     .build())
  *                 .build())
@@ -221,13 +226,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Fargate Platform Capability * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -257,56 +264,57 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ecs-tasks.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ecs-tasks.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var ecsTaskExecutionRole = new Role("ecsTaskExecutionRole", RoleArgs.builder()        
- *             .name("my_test_batch_exec_role")
- *             .assumeRolePolicy(assumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var ecsTaskExecutionRole = new Role("ecsTaskExecutionRole", RoleArgs.builder()        
+ *             .name("my_test_batch_exec_role")
+ *             .assumeRolePolicy(assumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var ecsTaskExecutionRolePolicy = new RolePolicyAttachment("ecsTaskExecutionRolePolicy", RolePolicyAttachmentArgs.builder()        
+ *         var ecsTaskExecutionRolePolicy = new RolePolicyAttachment("ecsTaskExecutionRolePolicy", RolePolicyAttachmentArgs.builder()        
  *             .role(ecsTaskExecutionRole.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy")
  *             .build());
  * 
- *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
- *             .name("my_test_batch_job_definition")
- *             .type("container")
- *             .platformCapabilities("FARGATE")
- *             .containerProperties(ecsTaskExecutionRole.arn().applyValue(arn -> serializeJson(
+ *         var test = new JobDefinition("test", JobDefinitionArgs.builder()        
+ *             .name("my_test_batch_job_definition")
+ *             .type("container")
+ *             .platformCapabilities("FARGATE")
+ *             .containerProperties(ecsTaskExecutionRole.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("command", jsonArray(
- *                         "echo", 
- *                         "test"
+ *                     jsonProperty("command", jsonArray(
+ *                         "echo", 
+ *                         "test"
  *                     )),
- *                     jsonProperty("image", "busybox"),
- *                     jsonProperty("jobRoleArn", "arn:aws:iam::123456789012:role/AWSBatchS3ReadOnly"),
- *                     jsonProperty("fargatePlatformConfiguration", jsonObject(
- *                         jsonProperty("platformVersion", "LATEST")
+ *                     jsonProperty("image", "busybox"),
+ *                     jsonProperty("jobRoleArn", "arn:aws:iam::123456789012:role/AWSBatchS3ReadOnly"),
+ *                     jsonProperty("fargatePlatformConfiguration", jsonObject(
+ *                         jsonProperty("platformVersion", "LATEST")
  *                     )),
- *                     jsonProperty("resourceRequirements", jsonArray(
+ *                     jsonProperty("resourceRequirements", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("type", "VCPU"),
- *                             jsonProperty("value", "0.25")
+ *                             jsonProperty("type", "VCPU"),
+ *                             jsonProperty("value", "0.25")
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("type", "MEMORY"),
- *                             jsonProperty("value", "512")
+ *                             jsonProperty("type", "MEMORY"),
+ *                             jsonProperty("value", "512")
  *                         )
  *                     )),
- *                     jsonProperty("executionRoleArn", arn)
+ *                     jsonProperty("executionRoleArn", arn)
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/JobQueue.java b/sdk/java/src/main/java/com/pulumi/aws/batch/JobQueue.java index 97e7a7690fa..fa6cf6cf613 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/JobQueue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/JobQueue.java @@ -27,7 +27,8 @@ * ### Basic Job Queue * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,9 +50,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testQueue = new JobQueue("testQueue", JobQueueArgs.builder()        
- *             .name("tf-test-batch-job-queue")
- *             .state("ENABLED")
+ *         var testQueue = new JobQueue("testQueue", JobQueueArgs.builder()        
+ *             .name("tf-test-batch-job-queue")
+ *             .state("ENABLED")
  *             .priority(1)
  *             .computeEnvironmentOrders(            
  *                 JobQueueComputeEnvironmentOrderArgs.builder()
@@ -66,13 +67,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Job Queue with a fair share scheduling policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,22 +100,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SchedulingPolicy("example", SchedulingPolicyArgs.builder()        
- *             .name("example")
+ *         var example = new SchedulingPolicy("example", SchedulingPolicyArgs.builder()        
+ *             .name("example")
  *             .fairSharePolicy(SchedulingPolicyFairSharePolicyArgs.builder()
  *                 .computeReservation(1)
  *                 .shareDecaySeconds(3600)
  *                 .shareDistributions(SchedulingPolicyFairSharePolicyShareDistributionArgs.builder()
- *                     .shareIdentifier("A1*")
+ *                     .shareIdentifier("A1*")
  *                     .weightFactor(0.1)
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleJobQueue = new JobQueue("exampleJobQueue", JobQueueArgs.builder()        
- *             .name("tf-test-batch-job-queue")
+ *         var exampleJobQueue = new JobQueue("exampleJobQueue", JobQueueArgs.builder()        
+ *             .name("tf-test-batch-job-queue")
  *             .schedulingPolicyArn(example.arn())
- *             .state("ENABLED")
+ *             .state("ENABLED")
  *             .priority(1)
  *             .computeEnvironmentOrders(            
  *                 JobQueueComputeEnvironmentOrderArgs.builder()
@@ -127,7 +130,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/SchedulingPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/batch/SchedulingPolicy.java index bfe341bfc03..7b2b8872c87 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/SchedulingPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/SchedulingPolicy.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,27 +45,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SchedulingPolicy("example", SchedulingPolicyArgs.builder()        
- *             .name("example")
+ *         var example = new SchedulingPolicy("example", SchedulingPolicyArgs.builder()        
+ *             .name("example")
  *             .fairSharePolicy(SchedulingPolicyFairSharePolicyArgs.builder()
  *                 .computeReservation(1)
  *                 .shareDecaySeconds(3600)
  *                 .shareDistributions(                
  *                     SchedulingPolicyFairSharePolicyShareDistributionArgs.builder()
- *                         .shareIdentifier("A1*")
+ *                         .shareIdentifier("A1*")
  *                         .weightFactor(0.1)
  *                         .build(),
  *                     SchedulingPolicyFairSharePolicyShareDistributionArgs.builder()
- *                         .shareIdentifier("A2")
+ *                         .shareIdentifier("A2")
  *                         .weightFactor(0.2)
  *                         .build())
  *                 .build())
- *             .tags(Map.of("Name", "Example Batch Scheduling Policy"))
+ *             .tags(Map.of("Name", "Example Batch Scheduling Policy"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bcmdata/Export.java b/sdk/java/src/main/java/com/pulumi/aws/bcmdata/Export.java index 24f30ce8c51..3b8b1360b3c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bcmdata/Export.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bcmdata/Export.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Export("test", ExportArgs.builder()        
+ *         var test = new Export("test", ExportArgs.builder()        
  *             .export(ExportExportArgs.builder()
- *                 .name("testexample")
+ *                 .name("testexample")
  *                 .dataQueries(ExportExportDataQueryArgs.builder()
- *                     .queryStatement("SELECT identity_line_item_id, identity_time_interval, line_item_product_code,line_item_unblended_cost FROM COST_AND_USAGE_REPORT")
- *                     .tableConfigurations(Map.of("COST_AND_USAGE_REPORT", Map.ofEntries(
- *                         Map.entry("TIME_GRANULARITY", "HOURLY"),
- *                         Map.entry("INCLUDE_RESOURCES", "FALSE"),
- *                         Map.entry("INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY", "FALSE"),
- *                         Map.entry("INCLUDE_SPLIT_COST_ALLOCATION_DATA", "FALSE")
+ *                     .queryStatement("SELECT identity_line_item_id, identity_time_interval, line_item_product_code,line_item_unblended_cost FROM COST_AND_USAGE_REPORT")
+ *                     .tableConfigurations(Map.of("COST_AND_USAGE_REPORT", Map.ofEntries(
+ *                         Map.entry("TIME_GRANULARITY", "HOURLY"),
+ *                         Map.entry("INCLUDE_RESOURCES", "FALSE"),
+ *                         Map.entry("INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY", "FALSE"),
+ *                         Map.entry("INCLUDE_SPLIT_COST_ALLOCATION_DATA", "FALSE")
  *                     )))
  *                     .build())
  *                 .destinationConfigurations(ExportExportDestinationConfigurationArgs.builder()
@@ -64,22 +65,23 @@
  *                         .s3Prefix(testAwsS3Bucket.bucketPrefix())
  *                         .s3Region(testAwsS3Bucket.region())
  *                         .s3OutputConfigurations(ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs.builder()
- *                             .overwrite("OVERWRITE_REPORT")
- *                             .format("TEXT_OR_CSV")
- *                             .compression("GZIP")
- *                             .outputType("CUSTOM")
+ *                             .overwrite("OVERWRITE_REPORT")
+ *                             .format("TEXT_OR_CSV")
+ *                             .compression("GZIP")
+ *                             .outputType("CUSTOM")
  *                             .build())
  *                         .build())
  *                     .build())
  *                 .refreshCadences(ExportExportRefreshCadenceArgs.builder()
- *                     .frequency("SYNCHRONOUS")
+ *                     .frequency("SYNCHRONOUS")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgent.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgent.java index 56345be18ed..6647523f2a6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgent.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgent.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,52 +65,53 @@
  * 
  *         final var exampleAgentTrust = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("bedrock.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("bedrock.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .conditions(                
  *                     GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .values(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *                         .variable("aws:SourceAccount")
+ *                         .test("StringEquals")
+ *                         .values(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         .variable("aws:SourceAccount")
  *                         .build(),
  *                     GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("ArnLike")
- *                         .values(String.format("arn:aws:bedrock:%s:%s:agent/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
- *                         .variable("AWS:SourceArn")
+ *                         .test("ArnLike")
+ *                         .values(String.format("arn:aws:bedrock:%s:%s:agent/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                         .variable("AWS:SourceArn")
  *                         .build())
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .assumeRolePolicy(exampleAgentTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .namePrefix("AmazonBedrockExecutionRoleForAgents_")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .assumeRolePolicy(exampleAgentTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .namePrefix("AmazonBedrockExecutionRoleForAgents_")
  *             .build());
  * 
  *         final var exampleAgentPermissions = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("bedrock:InvokeModel")
- *                 .resources(String.format("arn:aws:bedrock:%s::foundation-model/anthropic.claude-v2", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name())))
+ *                 .actions("bedrock:InvokeModel")
+ *                 .resources(String.format("arn:aws:bedrock:%s::foundation-model/anthropic.claude-v2", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name())))
  *                 .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .policy(exampleAgentPermissions.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .policy(exampleAgentPermissions.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .role(example.id())
  *             .build());
  * 
- *         var test = new AgentAgent("test", AgentAgentArgs.builder()        
- *             .agentName("my-agent-name")
+ *         var test = new AgentAgent("test", AgentAgentArgs.builder()        
+ *             .agentName("my-agent-name")
  *             .agentResourceRoleArn(example.arn())
  *             .idleSessionTtlInSeconds(500)
- *             .foundationModel("anthropic.claude-v2")
+ *             .foundationModel("anthropic.claude-v2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentActionGroup.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentActionGroup.java index 5eb13e94b1a..bc8bb8dfa35 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentActionGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentActionGroup.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,25 +50,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AgentAgentActionGroup("example", AgentAgentActionGroupArgs.builder()        
- *             .actionGroupName("example")
- *             .agentId("ABDJFOWER1")
- *             .agentVersion("DRAFT")
+ *         var example = new AgentAgentActionGroup("example", AgentAgentActionGroupArgs.builder()        
+ *             .actionGroupName("example")
+ *             .agentId("ABDJFOWER1")
+ *             .agentVersion("DRAFT")
  *             .skipResourceInUseCheck(true)
  *             .actionGroupExecutor(AgentAgentActionGroupActionGroupExecutorArgs.builder()
- *                 .lambda("arn:aws:lambda:us-east-1:123456789012:function:example-function")
+ *                 .lambda("arn:aws:lambda:us-east-1:123456789012:function:example-function")
  *                 .build())
  *             .apiSchema(AgentAgentActionGroupApiSchemaArgs.builder()
  *                 .s3(AgentAgentActionGroupApiSchemaS3Args.builder()
- *                     .s3BucketName("example-bucket")
- *                     .s3ObjectKey("path/to/schema.json")
+ *                     .s3BucketName("example-bucket")
+ *                     .s3ObjectKey("path/to/schema.json")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentAlias.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentAlias.java index 4c7578b53b9..d7b44be92dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentAlias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentAlias.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,58 +65,59 @@
  * 
  *         final var exampleAgentTrust = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("bedrock.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("bedrock.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .conditions(                
  *                     GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .values(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *                         .variable("aws:SourceAccount")
+ *                         .test("StringEquals")
+ *                         .values(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         .variable("aws:SourceAccount")
  *                         .build(),
  *                     GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("ArnLike")
- *                         .values(String.format("arn:aws:bedrock:%s:%s:agent/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
- *                         .variable("AWS:SourceArn")
+ *                         .test("ArnLike")
+ *                         .values(String.format("arn:aws:bedrock:%s:%s:agent/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                         .variable("AWS:SourceArn")
  *                         .build())
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .assumeRolePolicy(exampleAgentTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .namePrefix("AmazonBedrockExecutionRoleForAgents_")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .assumeRolePolicy(exampleAgentTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .namePrefix("AmazonBedrockExecutionRoleForAgents_")
  *             .build());
  * 
  *         final var exampleAgentPermissions = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("bedrock:InvokeModel")
- *                 .resources(String.format("arn:aws:bedrock:%s::foundation-model/anthropic.claude-v2", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name())))
+ *                 .actions("bedrock:InvokeModel")
+ *                 .resources(String.format("arn:aws:bedrock:%s::foundation-model/anthropic.claude-v2", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name())))
  *                 .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .policy(exampleAgentPermissions.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .policy(exampleAgentPermissions.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .role(example.id())
  *             .build());
  * 
- *         var test = new AgentAgent("test", AgentAgentArgs.builder()        
- *             .agentName("my-agent-name")
+ *         var test = new AgentAgent("test", AgentAgentArgs.builder()        
+ *             .agentName("my-agent-name")
  *             .agentResourceRoleArn(example.arn())
  *             .idleTtl(500)
- *             .foundationModel("anthropic.claude-v2")
+ *             .foundationModel("anthropic.claude-v2")
  *             .build());
  * 
- *         var exampleAgentAgentAlias = new AgentAgentAlias("exampleAgentAgentAlias", AgentAgentAliasArgs.builder()        
- *             .agentAliasName("my-agent-alias")
+ *         var exampleAgentAgentAlias = new AgentAgentAlias("exampleAgentAgentAlias", AgentAgentAliasArgs.builder()        
+ *             .agentAliasName("my-agent-alias")
  *             .agentId(test.agentId())
- *             .description("Test ALias")
+ *             .description("Test ALias")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentKnowledgeBaseAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentKnowledgeBaseAssociation.java index d487042b4e1..0507407e60c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentKnowledgeBaseAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentAgentKnowledgeBaseAssociation.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AgentAgentKnowledgeBaseAssociation("example", AgentAgentKnowledgeBaseAssociationArgs.builder()        
- *             .agentId("012EXAMPLE")
- *             .description("Example Knowledge base")
- *             .knowledgeBaseId("345EXAMPLE")
- *             .knowledgeBaseState("ENABLED")
+ *         var example = new AgentAgentKnowledgeBaseAssociation("example", AgentAgentKnowledgeBaseAssociationArgs.builder()        
+ *             .agentId("012EXAMPLE")
+ *             .description("Example Knowledge base")
+ *             .knowledgeBaseId("345EXAMPLE")
+ *             .knowledgeBaseState("ENABLED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentKnowledgeBase.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentKnowledgeBase.java index b8a5425cd1f..57a79b0b0e4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentKnowledgeBase.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/AgentKnowledgeBase.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,24 +52,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AgentKnowledgeBase("test", AgentKnowledgeBaseArgs.builder()        
- *             .name("example")
+ *         var test = new AgentKnowledgeBase("test", AgentKnowledgeBaseArgs.builder()        
+ *             .name("example")
  *             .roleArn(example.arn())
  *             .knowledgeBaseConfiguration(AgentKnowledgeBaseKnowledgeBaseConfigurationArgs.builder()
  *                 .vectorKnowledgeBaseConfiguration(AgentKnowledgeBaseKnowledgeBaseConfigurationVectorKnowledgeBaseConfigurationArgs.builder()
- *                     .embeddingModelArn("arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v1")
+ *                     .embeddingModelArn("arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v1")
  *                     .build())
- *                 .type("VECTOR")
+ *                 .type("VECTOR")
  *                 .build())
  *             .storageConfiguration(AgentKnowledgeBaseStorageConfigurationArgs.builder()
- *                 .type("OPENSEARCH_SERVERLESS")
+ *                 .type("OPENSEARCH_SERVERLESS")
  *                 .opensearchServerlessConfiguration(AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationArgs.builder()
- *                     .collectionArn("arn:aws:aoss:us-west-2:1234567890:collection/142bezjddq707i5stcrf")
- *                     .vectorIndexName("bedrock-knowledge-base-default-index")
+ *                     .collectionArn("arn:aws:aoss:us-west-2:1234567890:collection/142bezjddq707i5stcrf")
+ *                     .vectorIndexName("bedrock-knowledge-base-default-index")
  *                     .fieldMapping(AgentKnowledgeBaseStorageConfigurationOpensearchServerlessConfigurationFieldMappingArgs.builder()
- *                         .vectorField("bedrock-knowledge-base-default-vector")
- *                         .textField("AMAZON_BEDROCK_TEXT_CHUNK")
- *                         .metadataField("AMAZON_BEDROCK_METADATA")
+ *                         .vectorField("bedrock-knowledge-base-default-vector")
+ *                         .textField("AMAZON_BEDROCK_TEXT_CHUNK")
+ *                         .metadataField("AMAZON_BEDROCK_METADATA")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -76,7 +77,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/BedrockFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/BedrockFunctions.java index 3f96db3029e..e60e1dd36d0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/BedrockFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/BedrockFunctions.java @@ -22,7 +22,8 @@ public final class BedrockFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,12 +45,13 @@ public final class BedrockFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder()
-     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
+     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -62,7 +64,8 @@ public static Output getCustomModel(GetCustomModelArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -84,12 +87,13 @@ public static Output getCustomModel(GetCustomModelArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder()
-     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
+     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -102,7 +106,8 @@ public static CompletableFuture getCustomModelPlain(GetCus * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -124,12 +129,13 @@ public static CompletableFuture getCustomModelPlain(GetCus
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder()
-     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
+     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -142,7 +148,8 @@ public static Output getCustomModel(GetCustomModelArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -164,12 +171,13 @@ public static Output getCustomModel(GetCustomModelArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockFunctions.getCustomModel(GetCustomModelArgs.builder()
-     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
+     *             .modelId("arn:aws:bedrock:us-west-2:123456789012:custom-model/amazon.titan-text-express-v1:0:8k/ly16hhi765j4 ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -182,7 +190,8 @@ public static CompletableFuture getCustomModelPlain(GetCus * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -206,7 +215,8 @@ public static CompletableFuture getCustomModelPlain(GetCus
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -219,7 +229,8 @@ public static Output getCustomModels() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -243,7 +254,8 @@ public static Output getCustomModels() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -256,7 +268,8 @@ public static CompletableFuture getCustomModelsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -280,7 +293,8 @@ public static CompletableFuture getCustomModelsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -293,7 +307,8 @@ public static Output getCustomModels(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -317,7 +332,8 @@ public static Output getCustomModels(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -330,7 +346,8 @@ public static CompletableFuture getCustomModelsPlain(Invo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -354,7 +371,8 @@ public static CompletableFuture getCustomModelsPlain(Invo
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -367,7 +385,8 @@ public static Output getCustomModels(InvokeArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -391,7 +410,8 @@ public static Output getCustomModels(InvokeArgs args, Inv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/CustomModel.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/CustomModel.java index 42d706e1d74..379c4c27ff5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/CustomModel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/CustomModel.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,31 +54,32 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = BedrockfoundationFunctions.getModel(GetModelArgs.builder()
- *             .modelId("amazon.titan-text-express-v1")
+ *             .modelId("amazon.titan-text-express-v1")
  *             .build());
  * 
- *         var exampleCustomModel = new CustomModel("exampleCustomModel", CustomModelArgs.builder()        
- *             .customModelName("example-model")
- *             .jobName("example-job-1")
- *             .baseModelIdentifier(example.applyValue(getModelResult -> getModelResult.modelArn()))
+ *         var exampleCustomModel = new CustomModel("exampleCustomModel", CustomModelArgs.builder()        
+ *             .customModelName("example-model")
+ *             .jobName("example-job-1")
+ *             .baseModelIdentifier(example.applyValue(getModelResult -> getModelResult.modelArn()))
  *             .roleArn(exampleAwsIamRole.arn())
  *             .hyperparameters(Map.ofEntries(
- *                 Map.entry("epochCount", "1"),
- *                 Map.entry("batchSize", "1"),
- *                 Map.entry("learningRate", "0.005"),
- *                 Map.entry("learningRateWarmupSteps", "0")
+ *                 Map.entry("epochCount", "1"),
+ *                 Map.entry("batchSize", "1"),
+ *                 Map.entry("learningRate", "0.005"),
+ *                 Map.entry("learningRateWarmupSteps", "0")
  *             ))
  *             .outputDataConfig(CustomModelOutputDataConfigArgs.builder()
- *                 .s3Uri(String.format("s3://%s/data/", output.id()))
+ *                 .s3Uri(String.format("s3://%s/data/", output.id()))
  *                 .build())
  *             .trainingDataConfig(CustomModelTrainingDataConfigArgs.builder()
- *                 .s3Uri(String.format("s3://%s/data/train.jsonl", training.id()))
+ *                 .s3Uri(String.format("s3://%s/data/train.jsonl", training.id()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/ProvisionedModelThroughput.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/ProvisionedModelThroughput.java index 79b1a6c68b1..50574652ecb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/ProvisionedModelThroughput.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/ProvisionedModelThroughput.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProvisionedModelThroughput("example", ProvisionedModelThroughputArgs.builder()        
- *             .provisionedModelName("example-model")
- *             .modelArn("arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2")
- *             .commitmentDuration("SixMonths")
+ *         var example = new ProvisionedModelThroughput("example", ProvisionedModelThroughputArgs.builder()        
+ *             .provisionedModelName("example-model")
+ *             .modelArn("arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2")
+ *             .commitmentDuration("SixMonths")
  *             .modelUnits(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/BedrockfoundationFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/BedrockfoundationFunctions.java index 655c5e5561d..31ad84ef5de 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/BedrockfoundationFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/BedrockfoundationFunctions.java @@ -25,7 +25,8 @@ public final class BedrockfoundationFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,12 +51,13 @@ public final class BedrockfoundationFunctions {
      *         final var test = BedrockfoundationFunctions.getModels();
      * 
      *         final var testGetModel = BedrockfoundationFunctions.getModel(GetModelArgs.builder()
-     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
+     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getModel(GetModelArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -95,12 +98,13 @@ public static Output getModel(GetModelArgs args) {
      *         final var test = BedrockfoundationFunctions.getModels();
      * 
      *         final var testGetModel = BedrockfoundationFunctions.getModel(GetModelArgs.builder()
-     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
+     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -115,7 +119,8 @@ public static CompletableFuture getModelPlain(GetModelPlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -140,12 +145,13 @@ public static CompletableFuture getModelPlain(GetModelPlainArgs
      *         final var test = BedrockfoundationFunctions.getModels();
      * 
      *         final var testGetModel = BedrockfoundationFunctions.getModel(GetModelArgs.builder()
-     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
+     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -160,7 +166,8 @@ public static Output getModel(GetModelArgs args, InvokeOptions o * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -185,12 +192,13 @@ public static Output getModel(GetModelArgs args, InvokeOptions o
      *         final var test = BedrockfoundationFunctions.getModels();
      * 
      *         final var testGetModel = BedrockfoundationFunctions.getModel(GetModelArgs.builder()
-     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
+     *             .modelId(test.applyValue(getModelsResult -> getModelsResult.modelSummaries()[0].modelId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -205,7 +213,8 @@ public static CompletableFuture getModelPlain(GetModelPlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -230,13 +239,15 @@ public static CompletableFuture getModelPlain(GetModelPlainArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter by Inference Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -258,12 +269,13 @@ public static CompletableFuture getModelPlain(GetModelPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockfoundationFunctions.getModels(GetModelsArgs.builder()
-     *             .byInferenceType("ON_DEMAND")
+     *             .byInferenceType("ON_DEMAND")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -278,7 +290,8 @@ public static Output getModels() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -303,13 +316,15 @@ public static Output getModels() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter by Inference Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -331,12 +346,13 @@ public static Output getModels() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockfoundationFunctions.getModels(GetModelsArgs.builder()
-     *             .byInferenceType("ON_DEMAND")
+     *             .byInferenceType("ON_DEMAND")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -351,7 +367,8 @@ public static CompletableFuture getModelsPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -376,13 +393,15 @@ public static CompletableFuture getModelsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter by Inference Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -404,12 +423,13 @@ public static CompletableFuture getModelsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockfoundationFunctions.getModels(GetModelsArgs.builder()
-     *             .byInferenceType("ON_DEMAND")
+     *             .byInferenceType("ON_DEMAND")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -424,7 +444,8 @@ public static Output getModels(GetModelsArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -449,13 +470,15 @@ public static Output getModels(GetModelsArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter by Inference Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -477,12 +500,13 @@ public static Output getModels(GetModelsArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockfoundationFunctions.getModels(GetModelsArgs.builder()
-     *             .byInferenceType("ON_DEMAND")
+     *             .byInferenceType("ON_DEMAND")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -497,7 +521,8 @@ public static CompletableFuture getModelsPlain(GetModelsPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -522,13 +547,15 @@ public static CompletableFuture getModelsPlain(GetModelsPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter by Inference Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -550,12 +577,13 @@ public static CompletableFuture getModelsPlain(GetModelsPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockfoundationFunctions.getModels(GetModelsArgs.builder()
-     *             .byInferenceType("ON_DEMAND")
+     *             .byInferenceType("ON_DEMAND")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -570,7 +598,8 @@ public static Output getModels(GetModelsArgs args, InvokeOption * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -595,13 +624,15 @@ public static Output getModels(GetModelsArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter by Inference Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -623,12 +654,13 @@ public static Output getModels(GetModelsArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var test = BedrockfoundationFunctions.getModels(GetModelsArgs.builder()
-     *             .byInferenceType("ON_DEMAND")
+     *             .byInferenceType("ON_DEMAND")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrockmodel/InvocationLoggingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/bedrockmodel/InvocationLoggingConfiguration.java index b98ec670b8d..c9c39f0f87b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrockmodel/InvocationLoggingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrockmodel/InvocationLoggingConfiguration.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,50 +55,50 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
+ *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(example.bucket())
- *             .policy(example.arn().applyValue(arn -> """
+ *             .policy(example.arn().applyValue(arn -> """
  * {
- *   "Version": "2012-10-17",
- *   "Statement": [
+ *   "Version": "2012-10-17",
+ *   "Statement": [
  *     {
- *       "Effect": "Allow",
- *       "Principal": {
- *         "Service": "bedrock.amazonaws.com"
+ *       "Effect": "Allow",
+ *       "Principal": {
+ *         "Service": "bedrock.amazonaws.com"
  *       },
- *       "Action": [
- *         "s3:*"
+ *       "Action": [
+ *         "s3:*"
  *       ],
- *       "Resource": [
- *         "%s/*"
+ *       "Resource": [
+ *         "%s/*"
  *       ],
- *       "Condition": {
- *         "StringEquals": {
- *           "aws:SourceAccount": "%s"
+ *       "Condition": {
+ *         "StringEquals": {
+ *           "aws:SourceAccount": "%s"
  *         },
- *         "ArnLike": {
- *           "aws:SourceArn": "arn:aws:bedrock:us-east-1:%s:*"
+ *         "ArnLike": {
+ *           "aws:SourceArn": "arn:aws:bedrock:us-east-1:%s:*"
  *         }
  *       }
  *     }
  *   ]
  * }
- * ", arn,current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))))
+ * ", arn,current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))))
  *             .build());
  * 
- *         var exampleInvocationLoggingConfiguration = new InvocationLoggingConfiguration("exampleInvocationLoggingConfiguration", InvocationLoggingConfigurationArgs.builder()        
+ *         var exampleInvocationLoggingConfiguration = new InvocationLoggingConfiguration("exampleInvocationLoggingConfiguration", InvocationLoggingConfigurationArgs.builder()        
  *             .loggingConfig(InvocationLoggingConfigurationLoggingConfigArgs.builder()
  *                 .embeddingDataDeliveryEnabled(true)
  *                 .imageDataDeliveryEnabled(true)
  *                 .textDataDeliveryEnabled(true)
  *                 .s3Config(InvocationLoggingConfigurationLoggingConfigS3ConfigArgs.builder()
  *                     .bucketName(example.id())
- *                     .keyPrefix("bedrock")
+ *                     .keyPrefix("bedrock")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -106,7 +107,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/budgets/Budget.java b/sdk/java/src/main/java/com/pulumi/aws/budgets/Budget.java index f7efdd04020..3b6b6941029 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/budgets/Budget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/budgets/Budget.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,36 +50,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ec2 = new Budget("ec2", BudgetArgs.builder()        
- *             .name("budget-ec2-monthly")
- *             .budgetType("COST")
- *             .limitAmount("1200")
- *             .limitUnit("USD")
- *             .timePeriodEnd("2087-06-15_00:00")
- *             .timePeriodStart("2017-07-01_00:00")
- *             .timeUnit("MONTHLY")
+ *         var ec2 = new Budget("ec2", BudgetArgs.builder()        
+ *             .name("budget-ec2-monthly")
+ *             .budgetType("COST")
+ *             .limitAmount("1200")
+ *             .limitUnit("USD")
+ *             .timePeriodEnd("2087-06-15_00:00")
+ *             .timePeriodStart("2017-07-01_00:00")
+ *             .timeUnit("MONTHLY")
  *             .costFilters(BudgetCostFilterArgs.builder()
- *                 .name("Service")
- *                 .values("Amazon Elastic Compute Cloud - Compute")
+ *                 .name("Service")
+ *                 .values("Amazon Elastic Compute Cloud - Compute")
  *                 .build())
  *             .notifications(BudgetNotificationArgs.builder()
- *                 .comparisonOperator("GREATER_THAN")
+ *                 .comparisonOperator("GREATER_THAN")
  *                 .threshold(100)
- *                 .thresholdType("PERCENTAGE")
- *                 .notificationType("FORECASTED")
- *                 .subscriberEmailAddresses("test@example.com")
+ *                 .thresholdType("PERCENTAGE")
+ *                 .notificationType("FORECASTED")
+ *                 .subscriberEmailAddresses("test{@literal @}example.com")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a budget for *$100*. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -99,21 +102,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cost = new Budget("cost", BudgetArgs.builder()        
- *             .budgetType("COST")
- *             .limitAmount("100")
- *             .limitUnit("USD")
+ *         var cost = new Budget("cost", BudgetArgs.builder()        
+ *             .budgetType("COST")
+ *             .limitAmount("100")
+ *             .limitUnit("USD")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a budget with planned budget limits. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -135,29 +140,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cost = new Budget("cost", BudgetArgs.builder()        
+ *         var cost = new Budget("cost", BudgetArgs.builder()        
  *             .plannedLimits(            
  *                 BudgetPlannedLimitArgs.builder()
- *                     .startTime("2017-07-01_00:00")
- *                     .amount("100")
- *                     .unit("USD")
+ *                     .startTime("2017-07-01_00:00")
+ *                     .amount("100")
+ *                     .unit("USD")
  *                     .build(),
  *                 BudgetPlannedLimitArgs.builder()
- *                     .startTime("2017-08-01_00:00")
- *                     .amount("200")
- *                     .unit("USD")
+ *                     .startTime("2017-08-01_00:00")
+ *                     .amount("200")
+ *                     .unit("USD")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a budget for s3 with a limit of *3 GB* of storage. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -178,21 +185,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var s3 = new Budget("s3", BudgetArgs.builder()        
- *             .budgetType("USAGE")
- *             .limitAmount("3")
- *             .limitUnit("GB")
+ *         var s3 = new Budget("s3", BudgetArgs.builder()        
+ *             .budgetType("USAGE")
+ *             .limitAmount("3")
+ *             .limitUnit("GB")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a Savings Plan Utilization Budget * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -214,10 +223,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var savingsPlanUtilization = new Budget("savingsPlanUtilization", BudgetArgs.builder()        
- *             .budgetType("SAVINGS_PLANS_UTILIZATION")
- *             .limitAmount("100.0")
- *             .limitUnit("PERCENTAGE")
+ *         var savingsPlanUtilization = new Budget("savingsPlanUtilization", BudgetArgs.builder()        
+ *             .budgetType("SAVINGS_PLANS_UTILIZATION")
+ *             .limitAmount("100.0")
+ *             .limitUnit("PERCENTAGE")
  *             .costTypes(BudgetCostTypesArgs.builder()
  *                 .includeCredit(false)
  *                 .includeDiscount(false)
@@ -234,13 +243,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a RI Utilization Budget * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -263,10 +274,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var riUtilization = new Budget("riUtilization", BudgetArgs.builder()        
- *             .budgetType("RI_UTILIZATION")
- *             .limitAmount("100.0")
- *             .limitUnit("PERCENTAGE")
+ *         var riUtilization = new Budget("riUtilization", BudgetArgs.builder()        
+ *             .budgetType("RI_UTILIZATION")
+ *             .limitAmount("100.0")
+ *             .limitUnit("PERCENTAGE")
  *             .costTypes(BudgetCostTypesArgs.builder()
  *                 .includeCredit(false)
  *                 .includeDiscount(false)
@@ -280,20 +291,22 @@
  *                 .useBlended(false)
  *                 .build())
  *             .costFilters(BudgetCostFilterArgs.builder()
- *                 .name("Service")
- *                 .values("Amazon Relational Database Service")
+ *                 .name("Service")
+ *                 .values("Amazon Relational Database Service")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a Cost Filter using Resource Tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -315,22 +328,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cost = new Budget("cost", BudgetArgs.builder()        
+ *         var cost = new Budget("cost", BudgetArgs.builder()        
  *             .costFilters(BudgetCostFilterArgs.builder()
- *                 .name("TagKeyValue")
- *                 .values("TagKey$TagValue")
+ *                 .name("TagKeyValue")
+ *                 .values("TagKey$TagValue")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Create a cost_filter using resource tags, obtaining the tag value from a variable * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -352,16 +367,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cost = new Budget("cost", BudgetArgs.builder()        
+ *         var cost = new Budget("cost", BudgetArgs.builder()        
  *             .costFilters(BudgetCostFilterArgs.builder()
- *                 .name("TagKeyValue")
- *                 .values(String.format("TagKey%s%s", "$",tagValue))
+ *                 .name("TagKeyValue")
+ *                 .values(String.format("TagKey%s%s", "$",tagValue))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetAction.java b/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetAction.java index 4859a6d1e6d..0c6e66e5c42 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetAction.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,53 +61,53 @@
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("ec2:Describe*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("ec2:Describe*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
- *             .name("example")
- *             .description("My example policy")
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+ *             .name("example")
+ *             .description("My example policy")
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var current = AwsFunctions.getPartition();
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers(String.format("budgets.%s", current.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix())))
+ *                     .type("Service")
+ *                     .identifiers(String.format("budgets.%s", current.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix())))
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleBudget = new Budget("exampleBudget", BudgetArgs.builder()        
- *             .name("example")
- *             .budgetType("USAGE")
- *             .limitAmount("10.0")
- *             .limitUnit("dollars")
- *             .timePeriodStart("2006-01-02_15:04")
- *             .timeUnit("MONTHLY")
+ *         var exampleBudget = new Budget("exampleBudget", BudgetArgs.builder()        
+ *             .name("example")
+ *             .budgetType("USAGE")
+ *             .limitAmount("10.0")
+ *             .limitUnit("dollars")
+ *             .timePeriodStart("2006-01-02_15:04")
+ *             .timeUnit("MONTHLY")
  *             .build());
  * 
- *         var exampleBudgetAction = new BudgetAction("exampleBudgetAction", BudgetActionArgs.builder()        
+ *         var exampleBudgetAction = new BudgetAction("exampleBudgetAction", BudgetActionArgs.builder()        
  *             .budgetName(exampleBudget.name())
- *             .actionType("APPLY_IAM_POLICY")
- *             .approvalModel("AUTOMATIC")
- *             .notificationType("ACTUAL")
+ *             .actionType("APPLY_IAM_POLICY")
+ *             .approvalModel("AUTOMATIC")
+ *             .notificationType("ACTUAL")
  *             .executionRoleArn(exampleRole.arn())
  *             .actionThreshold(BudgetActionActionThresholdArgs.builder()
- *                 .actionThresholdType("ABSOLUTE_VALUE")
+ *                 .actionThresholdType("ABSOLUTE_VALUE")
  *                 .actionThresholdValue(100)
  *                 .build())
  *             .definition(BudgetActionDefinitionArgs.builder()
@@ -116,14 +117,15 @@
  *                     .build())
  *                 .build())
  *             .subscribers(BudgetActionSubscriberArgs.builder()
- *                 .address("example@example.example")
- *                 .subscriptionType("EMAIL")
+ *                 .address("example{@literal @}example.example")
+ *                 .subscriptionType("EMAIL")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetsFunctions.java index 9b5a14ffbde..76f41932439 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/budgets/BudgetsFunctions.java @@ -22,7 +22,8 @@ public final class BudgetsFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -49,7 +50,8 @@ public final class BudgetsFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getBudget(GetBudgetArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,7 +94,8 @@ public static Output getBudget(GetBudgetArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getBudgetPlain(GetBudgetPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,7 +138,8 @@ public static CompletableFuture getBudgetPlain(GetBudgetPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getBudget(GetBudgetArgs args, InvokeOption * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -175,7 +182,8 @@ public static Output getBudget(GetBudgetArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/AggregateAuthorization.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/AggregateAuthorization.java index 90e18a4fdd9..521f5498473 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/AggregateAuthorization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/AggregateAuthorization.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AggregateAuthorization("example", AggregateAuthorizationArgs.builder()        
- *             .accountId("123456789012")
- *             .region("eu-west-2")
+ *         var example = new AggregateAuthorization("example", AggregateAuthorizationArgs.builder()        
+ *             .accountId("123456789012")
+ *             .region("eu-west-2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/ConfigurationAggregator.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/ConfigurationAggregator.java index 7af2d3105e7..4293559c074 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/ConfigurationAggregator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/ConfigurationAggregator.java @@ -25,7 +25,8 @@ * ### Account Based Aggregation * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var account = new ConfigurationAggregator("account", ConfigurationAggregatorArgs.builder()        
- *             .name("example")
+ *         var account = new ConfigurationAggregator("account", ConfigurationAggregatorArgs.builder()        
+ *             .name("example")
  *             .accountAggregationSource(ConfigurationAggregatorAccountAggregationSourceArgs.builder()
- *                 .accountIds("123456789012")
- *                 .regions("us-west-2")
+ *                 .accountIds("123456789012")
+ *                 .regions("us-west-2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Based Aggregation * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,27 +97,27 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("config.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("config.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var organizationRole = new Role("organizationRole", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var organizationRole = new Role("organizationRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var organizationRolePolicyAttachment = new RolePolicyAttachment("organizationRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var organizationRolePolicyAttachment = new RolePolicyAttachment("organizationRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(organizationRole.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSConfigRoleForOrganizations")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSConfigRoleForOrganizations")
  *             .build());
  * 
- *         var organization = new ConfigurationAggregator("organization", ConfigurationAggregatorArgs.builder()        
- *             .name("example")
+ *         var organization = new ConfigurationAggregator("organization", ConfigurationAggregatorArgs.builder()        
+ *             .name("example")
  *             .organizationAggregationSource(ConfigurationAggregatorOrganizationAggregationSourceArgs.builder()
  *                 .allRegions(true)
  *                 .roleArn(organizationRole.arn())
@@ -125,7 +128,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/ConformancePack.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/ConformancePack.java index 63643503ba5..eea27a1e2e5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/ConformancePack.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/ConformancePack.java @@ -31,7 +31,8 @@ * ### Template Body * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,13 +55,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConformancePack("example", ConformancePackArgs.builder()        
- *             .name("example")
+ *         var example = new ConformancePack("example", ConformancePackArgs.builder()        
+ *             .name("example")
  *             .inputParameters(ConformancePackInputParameterArgs.builder()
- *                 .parameterName("AccessKeysRotatedParameterMaxAccessKeyAge")
- *                 .parameterValue("90")
+ *                 .parameterName("AccessKeysRotatedParameterMaxAccessKeyAge")
+ *                 .parameterValue("90")
  *                 .build())
- *             .templateBody("""
+ *             .templateBody("""
  * Parameters:
  *   AccessKeysRotatedParameterMaxAccessKeyAge:
  *     Type: String
@@ -72,20 +73,22 @@
  *         Owner: AWS
  *         SourceIdentifier: IAM_PASSWORD_POLICY
  *     Type: AWS::Config::ConfigRule
- *             """)
+ *             """)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsConfigConfigurationRecorder)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Template S3 URI * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -111,14 +114,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .key("example-key")
- *             .content("""
+ *             .key("example-key")
+ *             .content("""
  * Resources:
  *   IAMPasswordPolicy:
  *     Properties:
@@ -127,15 +130,15 @@
  *         Owner: AWS
  *         SourceIdentifier: IAM_PASSWORD_POLICY
  *     Type: AWS::Config::ConfigRule
- *             """)
+ *             """)
  *             .build());
  * 
- *         var example = new ConformancePack("example", ConformancePackArgs.builder()        
- *             .name("example")
- *             .templateS3Uri(Output.tuple(exampleBucketV2.bucket(), exampleBucketObjectv2.key()).applyValue(values -> {
+ *         var example = new ConformancePack("example", ConformancePackArgs.builder()        
+ *             .name("example")
+ *             .templateS3Uri(Output.tuple(exampleBucketV2.bucket(), exampleBucketObjectv2.key()).applyValue(values -> {
  *                 var bucket = values.t1;
  *                 var key = values.t2;
- *                 return String.format("s3://%s/%s", bucket,key);
+ *                 return String.format("s3://%s/%s", bucket,key);
  *             }))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsConfigConfigurationRecorder)
@@ -143,7 +146,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/DeliveryChannel.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/DeliveryChannel.java index becfde5b367..57d694f8b03 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/DeliveryChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/DeliveryChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,34 +56,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new BucketV2("b", BucketV2Args.builder()        
- *             .bucket("example-awsconfig")
+ *         var b = new BucketV2("b", BucketV2Args.builder()        
+ *             .bucket("example-awsconfig")
  *             .forceDestroy(true)
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("config.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("config.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var r = new Role("r", RoleArgs.builder()        
- *             .name("awsconfig-example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var r = new Role("r", RoleArgs.builder()        
+ *             .name("awsconfig-example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var fooRecorder = new Recorder("fooRecorder", RecorderArgs.builder()        
- *             .name("example")
+ *         var fooRecorder = new Recorder("fooRecorder", RecorderArgs.builder()        
+ *             .name("example")
  *             .roleArn(r.arn())
  *             .build());
  * 
- *         var foo = new DeliveryChannel("foo", DeliveryChannelArgs.builder()        
- *             .name("example")
+ *         var foo = new DeliveryChannel("foo", DeliveryChannelArgs.builder()        
+ *             .name("example")
  *             .s3BucketName(b.bucket())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(fooRecorder)
@@ -90,23 +91,24 @@
  * 
  *         final var p = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("s3:*")
+ *                 .effect("Allow")
+ *                 .actions("s3:*")
  *                 .resources(                
  *                     b.arn(),
- *                     b.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                     b.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                 .build())
  *             .build());
  * 
- *         var pRolePolicy = new RolePolicy("pRolePolicy", RolePolicyArgs.builder()        
- *             .name("awsconfig-example")
+ *         var pRolePolicy = new RolePolicy("pRolePolicy", RolePolicyArgs.builder()        
+ *             .name("awsconfig-example")
  *             .role(r.id())
- *             .policy(p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(p -> p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(p -> p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationConformancePack.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationConformancePack.java index 69b32f4dd36..cdde75bf4f6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationConformancePack.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationConformancePack.java @@ -26,7 +26,8 @@ * ### Using Template Body * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,18 +52,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
- *             .featureSet("ALL")
+ *         var exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var example = new OrganizationConformancePack("example", OrganizationConformancePackArgs.builder()        
- *             .name("example")
+ *         var example = new OrganizationConformancePack("example", OrganizationConformancePackArgs.builder()        
+ *             .name("example")
  *             .inputParameters(OrganizationConformancePackInputParameterArgs.builder()
- *                 .parameterName("AccessKeysRotatedParameterMaxAccessKeyAge")
- *                 .parameterValue("90")
+ *                 .parameterName("AccessKeysRotatedParameterMaxAccessKeyAge")
+ *                 .parameterValue("90")
  *                 .build())
- *             .templateBody("""
+ *             .templateBody("""
  * Parameters:
  *   AccessKeysRotatedParameterMaxAccessKeyAge:
  *     Type: String
@@ -74,7 +75,7 @@
  *         Owner: AWS
  *         SourceIdentifier: IAM_PASSWORD_POLICY
  *     Type: AWS::Config::ConfigRule
- *             """)
+ *             """)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
  *                     exampleAwsConfigConfigurationRecorder,
@@ -83,13 +84,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using Template S3 URI * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,19 +120,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
- *             .featureSet("ALL")
+ *         var exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .key("example-key")
- *             .content("""
+ *             .key("example-key")
+ *             .content("""
  * Resources:
  *   IAMPasswordPolicy:
  *     Properties:
@@ -138,15 +141,15 @@
  *         Owner: AWS
  *         SourceIdentifier: IAM_PASSWORD_POLICY
  *     Type: AWS::Config::ConfigRule
- *             """)
+ *             """)
  *             .build());
  * 
- *         var example = new OrganizationConformancePack("example", OrganizationConformancePackArgs.builder()        
- *             .name("example")
- *             .templateS3Uri(Output.tuple(exampleBucketV2.bucket(), exampleBucketObjectv2.key()).applyValue(values -> {
+ *         var example = new OrganizationConformancePack("example", OrganizationConformancePackArgs.builder()        
+ *             .name("example")
+ *             .templateS3Uri(Output.tuple(exampleBucketV2.bucket(), exampleBucketObjectv2.key()).applyValue(values -> {
  *                 var bucket = values.t1;
  *                 var key = values.t2;
- *                 return String.format("s3://%s/%s", bucket,key);
+ *                 return String.format("s3://%s/%s", bucket,key);
  *             }))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
@@ -156,7 +159,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomPolicyRule.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomPolicyRule.java index 7f6a6d64bf0..a844050469c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomPolicyRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomPolicyRule.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,30 +47,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OrganizationCustomPolicyRule("example", OrganizationCustomPolicyRuleArgs.builder()        
- *             .name("example_rule_name")
- *             .policyRuntime("guard-2.x.x")
- *             .policyText("""
- * let status = ['ACTIVE']
+ *         var example = new OrganizationCustomPolicyRule("example", OrganizationCustomPolicyRuleArgs.builder()        
+ *             .name("example_rule_name")
+ *             .policyRuntime("guard-2.x.x")
+ *             .policyText("""
+ * let status = ['ACTIVE']
  * 
  * rule tableisactive when
- *     resourceType == "AWS::DynamoDB::Table" {
+ *     resourceType == "AWS::DynamoDB::Table" {
  *     configuration.tableStatus == %status
  * }
  * 
  * rule checkcompliance when
- *     resourceType == "AWS::DynamoDB::Table"
+ *     resourceType == "AWS::DynamoDB::Table"
  *     tableisactive {
  *         let pitr = supplementaryConfiguration.ContinuousBackupsDescription.pointInTimeRecoveryDescription.pointInTimeRecoveryStatus
- *         %pitr == "ENABLED"
+ *         %pitr == "ENABLED"
  *     }
- *             """)
- *             .resourceTypesScopes("AWS::DynamoDB::Table")
+ *             """)
+ *             .resourceTypesScopes("AWS::DynamoDB::Table")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomRule.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomRule.java index 60856d8872a..eec47dae8f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationCustomRule.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,22 +52,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Permission("example", PermissionArgs.builder()        
- *             .action("lambda:InvokeFunction")
+ *         var example = new Permission("example", PermissionArgs.builder()        
+ *             .action("lambda:InvokeFunction")
  *             .function(exampleAwsLambdaFunction.arn())
- *             .principal("config.amazonaws.com")
- *             .statementId("AllowExecutionFromConfig")
+ *             .principal("config.amazonaws.com")
+ *             .statementId("AllowExecutionFromConfig")
  *             .build());
  * 
- *         var exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
- *             .featureSet("ALL")
+ *         var exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleOrganizationCustomRule = new OrganizationCustomRule("exampleOrganizationCustomRule", OrganizationCustomRuleArgs.builder()        
+ *         var exampleOrganizationCustomRule = new OrganizationCustomRule("exampleOrganizationCustomRule", OrganizationCustomRuleArgs.builder()        
  *             .lambdaFunctionArn(exampleAwsLambdaFunction.arn())
- *             .name("example")
- *             .triggerTypes("ConfigurationItemChangeNotification")
+ *             .name("example")
+ *             .triggerTypes("ConfigurationItemChangeNotification")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
  *                     example,
@@ -75,7 +76,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationManagedRule.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationManagedRule.java index d6e8a55361c..bda20ea7d1d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationManagedRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/OrganizationManagedRule.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,21 +50,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Organization("example", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
- *             .featureSet("ALL")
+ *         var example = new Organization("example", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("config-multiaccountsetup.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleOrganizationManagedRule = new OrganizationManagedRule("exampleOrganizationManagedRule", OrganizationManagedRuleArgs.builder()        
- *             .name("example")
- *             .ruleIdentifier("IAM_PASSWORD_POLICY")
+ *         var exampleOrganizationManagedRule = new OrganizationManagedRule("exampleOrganizationManagedRule", OrganizationManagedRuleArgs.builder()        
+ *             .name("example")
+ *             .ruleIdentifier("IAM_PASSWORD_POLICY")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/Recorder.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/Recorder.java index b0b4ffbf982..b45470c96cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/Recorder.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/Recorder.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,34 +53,36 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("config.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("config.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var r = new Role("r", RoleArgs.builder()        
- *             .name("awsconfig-example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var r = new Role("r", RoleArgs.builder()        
+ *             .name("awsconfig-example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var foo = new Recorder("foo", RecorderArgs.builder()        
- *             .name("example")
+ *         var foo = new Recorder("foo", RecorderArgs.builder()        
+ *             .name("example")
  *             .roleArn(r.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Exclude Resources Types Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -101,29 +104,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Recorder("foo", RecorderArgs.builder()        
- *             .name("example")
+ *         var foo = new Recorder("foo", RecorderArgs.builder()        
+ *             .name("example")
  *             .roleArn(r.arn())
  *             .recordingGroup(RecorderRecordingGroupArgs.builder()
  *                 .allSupported(false)
  *                 .exclusionByResourceTypes(RecorderRecordingGroupExclusionByResourceTypeArgs.builder()
- *                     .resourceTypes("AWS::EC2::Instance")
+ *                     .resourceTypes("AWS::EC2::Instance")
  *                     .build())
  *                 .recordingStrategies(RecorderRecordingGroupRecordingStrategyArgs.builder()
- *                     .useOnly("EXCLUSION_BY_RESOURCE_TYPES")
+ *                     .useOnly("EXCLUSION_BY_RESOURCE_TYPES")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Periodic Recording * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -147,29 +152,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Recorder("foo", RecorderArgs.builder()        
- *             .name("example")
+ *         var foo = new Recorder("foo", RecorderArgs.builder()        
+ *             .name("example")
  *             .roleArn(r.arn())
  *             .recordingGroup(RecorderRecordingGroupArgs.builder()
  *                 .allSupported(false)
  *                 .includeGlobalResourceTypes(false)
  *                 .resourceTypes(                
- *                     "AWS::EC2::Instance",
- *                     "AWS::EC2::NetworkInterface")
+ *                     "AWS::EC2::Instance",
+ *                     "AWS::EC2::NetworkInterface")
  *                 .build())
  *             .recordingMode(RecorderRecordingModeArgs.builder()
- *                 .recordingFrequency("CONTINUOUS")
+ *                 .recordingFrequency("CONTINUOUS")
  *                 .recordingModeOverride(RecorderRecordingModeRecordingModeOverrideArgs.builder()
- *                     .description("Only record EC2 network interfaces daily")
- *                     .resourceTypes("AWS::EC2::NetworkInterface")
- *                     .recordingFrequency("DAILY")
+ *                     .description("Only record EC2 network interfaces daily")
+ *                     .resourceTypes("AWS::EC2::NetworkInterface")
+ *                     .recordingFrequency("DAILY")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/RecorderStatus.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/RecorderStatus.java index 9afeb03eb4d..e1c79879d1d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/RecorderStatus.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/RecorderStatus.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,67 +59,68 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new BucketV2("b", BucketV2Args.builder()        
- *             .bucket("awsconfig-example")
+ *         var b = new BucketV2("b", BucketV2Args.builder()        
+ *             .bucket("awsconfig-example")
  *             .build());
  * 
- *         var fooDeliveryChannel = new DeliveryChannel("fooDeliveryChannel", DeliveryChannelArgs.builder()        
- *             .name("example")
+ *         var fooDeliveryChannel = new DeliveryChannel("fooDeliveryChannel", DeliveryChannelArgs.builder()        
+ *             .name("example")
  *             .s3BucketName(b.bucket())
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("config.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("config.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var r = new Role("r", RoleArgs.builder()        
- *             .name("example-awsconfig")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var r = new Role("r", RoleArgs.builder()        
+ *             .name("example-awsconfig")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var fooRecorder = new Recorder("fooRecorder", RecorderArgs.builder()        
- *             .name("example")
+ *         var fooRecorder = new Recorder("fooRecorder", RecorderArgs.builder()        
+ *             .name("example")
  *             .roleArn(r.arn())
  *             .build());
  * 
- *         var foo = new RecorderStatus("foo", RecorderStatusArgs.builder()        
+ *         var foo = new RecorderStatus("foo", RecorderStatusArgs.builder()        
  *             .name(fooRecorder.name())
  *             .isEnabled(true)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(fooDeliveryChannel)
  *                 .build());
  * 
- *         var a = new RolePolicyAttachment("a", RolePolicyAttachmentArgs.builder()        
+ *         var a = new RolePolicyAttachment("a", RolePolicyAttachmentArgs.builder()        
  *             .role(r.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWS_ConfigRole")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWS_ConfigRole")
  *             .build());
  * 
  *         final var p = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("s3:*")
+ *                 .effect("Allow")
+ *                 .actions("s3:*")
  *                 .resources(                
  *                     b.arn(),
- *                     b.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                     b.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                 .build())
  *             .build());
  * 
- *         var pRolePolicy = new RolePolicy("pRolePolicy", RolePolicyArgs.builder()        
- *             .name("awsconfig-example")
+ *         var pRolePolicy = new RolePolicy("pRolePolicy", RolePolicyArgs.builder()        
+ *             .name("awsconfig-example")
  *             .role(r.id())
- *             .policy(p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(p -> p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(p -> p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/RemediationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/RemediationConfiguration.java index 49c477f7c0d..ab5aa481647 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/RemediationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/RemediationConfiguration.java @@ -29,7 +29,8 @@ * AWS managed rules can be used by setting the source owner to `AWS` and the source identifier to the name of the managed rule. More information about AWS managed rules can be found in the [AWS Config Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,32 +57,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var this_ = new Rule("this", RuleArgs.builder()        
- *             .name("example")
+ *         var this_ = new Rule("this", RuleArgs.builder()        
+ *             .name("example")
  *             .source(RuleSourceArgs.builder()
- *                 .owner("AWS")
- *                 .sourceIdentifier("S3_BUCKET_VERSIONING_ENABLED")
+ *                 .owner("AWS")
+ *                 .sourceIdentifier("S3_BUCKET_VERSIONING_ENABLED")
  *                 .build())
  *             .build());
  * 
- *         var thisRemediationConfiguration = new RemediationConfiguration("thisRemediationConfiguration", RemediationConfigurationArgs.builder()        
+ *         var thisRemediationConfiguration = new RemediationConfiguration("thisRemediationConfiguration", RemediationConfigurationArgs.builder()        
  *             .configRuleName(this_.name())
- *             .resourceType("AWS::S3::Bucket")
- *             .targetType("SSM_DOCUMENT")
- *             .targetId("AWS-EnableS3BucketEncryption")
- *             .targetVersion("1")
+ *             .resourceType("AWS::S3::Bucket")
+ *             .targetType("SSM_DOCUMENT")
+ *             .targetId("AWS-EnableS3BucketEncryption")
+ *             .targetVersion("1")
  *             .parameters(            
  *                 RemediationConfigurationParameterArgs.builder()
- *                     .name("AutomationAssumeRole")
- *                     .staticValue("arn:aws:iam::875924563244:role/security_config")
+ *                     .name("AutomationAssumeRole")
+ *                     .staticValue("arn:aws:iam::875924563244:role/security_config")
  *                     .build(),
  *                 RemediationConfigurationParameterArgs.builder()
- *                     .name("BucketName")
- *                     .resourceValue("RESOURCE_ID")
+ *                     .name("BucketName")
+ *                     .resourceValue("RESOURCE_ID")
  *                     .build(),
  *                 RemediationConfigurationParameterArgs.builder()
- *                     .name("SSEAlgorithm")
- *                     .staticValue("AES256")
+ *                     .name("SSEAlgorithm")
+ *                     .staticValue("AES256")
  *                     .build())
  *             .automatic(true)
  *             .maximumAutomaticAttempts(10)
@@ -96,7 +97,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/RetentionConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/RetentionConfiguration.java index 533c4e82bdf..d6d811acf3b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/RetentionConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/RetentionConfiguration.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RetentionConfiguration("example", RetentionConfigurationArgs.builder()        
+ *         var example = new RetentionConfiguration("example", RetentionConfigurationArgs.builder()        
  *             .retentionPeriodInDays(90)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cfg/Rule.java b/sdk/java/src/main/java/com/pulumi/aws/cfg/Rule.java index 48205e23232..d02aa7c3319 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cfg/Rule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cfg/Rule.java @@ -31,7 +31,8 @@ * AWS managed rules can be used by setting the source owner to `AWS` and the source identifier to the name of the managed rule. More information about AWS managed rules can be found in the [AWS Config Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,30 +65,30 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("config.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("config.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var rRole = new Role("rRole", RoleArgs.builder()        
- *             .name("my-awsconfig-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var rRole = new Role("rRole", RoleArgs.builder()        
+ *             .name("my-awsconfig-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var foo = new Recorder("foo", RecorderArgs.builder()        
- *             .name("example")
+ *         var foo = new Recorder("foo", RecorderArgs.builder()        
+ *             .name("example")
  *             .roleArn(rRole.arn())
  *             .build());
  * 
- *         var r = new Rule("r", RuleArgs.builder()        
- *             .name("example")
+ *         var r = new Rule("r", RuleArgs.builder()        
+ *             .name("example")
  *             .source(RuleSourceArgs.builder()
- *                 .owner("AWS")
- *                 .sourceIdentifier("S3_BUCKET_VERSIONING_ENABLED")
+ *                 .owner("AWS")
+ *                 .sourceIdentifier("S3_BUCKET_VERSIONING_ENABLED")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(foo)
@@ -95,21 +96,22 @@
  * 
  *         final var p = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("config:Put*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("config:Put*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var pRolePolicy = new RolePolicy("pRolePolicy", RolePolicyArgs.builder()        
- *             .name("my-awsconfig-policy")
+ *         var pRolePolicy = new RolePolicy("pRolePolicy", RolePolicyArgs.builder()        
+ *             .name("my-awsconfig-policy")
  *             .role(rRole.id())
- *             .policy(p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(p.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Rules @@ -117,7 +119,8 @@ * Custom rules can be used by setting the source owner to `CUSTOM_LAMBDA` and the source identifier to the Amazon Resource Name (ARN) of the Lambda Function. The AWS Config service must have permissions to invoke the Lambda Function, e.g., via the `aws.lambda.Permission` resource. More information about custom rules can be found in the [AWS Config Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,20 +147,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Recorder("example");
+ *         var example = new Recorder("example");
  * 
- *         var exampleFunction = new Function("exampleFunction");
+ *         var exampleFunction = new Function("exampleFunction");
  * 
- *         var examplePermission = new Permission("examplePermission", PermissionArgs.builder()        
- *             .action("lambda:InvokeFunction")
+ *         var examplePermission = new Permission("examplePermission", PermissionArgs.builder()        
+ *             .action("lambda:InvokeFunction")
  *             .function(exampleFunction.arn())
- *             .principal("config.amazonaws.com")
- *             .statementId("AllowExecutionFromConfig")
+ *             .principal("config.amazonaws.com")
+ *             .statementId("AllowExecutionFromConfig")
  *             .build());
  * 
- *         var exampleRule = new Rule("exampleRule", RuleArgs.builder()        
+ *         var exampleRule = new Rule("exampleRule", RuleArgs.builder()        
  *             .source(RuleSourceArgs.builder()
- *                 .owner("CUSTOM_LAMBDA")
+ *                 .owner("CUSTOM_LAMBDA")
  *                 .sourceIdentifier(exampleFunction.arn())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -168,13 +171,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Policies * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -197,34 +202,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Rule("example", RuleArgs.builder()        
- *             .name("example")
+ *         var example = new Rule("example", RuleArgs.builder()        
+ *             .name("example")
  *             .source(RuleSourceArgs.builder()
- *                 .owner("CUSTOM_POLICY")
+ *                 .owner("CUSTOM_POLICY")
  *                 .sourceDetails(RuleSourceSourceDetailArgs.builder()
- *                     .messageType("ConfigurationItemChangeNotification")
+ *                     .messageType("ConfigurationItemChangeNotification")
  *                     .build())
  *                 .customPolicyDetails(RuleSourceCustomPolicyDetailsArgs.builder()
- *                     .policyRuntime("guard-2.x.x")
- *                     .policyText("""
+ *                     .policyRuntime("guard-2.x.x")
+ *                     .policyText("""
  * 	  rule tableisactive when
- * 		  resourceType == "AWS::DynamoDB::Table" {
- * 		  configuration.tableStatus == ['ACTIVE']
+ * 		  resourceType == "AWS::DynamoDB::Table" {
+ * 		  configuration.tableStatus == ['ACTIVE']
  * 	  }
  * 	  
  * 	  rule checkcompliance when
- * 		  resourceType == "AWS::DynamoDB::Table"
+ * 		  resourceType == "AWS::DynamoDB::Table"
  * 		  tableisactive {
- * 			  supplementaryConfiguration.ContinuousBackupsDescription.pointInTimeRecoveryDescription.pointInTimeRecoveryStatus == "ENABLED"
+ * 			  supplementaryConfiguration.ContinuousBackupsDescription.pointInTimeRecoveryDescription.pointInTimeRecoveryStatus == "ENABLED"
  * 	  }
- *                     """)
+ *                     """)
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceGlobalSettings.java b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceGlobalSettings.java index cedf0d1831b..b3c8b629dc0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceGlobalSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceGlobalSettings.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SdkvoiceGlobalSettings("example", SdkvoiceGlobalSettingsArgs.builder()        
+ *         var example = new SdkvoiceGlobalSettings("example", SdkvoiceGlobalSettingsArgs.builder()        
  *             .voiceConnector(SdkvoiceGlobalSettingsVoiceConnectorArgs.builder()
- *                 .cdrBucket("example-bucket-name")
+ *                 .cdrBucket("example-bucket-name")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipMediaApplication.java b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipMediaApplication.java index a91f6921cb7..10416e928c2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipMediaApplication.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipMediaApplication.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,9 +47,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SdkvoiceSipMediaApplication("example", SdkvoiceSipMediaApplicationArgs.builder()        
- *             .awsRegion("us-east-1")
- *             .name("example-sip-media-application")
+ *         var example = new SdkvoiceSipMediaApplication("example", SdkvoiceSipMediaApplicationArgs.builder()        
+ *             .awsRegion("us-east-1")
+ *             .name("example-sip-media-application")
  *             .endpoints(SdkvoiceSipMediaApplicationEndpointsArgs.builder()
  *                 .lambdaArn(test.arn())
  *                 .build())
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipRule.java b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipRule.java index 309b97cc2bc..81f72554889 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceSipRule.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SdkvoiceSipRule("example", SdkvoiceSipRuleArgs.builder()        
- *             .name("example-sip-rule")
- *             .triggerType("RequestUriHostname")
+ *         var example = new SdkvoiceSipRule("example", SdkvoiceSipRuleArgs.builder()        
+ *             .name("example-sip-rule")
+ *             .triggerType("RequestUriHostname")
  *             .triggerValue(example_voice_connector.outboundHostName())
  *             .targetApplications(SdkvoiceSipRuleTargetApplicationArgs.builder()
  *                 .priority(1)
  *                 .sipMediaApplicationId(example_sma.id())
- *                 .awsRegion("us-east-1")
+ *                 .awsRegion("us-east-1")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceVoiceProfileDomain.java b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceVoiceProfileDomain.java index 35af67e09e6..2d7ac0504cc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceVoiceProfileDomain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/SdkvoiceVoiceProfileDomain.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("KMS Key for Voice Profile Domain")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("KMS Key for Voice Profile Domain")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var exampleSdkvoiceVoiceProfileDomain = new SdkvoiceVoiceProfileDomain("exampleSdkvoiceVoiceProfileDomain", SdkvoiceVoiceProfileDomainArgs.builder()        
- *             .name("ExampleVoiceProfileDomain")
+ *         var exampleSdkvoiceVoiceProfileDomain = new SdkvoiceVoiceProfileDomain("exampleSdkvoiceVoiceProfileDomain", SdkvoiceVoiceProfileDomainArgs.builder()        
+ *             .name("ExampleVoiceProfileDomain")
  *             .serverSideEncryptionConfiguration(SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs.builder()
  *                 .kmsKeyArn(example.arn())
  *                 .build())
- *             .description("My Voice Profile Domain")
- *             .tags(Map.of("key1", "value1"))
+ *             .description("My Voice Profile Domain")
+ *             .tags(Map.of("key1", "value1"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnector.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnector.java index f08c9f32ee5..b2ce2b6acd0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnector.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnector.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new VoiceConnector("test", VoiceConnectorArgs.builder()        
- *             .name("connector-test-1")
+ *         var test = new VoiceConnector("test", VoiceConnectorArgs.builder()        
+ *             .name("connector-test-1")
  *             .requireEncryption(true)
- *             .awsRegion("us-east-1")
+ *             .awsRegion("us-east-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorGroup.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorGroup.java index 85745f4d0ee..5b97f03fa10 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorGroup.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,20 +49,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vc1 = new VoiceConnector("vc1", VoiceConnectorArgs.builder()        
- *             .name("connector-test-1")
+ *         var vc1 = new VoiceConnector("vc1", VoiceConnectorArgs.builder()        
+ *             .name("connector-test-1")
  *             .requireEncryption(true)
- *             .awsRegion("us-east-1")
+ *             .awsRegion("us-east-1")
  *             .build());
  * 
- *         var vc2 = new VoiceConnector("vc2", VoiceConnectorArgs.builder()        
- *             .name("connector-test-2")
+ *         var vc2 = new VoiceConnector("vc2", VoiceConnectorArgs.builder()        
+ *             .name("connector-test-2")
  *             .requireEncryption(true)
- *             .awsRegion("us-west-2")
+ *             .awsRegion("us-west-2")
  *             .build());
  * 
- *         var group = new VoiceConnectorGroup("group", VoiceConnectorGroupArgs.builder()        
- *             .name("test-group")
+ *         var group = new VoiceConnectorGroup("group", VoiceConnectorGroupArgs.builder()        
+ *             .name("test-group")
  *             .connectors(            
  *                 VoiceConnectorGroupConnectorArgs.builder()
  *                     .voiceConnectorId(vc1.id())
@@ -75,7 +76,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorLogging.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorLogging.java index 168d43e2b3e..bde4fee00cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorLogging.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorLogging.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,12 +45,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
- *             .name("vc-name-test")
+ *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
+ *             .name("vc-name-test")
  *             .requireEncryption(true)
  *             .build());
  * 
- *         var defaultVoiceConnectorLogging = new VoiceConnectorLogging("defaultVoiceConnectorLogging", VoiceConnectorLoggingArgs.builder()        
+ *         var defaultVoiceConnectorLogging = new VoiceConnectorLogging("defaultVoiceConnectorLogging", VoiceConnectorLoggingArgs.builder()        
  *             .enableSipLogs(true)
  *             .enableMediaMetricLogs(true)
  *             .voiceConnectorId(default_.id())
@@ -57,7 +58,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorOrganization.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorOrganization.java index ab8429a5c83..284be098512 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorOrganization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorOrganization.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,26 +48,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
- *             .name("test")
+ *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
+ *             .name("test")
  *             .requireEncryption(true)
  *             .build());
  * 
- *         var defaultVoiceConnectorOrganization = new VoiceConnectorOrganization("defaultVoiceConnectorOrganization", VoiceConnectorOrganizationArgs.builder()        
+ *         var defaultVoiceConnectorOrganization = new VoiceConnectorOrganization("defaultVoiceConnectorOrganization", VoiceConnectorOrganizationArgs.builder()        
  *             .disabled(false)
  *             .voiceConnectorId(default_.id())
  *             .routes(            
  *                 VoiceConnectorOrganizationRouteArgs.builder()
- *                     .host("127.0.0.1")
+ *                     .host("127.0.0.1")
  *                     .port(8081)
- *                     .protocol("TCP")
+ *                     .protocol("TCP")
  *                     .priority(1)
  *                     .weight(1)
  *                     .build(),
  *                 VoiceConnectorOrganizationRouteArgs.builder()
- *                     .host("127.0.0.2")
+ *                     .host("127.0.0.2")
  *                     .port(8082)
- *                     .protocol("TCP")
+ *                     .protocol("TCP")
  *                     .priority(2)
  *                     .weight(10)
  *                     .build())
@@ -74,7 +75,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorStreaming.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorStreaming.java index 569ef131bed..0b8f7021552 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorStreaming.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorStreaming.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,27 +49,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
- *             .name("vc-name-test")
+ *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
+ *             .name("vc-name-test")
  *             .requireEncryption(true)
  *             .build());
  * 
- *         var defaultVoiceConnectorStreaming = new VoiceConnectorStreaming("defaultVoiceConnectorStreaming", VoiceConnectorStreamingArgs.builder()        
+ *         var defaultVoiceConnectorStreaming = new VoiceConnectorStreaming("defaultVoiceConnectorStreaming", VoiceConnectorStreamingArgs.builder()        
  *             .disabled(false)
  *             .voiceConnectorId(default_.id())
  *             .dataRetention(7)
- *             .streamingNotificationTargets("SQS")
+ *             .streamingNotificationTargets("SQS")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Usage With Media Insights * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -103,55 +106,55 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
- *             .name("vc-name-test")
+ *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
+ *             .name("vc-name-test")
  *             .requireEncryption(true)
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("mediapipelines.chime.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("mediapipelines.chime.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("ExampleResourceAccessRole")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("ExampleResourceAccessRole")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleStream = new Stream("exampleStream", StreamArgs.builder()        
- *             .name("ExampleStream")
+ *         var exampleStream = new Stream("exampleStream", StreamArgs.builder()        
+ *             .name("ExampleStream")
  *             .shardCount(2)
  *             .build());
  * 
- *         var example = new MediaInsightsPipelineConfiguration("example", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("ExampleConfig")
+ *         var example = new MediaInsightsPipelineConfiguration("example", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("ExampleConfig")
  *             .resourceAccessRoleArn(exampleRole.arn())
  *             .elements(            
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("AmazonTranscribeCallAnalyticsProcessor")
+ *                     .type("AmazonTranscribeCallAnalyticsProcessor")
  *                     .amazonTranscribeCallAnalyticsProcessorConfiguration(MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.builder()
- *                         .languageCode("en-US")
+ *                         .languageCode("en-US")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("KinesisDataStreamSink")
+ *                     .type("KinesisDataStreamSink")
  *                     .kinesisDataStreamSinkConfiguration(MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs.builder()
  *                         .insightsTarget(exampleStream.arn())
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var defaultVoiceConnectorStreaming = new VoiceConnectorStreaming("defaultVoiceConnectorStreaming", VoiceConnectorStreamingArgs.builder()        
+ *         var defaultVoiceConnectorStreaming = new VoiceConnectorStreaming("defaultVoiceConnectorStreaming", VoiceConnectorStreamingArgs.builder()        
  *             .disabled(false)
  *             .voiceConnectorId(default_.id())
  *             .dataRetention(7)
- *             .streamingNotificationTargets("SQS")
+ *             .streamingNotificationTargets("SQS")
  *             .mediaInsightsConfiguration(VoiceConnectorStreamingMediaInsightsConfigurationArgs.builder()
  *                 .disabled(false)
  *                 .configurationArn(example.arn())
@@ -160,7 +163,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTermination.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTermination.java index edace6cbf0d..c181e6a6676 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTermination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTermination.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
- *             .name("vc-name-test")
+ *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
+ *             .name("vc-name-test")
  *             .requireEncryption(true)
  *             .build());
  * 
- *         var defaultVoiceConnectorTermination = new VoiceConnectorTermination("defaultVoiceConnectorTermination", VoiceConnectorTerminationArgs.builder()        
+ *         var defaultVoiceConnectorTermination = new VoiceConnectorTermination("defaultVoiceConnectorTermination", VoiceConnectorTerminationArgs.builder()        
  *             .disabled(false)
  *             .cpsLimit(1)
- *             .cidrAllowLists("50.35.78.96/31")
+ *             .cidrAllowLists("50.35.78.96/31")
  *             .callingRegions(            
- *                 "US",
- *                 "CA")
+ *                 "US",
+ *                 "CA")
  *             .voiceConnectorId(default_.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTerminationCredentials.java b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTerminationCredentials.java index 73232ecf12b..2fd73d87f2f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTerminationCredentials.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chime/VoiceConnectorTerminationCredentials.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,26 +51,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
- *             .name("test")
+ *         var default_ = new VoiceConnector("default", VoiceConnectorArgs.builder()        
+ *             .name("test")
  *             .requireEncryption(true)
  *             .build());
  * 
- *         var defaultVoiceConnectorTermination = new VoiceConnectorTermination("defaultVoiceConnectorTermination", VoiceConnectorTerminationArgs.builder()        
+ *         var defaultVoiceConnectorTermination = new VoiceConnectorTermination("defaultVoiceConnectorTermination", VoiceConnectorTerminationArgs.builder()        
  *             .disabled(true)
  *             .cpsLimit(1)
- *             .cidrAllowLists("50.35.78.96/31")
+ *             .cidrAllowLists("50.35.78.96/31")
  *             .callingRegions(            
- *                 "US",
- *                 "CA")
+ *                 "US",
+ *                 "CA")
  *             .voiceConnectorId(default_.id())
  *             .build());
  * 
- *         var defaultVoiceConnectorTerminationCredentials = new VoiceConnectorTerminationCredentials("defaultVoiceConnectorTerminationCredentials", VoiceConnectorTerminationCredentialsArgs.builder()        
+ *         var defaultVoiceConnectorTerminationCredentials = new VoiceConnectorTerminationCredentials("defaultVoiceConnectorTerminationCredentials", VoiceConnectorTerminationCredentialsArgs.builder()        
  *             .voiceConnectorId(default_.id())
  *             .credentials(VoiceConnectorTerminationCredentialsCredentialArgs.builder()
- *                 .username("test")
- *                 .password("test!")
+ *                 .username("test")
+ *                 .password("test!")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(defaultVoiceConnectorTermination)
@@ -77,7 +78,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/chimesdkmediapipelines/MediaInsightsPipelineConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/chimesdkmediapipelines/MediaInsightsPipelineConfiguration.java index 775e9e157ad..db8e1073d80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/chimesdkmediapipelines/MediaInsightsPipelineConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/chimesdkmediapipelines/MediaInsightsPipelineConfiguration.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,52 +58,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Stream("example", StreamArgs.builder()        
- *             .name("example")
+ *         var example = new Stream("example", StreamArgs.builder()        
+ *             .name("example")
  *             .shardCount(2)
  *             .build());
  * 
  *         final var mediaPipelinesAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("mediapipelines.chime.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("mediapipelines.chime.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var callAnalyticsRole = new Role("callAnalyticsRole", RoleArgs.builder()        
- *             .name("CallAnalyticsRole")
- *             .assumeRolePolicy(mediaPipelinesAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var callAnalyticsRole = new Role("callAnalyticsRole", RoleArgs.builder()        
+ *             .name("CallAnalyticsRole")
+ *             .assumeRolePolicy(mediaPipelinesAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("MyBasicConfiguration")
+ *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("MyBasicConfiguration")
  *             .resourceAccessRoleArn(callAnalyticsRole.arn())
  *             .elements(            
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("AmazonTranscribeCallAnalyticsProcessor")
+ *                     .type("AmazonTranscribeCallAnalyticsProcessor")
  *                     .amazonTranscribeCallAnalyticsProcessorConfiguration(MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.builder()
- *                         .languageCode("en-US")
+ *                         .languageCode("en-US")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("KinesisDataStreamSink")
+ *                     .type("KinesisDataStreamSink")
  *                     .kinesisDataStreamSinkConfiguration(MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs.builder()
  *                         .insightsTarget(example.arn())
  *                         .build())
  *                     .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Key1", "Value1"),
- *                 Map.entry("Key2", "Value2")
+ *                 Map.entry("Key1", "Value1"),
+ *                 Map.entry("Key2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * - The required policies on `call_analytics_role` will vary based on the selected processors. See [Call analytics resource access role](https://docs.aws.amazon.com/chime-sdk/latest/dg/ca-resource-access-role.html) for directions on choosing appropriate policies. @@ -110,7 +112,8 @@ * ### Transcribe Call Analytics processor usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -141,50 +144,50 @@
  *     public static void stack(Context ctx) {
  *         final var transcribeAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("transcribe.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("transcribe.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var postCallRole = new Role("postCallRole", RoleArgs.builder()        
- *             .name("PostCallAccessRole")
- *             .assumeRolePolicy(transcribeAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var postCallRole = new Role("postCallRole", RoleArgs.builder()        
+ *             .name("PostCallAccessRole")
+ *             .assumeRolePolicy(transcribeAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("MyCallAnalyticsConfiguration")
+ *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("MyCallAnalyticsConfiguration")
  *             .resourceAccessRoleArn(exampleAwsIamRole.arn())
  *             .elements(            
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("AmazonTranscribeCallAnalyticsProcessor")
+ *                     .type("AmazonTranscribeCallAnalyticsProcessor")
  *                     .amazonTranscribeCallAnalyticsProcessorConfiguration(MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.builder()
  *                         .callAnalyticsStreamCategories(                        
- *                             "category_1",
- *                             "category_2")
- *                         .contentRedactionType("PII")
+ *                             "category_1",
+ *                             "category_2")
+ *                         .contentRedactionType("PII")
  *                         .enablePartialResultsStabilization(true)
  *                         .filterPartialResults(true)
- *                         .languageCode("en-US")
- *                         .languageModelName("MyLanguageModel")
- *                         .partialResultsStability("high")
- *                         .piiEntityTypes("ADDRESS,BANK_ACCOUNT_NUMBER")
+ *                         .languageCode("en-US")
+ *                         .languageModelName("MyLanguageModel")
+ *                         .partialResultsStability("high")
+ *                         .piiEntityTypes("ADDRESS,BANK_ACCOUNT_NUMBER")
  *                         .postCallAnalyticsSettings(MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationPostCallAnalyticsSettingsArgs.builder()
- *                             .contentRedactionOutput("redacted")
+ *                             .contentRedactionOutput("redacted")
  *                             .dataAccessRoleArn(postCallRole.arn())
- *                             .outputEncryptionKmsKeyId("MyKmsKeyId")
- *                             .outputLocation("s3://MyBucket")
+ *                             .outputEncryptionKmsKeyId("MyKmsKeyId")
+ *                             .outputLocation("s3://MyBucket")
  *                             .build())
- *                         .vocabularyFilterMethod("mask")
- *                         .vocabularyFilterName("MyVocabularyFilter")
- *                         .vocabularyName("MyVocabulary")
+ *                         .vocabularyFilterMethod("mask")
+ *                         .vocabularyFilterName("MyVocabularyFilter")
+ *                         .vocabularyName("MyVocabulary")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("KinesisDataStreamSink")
+ *                     .type("KinesisDataStreamSink")
  *                     .kinesisDataStreamSinkConfiguration(MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs.builder()
  *                         .insightsTarget(example.arn())
  *                         .build())
@@ -193,13 +196,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Real time alerts usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -224,18 +229,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("MyRealTimeAlertConfiguration")
+ *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("MyRealTimeAlertConfiguration")
  *             .resourceAccessRoleArn(callAnalyticsRole.arn())
  *             .elements(            
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("AmazonTranscribeCallAnalyticsProcessor")
+ *                     .type("AmazonTranscribeCallAnalyticsProcessor")
  *                     .amazonTranscribeCallAnalyticsProcessorConfiguration(MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.builder()
- *                         .languageCode("en-US")
+ *                         .languageCode("en-US")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("KinesisDataStreamSink")
+ *                     .type("KinesisDataStreamSink")
  *                     .kinesisDataStreamSinkConfiguration(MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs.builder()
  *                         .insightsTarget(example.arn())
  *                         .build())
@@ -244,26 +249,26 @@
  *                 .disabled(false)
  *                 .rules(                
  *                     MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleArgs.builder()
- *                         .type("IssueDetection")
+ *                         .type("IssueDetection")
  *                         .issueDetectionConfiguration(MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleIssueDetectionConfigurationArgs.builder()
- *                             .ruleName("MyIssueDetectionRule")
+ *                             .ruleName("MyIssueDetectionRule")
  *                             .build())
  *                         .build(),
  *                     MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleArgs.builder()
- *                         .type("KeywordMatch")
+ *                         .type("KeywordMatch")
  *                         .keywordMatchConfiguration(MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleKeywordMatchConfigurationArgs.builder()
  *                             .keywords(                            
- *                                 "keyword1",
- *                                 "keyword2")
+ *                                 "keyword1",
+ *                                 "keyword2")
  *                             .negate(false)
- *                             .ruleName("MyKeywordMatchRule")
+ *                             .ruleName("MyKeywordMatchRule")
  *                             .build())
  *                         .build(),
  *                     MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleArgs.builder()
- *                         .type("Sentiment")
+ *                         .type("Sentiment")
  *                         .sentimentConfiguration(MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRuleSentimentConfigurationArgs.builder()
- *                             .ruleName("MySentimentRule")
- *                             .sentimentType("NEGATIVE")
+ *                             .ruleName("MySentimentRule")
+ *                             .sentimentType("NEGATIVE")
  *                             .timePeriod(60)
  *                             .build())
  *                         .build())
@@ -272,13 +277,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Transcribe processor usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -302,28 +309,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("MyTranscribeConfiguration")
+ *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("MyTranscribeConfiguration")
  *             .resourceAccessRoleArn(exampleAwsIamRole.arn())
  *             .elements(            
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("AmazonTranscribeProcessor")
+ *                     .type("AmazonTranscribeProcessor")
  *                     .amazonTranscribeProcessorConfiguration(MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs.builder()
- *                         .contentIdentificationType("PII")
+ *                         .contentIdentificationType("PII")
  *                         .enablePartialResultsStabilization(true)
  *                         .filterPartialResults(true)
- *                         .languageCode("en-US")
- *                         .languageModelName("MyLanguageModel")
- *                         .partialResultsStability("high")
- *                         .piiEntityTypes("ADDRESS,BANK_ACCOUNT_NUMBER")
+ *                         .languageCode("en-US")
+ *                         .languageModelName("MyLanguageModel")
+ *                         .partialResultsStability("high")
+ *                         .piiEntityTypes("ADDRESS,BANK_ACCOUNT_NUMBER")
  *                         .showSpeakerLabel(true)
- *                         .vocabularyFilterMethod("mask")
- *                         .vocabularyFilterName("MyVocabularyFilter")
- *                         .vocabularyName("MyVocabulary")
+ *                         .vocabularyFilterMethod("mask")
+ *                         .vocabularyFilterName("MyVocabularyFilter")
+ *                         .vocabularyName("MyVocabulary")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("KinesisDataStreamSink")
+ *                     .type("KinesisDataStreamSink")
  *                     .kinesisDataStreamSinkConfiguration(MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs.builder()
  *                         .insightsTarget(example.arn())
  *                         .build())
@@ -332,13 +339,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Voice analytics processor usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -365,37 +374,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("MyVoiceAnalyticsConfiguration")
+ *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("MyVoiceAnalyticsConfiguration")
  *             .resourceAccessRoleArn(example.arn())
  *             .elements(            
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("VoiceAnalyticsProcessor")
+ *                     .type("VoiceAnalyticsProcessor")
  *                     .voiceAnalyticsProcessorConfiguration(MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs.builder()
- *                         .speakerSearchStatus("Enabled")
- *                         .voiceToneAnalysisStatus("Enabled")
+ *                         .speakerSearchStatus("Enabled")
+ *                         .voiceToneAnalysisStatus("Enabled")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("LambdaFunctionSink")
+ *                     .type("LambdaFunctionSink")
  *                     .lambdaFunctionSinkConfiguration(MediaInsightsPipelineConfigurationElementLambdaFunctionSinkConfigurationArgs.builder()
- *                         .insightsTarget("arn:aws:lambda:us-west-2:1111111111:function:MyFunction")
+ *                         .insightsTarget("arn:aws:lambda:us-west-2:1111111111:function:MyFunction")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("SnsTopicSink")
+ *                     .type("SnsTopicSink")
  *                     .snsTopicSinkConfiguration(MediaInsightsPipelineConfigurationElementSnsTopicSinkConfigurationArgs.builder()
- *                         .insightsTarget("arn:aws:sns:us-west-2:1111111111:topic/MyTopic")
+ *                         .insightsTarget("arn:aws:sns:us-west-2:1111111111:topic/MyTopic")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("SqsQueueSink")
+ *                     .type("SqsQueueSink")
  *                     .sqsQueueSinkConfiguration(MediaInsightsPipelineConfigurationElementSqsQueueSinkConfigurationArgs.builder()
- *                         .insightsTarget("arn:aws:sqs:us-west-2:1111111111:queue/MyQueue")
+ *                         .insightsTarget("arn:aws:sqs:us-west-2:1111111111:queue/MyQueue")
  *                         .build())
  *                     .build(),
  *                 MediaInsightsPipelineConfigurationElementArgs.builder()
- *                     .type("KinesisDataStreamSink")
+ *                     .type("KinesisDataStreamSink")
  *                     .kinesisDataStreamSinkConfiguration(MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs.builder()
  *                         .insightsTarget(test.arn())
  *                         .build())
@@ -404,13 +413,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Recording sink usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -433,20 +444,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
- *             .name("MyS3RecordingConfiguration")
+ *         var myConfiguration = new MediaInsightsPipelineConfiguration("myConfiguration", MediaInsightsPipelineConfigurationArgs.builder()        
+ *             .name("MyS3RecordingConfiguration")
  *             .resourceAccessRoleArn(example.arn())
  *             .elements(MediaInsightsPipelineConfigurationElementArgs.builder()
- *                 .type("S3RecordingSink")
+ *                 .type("S3RecordingSink")
  *                 .s3RecordingSinkConfiguration(MediaInsightsPipelineConfigurationElementS3RecordingSinkConfigurationArgs.builder()
- *                     .destination("arn:aws:s3:::MyBucket")
+ *                     .destination("arn:aws:s3:::MyBucket")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java index 7ead4636fe0..9fef35aa5a9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/Collaboration.java @@ -27,7 +27,8 @@ * ### Collaboration with tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCollaboration = new Collaboration("testCollaboration", CollaborationArgs.builder()        
- *             .name("pulumi-example-collaboration")
+ *         var testCollaboration = new Collaboration("testCollaboration", CollaborationArgs.builder()        
+ *             .name("pulumi-example-collaboration")
  *             .creatorMemberAbilities(            
- *                 "CAN_QUERY",
- *                 "CAN_RECEIVE_RESULTS")
- *             .creatorDisplayName("Creator ")
- *             .description("I made this collaboration with Pulumi!")
- *             .queryLogStatus("DISABLED")
+ *                 "CAN_QUERY",
+ *                 "CAN_RECEIVE_RESULTS")
+ *             .creatorDisplayName("Creator ")
+ *             .description("I made this collaboration with Pulumi!")
+ *             .queryLogStatus("DISABLED")
  *             .dataEncryptionMetadata(CollaborationDataEncryptionMetadataArgs.builder()
  *                 .allowClearText(true)
  *                 .allowDuplicates(true)
@@ -66,15 +67,16 @@
  *                 .build())
  *             .members(CollaborationMemberArgs.builder()
  *                 .accountId(123456789012)
- *                 .displayName("Other member")
+ *                 .displayName("Other member")
  *                 .memberAbilities()
  *                 .build())
- *             .tags(Map.of("Project", "Pulumi"))
+ *             .tags(Map.of("Project", "Pulumi"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/ConfiguredTable.java b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/ConfiguredTable.java index 5f18e07b590..749f4622c04 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/ConfiguredTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cleanrooms/ConfiguredTable.java @@ -25,7 +25,8 @@ * ### Configured table with tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,24 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testConfiguredTable = new ConfiguredTable("testConfiguredTable", ConfiguredTableArgs.builder()        
- *             .name("pulumi-example-table")
- *             .description("I made this table with Pulumi!")
- *             .analysisMethod("DIRECT_QUERY")
+ *         var testConfiguredTable = new ConfiguredTable("testConfiguredTable", ConfiguredTableArgs.builder()        
+ *             .name("pulumi-example-table")
+ *             .description("I made this table with Pulumi!")
+ *             .analysisMethod("DIRECT_QUERY")
  *             .allowedColumns(            
- *                 "column1",
- *                 "column2",
- *                 "column3")
+ *                 "column1",
+ *                 "column2",
+ *                 "column3")
  *             .tableReference(ConfiguredTableTableReferenceArgs.builder()
- *                 .databaseName("example_database")
- *                 .tableName("example_table")
+ *                 .databaseName("example_database")
+ *                 .tableName("example_table")
  *                 .build())
- *             .tags(Map.of("Project", "Pulumi"))
+ *             .tags(Map.of("Project", "Pulumi"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentEC2.java b/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentEC2.java index a8304573423..0437976c6da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentEC2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentEC2.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EnvironmentEC2("example", EnvironmentEC2Args.builder()        
- *             .instanceType("t2.micro")
- *             .name("example-env")
- *             .imageId("amazonlinux-2023-x86_64")
+ *         var example = new EnvironmentEC2("example", EnvironmentEC2Args.builder()        
+ *             .instanceType("t2.micro")
+ *             .name("example-env")
+ *             .imageId("amazonlinux-2023-x86_64")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Get the URL of the Cloud9 environment after creation: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,27 +85,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EnvironmentEC2("example", EnvironmentEC2Args.builder()        
- *             .instanceType("t2.micro")
+ *         var example = new EnvironmentEC2("example", EnvironmentEC2Args.builder()        
+ *             .instanceType("t2.micro")
  *             .build());
  * 
  *         final var cloud9Instance = Ec2Functions.getInstance(GetInstanceArgs.builder()
  *             .filters(GetInstanceFilterArgs.builder()
- *                 .name("tag:aws:cloud9:environment")
+ *                 .name("tag:aws:cloud9:environment")
  *                 .values(example.id())
  *                 .build())
  *             .build());
  * 
- *         ctx.export("cloud9Url", example.id().applyValue(id -> String.format("https://%s.console.aws.amazon.com/cloud9/ide/%s", region,id)));
+ *         ctx.export("cloud9Url", example.id().applyValue(id -> String.format("https://%s.console.aws.amazon.com/cloud9/ide/%s", region,id)));
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Allocate a static IP to the Cloud9 environment: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -127,26 +132,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EnvironmentEC2("example", EnvironmentEC2Args.builder()        
- *             .instanceType("t2.micro")
+ *         var example = new EnvironmentEC2("example", EnvironmentEC2Args.builder()        
+ *             .instanceType("t2.micro")
  *             .build());
  * 
  *         final var cloud9Instance = Ec2Functions.getInstance(GetInstanceArgs.builder()
  *             .filters(GetInstanceFilterArgs.builder()
- *                 .name("tag:aws:cloud9:environment")
+ *                 .name("tag:aws:cloud9:environment")
  *                 .values(example.id())
  *                 .build())
  *             .build());
  * 
- *         var cloud9Eip = new Eip("cloud9Eip", EipArgs.builder()        
- *             .instance(cloud9Instance.applyValue(getInstanceResult -> getInstanceResult).applyValue(cloud9Instance -> cloud9Instance.applyValue(getInstanceResult -> getInstanceResult.id())))
- *             .domain("vpc")
+ *         var cloud9Eip = new Eip("cloud9Eip", EipArgs.builder()        
+ *             .instance(cloud9Instance.applyValue(getInstanceResult -> getInstanceResult).applyValue(cloud9Instance -> cloud9Instance.applyValue(getInstanceResult -> getInstanceResult.id())))
+ *             .domain("vpc")
  *             .build());
  * 
- *         ctx.export("cloud9PublicIp", cloud9Eip.publicIp());
+ *         ctx.export("cloud9PublicIp", cloud9Eip.publicIp());
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentMembership.java b/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentMembership.java index 3e4f65b0c69..2d1f3424ba5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentMembership.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloud9/EnvironmentMembership.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,24 +45,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new EnvironmentEC2("test", EnvironmentEC2Args.builder()        
- *             .instanceType("t2.micro")
- *             .name("some-env")
+ *         var test = new EnvironmentEC2("test", EnvironmentEC2Args.builder()        
+ *             .instanceType("t2.micro")
+ *             .name("some-env")
  *             .build());
  * 
- *         var testUser = new User("testUser", UserArgs.builder()        
- *             .name("some-user")
+ *         var testUser = new User("testUser", UserArgs.builder()        
+ *             .name("some-user")
  *             .build());
  * 
- *         var testEnvironmentMembership = new EnvironmentMembership("testEnvironmentMembership", EnvironmentMembershipArgs.builder()        
+ *         var testEnvironmentMembership = new EnvironmentMembership("testEnvironmentMembership", EnvironmentMembershipArgs.builder()        
  *             .environmentId(test.id())
- *             .permissions("read-only")
+ *             .permissions("read-only")
  *             .userArn(testUser.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/CloudcontrolFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/CloudcontrolFunctions.java index eb22ecf1054..ca91e6dd78c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/CloudcontrolFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/CloudcontrolFunctions.java @@ -20,7 +20,8 @@ public final class CloudcontrolFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,13 +43,14 @@ public final class CloudcontrolFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudcontrolFunctions.getResource(GetResourceArgs.builder()
-     *             .identifier("example")
-     *             .typeName("AWS::ECS::Cluster")
+     *             .identifier("example")
+     *             .typeName("AWS::ECS::Cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -61,7 +63,8 @@ public static Output getResource(GetResourceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -83,13 +86,14 @@ public static Output getResource(GetResourceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudcontrolFunctions.getResource(GetResourceArgs.builder()
-     *             .identifier("example")
-     *             .typeName("AWS::ECS::Cluster")
+     *             .identifier("example")
+     *             .typeName("AWS::ECS::Cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -102,7 +106,8 @@ public static CompletableFuture getResourcePlain(GetResourceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -124,13 +129,14 @@ public static CompletableFuture getResourcePlain(GetResourceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudcontrolFunctions.getResource(GetResourceArgs.builder()
-     *             .identifier("example")
-     *             .typeName("AWS::ECS::Cluster")
+     *             .identifier("example")
+     *             .typeName("AWS::ECS::Cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getResource(GetResourceArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,13 +172,14 @@ public static Output getResource(GetResourceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudcontrolFunctions.getResource(GetResourceArgs.builder()
-     *             .identifier("example")
-     *             .typeName("AWS::ECS::Cluster")
+     *             .identifier("example")
+     *             .typeName("AWS::ECS::Cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/Resource.java b/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/Resource.java index bdafc7862e3..8fb22c6360d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/Resource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudcontrol/Resource.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,21 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Resource("example", ResourceArgs.builder()        
- *             .typeName("AWS::ECS::Cluster")
+ *         var example = new Resource("example", ResourceArgs.builder()        
+ *             .typeName("AWS::ECS::Cluster")
  *             .desiredState(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("ClusterName", "example"),
- *                     jsonProperty("Tags", jsonArray(jsonObject(
- *                         jsonProperty("Key", "CostCenter"),
- *                         jsonProperty("Value", "IT")
+ *                     jsonProperty("ClusterName", "example"),
+ *                     jsonProperty("Tags", jsonArray(jsonObject(
+ *                         jsonProperty("Key", "CostCenter"),
+ *                         jsonProperty("Value", "IT")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/CloudformationFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/CloudformationFunctions.java index f8f6dba0dc0..fe14f0fb337 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/CloudformationFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/CloudformationFunctions.java @@ -26,7 +26,8 @@ public final class CloudformationFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,13 +49,14 @@ public final class CloudformationFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudformationFunctions.getCloudFormationType(GetCloudFormationTypeArgs.builder()
-     *             .type("RESOURCE")
-     *             .typeName("AWS::Athena::WorkGroup")
+     *             .type("RESOURCE")
+     *             .typeName("AWS::Athena::WorkGroup")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getCloudFormationType() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,13 +92,14 @@ public static Output getCloudFormationType() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudformationFunctions.getCloudFormationType(GetCloudFormationTypeArgs.builder()
-     *             .type("RESOURCE")
-     *             .typeName("AWS::Athena::WorkGroup")
+     *             .type("RESOURCE")
+     *             .typeName("AWS::Athena::WorkGroup")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -108,7 +112,8 @@ public static CompletableFuture getCloudFormationTy * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -130,13 +135,14 @@ public static CompletableFuture getCloudFormationTy
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudformationFunctions.getCloudFormationType(GetCloudFormationTypeArgs.builder()
-     *             .type("RESOURCE")
-     *             .typeName("AWS::Athena::WorkGroup")
+     *             .type("RESOURCE")
+     *             .typeName("AWS::Athena::WorkGroup")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +155,8 @@ public static Output getCloudFormationType(GetCloud * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,13 +178,14 @@ public static Output getCloudFormationType(GetCloud
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudformationFunctions.getCloudFormationType(GetCloudFormationTypeArgs.builder()
-     *             .type("RESOURCE")
-     *             .typeName("AWS::Athena::WorkGroup")
+     *             .type("RESOURCE")
+     *             .typeName("AWS::Athena::WorkGroup")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -190,7 +198,8 @@ public static CompletableFuture getCloudFormationTy * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -212,13 +221,14 @@ public static CompletableFuture getCloudFormationTy
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudformationFunctions.getCloudFormationType(GetCloudFormationTypeArgs.builder()
-     *             .type("RESOURCE")
-     *             .typeName("AWS::Athena::WorkGroup")
+     *             .type("RESOURCE")
+     *             .typeName("AWS::Athena::WorkGroup")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -231,7 +241,8 @@ public static Output getCloudFormationType(GetCloud * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -253,13 +264,14 @@ public static Output getCloudFormationType(GetCloud
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudformationFunctions.getCloudFormationType(GetCloudFormationTypeArgs.builder()
-     *             .type("RESOURCE")
-     *             .typeName("AWS::Athena::WorkGroup")
+     *             .type("RESOURCE")
+     *             .typeName("AWS::Athena::WorkGroup")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -275,7 +287,8 @@ public static CompletableFuture getCloudFormationTy * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -299,18 +312,19 @@ public static CompletableFuture getCloudFormationTy
      * 
      *     public static void stack(Context ctx) {
      *         final var subnetId = CloudformationFunctions.getExport(GetExportArgs.builder()
-     *             .name("mySubnetIdExportName")
+     *             .name("mySubnetIdExportName")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -326,7 +340,8 @@ public static Output getExport(GetExportArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -350,18 +365,19 @@ public static Output getExport(GetExportArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var subnetId = CloudformationFunctions.getExport(GetExportArgs.builder()
-     *             .name("mySubnetIdExportName")
+     *             .name("mySubnetIdExportName")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -377,7 +393,8 @@ public static CompletableFuture getExportPlain(GetExportPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -401,18 +418,19 @@ public static CompletableFuture getExportPlain(GetExportPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var subnetId = CloudformationFunctions.getExport(GetExportArgs.builder()
-     *             .name("mySubnetIdExportName")
+     *             .name("mySubnetIdExportName")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -428,7 +446,8 @@ public static Output getExport(GetExportArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -452,18 +471,19 @@ public static Output getExport(GetExportArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var subnetId = CloudformationFunctions.getExport(GetExportArgs.builder()
-     *             .name("mySubnetIdExportName")
+     *             .name("mySubnetIdExportName")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(subnetId.applyValue(getExportResult -> getExportResult.value()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -477,7 +497,8 @@ public static CompletableFuture getExportPlain(GetExportPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -501,19 +522,20 @@ public static CompletableFuture getExportPlain(GetExportPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var network = CloudformationFunctions.getStack(GetStackArgs.builder()
-     *             .name("my-network-stack")
+     *             .name("my-network-stack")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
-     *             .tags(Map.of("Name", "HelloWorld"))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
+     *             .tags(Map.of("Name", "HelloWorld"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -527,7 +549,8 @@ public static Output getStack(GetStackArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -551,19 +574,20 @@ public static Output getStack(GetStackArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var network = CloudformationFunctions.getStack(GetStackArgs.builder()
-     *             .name("my-network-stack")
+     *             .name("my-network-stack")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
-     *             .tags(Map.of("Name", "HelloWorld"))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
+     *             .tags(Map.of("Name", "HelloWorld"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -577,7 +601,8 @@ public static CompletableFuture getStackPlain(GetStackPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -601,19 +626,20 @@ public static CompletableFuture getStackPlain(GetStackPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var network = CloudformationFunctions.getStack(GetStackArgs.builder()
-     *             .name("my-network-stack")
+     *             .name("my-network-stack")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
-     *             .tags(Map.of("Name", "HelloWorld"))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
+     *             .tags(Map.of("Name", "HelloWorld"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -627,7 +653,8 @@ public static Output getStack(GetStackArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -651,19 +678,20 @@ public static Output getStack(GetStackArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var network = CloudformationFunctions.getStack(GetStackArgs.builder()
-     *             .name("my-network-stack")
+     *             .name("my-network-stack")
      *             .build());
      * 
-     *         var web = new Instance("web", InstanceArgs.builder()        
-     *             .ami("ami-abb07bcb")
-     *             .instanceType("t2.micro")
-     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
-     *             .tags(Map.of("Name", "HelloWorld"))
+     *         var web = new Instance("web", InstanceArgs.builder()        
+     *             .ami("ami-abb07bcb")
+     *             .instanceType("t2.micro")
+     *             .subnetId(network.applyValue(getStackResult -> getStackResult.outputs().SubnetId()))
+     *             .tags(Map.of("Name", "HelloWorld"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/Stack.java b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/Stack.java index 6840089b49d..06452c1a7cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/Stack.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/Stack.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,28 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var network = new Stack("network", StackArgs.builder()        
- *             .name("networking-stack")
- *             .parameters(Map.of("VPCCidr", "10.0.0.0/16"))
+ *         var network = new Stack("network", StackArgs.builder()        
+ *             .name("networking-stack")
+ *             .parameters(Map.of("VPCCidr", "10.0.0.0/16"))
  *             .templateBody(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Parameters", jsonObject(
- *                         jsonProperty("VPCCidr", jsonObject(
- *                             jsonProperty("Type", "String"),
- *                             jsonProperty("Default", "10.0.0.0/16"),
- *                             jsonProperty("Description", "Enter the CIDR block for the VPC. Default is 10.0.0.0/16.")
+ *                     jsonProperty("Parameters", jsonObject(
+ *                         jsonProperty("VPCCidr", jsonObject(
+ *                             jsonProperty("Type", "String"),
+ *                             jsonProperty("Default", "10.0.0.0/16"),
+ *                             jsonProperty("Description", "Enter the CIDR block for the VPC. Default is 10.0.0.0/16.")
  *                         ))
  *                     )),
- *                     jsonProperty("Resources", jsonObject(
- *                         jsonProperty("myVpc", jsonObject(
- *                             jsonProperty("Type", "AWS::EC2::VPC"),
- *                             jsonProperty("Properties", jsonObject(
- *                                 jsonProperty("CidrBlock", jsonObject(
- *                                     jsonProperty("Ref", "VPCCidr")
+ *                     jsonProperty("Resources", jsonObject(
+ *                         jsonProperty("myVpc", jsonObject(
+ *                             jsonProperty("Type", "AWS::EC2::VPC"),
+ *                             jsonProperty("Properties", jsonObject(
+ *                                 jsonProperty("CidrBlock", jsonObject(
+ *                                     jsonProperty("Ref", "VPCCidr")
  *                                 )),
- *                                 jsonProperty("Tags", jsonArray(jsonObject(
- *                                     jsonProperty("Key", "Name"),
- *                                     jsonProperty("Value", "Primary_CF_VPC")
+ *                                 jsonProperty("Tags", jsonArray(jsonObject(
+ *                                     jsonProperty("Key", "Name"),
+ *                                     jsonProperty("Value", "Primary_CF_VPC")
  *                                 )))
  *                             ))
  *                         ))
@@ -77,7 +78,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSet.java b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSet.java index 1025b96a803..6941a76dc5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSet.java @@ -31,7 +31,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,43 +62,43 @@
  *     public static void stack(Context ctx) {
  *         final var aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
- *                 .effect("Allow")
+ *                 .actions("sts:AssumeRole")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("cloudformation.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("cloudformation.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var aWSCloudFormationStackSetAdministrationRole = new Role("aWSCloudFormationStackSetAdministrationRole", RoleArgs.builder()        
- *             .assumeRolePolicy(aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .name("AWSCloudFormationStackSetAdministrationRole")
+ *         var aWSCloudFormationStackSetAdministrationRole = new Role("aWSCloudFormationStackSetAdministrationRole", RoleArgs.builder()        
+ *             .assumeRolePolicy(aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .name("AWSCloudFormationStackSetAdministrationRole")
  *             .build());
  * 
- *         var example = new StackSet("example", StackSetArgs.builder()        
+ *         var example = new StackSet("example", StackSetArgs.builder()        
  *             .administrationRoleArn(aWSCloudFormationStackSetAdministrationRole.arn())
- *             .name("example")
- *             .parameters(Map.of("VPCCidr", "10.0.0.0/16"))
+ *             .name("example")
+ *             .parameters(Map.of("VPCCidr", "10.0.0.0/16"))
  *             .templateBody(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Parameters", jsonObject(
- *                         jsonProperty("VPCCidr", jsonObject(
- *                             jsonProperty("Type", "String"),
- *                             jsonProperty("Default", "10.0.0.0/16"),
- *                             jsonProperty("Description", "Enter the CIDR block for the VPC. Default is 10.0.0.0/16.")
+ *                     jsonProperty("Parameters", jsonObject(
+ *                         jsonProperty("VPCCidr", jsonObject(
+ *                             jsonProperty("Type", "String"),
+ *                             jsonProperty("Default", "10.0.0.0/16"),
+ *                             jsonProperty("Description", "Enter the CIDR block for the VPC. Default is 10.0.0.0/16.")
  *                         ))
  *                     )),
- *                     jsonProperty("Resources", jsonObject(
- *                         jsonProperty("myVpc", jsonObject(
- *                             jsonProperty("Type", "AWS::EC2::VPC"),
- *                             jsonProperty("Properties", jsonObject(
- *                                 jsonProperty("CidrBlock", jsonObject(
- *                                     jsonProperty("Ref", "VPCCidr")
+ *                     jsonProperty("Resources", jsonObject(
+ *                         jsonProperty("myVpc", jsonObject(
+ *                             jsonProperty("Type", "AWS::EC2::VPC"),
+ *                             jsonProperty("Properties", jsonObject(
+ *                                 jsonProperty("CidrBlock", jsonObject(
+ *                                     jsonProperty("Ref", "VPCCidr")
  *                                 )),
- *                                 jsonProperty("Tags", jsonArray(jsonObject(
- *                                     jsonProperty("Key", "Name"),
- *                                     jsonProperty("Value", "Primary_CF_VPC")
+ *                                 jsonProperty("Tags", jsonArray(jsonObject(
+ *                                     jsonProperty("Key", "Name"),
+ *                                     jsonProperty("Value", "Primary_CF_VPC")
  *                                 )))
  *                             ))
  *                         ))
@@ -107,21 +108,22 @@
  * 
  *         final var aWSCloudFormationStackSetAdministrationRoleExecutionPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
- *                 .effect("Allow")
- *                 .resources(example.executionRoleName().applyValue(executionRoleName -> String.format("arn:aws:iam::*:role/%s", executionRoleName)))
+ *                 .actions("sts:AssumeRole")
+ *                 .effect("Allow")
+ *                 .resources(example.executionRoleName().applyValue(executionRoleName -> String.format("arn:aws:iam::*:role/%s", executionRoleName)))
  *                 .build())
  *             .build());
  * 
- *         var aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy = new RolePolicy("aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("ExecutionPolicy")
- *             .policy(aWSCloudFormationStackSetAdministrationRoleExecutionPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(aWSCloudFormationStackSetAdministrationRoleExecutionPolicy -> aWSCloudFormationStackSetAdministrationRoleExecutionPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy = new RolePolicy("aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("ExecutionPolicy")
+ *             .policy(aWSCloudFormationStackSetAdministrationRoleExecutionPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(aWSCloudFormationStackSetAdministrationRoleExecutionPolicy -> aWSCloudFormationStackSetAdministrationRoleExecutionPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .role(aWSCloudFormationStackSetAdministrationRole.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSetInstance.java b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSetInstance.java index b92c4da19b4..a16902dea3a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSetInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudformation/StackSetInstance.java @@ -32,7 +32,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,21 +54,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new StackSetInstance("example", StackSetInstanceArgs.builder()        
- *             .accountId("123456789012")
- *             .region("us-east-1")
+ *         var example = new StackSetInstance("example", StackSetInstanceArgs.builder()        
+ *             .accountId("123456789012")
+ *             .region("us-east-1")
  *             .stackSetName(exampleAwsCloudformationStackSet.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example IAM Setup in Target Account * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,18 +97,18 @@
  *     public static void stack(Context ctx) {
  *         final var aWSCloudFormationStackSetExecutionRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
- *                 .effect("Allow")
+ *                 .actions("sts:AssumeRole")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
  *                     .identifiers(aWSCloudFormationStackSetAdministrationRole.arn())
- *                     .type("AWS")
+ *                     .type("AWS")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var aWSCloudFormationStackSetExecutionRole = new Role("aWSCloudFormationStackSetExecutionRole", RoleArgs.builder()        
- *             .assumeRolePolicy(aWSCloudFormationStackSetExecutionRoleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .name("AWSCloudFormationStackSetExecutionRole")
+ *         var aWSCloudFormationStackSetExecutionRole = new Role("aWSCloudFormationStackSetExecutionRole", RoleArgs.builder()        
+ *             .assumeRolePolicy(aWSCloudFormationStackSetExecutionRoleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .name("AWSCloudFormationStackSetExecutionRole")
  *             .build());
  * 
  *         // Documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html
@@ -113,29 +116,31 @@
  *         final var aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "cloudformation:*",
- *                     "s3:*",
- *                     "sns:*")
- *                 .effect("Allow")
- *                 .resources("*")
+ *                     "cloudformation:*",
+ *                     "s3:*",
+ *                     "sns:*")
+ *                 .effect("Allow")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicyRolePolicy = new RolePolicy("aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("MinimumExecutionPolicy")
- *             .policy(aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicyRolePolicy = new RolePolicy("aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("MinimumExecutionPolicy")
+ *             .policy(aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .role(aWSCloudFormationStackSetExecutionRole.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Deployment across Organizations account * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -157,17 +162,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new StackSetInstance("example", StackSetInstanceArgs.builder()        
+ *         var example = new StackSetInstance("example", StackSetInstanceArgs.builder()        
  *             .deploymentTargets(StackSetInstanceDeploymentTargetsArgs.builder()
  *                 .organizationalUnitIds(exampleAwsOrganizationsOrganization.roots()[0].id())
  *                 .build())
- *             .region("us-east-1")
+ *             .region("us-east-1")
  *             .stackSetName(exampleAwsCloudformationStackSet.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CachePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CachePolicy.java index 99f09c6bfba..954dd864709 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CachePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CachePolicy.java @@ -22,7 +22,8 @@ * Use the `aws.cloudfront.CachePolicy` resource to create a cache policy for CloudFront. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,29 +51,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CachePolicy("example", CachePolicyArgs.builder()        
- *             .name("example-policy")
- *             .comment("test comment")
+ *         var example = new CachePolicy("example", CachePolicyArgs.builder()        
+ *             .name("example-policy")
+ *             .comment("test comment")
  *             .defaultTtl(50)
  *             .maxTtl(100)
  *             .minTtl(1)
  *             .parametersInCacheKeyAndForwardedToOrigin(CachePolicyParametersInCacheKeyAndForwardedToOriginArgs.builder()
  *                 .cookiesConfig(CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfigArgs.builder()
- *                     .cookieBehavior("whitelist")
+ *                     .cookieBehavior("whitelist")
  *                     .cookies(CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfigCookiesArgs.builder()
- *                         .items("example")
+ *                         .items("example")
  *                         .build())
  *                     .build())
  *                 .headersConfig(CachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigArgs.builder()
- *                     .headerBehavior("whitelist")
+ *                     .headerBehavior("whitelist")
  *                     .headers(CachePolicyParametersInCacheKeyAndForwardedToOriginHeadersConfigHeadersArgs.builder()
- *                         .items("example")
+ *                         .items("example")
  *                         .build())
  *                     .build())
  *                 .queryStringsConfig(CachePolicyParametersInCacheKeyAndForwardedToOriginQueryStringsConfigArgs.builder()
- *                     .queryStringBehavior("whitelist")
+ *                     .queryStringBehavior("whitelist")
  *                     .queryStrings(CachePolicyParametersInCacheKeyAndForwardedToOriginQueryStringsConfigQueryStringsArgs.builder()
- *                         .items("example")
+ *                         .items("example")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -80,7 +81,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CloudfrontFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CloudfrontFunctions.java index a7f3473391d..47be6e6e681 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CloudfrontFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/CloudfrontFunctions.java @@ -46,7 +46,8 @@ public final class CloudfrontFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -68,12 +69,13 @@ public final class CloudfrontFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -81,7 +83,8 @@ public final class CloudfrontFunctions { * AWS managed cache policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -103,12 +106,13 @@ public final class CloudfrontFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("Managed-CachingOptimized")
+     *             .name("Managed-CachingOptimized")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -123,7 +127,8 @@ public static Output getCachePolicy() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -145,12 +150,13 @@ public static Output getCachePolicy() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -158,7 +164,8 @@ public static Output getCachePolicy() { * AWS managed cache policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -180,12 +187,13 @@ public static Output getCachePolicy() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("Managed-CachingOptimized")
+     *             .name("Managed-CachingOptimized")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -200,7 +208,8 @@ public static CompletableFuture getCachePolicyPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -222,12 +231,13 @@ public static CompletableFuture getCachePolicyPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -235,7 +245,8 @@ public static CompletableFuture getCachePolicyPlain() { * AWS managed cache policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -257,12 +268,13 @@ public static CompletableFuture getCachePolicyPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("Managed-CachingOptimized")
+     *             .name("Managed-CachingOptimized")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -277,7 +289,8 @@ public static Output getCachePolicy(GetCachePolicyArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -299,12 +312,13 @@ public static Output getCachePolicy(GetCachePolicyArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -312,7 +326,8 @@ public static Output getCachePolicy(GetCachePolicyArgs arg * AWS managed cache policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -334,12 +349,13 @@ public static Output getCachePolicy(GetCachePolicyArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("Managed-CachingOptimized")
+     *             .name("Managed-CachingOptimized")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -354,7 +370,8 @@ public static CompletableFuture getCachePolicyPlain(GetCac * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -376,12 +393,13 @@ public static CompletableFuture getCachePolicyPlain(GetCac
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -389,7 +407,8 @@ public static CompletableFuture getCachePolicyPlain(GetCac * AWS managed cache policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -411,12 +430,13 @@ public static CompletableFuture getCachePolicyPlain(GetCac
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("Managed-CachingOptimized")
+     *             .name("Managed-CachingOptimized")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -431,7 +451,8 @@ public static Output getCachePolicy(GetCachePolicyArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -453,12 +474,13 @@ public static Output getCachePolicy(GetCachePolicyArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -466,7 +488,8 @@ public static Output getCachePolicy(GetCachePolicyArgs arg * AWS managed cache policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -488,12 +511,13 @@ public static Output getCachePolicy(GetCachePolicyArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getCachePolicy(GetCachePolicyArgs.builder()
-     *             .name("Managed-CachingOptimized")
+     *             .name("Managed-CachingOptimized")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -506,7 +530,8 @@ public static CompletableFuture getCachePolicyPlain(GetCac * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -528,12 +553,13 @@ public static CompletableFuture getCachePolicyPlain(GetCac
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudfrontFunctions.getDistribution(GetDistributionArgs.builder()
-     *             .id("EDFDVBD632BHDS5")
+     *             .id("EDFDVBD632BHDS5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -546,7 +572,8 @@ public static Output getDistribution(GetDistributionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -568,12 +595,13 @@ public static Output getDistribution(GetDistributionArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudfrontFunctions.getDistribution(GetDistributionArgs.builder()
-     *             .id("EDFDVBD632BHDS5")
+     *             .id("EDFDVBD632BHDS5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -586,7 +614,8 @@ public static CompletableFuture getDistributionPlain(GetD * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -608,12 +637,13 @@ public static CompletableFuture getDistributionPlain(GetD
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudfrontFunctions.getDistribution(GetDistributionArgs.builder()
-     *             .id("EDFDVBD632BHDS5")
+     *             .id("EDFDVBD632BHDS5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -626,7 +656,8 @@ public static Output getDistribution(GetDistributionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -648,12 +679,13 @@ public static Output getDistribution(GetDistributionArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudfrontFunctions.getDistribution(GetDistributionArgs.builder()
-     *             .id("EDFDVBD632BHDS5")
+     *             .id("EDFDVBD632BHDS5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -666,7 +698,8 @@ public static CompletableFuture getDistributionPlain(GetD * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -688,14 +721,15 @@ public static CompletableFuture getDistributionPlain(GetD
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = CloudfrontFunctions.getFunction(GetFunctionArgs.builder()
      *             .name(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -708,7 +742,8 @@ public static Output getFunction(GetFunctionArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -730,14 +765,15 @@ public static Output getFunction(GetFunctionArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = CloudfrontFunctions.getFunction(GetFunctionArgs.builder()
      *             .name(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -750,7 +786,8 @@ public static CompletableFuture getFunctionPlain(GetFunctionP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -772,14 +809,15 @@ public static CompletableFuture getFunctionPlain(GetFunctionP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = CloudfrontFunctions.getFunction(GetFunctionArgs.builder()
      *             .name(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -792,7 +830,8 @@ public static Output getFunction(GetFunctionArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -814,14 +853,15 @@ public static Output getFunction(GetFunctionArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = CloudfrontFunctions.getFunction(GetFunctionArgs.builder()
      *             .name(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -835,7 +875,8 @@ public static CompletableFuture getFunctionPlain(GetFunctionP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -863,26 +904,27 @@ public static CompletableFuture getFunctionPlain(GetFunctionP
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getLogDeliveryCanonicalUserId();
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("example")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("example")
      *             .build());
      * 
-     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
      *             .bucket(exampleBucketV2.id())
      *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
      *                 .grants(BucketAclV2AccessControlPolicyGrantArgs.builder()
      *                     .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
-     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
-     *                         .type("CanonicalUser")
+     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
+     *                         .type("CanonicalUser")
      *                         .build())
-     *                     .permission("FULL_CONTROL")
+     *                     .permission("FULL_CONTROL")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -896,7 +938,8 @@ public static Output getLogDeliveryCanonica * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -924,26 +967,27 @@ public static Output getLogDeliveryCanonica
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getLogDeliveryCanonicalUserId();
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("example")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("example")
      *             .build());
      * 
-     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
      *             .bucket(exampleBucketV2.id())
      *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
      *                 .grants(BucketAclV2AccessControlPolicyGrantArgs.builder()
      *                     .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
-     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
-     *                         .type("CanonicalUser")
+     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
+     *                         .type("CanonicalUser")
      *                         .build())
-     *                     .permission("FULL_CONTROL")
+     *                     .permission("FULL_CONTROL")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -957,7 +1001,8 @@ public static CompletableFuture getLogDeliv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -985,26 +1030,27 @@ public static CompletableFuture getLogDeliv
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getLogDeliveryCanonicalUserId();
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("example")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("example")
      *             .build());
      * 
-     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
      *             .bucket(exampleBucketV2.id())
      *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
      *                 .grants(BucketAclV2AccessControlPolicyGrantArgs.builder()
      *                     .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
-     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
-     *                         .type("CanonicalUser")
+     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
+     *                         .type("CanonicalUser")
      *                         .build())
-     *                     .permission("FULL_CONTROL")
+     *                     .permission("FULL_CONTROL")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1018,7 +1064,8 @@ public static Output getLogDeliveryCanonica * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1046,26 +1093,27 @@ public static Output getLogDeliveryCanonica
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getLogDeliveryCanonicalUserId();
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("example")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("example")
      *             .build());
      * 
-     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
      *             .bucket(exampleBucketV2.id())
      *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
      *                 .grants(BucketAclV2AccessControlPolicyGrantArgs.builder()
      *                     .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
-     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
-     *                         .type("CanonicalUser")
+     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
+     *                         .type("CanonicalUser")
      *                         .build())
-     *                     .permission("FULL_CONTROL")
+     *                     .permission("FULL_CONTROL")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1079,7 +1127,8 @@ public static CompletableFuture getLogDeliv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1107,26 +1156,27 @@ public static CompletableFuture getLogDeliv
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getLogDeliveryCanonicalUserId();
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("example")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("example")
      *             .build());
      * 
-     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
      *             .bucket(exampleBucketV2.id())
      *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
      *                 .grants(BucketAclV2AccessControlPolicyGrantArgs.builder()
      *                     .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
-     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
-     *                         .type("CanonicalUser")
+     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
+     *                         .type("CanonicalUser")
      *                         .build())
-     *                     .permission("FULL_CONTROL")
+     *                     .permission("FULL_CONTROL")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1140,7 +1190,8 @@ public static Output getLogDeliveryCanonica * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1168,26 +1219,27 @@ public static Output getLogDeliveryCanonica
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getLogDeliveryCanonicalUserId();
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("example")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("example")
      *             .build());
      * 
-     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+     *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
      *             .bucket(exampleBucketV2.id())
      *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
      *                 .grants(BucketAclV2AccessControlPolicyGrantArgs.builder()
      *                     .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
-     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
-     *                         .type("CanonicalUser")
+     *                         .id(example.applyValue(getLogDeliveryCanonicalUserIdResult -> getLogDeliveryCanonicalUserIdResult.id()))
+     *                         .type("CanonicalUser")
      *                         .build())
-     *                     .permission("FULL_CONTROL")
+     *                     .permission("FULL_CONTROL")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1202,7 +1254,8 @@ public static CompletableFuture getLogDeliv * ### All origin access identities in the account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1227,7 +1280,8 @@ public static CompletableFuture getLogDeliv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Origin access identities filtered by comment/name @@ -1235,7 +1289,8 @@ public static CompletableFuture getLogDeliv * Origin access identities whose comments are `example-comment1`, `example-comment2` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1258,13 +1313,14 @@ public static CompletableFuture getLogDeliv
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentities(GetOriginAccessIdentitiesArgs.builder()
      *             .comments(            
-     *                 "example-comment1",
-     *                 "example-comment2")
+     *                 "example-comment1",
+     *                 "example-comment2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1279,7 +1335,8 @@ public static Output getOriginAccessIdentities( * ### All origin access identities in the account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1304,7 +1361,8 @@ public static Output getOriginAccessIdentities(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Origin access identities filtered by comment/name @@ -1312,7 +1370,8 @@ public static Output getOriginAccessIdentities( * Origin access identities whose comments are `example-comment1`, `example-comment2` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1335,13 +1394,14 @@ public static Output getOriginAccessIdentities(
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentities(GetOriginAccessIdentitiesArgs.builder()
      *             .comments(            
-     *                 "example-comment1",
-     *                 "example-comment2")
+     *                 "example-comment1",
+     *                 "example-comment2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1356,7 +1416,8 @@ public static CompletableFuture getOriginAccess * ### All origin access identities in the account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1381,7 +1442,8 @@ public static CompletableFuture getOriginAccess
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Origin access identities filtered by comment/name @@ -1389,7 +1451,8 @@ public static CompletableFuture getOriginAccess * Origin access identities whose comments are `example-comment1`, `example-comment2` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1412,13 +1475,14 @@ public static CompletableFuture getOriginAccess
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentities(GetOriginAccessIdentitiesArgs.builder()
      *             .comments(            
-     *                 "example-comment1",
-     *                 "example-comment2")
+     *                 "example-comment1",
+     *                 "example-comment2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1433,7 +1497,8 @@ public static Output getOriginAccessIdentities( * ### All origin access identities in the account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1458,7 +1523,8 @@ public static Output getOriginAccessIdentities(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Origin access identities filtered by comment/name @@ -1466,7 +1532,8 @@ public static Output getOriginAccessIdentities( * Origin access identities whose comments are `example-comment1`, `example-comment2` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1489,13 +1556,14 @@ public static Output getOriginAccessIdentities(
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentities(GetOriginAccessIdentitiesArgs.builder()
      *             .comments(            
-     *                 "example-comment1",
-     *                 "example-comment2")
+     *                 "example-comment1",
+     *                 "example-comment2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1510,7 +1578,8 @@ public static CompletableFuture getOriginAccess * ### All origin access identities in the account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1535,7 +1604,8 @@ public static CompletableFuture getOriginAccess
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Origin access identities filtered by comment/name @@ -1543,7 +1613,8 @@ public static CompletableFuture getOriginAccess * Origin access identities whose comments are `example-comment1`, `example-comment2` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1566,13 +1637,14 @@ public static CompletableFuture getOriginAccess
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentities(GetOriginAccessIdentitiesArgs.builder()
      *             .comments(            
-     *                 "example-comment1",
-     *                 "example-comment2")
+     *                 "example-comment1",
+     *                 "example-comment2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1587,7 +1659,8 @@ public static Output getOriginAccessIdentities( * ### All origin access identities in the account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1612,7 +1685,8 @@ public static Output getOriginAccessIdentities(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Origin access identities filtered by comment/name @@ -1620,7 +1694,8 @@ public static Output getOriginAccessIdentities( * Origin access identities whose comments are `example-comment1`, `example-comment2` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1643,13 +1718,14 @@ public static Output getOriginAccessIdentities(
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentities(GetOriginAccessIdentitiesArgs.builder()
      *             .comments(            
-     *                 "example-comment1",
-     *                 "example-comment2")
+     *                 "example-comment1",
+     *                 "example-comment2")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1664,7 +1740,8 @@ public static CompletableFuture getOriginAccess * The following example below creates a CloudFront origin access identity. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1686,12 +1763,13 @@ public static CompletableFuture getOriginAccess
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentity(GetOriginAccessIdentityArgs.builder()
-     *             .id("E1ZAKK699EOLAL")
+     *             .id("E1ZAKK699EOLAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1706,7 +1784,8 @@ public static Output getOriginAccessIdentity(GetO * The following example below creates a CloudFront origin access identity. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1728,12 +1807,13 @@ public static Output getOriginAccessIdentity(GetO
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentity(GetOriginAccessIdentityArgs.builder()
-     *             .id("E1ZAKK699EOLAL")
+     *             .id("E1ZAKK699EOLAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1748,7 +1828,8 @@ public static CompletableFuture getOriginAccessId * The following example below creates a CloudFront origin access identity. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1770,12 +1851,13 @@ public static CompletableFuture getOriginAccessId
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentity(GetOriginAccessIdentityArgs.builder()
-     *             .id("E1ZAKK699EOLAL")
+     *             .id("E1ZAKK699EOLAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1790,7 +1872,8 @@ public static Output getOriginAccessIdentity(GetO * The following example below creates a CloudFront origin access identity. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1812,12 +1895,13 @@ public static Output getOriginAccessIdentity(GetO
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginAccessIdentity(GetOriginAccessIdentityArgs.builder()
-     *             .id("E1ZAKK699EOLAL")
+     *             .id("E1ZAKK699EOLAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1830,7 +1914,8 @@ public static CompletableFuture getOriginAccessId * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1852,12 +1937,13 @@ public static CompletableFuture getOriginAccessId
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -1865,7 +1951,8 @@ public static CompletableFuture getOriginAccessId * AWS managed origin request policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1887,12 +1974,13 @@ public static CompletableFuture getOriginAccessId
      * 
      *     public static void stack(Context ctx) {
      *         final var uaReferer = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("Managed-UserAgentRefererHeaders")
+     *             .name("Managed-UserAgentRefererHeaders")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1905,7 +1993,8 @@ public static Output getOriginRequestPolicy() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1927,12 +2016,13 @@ public static Output getOriginRequestPolicy() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -1940,7 +2030,8 @@ public static Output getOriginRequestPolicy() { * AWS managed origin request policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1962,12 +2053,13 @@ public static Output getOriginRequestPolicy() {
      * 
      *     public static void stack(Context ctx) {
      *         final var uaReferer = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("Managed-UserAgentRefererHeaders")
+     *             .name("Managed-UserAgentRefererHeaders")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1980,7 +2072,8 @@ public static CompletableFuture getOriginRequestPo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2002,12 +2095,13 @@ public static CompletableFuture getOriginRequestPo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2015,7 +2109,8 @@ public static CompletableFuture getOriginRequestPo * AWS managed origin request policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2037,12 +2132,13 @@ public static CompletableFuture getOriginRequestPo
      * 
      *     public static void stack(Context ctx) {
      *         final var uaReferer = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("Managed-UserAgentRefererHeaders")
+     *             .name("Managed-UserAgentRefererHeaders")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2055,7 +2151,8 @@ public static Output getOriginRequestPolicy(GetOri * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2077,12 +2174,13 @@ public static Output getOriginRequestPolicy(GetOri
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2090,7 +2188,8 @@ public static Output getOriginRequestPolicy(GetOri * AWS managed origin request policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2112,12 +2211,13 @@ public static Output getOriginRequestPolicy(GetOri
      * 
      *     public static void stack(Context ctx) {
      *         final var uaReferer = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("Managed-UserAgentRefererHeaders")
+     *             .name("Managed-UserAgentRefererHeaders")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2130,7 +2230,8 @@ public static CompletableFuture getOriginRequestPo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2152,12 +2253,13 @@ public static CompletableFuture getOriginRequestPo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2165,7 +2267,8 @@ public static CompletableFuture getOriginRequestPo * AWS managed origin request policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2187,12 +2290,13 @@ public static CompletableFuture getOriginRequestPo
      * 
      *     public static void stack(Context ctx) {
      *         final var uaReferer = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("Managed-UserAgentRefererHeaders")
+     *             .name("Managed-UserAgentRefererHeaders")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2205,7 +2309,8 @@ public static Output getOriginRequestPolicy(GetOri * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2227,12 +2332,13 @@ public static Output getOriginRequestPolicy(GetOri
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2240,7 +2346,8 @@ public static Output getOriginRequestPolicy(GetOri * AWS managed origin request policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2262,12 +2369,13 @@ public static Output getOriginRequestPolicy(GetOri
      * 
      *     public static void stack(Context ctx) {
      *         final var uaReferer = CloudfrontFunctions.getOriginRequestPolicy(GetOriginRequestPolicyArgs.builder()
-     *             .name("Managed-UserAgentRefererHeaders")
+     *             .name("Managed-UserAgentRefererHeaders")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2280,7 +2388,8 @@ public static CompletableFuture getOriginRequestPo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2302,12 +2411,13 @@ public static CompletableFuture getOriginRequestPo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getRealtimeLogConfig(GetRealtimeLogConfigArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2320,7 +2430,8 @@ public static Output getRealtimeLogConfig(GetRealtim * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2342,12 +2453,13 @@ public static Output getRealtimeLogConfig(GetRealtim
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getRealtimeLogConfig(GetRealtimeLogConfigArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2360,7 +2472,8 @@ public static CompletableFuture getRealtimeLogConfig * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2382,12 +2495,13 @@ public static CompletableFuture getRealtimeLogConfig
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getRealtimeLogConfig(GetRealtimeLogConfigArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2400,7 +2514,8 @@ public static Output getRealtimeLogConfig(GetRealtim * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2422,12 +2537,13 @@ public static Output getRealtimeLogConfig(GetRealtim
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getRealtimeLogConfig(GetRealtimeLogConfigArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2442,7 +2558,8 @@ public static CompletableFuture getRealtimeLogConfig * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2464,12 +2581,13 @@ public static CompletableFuture getRealtimeLogConfig
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2477,7 +2595,8 @@ public static CompletableFuture getRealtimeLogConfig * AWS managed response header policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2499,12 +2618,13 @@ public static CompletableFuture getRealtimeLogConfig
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("Managed-SimpleCORS")
+     *             .name("Managed-SimpleCORS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2519,7 +2639,8 @@ public static Output getResponseHeadersPolicy() * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2541,12 +2662,13 @@ public static Output getResponseHeadersPolicy()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2554,7 +2676,8 @@ public static Output getResponseHeadersPolicy() * AWS managed response header policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2576,12 +2699,13 @@ public static Output getResponseHeadersPolicy()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("Managed-SimpleCORS")
+     *             .name("Managed-SimpleCORS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2596,7 +2720,8 @@ public static CompletableFuture getResponseHeade * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2618,12 +2743,13 @@ public static CompletableFuture getResponseHeade
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2631,7 +2757,8 @@ public static CompletableFuture getResponseHeade * AWS managed response header policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2653,12 +2780,13 @@ public static CompletableFuture getResponseHeade
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("Managed-SimpleCORS")
+     *             .name("Managed-SimpleCORS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2673,7 +2801,8 @@ public static Output getResponseHeadersPolicy(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2695,12 +2824,13 @@ public static Output getResponseHeadersPolicy(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2708,7 +2838,8 @@ public static Output getResponseHeadersPolicy(Ge * AWS managed response header policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2730,12 +2861,13 @@ public static Output getResponseHeadersPolicy(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("Managed-SimpleCORS")
+     *             .name("Managed-SimpleCORS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2750,7 +2882,8 @@ public static CompletableFuture getResponseHeade * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2772,12 +2905,13 @@ public static CompletableFuture getResponseHeade
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2785,7 +2919,8 @@ public static CompletableFuture getResponseHeade * AWS managed response header policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2807,12 +2942,13 @@ public static CompletableFuture getResponseHeade
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("Managed-SimpleCORS")
+     *             .name("Managed-SimpleCORS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2827,7 +2963,8 @@ public static Output getResponseHeadersPolicy(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2849,12 +2986,13 @@ public static Output getResponseHeadersPolicy(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("example-policy")
+     *             .name("example-policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### AWS-Managed Policies @@ -2862,7 +3000,8 @@ public static Output getResponseHeadersPolicy(Ge * AWS managed response header policy names are prefixed with `Managed-`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2884,12 +3023,13 @@ public static Output getResponseHeadersPolicy(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudfrontFunctions.getResponseHeadersPolicy(GetResponseHeadersPolicyArgs.builder()
-     *             .name("Managed-SimpleCORS")
+     *             .name("Managed-SimpleCORS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ContinuousDeploymentPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ContinuousDeploymentPolicy.java index ab59407a1b6..eae61bd5324 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ContinuousDeploymentPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ContinuousDeploymentPolicy.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,39 +52,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var staging = new Distribution("staging", DistributionArgs.builder()        
+ *         var staging = new Distribution("staging", DistributionArgs.builder()        
  *             .enabled(true)
  *             .staging(true)
  *             .build());
  * 
- *         var example = new ContinuousDeploymentPolicy("example", ContinuousDeploymentPolicyArgs.builder()        
+ *         var example = new ContinuousDeploymentPolicy("example", ContinuousDeploymentPolicyArgs.builder()        
  *             .enabled(true)
  *             .stagingDistributionDnsNames(ContinuousDeploymentPolicyStagingDistributionDnsNamesArgs.builder()
  *                 .items(staging.domainName())
  *                 .quantity(1)
  *                 .build())
  *             .trafficConfig(ContinuousDeploymentPolicyTrafficConfigArgs.builder()
- *                 .type("SingleWeight")
+ *                 .type("SingleWeight")
  *                 .singleWeightConfig(ContinuousDeploymentPolicyTrafficConfigSingleWeightConfigArgs.builder()
- *                     .weight("0.01")
+ *                     .weight("0.01")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var production = new Distribution("production", DistributionArgs.builder()        
+ *         var production = new Distribution("production", DistributionArgs.builder()        
  *             .enabled(true)
  *             .continuousDeploymentPolicyId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Single Weight Config with Session Stickiness * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -108,16 +111,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContinuousDeploymentPolicy("example", ContinuousDeploymentPolicyArgs.builder()        
+ *         var example = new ContinuousDeploymentPolicy("example", ContinuousDeploymentPolicyArgs.builder()        
  *             .enabled(true)
  *             .stagingDistributionDnsNames(ContinuousDeploymentPolicyStagingDistributionDnsNamesArgs.builder()
  *                 .items(staging.domainName())
  *                 .quantity(1)
  *                 .build())
  *             .trafficConfig(ContinuousDeploymentPolicyTrafficConfigArgs.builder()
- *                 .type("SingleWeight")
+ *                 .type("SingleWeight")
  *                 .singleWeightConfig(ContinuousDeploymentPolicyTrafficConfigSingleWeightConfigArgs.builder()
- *                     .weight("0.01")
+ *                     .weight("0.01")
  *                     .sessionStickinessConfig(ContinuousDeploymentPolicyTrafficConfigSingleWeightConfigSessionStickinessConfigArgs.builder()
  *                         .idleTtl(300)
  *                         .maximumTtl(600)
@@ -128,13 +131,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Single Header Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -158,24 +163,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContinuousDeploymentPolicy("example", ContinuousDeploymentPolicyArgs.builder()        
+ *         var example = new ContinuousDeploymentPolicy("example", ContinuousDeploymentPolicyArgs.builder()        
  *             .enabled(true)
  *             .stagingDistributionDnsNames(ContinuousDeploymentPolicyStagingDistributionDnsNamesArgs.builder()
  *                 .items(staging.domainName())
  *                 .quantity(1)
  *                 .build())
  *             .trafficConfig(ContinuousDeploymentPolicyTrafficConfigArgs.builder()
- *                 .type("SingleHeader")
+ *                 .type("SingleHeader")
  *                 .singleHeaderConfig(ContinuousDeploymentPolicyTrafficConfigSingleHeaderConfigArgs.builder()
- *                     .header("aws-cf-cd-example")
- *                     .value("example")
+ *                     .header("aws-cf-cd-example")
+ *                     .value("example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/Distribution.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/Distribution.java index 53318be5b1d..545766fc971 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/Distribution.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/Distribution.java @@ -42,7 +42,8 @@ * The example below creates a CloudFront distribution with an S3 origin. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,19 +79,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new BucketV2("b", BucketV2Args.builder()        
- *             .bucket("mybucket")
- *             .tags(Map.of("Name", "My bucket"))
+ *         var b = new BucketV2("b", BucketV2Args.builder()        
+ *             .bucket("mybucket")
+ *             .tags(Map.of("Name", "My bucket"))
  *             .build());
  * 
- *         var bAcl = new BucketAclV2("bAcl", BucketAclV2Args.builder()        
+ *         var bAcl = new BucketAclV2("bAcl", BucketAclV2Args.builder()        
  *             .bucket(b.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         final var s3OriginId = "myS3Origin";
+ *         final var s3OriginId = "myS3Origin";
  * 
- *         var s3Distribution = new Distribution("s3Distribution", DistributionArgs.builder()        
+ *         var s3Distribution = new Distribution("s3Distribution", DistributionArgs.builder()        
  *             .origins(DistributionOriginArgs.builder()
  *                 .domainName(b.bucketRegionalDomainName())
  *                 .originAccessControlId(default_.id())
@@ -98,99 +99,99 @@
  *                 .build())
  *             .enabled(true)
  *             .isIpv6Enabled(true)
- *             .comment("Some comment")
- *             .defaultRootObject("index.html")
+ *             .comment("Some comment")
+ *             .defaultRootObject("index.html")
  *             .loggingConfig(DistributionLoggingConfigArgs.builder()
  *                 .includeCookies(false)
- *                 .bucket("mylogs.s3.amazonaws.com")
- *                 .prefix("myprefix")
+ *                 .bucket("mylogs.s3.amazonaws.com")
+ *                 .prefix("myprefix")
  *                 .build())
  *             .aliases(            
- *                 "mysite.example.com",
- *                 "yoursite.example.com")
+ *                 "mysite.example.com",
+ *                 "yoursite.example.com")
  *             .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
  *                 .allowedMethods(                
- *                     "DELETE",
- *                     "GET",
- *                     "HEAD",
- *                     "OPTIONS",
- *                     "PATCH",
- *                     "POST",
- *                     "PUT")
+ *                     "DELETE",
+ *                     "GET",
+ *                     "HEAD",
+ *                     "OPTIONS",
+ *                     "PATCH",
+ *                     "POST",
+ *                     "PUT")
  *                 .cachedMethods(                
- *                     "GET",
- *                     "HEAD")
+ *                     "GET",
+ *                     "HEAD")
  *                 .targetOriginId(s3OriginId)
  *                 .forwardedValues(DistributionDefaultCacheBehaviorForwardedValuesArgs.builder()
  *                     .queryString(false)
  *                     .cookies(DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs.builder()
- *                         .forward("none")
+ *                         .forward("none")
  *                         .build())
  *                     .build())
- *                 .viewerProtocolPolicy("allow-all")
+ *                 .viewerProtocolPolicy("allow-all")
  *                 .minTtl(0)
  *                 .defaultTtl(3600)
  *                 .maxTtl(86400)
  *                 .build())
  *             .orderedCacheBehaviors(            
  *                 DistributionOrderedCacheBehaviorArgs.builder()
- *                     .pathPattern("/content/immutable/*")
+ *                     .pathPattern("/content/immutable/*")
  *                     .allowedMethods(                    
- *                         "GET",
- *                         "HEAD",
- *                         "OPTIONS")
+ *                         "GET",
+ *                         "HEAD",
+ *                         "OPTIONS")
  *                     .cachedMethods(                    
- *                         "GET",
- *                         "HEAD",
- *                         "OPTIONS")
+ *                         "GET",
+ *                         "HEAD",
+ *                         "OPTIONS")
  *                     .targetOriginId(s3OriginId)
  *                     .forwardedValues(DistributionOrderedCacheBehaviorForwardedValuesArgs.builder()
  *                         .queryString(false)
- *                         .headers("Origin")
+ *                         .headers("Origin")
  *                         .cookies(DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs.builder()
- *                             .forward("none")
+ *                             .forward("none")
  *                             .build())
  *                         .build())
  *                     .minTtl(0)
  *                     .defaultTtl(86400)
  *                     .maxTtl(31536000)
  *                     .compress(true)
- *                     .viewerProtocolPolicy("redirect-to-https")
+ *                     .viewerProtocolPolicy("redirect-to-https")
  *                     .build(),
  *                 DistributionOrderedCacheBehaviorArgs.builder()
- *                     .pathPattern("/content/*")
+ *                     .pathPattern("/content/*")
  *                     .allowedMethods(                    
- *                         "GET",
- *                         "HEAD",
- *                         "OPTIONS")
+ *                         "GET",
+ *                         "HEAD",
+ *                         "OPTIONS")
  *                     .cachedMethods(                    
- *                         "GET",
- *                         "HEAD")
+ *                         "GET",
+ *                         "HEAD")
  *                     .targetOriginId(s3OriginId)
  *                     .forwardedValues(DistributionOrderedCacheBehaviorForwardedValuesArgs.builder()
  *                         .queryString(false)
  *                         .cookies(DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs.builder()
- *                             .forward("none")
+ *                             .forward("none")
  *                             .build())
  *                         .build())
  *                     .minTtl(0)
  *                     .defaultTtl(3600)
  *                     .maxTtl(86400)
  *                     .compress(true)
- *                     .viewerProtocolPolicy("redirect-to-https")
+ *                     .viewerProtocolPolicy("redirect-to-https")
  *                     .build())
- *             .priceClass("PriceClass_200")
+ *             .priceClass("PriceClass_200")
  *             .restrictions(DistributionRestrictionsArgs.builder()
  *                 .geoRestriction(DistributionRestrictionsGeoRestrictionArgs.builder()
- *                     .restrictionType("whitelist")
+ *                     .restrictionType("whitelist")
  *                     .locations(                    
- *                         "US",
- *                         "CA",
- *                         "GB",
- *                         "DE")
+ *                         "US",
+ *                         "CA",
+ *                         "GB",
+ *                         "DE")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Environment", "production"))
+ *             .tags(Map.of("Environment", "production"))
  *             .viewerCertificate(DistributionViewerCertificateArgs.builder()
  *                 .cloudfrontDefaultCertificate(true)
  *                 .build())
@@ -198,7 +199,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Failover Routing @@ -206,7 +208,8 @@ * The example below creates a CloudFront distribution with an origin group for failover routing. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -232,9 +235,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var s3Distribution = new Distribution("s3Distribution", DistributionArgs.builder()        
+ *         var s3Distribution = new Distribution("s3Distribution", DistributionArgs.builder()        
  *             .originGroups(DistributionOriginGroupArgs.builder()
- *                 .originId("groupS3")
+ *                 .originId("groupS3")
  *                 .failoverCriteria(DistributionOriginGroupFailoverCriteriaArgs.builder()
  *                     .statusCodes(                    
  *                         403,
@@ -244,35 +247,36 @@
  *                     .build())
  *                 .members(                
  *                     DistributionOriginGroupMemberArgs.builder()
- *                         .originId("primaryS3")
+ *                         .originId("primaryS3")
  *                         .build(),
  *                     DistributionOriginGroupMemberArgs.builder()
- *                         .originId("failoverS3")
+ *                         .originId("failoverS3")
  *                         .build())
  *                 .build())
  *             .origins(            
  *                 DistributionOriginArgs.builder()
  *                     .domainName(primary.bucketRegionalDomainName())
- *                     .originId("primaryS3")
+ *                     .originId("primaryS3")
  *                     .s3OriginConfig(DistributionOriginS3OriginConfigArgs.builder()
  *                         .originAccessIdentity(default_.cloudfrontAccessIdentityPath())
  *                         .build())
  *                     .build(),
  *                 DistributionOriginArgs.builder()
  *                     .domainName(failover.bucketRegionalDomainName())
- *                     .originId("failoverS3")
+ *                     .originId("failoverS3")
  *                     .s3OriginConfig(DistributionOriginS3OriginConfigArgs.builder()
  *                         .originAccessIdentity(default_.cloudfrontAccessIdentityPath())
  *                         .build())
  *                     .build())
  *             .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
- *                 .targetOriginId("groupS3")
+ *                 .targetOriginId("groupS3")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Managed Caching Policy @@ -280,7 +284,8 @@ * The example below creates a CloudFront distribution with an [AWS managed caching policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -307,36 +312,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         final var s3OriginId = "myS3Origin";
+ *         final var s3OriginId = "myS3Origin";
  * 
- *         var s3Distribution = new Distribution("s3Distribution", DistributionArgs.builder()        
+ *         var s3Distribution = new Distribution("s3Distribution", DistributionArgs.builder()        
  *             .origins(DistributionOriginArgs.builder()
  *                 .domainName(primary.bucketRegionalDomainName())
- *                 .originId("myS3Origin")
+ *                 .originId("myS3Origin")
  *                 .s3OriginConfig(DistributionOriginS3OriginConfigArgs.builder()
  *                     .originAccessIdentity(default_.cloudfrontAccessIdentityPath())
  *                     .build())
  *                 .build())
  *             .enabled(true)
  *             .isIpv6Enabled(true)
- *             .comment("Some comment")
- *             .defaultRootObject("index.html")
+ *             .comment("Some comment")
+ *             .defaultRootObject("index.html")
  *             .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
- *                 .cachePolicyId("4135ea2d-6df8-44a3-9df3-4b5a84be39ad")
+ *                 .cachePolicyId("4135ea2d-6df8-44a3-9df3-4b5a84be39ad")
  *                 .allowedMethods(                
- *                     "GET",
- *                     "HEAD",
- *                     "OPTIONS")
+ *                     "GET",
+ *                     "HEAD",
+ *                     "OPTIONS")
  *                 .targetOriginId(s3OriginId)
  *                 .build())
  *             .restrictions(DistributionRestrictionsArgs.builder()
  *                 .geoRestriction(DistributionRestrictionsGeoRestrictionArgs.builder()
- *                     .restrictionType("whitelist")
+ *                     .restrictionType("whitelist")
  *                     .locations(                    
- *                         "US",
- *                         "CA",
- *                         "GB",
- *                         "DE")
+ *                         "US",
+ *                         "CA",
+ *                         "GB",
+ *                         "DE")
  *                     .build())
  *                 .build())
  *             .viewerCertificate(DistributionViewerCertificateArgs.builder()
@@ -346,7 +351,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionConfig.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionConfig.java index d75d392a256..0ecb1114308 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionConfig.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,14 +48,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new FieldLevelEncryptionConfig("test", FieldLevelEncryptionConfigArgs.builder()        
- *             .comment("test comment")
+ *         var test = new FieldLevelEncryptionConfig("test", FieldLevelEncryptionConfigArgs.builder()        
+ *             .comment("test comment")
  *             .contentTypeProfileConfig(FieldLevelEncryptionConfigContentTypeProfileConfigArgs.builder()
  *                 .forwardWhenContentTypeIsUnknown(true)
  *                 .contentTypeProfiles(FieldLevelEncryptionConfigContentTypeProfileConfigContentTypeProfilesArgs.builder()
  *                     .items(FieldLevelEncryptionConfigContentTypeProfileConfigContentTypeProfilesItemArgs.builder()
- *                         .contentType("application/x-www-form-urlencoded")
- *                         .format("URLEncoded")
+ *                         .contentType("application/x-www-form-urlencoded")
+ *                         .format("URLEncoded")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -63,7 +64,7 @@
  *                 .queryArgProfiles(FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesArgs.builder()
  *                     .items(FieldLevelEncryptionConfigQueryArgProfileConfigQueryArgProfilesItemArgs.builder()
  *                         .profileId(testAwsCloudfrontFieldLevelEncryptionProfile.id())
- *                         .queryArg("Arg1")
+ *                         .queryArg("Arg1")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -71,7 +72,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionProfile.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionProfile.java index 350e07f8b7b..18152d251f9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/FieldLevelEncryptionProfile.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,23 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PublicKey("example", PublicKeyArgs.builder()        
- *             .comment("test public key")
+ *         var example = new PublicKey("example", PublicKeyArgs.builder()        
+ *             .comment("test public key")
  *             .encodedKey(StdFunctions.file(FileArgs.builder()
- *                 .input("public_key.pem")
+ *                 .input("public_key.pem")
  *                 .build()).result())
- *             .name("test_key")
+ *             .name("test_key")
  *             .build());
  * 
- *         var test = new FieldLevelEncryptionProfile("test", FieldLevelEncryptionProfileArgs.builder()        
- *             .comment("test comment")
- *             .name("test profile")
+ *         var test = new FieldLevelEncryptionProfile("test", FieldLevelEncryptionProfileArgs.builder()        
+ *             .comment("test comment")
+ *             .name("test profile")
  *             .encryptionEntities(FieldLevelEncryptionProfileEncryptionEntitiesArgs.builder()
  *                 .items(FieldLevelEncryptionProfileEncryptionEntitiesItemArgs.builder()
  *                     .publicKeyId(example.id())
- *                     .providerId("test provider")
+ *                     .providerId("test provider")
  *                     .fieldPatterns(FieldLevelEncryptionProfileEncryptionEntitiesItemFieldPatternsArgs.builder()
- *                         .items("DateOfBirth")
+ *                         .items("DateOfBirth")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -69,7 +70,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyGroup.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyGroup.java index 64bc0fe3cd7..7e882943a61 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyGroup.java @@ -21,7 +21,8 @@ * The following example below creates a CloudFront key group. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,23 +45,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PublicKey("example", PublicKeyArgs.builder()        
- *             .comment("example public key")
+ *         var example = new PublicKey("example", PublicKeyArgs.builder()        
+ *             .comment("example public key")
  *             .encodedKey(StdFunctions.file(FileArgs.builder()
- *                 .input("public_key.pem")
+ *                 .input("public_key.pem")
  *                 .build()).result())
- *             .name("example-key")
+ *             .name("example-key")
  *             .build());
  * 
- *         var exampleKeyGroup = new KeyGroup("exampleKeyGroup", KeyGroupArgs.builder()        
- *             .comment("example key group")
+ *         var exampleKeyGroup = new KeyGroup("exampleKeyGroup", KeyGroupArgs.builder()        
+ *             .comment("example key group")
  *             .items(example.id())
- *             .name("example-key-group")
+ *             .name("example-key-group")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyValueStore.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyValueStore.java index 1fd1ba59ee3..bc8a5a8efb3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyValueStore.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyValueStore.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new KeyValueStore("example", KeyValueStoreArgs.builder()        
- *             .name("ExampleKeyValueStore")
- *             .comment("This is an example key value store")
+ *         var example = new KeyValueStore("example", KeyValueStoreArgs.builder()        
+ *             .name("ExampleKeyValueStore")
+ *             .comment("This is an example key value store")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyvaluestoreKey.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyvaluestoreKey.java index d69af2231db..6e8b83b55ab 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyvaluestoreKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/KeyvaluestoreKey.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new KeyValueStore("example", KeyValueStoreArgs.builder()        
- *             .name("ExampleKeyValueStore")
- *             .comment("This is an example key value store")
+ *         var example = new KeyValueStore("example", KeyValueStoreArgs.builder()        
+ *             .name("ExampleKeyValueStore")
+ *             .comment("This is an example key value store")
  *             .build());
  * 
- *         var exampleKeyvaluestoreKey = new KeyvaluestoreKey("exampleKeyvaluestoreKey", KeyvaluestoreKeyArgs.builder()        
+ *         var exampleKeyvaluestoreKey = new KeyvaluestoreKey("exampleKeyvaluestoreKey", KeyvaluestoreKeyArgs.builder()        
  *             .keyValueStoreArn(example.arn())
- *             .key("Test Key")
- *             .value("Test Value")
+ *             .key("Test Key")
+ *             .value("Test Value")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/MonitoringSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/MonitoringSubscription.java index b70367afb4e..96254491992 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/MonitoringSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/MonitoringSubscription.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,18 +44,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MonitoringSubscription("example", MonitoringSubscriptionArgs.builder()        
+ *         var example = new MonitoringSubscription("example", MonitoringSubscriptionArgs.builder()        
  *             .distributionId(exampleAwsCloudfrontDistribution.id())
  *             .monitoringSubscription(MonitoringSubscriptionMonitoringSubscriptionArgs.builder()
  *                 .realtimeMetricsSubscriptionConfig(MonitoringSubscriptionMonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgs.builder()
- *                     .realtimeMetricsSubscriptionStatus("Enabled")
+ *                     .realtimeMetricsSubscriptionStatus("Enabled")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessControl.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessControl.java index 7eb4a644953..25370d34b7d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessControl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessControl.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,17 +46,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OriginAccessControl("example", OriginAccessControlArgs.builder()        
- *             .name("example")
- *             .description("Example Policy")
- *             .originAccessControlOriginType("s3")
- *             .signingBehavior("always")
- *             .signingProtocol("sigv4")
+ *         var example = new OriginAccessControl("example", OriginAccessControlArgs.builder()        
+ *             .name("example")
+ *             .description("Example Policy")
+ *             .originAccessControlOriginType("s3")
+ *             .signingBehavior("always")
+ *             .signingProtocol("sigv4")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessIdentity.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessIdentity.java index 754992db8b4..0030f513d64 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessIdentity.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginAccessIdentity.java @@ -27,7 +27,8 @@ * The following example below creates a CloudFront origin access identity. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OriginAccessIdentity("example", OriginAccessIdentityArgs.builder()        
- *             .comment("Some comment")
+ *         var example = new OriginAccessIdentity("example", OriginAccessIdentityArgs.builder()        
+ *             .comment("Some comment")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Using With CloudFront @@ -66,7 +68,8 @@ * `aws.cloudfront.Distribution` resource: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,7 +92,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Distribution("example", DistributionArgs.builder()        
+ *         var example = new Distribution("example", DistributionArgs.builder()        
  *             .origins(DistributionOriginArgs.builder()
  *                 .s3OriginConfig(DistributionOriginS3OriginConfigArgs.builder()
  *                     .originAccessIdentity(exampleAwsCloudfrontOriginAccessIdentity.cloudfrontAccessIdentityPath())
@@ -99,7 +102,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Updating your bucket policy @@ -110,7 +114,8 @@ * you see this behaviour, use the `iam_arn` instead: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -135,23 +140,24 @@
  *     public static void stack(Context ctx) {
  *         final var s3Policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("s3:GetObject")
- *                 .resources(String.format("%s/*", exampleAwsS3Bucket.arn()))
+ *                 .actions("s3:GetObject")
+ *                 .resources(String.format("%s/*", exampleAwsS3Bucket.arn()))
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
+ *                     .type("AWS")
  *                     .identifiers(exampleAwsCloudfrontOriginAccessIdentity.iamArn())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var example = new BucketPolicy("example", BucketPolicyArgs.builder()        
+ *         var example = new BucketPolicy("example", BucketPolicyArgs.builder()        
  *             .bucket(exampleAwsS3Bucket.id())
- *             .policy(s3Policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(s3Policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginRequestPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginRequestPolicy.java index 69b5733c41c..13826ad5f9b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginRequestPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/OriginRequestPolicy.java @@ -23,7 +23,8 @@ * The following example below creates a CloudFront origin request policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,32 +51,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OriginRequestPolicy("example", OriginRequestPolicyArgs.builder()        
- *             .name("example-policy")
- *             .comment("example comment")
+ *         var example = new OriginRequestPolicy("example", OriginRequestPolicyArgs.builder()        
+ *             .name("example-policy")
+ *             .comment("example comment")
  *             .cookiesConfig(OriginRequestPolicyCookiesConfigArgs.builder()
- *                 .cookieBehavior("whitelist")
+ *                 .cookieBehavior("whitelist")
  *                 .cookies(OriginRequestPolicyCookiesConfigCookiesArgs.builder()
- *                     .items("example")
+ *                     .items("example")
  *                     .build())
  *                 .build())
  *             .headersConfig(OriginRequestPolicyHeadersConfigArgs.builder()
- *                 .headerBehavior("whitelist")
+ *                 .headerBehavior("whitelist")
  *                 .headers(OriginRequestPolicyHeadersConfigHeadersArgs.builder()
- *                     .items("example")
+ *                     .items("example")
  *                     .build())
  *                 .build())
  *             .queryStringsConfig(OriginRequestPolicyQueryStringsConfigArgs.builder()
- *                 .queryStringBehavior("whitelist")
+ *                 .queryStringBehavior("whitelist")
  *                 .queryStrings(OriginRequestPolicyQueryStringsConfigQueryStringsArgs.builder()
- *                     .items("example")
+ *                     .items("example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java index 779802e2099..f70ec047e5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java @@ -20,7 +20,8 @@ * The following example below creates a CloudFront public key. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,17 +42,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PublicKey("example", PublicKeyArgs.builder()        
- *             .comment("test public key")
+ *         var example = new PublicKey("example", PublicKeyArgs.builder()        
+ *             .comment("test public key")
  *             .encodedKey(StdFunctions.file(FileArgs.builder()
- *                 .input("public_key.pem")
+ *                 .input("public_key.pem")
  *                 .build()).result())
- *             .name("test_key")
+ *             .name("test_key")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/RealtimeLogConfig.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/RealtimeLogConfig.java index e9b07aad5f0..4390e2e6983 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/RealtimeLogConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/RealtimeLogConfig.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,46 +55,46 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("cloudfront.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("cloudfront.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("cloudfront-realtime-log-config-example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("cloudfront-realtime-log-config-example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "kinesis:DescribeStreamSummary",
- *                     "kinesis:DescribeStream",
- *                     "kinesis:PutRecord",
- *                     "kinesis:PutRecords")
+ *                     "kinesis:DescribeStreamSummary",
+ *                     "kinesis:DescribeStream",
+ *                     "kinesis:PutRecord",
+ *                     "kinesis:PutRecords")
  *                 .resources(exampleAwsKinesisStream.arn())
  *                 .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .name("cloudfront-realtime-log-config-example")
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("cloudfront-realtime-log-config-example")
  *             .role(exampleRole.id())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleRealtimeLogConfig = new RealtimeLogConfig("exampleRealtimeLogConfig", RealtimeLogConfigArgs.builder()        
- *             .name("example")
+ *         var exampleRealtimeLogConfig = new RealtimeLogConfig("exampleRealtimeLogConfig", RealtimeLogConfigArgs.builder()        
+ *             .name("example")
  *             .samplingRate(75)
  *             .fields(            
- *                 "timestamp",
- *                 "c-ip")
+ *                 "timestamp",
+ *                 "c-ip")
  *             .endpoint(RealtimeLogConfigEndpointArgs.builder()
- *                 .streamType("Kinesis")
+ *                 .streamType("Kinesis")
  *                 .kinesisStreamConfig(RealtimeLogConfigEndpointKinesisStreamConfigArgs.builder()
  *                     .roleArn(exampleRole.arn())
  *                     .streamArn(exampleAwsKinesisStream.arn())
@@ -105,7 +106,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java index 23ababee757..4a849d8ebc9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java @@ -30,7 +30,8 @@ * The example below creates a CloudFront response headers policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,19 +56,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResponseHeadersPolicy("example", ResponseHeadersPolicyArgs.builder()        
- *             .name("example-policy")
- *             .comment("test comment")
+ *         var example = new ResponseHeadersPolicy("example", ResponseHeadersPolicyArgs.builder()        
+ *             .name("example-policy")
+ *             .comment("test comment")
  *             .corsConfig(ResponseHeadersPolicyCorsConfigArgs.builder()
  *                 .accessControlAllowCredentials(true)
  *                 .accessControlAllowHeaders(ResponseHeadersPolicyCorsConfigAccessControlAllowHeadersArgs.builder()
- *                     .items("test")
+ *                     .items("test")
  *                     .build())
  *                 .accessControlAllowMethods(ResponseHeadersPolicyCorsConfigAccessControlAllowMethodsArgs.builder()
- *                     .items("GET")
+ *                     .items("GET")
  *                     .build())
  *                 .accessControlAllowOrigins(ResponseHeadersPolicyCorsConfigAccessControlAllowOriginsArgs.builder()
- *                     .items("test.example.comtest")
+ *                     .items("test.example.comtest")
  *                     .build())
  *                 .originOverride(true)
  *                 .build())
@@ -75,13 +76,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * The example below creates a CloudFront response headers policy with a custom headers config. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -103,32 +106,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResponseHeadersPolicy("example", ResponseHeadersPolicyArgs.builder()        
- *             .name("example-headers-policy")
+ *         var example = new ResponseHeadersPolicy("example", ResponseHeadersPolicyArgs.builder()        
+ *             .name("example-headers-policy")
  *             .customHeadersConfig(ResponseHeadersPolicyCustomHeadersConfigArgs.builder()
  *                 .items(                
  *                     ResponseHeadersPolicyCustomHeadersConfigItemArgs.builder()
- *                         .header("X-Permitted-Cross-Domain-Policies")
+ *                         .header("X-Permitted-Cross-Domain-Policies")
  *                         .override(true)
- *                         .value("none")
+ *                         .value("none")
  *                         .build(),
  *                     ResponseHeadersPolicyCustomHeadersConfigItemArgs.builder()
- *                         .header("X-Test")
+ *                         .header("X-Test")
  *                         .override(true)
- *                         .value("none")
+ *                         .value("none")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * The example below creates a CloudFront response headers policy with a custom headers config and server timing headers config. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -151,13 +156,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResponseHeadersPolicy("example", ResponseHeadersPolicyArgs.builder()        
- *             .name("example-headers-policy")
+ *         var example = new ResponseHeadersPolicy("example", ResponseHeadersPolicyArgs.builder()        
+ *             .name("example-headers-policy")
  *             .customHeadersConfig(ResponseHeadersPolicyCustomHeadersConfigArgs.builder()
  *                 .items(ResponseHeadersPolicyCustomHeadersConfigItemArgs.builder()
- *                     .header("X-Permitted-Cross-Domain-Policies")
+ *                     .header("X-Permitted-Cross-Domain-Policies")
  *                     .override(true)
- *                     .value("none")
+ *                     .value("none")
  *                     .build())
  *                 .build())
  *             .serverTimingHeadersConfig(ResponseHeadersPolicyServerTimingHeadersConfigArgs.builder()
@@ -168,7 +173,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Cloudhsmv2Functions.java b/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Cloudhsmv2Functions.java index 01f83ebfb3d..6c09b00ee10 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Cloudhsmv2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Cloudhsmv2Functions.java @@ -20,7 +20,8 @@ public final class Cloudhsmv2Functions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class Cloudhsmv2Functions {
      * 
      *     public static void stack(Context ctx) {
      *         final var cluster = Cloudhsmv2Functions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("cluster-testclusterid")
+     *             .clusterId("cluster-testclusterid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var cluster = Cloudhsmv2Functions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("cluster-testclusterid")
+     *             .clusterId("cluster-testclusterid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var cluster = Cloudhsmv2Functions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("cluster-testclusterid")
+     *             .clusterId("cluster-testclusterid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var cluster = Cloudhsmv2Functions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("cluster-testclusterid")
+     *             .clusterId("cluster-testclusterid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Hsm.java b/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Hsm.java index d3b24cecb84..f10adaf3a78 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Hsm.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudhsmv2/Hsm.java @@ -21,7 +21,8 @@ * The following example below creates an HSM module in CloudHSM cluster. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *             .clusterId(cloudhsmClusterId)
  *             .build());
  * 
- *         var cloudhsmV2Hsm = new Hsm("cloudhsmV2Hsm", HsmArgs.builder()        
- *             .subnetId(cluster.applyValue(getClusterResult -> getClusterResult.subnetIds()[0]))
- *             .clusterId(cluster.applyValue(getClusterResult -> getClusterResult.clusterId()))
+ *         var cloudhsmV2Hsm = new Hsm("cloudhsmV2Hsm", HsmArgs.builder()        
+ *             .subnetId(cluster.applyValue(getClusterResult -> getClusterResult.subnetIds()[0]))
+ *             .clusterId(cluster.applyValue(getClusterResult -> getClusterResult.clusterId()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/Domain.java index f8deafb946a..360c766217b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/Domain.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,35 +51,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .name("example-domain")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .name("example-domain")
  *             .scalingParameters(DomainScalingParametersArgs.builder()
- *                 .desiredInstanceType("search.medium")
+ *                 .desiredInstanceType("search.medium")
  *                 .build())
  *             .indexFields(            
  *                 DomainIndexFieldArgs.builder()
- *                     .name("headline")
- *                     .type("text")
+ *                     .name("headline")
+ *                     .type("text")
  *                     .search(true)
  *                     .return_(true)
  *                     .sort(true)
  *                     .highlight(false)
- *                     .analysisScheme("_en_default_")
+ *                     .analysisScheme("_en_default_")
  *                     .build(),
  *                 DomainIndexFieldArgs.builder()
- *                     .name("price")
- *                     .type("double")
+ *                     .name("price")
+ *                     .type("double")
  *                     .search(true)
  *                     .facet(true)
  *                     .return_(true)
  *                     .sort(true)
- *                     .sourceFields("headline")
+ *                     .sourceFields("headline")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/DomainServiceAccessPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/DomainServiceAccessPolicy.java index 7ab70771add..8993d9aa00d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/DomainServiceAccessPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudsearch/DomainServiceAccessPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,37 +47,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .name("example-domain")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .name("example-domain")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("search_only")
- *                 .effect("Allow")
+ *                 .sid("search_only")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
  *                 .actions(                
- *                     "cloudsearch:search",
- *                     "cloudsearch:document")
+ *                     "cloudsearch:search",
+ *                     "cloudsearch:document")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("IpAddress")
- *                     .variable("aws:SourceIp")
- *                     .values("192.0.2.0/32")
+ *                     .test("IpAddress")
+ *                     .variable("aws:SourceIp")
+ *                     .values("192.0.2.0/32")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleDomainServiceAccessPolicy = new DomainServiceAccessPolicy("exampleDomainServiceAccessPolicy", DomainServiceAccessPolicyArgs.builder()        
+ *         var exampleDomainServiceAccessPolicy = new DomainServiceAccessPolicy("exampleDomainServiceAccessPolicy", DomainServiceAccessPolicyArgs.builder()        
  *             .domainName(exampleDomain.id())
- *             .accessPolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .accessPolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/CloudtrailFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/CloudtrailFunctions.java index 4f7d04f0a9b..e20c4373a58 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/CloudtrailFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/CloudtrailFunctions.java @@ -23,7 +23,8 @@ public final class CloudtrailFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -52,43 +53,44 @@ public final class CloudtrailFunctions {
      *     public static void stack(Context ctx) {
      *         final var main = CloudtrailFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-cloudtrail-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-cloudtrail-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowCloudtrailLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -104,7 +106,8 @@ public static Output getServiceAccount() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,43 +136,44 @@ public static Output getServiceAccount() {
      *     public static void stack(Context ctx) {
      *         final var main = CloudtrailFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-cloudtrail-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-cloudtrail-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowCloudtrailLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -185,7 +189,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -214,43 +219,44 @@ public static CompletableFuture getServiceAccountPlain(
      *     public static void stack(Context ctx) {
      *         final var main = CloudtrailFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-cloudtrail-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-cloudtrail-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowCloudtrailLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -266,7 +272,8 @@ public static Output getServiceAccount(GetServiceAccoun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -295,43 +302,44 @@ public static Output getServiceAccount(GetServiceAccoun
      *     public static void stack(Context ctx) {
      *         final var main = CloudtrailFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-cloudtrail-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-cloudtrail-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowCloudtrailLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -347,7 +355,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -376,43 +385,44 @@ public static CompletableFuture getServiceAccountPlain(
      *     public static void stack(Context ctx) {
      *         final var main = CloudtrailFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-cloudtrail-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-cloudtrail-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowCloudtrailLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -428,7 +438,8 @@ public static Output getServiceAccount(GetServiceAccoun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -457,43 +468,44 @@ public static Output getServiceAccount(GetServiceAccoun
      *     public static void stack(Context ctx) {
      *         final var main = CloudtrailFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-cloudtrail-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-cloudtrail-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowCloudtrailLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for trails")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for trails")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowCloudtrailLoggingBucketPolicy = new BucketPolicy("allowCloudtrailLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowCloudtrailLogging -> allowCloudtrailLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/EventDataStore.java b/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/EventDataStore.java index 17b64e3e632..d013f74f309 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/EventDataStore.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/EventDataStore.java @@ -33,7 +33,8 @@ * The most simple event data store configuration requires us to only set the `name` attribute. The event data store will automatically capture all management events. To capture management events from all the regions, `multi_region_enabled` must be `true`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,13 +55,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventDataStore("example", EventDataStoreArgs.builder()        
- *             .name("example-event-data-store")
+ *         var example = new EventDataStore("example", EventDataStoreArgs.builder()        
+ *             .name("example-event-data-store")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Data Event Logging @@ -72,7 +74,8 @@ * ### Log all DynamoDB PutEvent actions for a specific DynamoDB table * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,35 +100,36 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var table = DynamodbFunctions.getTable(GetTableArgs.builder()
- *             .name("not-important-dynamodb-table")
+ *             .name("not-important-dynamodb-table")
  *             .build());
  * 
- *         var example = new EventDataStore("example", EventDataStoreArgs.builder()        
+ *         var example = new EventDataStore("example", EventDataStoreArgs.builder()        
  *             .advancedEventSelectors(EventDataStoreAdvancedEventSelectorArgs.builder()
- *                 .name("Log all DynamoDB PutEvent actions for a specific DynamoDB table")
+ *                 .name("Log all DynamoDB PutEvent actions for a specific DynamoDB table")
  *                 .fieldSelectors(                
  *                     EventDataStoreAdvancedEventSelectorFieldSelectorArgs.builder()
- *                         .field("eventCategory")
- *                         .equals("Data")
+ *                         .field("eventCategory")
+ *                         .equals("Data")
  *                         .build(),
  *                     EventDataStoreAdvancedEventSelectorFieldSelectorArgs.builder()
- *                         .field("resources.type")
- *                         .equals("AWS::DynamoDB::Table")
+ *                         .field("resources.type")
+ *                         .equals("AWS::DynamoDB::Table")
  *                         .build(),
  *                     EventDataStoreAdvancedEventSelectorFieldSelectorArgs.builder()
- *                         .field("eventName")
- *                         .equals("PutItem")
+ *                         .field("eventName")
+ *                         .equals("PutItem")
  *                         .build(),
  *                     EventDataStoreAdvancedEventSelectorFieldSelectorArgs.builder()
- *                         .field("resources.ARN")
- *                         .equals(table.applyValue(getTableResult -> getTableResult.arn()))
+ *                         .field("resources.ARN")
+ *                         .equals(table.applyValue(getTableResult -> getTableResult.arn()))
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/Trail.java b/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/Trail.java index 7a8f2b9326c..9551f01cc96 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/Trail.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudtrail/Trail.java @@ -35,7 +35,8 @@ * For capturing events from services like IAM, `include_global_service_events` must be enabled. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -67,8 +68,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("my-test-trail")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("my-test-trail")
  *             .forceDestroy(true)
  *             .build());
  * 
@@ -81,52 +82,52 @@
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("AWSCloudTrailAclCheck")
- *                     .effect("Allow")
+ *                     .sid("AWSCloudTrailAclCheck")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("cloudtrail.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("cloudtrail.amazonaws.com")
  *                         .build())
- *                     .actions("s3:GetBucketAcl")
+ *                     .actions("s3:GetBucketAcl")
  *                     .resources(exampleBucketV2.arn())
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("aws:SourceArn")
- *                         .values(String.format("arn:%s:cloudtrail:%s:%s:trail/example", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                         .test("StringEquals")
+ *                         .variable("aws:SourceArn")
+ *                         .values(String.format("arn:%s:cloudtrail:%s:%s:trail/example", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                         .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("AWSCloudTrailWrite")
- *                     .effect("Allow")
+ *                     .sid("AWSCloudTrailWrite")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("cloudtrail.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("cloudtrail.amazonaws.com")
  *                         .build())
- *                     .actions("s3:PutObject")
- *                     .resources(exampleBucketV2.arn().applyValue(arn -> String.format("%s/prefix/AWSLogs/%s/*", arn,current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))))
+ *                     .actions("s3:PutObject")
+ *                     .resources(exampleBucketV2.arn().applyValue(arn -> String.format("%s/prefix/AWSLogs/%s/*", arn,current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))))
  *                     .conditions(                    
  *                         GetPolicyDocumentStatementConditionArgs.builder()
- *                             .test("StringEquals")
- *                             .variable("s3:x-amz-acl")
- *                             .values("bucket-owner-full-control")
+ *                             .test("StringEquals")
+ *                             .variable("s3:x-amz-acl")
+ *                             .values("bucket-owner-full-control")
  *                             .build(),
  *                         GetPolicyDocumentStatementConditionArgs.builder()
- *                             .test("StringEquals")
- *                             .variable("aws:SourceArn")
- *                             .values(String.format("arn:%s:cloudtrail:%s:%s:trail/example", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                             .test("StringEquals")
+ *                             .variable("aws:SourceArn")
+ *                             .values(String.format("arn:%s:cloudtrail:%s:%s:trail/example", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                             .build())
  *                     .build())
  *             .build());
  * 
- *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
+ *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var exampleTrail = new Trail("exampleTrail", TrailArgs.builder()        
- *             .name("example")
+ *         var exampleTrail = new Trail("exampleTrail", TrailArgs.builder()        
+ *             .name("example")
  *             .s3BucketName(exampleBucketV2.id())
- *             .s3KeyPrefix("prefix")
+ *             .s3KeyPrefix("prefix")
  *             .includeGlobalServiceEvents(false)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleBucketPolicy)
@@ -134,7 +135,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Data Event Logging @@ -147,7 +149,8 @@ * ### Logging All Lambda Function Invocations By Using Basic Event Selectors * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -169,26 +172,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trail("example", TrailArgs.builder()        
+ *         var example = new Trail("example", TrailArgs.builder()        
  *             .eventSelectors(TrailEventSelectorArgs.builder()
- *                 .readWriteType("All")
+ *                 .readWriteType("All")
  *                 .includeManagementEvents(true)
  *                 .dataResources(TrailEventSelectorDataResourceArgs.builder()
- *                     .type("AWS::Lambda::Function")
- *                     .values("arn:aws:lambda")
+ *                     .type("AWS::Lambda::Function")
+ *                     .values("arn:aws:lambda")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging All S3 Object Events By Using Basic Event Selectors * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -210,26 +215,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trail("example", TrailArgs.builder()        
+ *         var example = new Trail("example", TrailArgs.builder()        
  *             .eventSelectors(TrailEventSelectorArgs.builder()
- *                 .readWriteType("All")
+ *                 .readWriteType("All")
  *                 .includeManagementEvents(true)
  *                 .dataResources(TrailEventSelectorDataResourceArgs.builder()
- *                     .type("AWS::S3::Object")
- *                     .values("arn:aws:s3")
+ *                     .type("AWS::S3::Object")
+ *                     .values("arn:aws:s3")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging Individual S3 Bucket Events By Using Basic Event Selectors * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -254,29 +261,31 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var important-bucket = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("important-bucket")
+ *             .bucket("important-bucket")
  *             .build());
  * 
- *         var example = new Trail("example", TrailArgs.builder()        
+ *         var example = new Trail("example", TrailArgs.builder()        
  *             .eventSelectors(TrailEventSelectorArgs.builder()
- *                 .readWriteType("All")
+ *                 .readWriteType("All")
  *                 .includeManagementEvents(true)
  *                 .dataResources(TrailEventSelectorDataResourceArgs.builder()
- *                     .type("AWS::S3::Object")
- *                     .values(String.format("%s/", important_bucket.arn()))
+ *                     .type("AWS::S3::Object")
+ *                     .values(String.format("%s/", important_bucket.arn()))
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging All S3 Object Events Except For Two S3 Buckets By Using Advanced Event Selectors * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -301,51 +310,53 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var not-important-bucket-1 = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("not-important-bucket-1")
+ *             .bucket("not-important-bucket-1")
  *             .build());
  * 
  *         final var not-important-bucket-2 = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("not-important-bucket-2")
+ *             .bucket("not-important-bucket-2")
  *             .build());
  * 
- *         var example = new Trail("example", TrailArgs.builder()        
+ *         var example = new Trail("example", TrailArgs.builder()        
  *             .advancedEventSelectors(            
  *                 TrailAdvancedEventSelectorArgs.builder()
- *                     .name("Log all S3 objects events except for two S3 buckets")
+ *                     .name("Log all S3 objects events except for two S3 buckets")
  *                     .fieldSelectors(                    
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("eventCategory")
- *                             .equals("Data")
+ *                             .field("eventCategory")
+ *                             .equals("Data")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("resources.ARN")
+ *                             .field("resources.ARN")
  *                             .notStartsWiths(                            
- *                                 String.format("%s/", not_important_bucket_1.arn()),
- *                                 String.format("%s/", not_important_bucket_2.arn()))
+ *                                 String.format("%s/", not_important_bucket_1.arn()),
+ *                                 String.format("%s/", not_important_bucket_2.arn()))
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("resources.type")
- *                             .equals("AWS::S3::Object")
+ *                             .field("resources.type")
+ *                             .equals("AWS::S3::Object")
  *                             .build())
  *                     .build(),
  *                 TrailAdvancedEventSelectorArgs.builder()
- *                     .name("Log readOnly and writeOnly management events")
+ *                     .name("Log readOnly and writeOnly management events")
  *                     .fieldSelectors(TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                         .field("eventCategory")
- *                         .equals("Management")
+ *                         .field("eventCategory")
+ *                         .equals("Management")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging Individual S3 Buckets And Specific Event Names By Using Advanced Event Selectors * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -370,82 +381,84 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var important-bucket-1 = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("important-bucket-1")
+ *             .bucket("important-bucket-1")
  *             .build());
  * 
  *         final var important-bucket-2 = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("important-bucket-2")
+ *             .bucket("important-bucket-2")
  *             .build());
  * 
  *         final var important-bucket-3 = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("important-bucket-3")
+ *             .bucket("important-bucket-3")
  *             .build());
  * 
- *         var example = new Trail("example", TrailArgs.builder()        
+ *         var example = new Trail("example", TrailArgs.builder()        
  *             .advancedEventSelectors(            
  *                 TrailAdvancedEventSelectorArgs.builder()
- *                     .name("Log PutObject and DeleteObject events for two S3 buckets")
+ *                     .name("Log PutObject and DeleteObject events for two S3 buckets")
  *                     .fieldSelectors(                    
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("eventCategory")
- *                             .equals("Data")
+ *                             .field("eventCategory")
+ *                             .equals("Data")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("eventName")
+ *                             .field("eventName")
  *                             .equals(                            
- *                                 "PutObject",
- *                                 "DeleteObject")
+ *                                 "PutObject",
+ *                                 "DeleteObject")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("resources.ARN")
+ *                             .field("resources.ARN")
  *                             .startsWiths(                            
- *                                 String.format("%s/", important_bucket_1.arn()),
- *                                 String.format("%s/", important_bucket_2.arn()))
+ *                                 String.format("%s/", important_bucket_1.arn()),
+ *                                 String.format("%s/", important_bucket_2.arn()))
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("readOnly")
- *                             .equals("false")
+ *                             .field("readOnly")
+ *                             .equals("false")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("resources.type")
- *                             .equals("AWS::S3::Object")
+ *                             .field("resources.type")
+ *                             .equals("AWS::S3::Object")
  *                             .build())
  *                     .build(),
  *                 TrailAdvancedEventSelectorArgs.builder()
- *                     .name("Log Delete* events for one S3 bucket")
+ *                     .name("Log Delete* events for one S3 bucket")
  *                     .fieldSelectors(                    
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("eventCategory")
- *                             .equals("Data")
+ *                             .field("eventCategory")
+ *                             .equals("Data")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("eventName")
- *                             .startsWiths("Delete")
+ *                             .field("eventName")
+ *                             .startsWiths("Delete")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("resources.ARN")
- *                             .equals(String.format("%s/important-prefix", important_bucket_3.arn()))
+ *                             .field("resources.ARN")
+ *                             .equals(String.format("%s/important-prefix", important_bucket_3.arn()))
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("readOnly")
- *                             .equals("false")
+ *                             .field("readOnly")
+ *                             .equals("false")
  *                             .build(),
  *                         TrailAdvancedEventSelectorFieldSelectorArgs.builder()
- *                             .field("resources.type")
- *                             .equals("AWS::S3::Object")
+ *                             .field("resources.type")
+ *                             .equals("AWS::S3::Object")
  *                             .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Sending Events to CloudWatch Logs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -468,17 +481,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("Example")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("Example")
  *             .build());
  * 
- *         var exampleTrail = new Trail("exampleTrail", TrailArgs.builder()        
- *             .cloudWatchLogsGroupArn(example.arn().applyValue(arn -> String.format("%s:*", arn)))
+ *         var exampleTrail = new Trail("exampleTrail", TrailArgs.builder()        
+ *             .cloudWatchLogsGroupArn(example.arn().applyValue(arn -> String.format("%s:*", arn)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CloudwatchFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CloudwatchFunctions.java index 1c06dfbee55..28fc1596afb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CloudwatchFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CloudwatchFunctions.java @@ -37,7 +37,8 @@ public final class CloudwatchFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -59,12 +60,13 @@ public final class CloudwatchFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getEventBus(GetEventBusArgs.builder()
-     *             .name("example-bus-name")
+     *             .name("example-bus-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -79,7 +81,8 @@ public static Output getEventBus(GetEventBusArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -101,12 +104,13 @@ public static Output getEventBus(GetEventBusArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getEventBus(GetEventBusArgs.builder()
-     *             .name("example-bus-name")
+     *             .name("example-bus-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -121,7 +125,8 @@ public static CompletableFuture getEventBusPlain(GetEventBusP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -143,12 +148,13 @@ public static CompletableFuture getEventBusPlain(GetEventBusP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getEventBus(GetEventBusArgs.builder()
-     *             .name("example-bus-name")
+     *             .name("example-bus-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -163,7 +169,8 @@ public static Output getEventBus(GetEventBusArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -185,12 +192,13 @@ public static Output getEventBus(GetEventBusArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getEventBus(GetEventBusArgs.builder()
-     *             .name("example-bus-name")
+     *             .name("example-bus-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -205,7 +213,8 @@ public static CompletableFuture getEventBusPlain(GetEventBusP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -227,12 +236,13 @@ public static CompletableFuture getEventBusPlain(GetEventBusP
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudwatchFunctions.getEventConnection(GetEventConnectionArgs.builder()
-     *             .name("test")
+     *             .name("test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -247,7 +257,8 @@ public static Output getEventConnection(GetEventConnec * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -269,12 +280,13 @@ public static Output getEventConnection(GetEventConnec
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudwatchFunctions.getEventConnection(GetEventConnectionArgs.builder()
-     *             .name("test")
+     *             .name("test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -289,7 +301,8 @@ public static CompletableFuture getEventConnectionPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -311,12 +324,13 @@ public static CompletableFuture getEventConnectionPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudwatchFunctions.getEventConnection(GetEventConnectionArgs.builder()
-     *             .name("test")
+     *             .name("test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -331,7 +345,8 @@ public static Output getEventConnection(GetEventConnec * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -353,12 +368,13 @@ public static Output getEventConnection(GetEventConnec
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CloudwatchFunctions.getEventConnection(GetEventConnectionArgs.builder()
-     *             .name("test")
+     *             .name("test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -373,7 +389,8 @@ public static CompletableFuture getEventConnectionPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -395,12 +412,13 @@ public static CompletableFuture getEventConnectionPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
-     *             .namePrefix("aws.partner/examplepartner.com")
+     *             .namePrefix("aws.partner/examplepartner.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -415,7 +433,8 @@ public static Output getEventSource() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -437,12 +456,13 @@ public static Output getEventSource() {
      * 
      *     public static void stack(Context ctx) {
      *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
-     *             .namePrefix("aws.partner/examplepartner.com")
+     *             .namePrefix("aws.partner/examplepartner.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -457,7 +477,8 @@ public static CompletableFuture getEventSourcePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -479,12 +500,13 @@ public static CompletableFuture getEventSourcePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
-     *             .namePrefix("aws.partner/examplepartner.com")
+     *             .namePrefix("aws.partner/examplepartner.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -499,7 +521,8 @@ public static Output getEventSource(GetEventSourceArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -521,12 +544,13 @@ public static Output getEventSource(GetEventSourceArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
-     *             .namePrefix("aws.partner/examplepartner.com")
+     *             .namePrefix("aws.partner/examplepartner.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -541,7 +565,8 @@ public static CompletableFuture getEventSourcePlain(GetEve * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -563,12 +588,13 @@ public static CompletableFuture getEventSourcePlain(GetEve
      * 
      *     public static void stack(Context ctx) {
      *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
-     *             .namePrefix("aws.partner/examplepartner.com")
+     *             .namePrefix("aws.partner/examplepartner.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -583,7 +609,8 @@ public static Output getEventSource(GetEventSourceArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -605,12 +632,13 @@ public static Output getEventSource(GetEventSourceArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
-     *             .namePrefix("aws.partner/examplepartner.com")
+     *             .namePrefix("aws.partner/examplepartner.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -625,7 +653,8 @@ public static CompletableFuture getEventSourcePlain(GetEve * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -649,13 +678,13 @@ public static CompletableFuture getEventSourcePlain(GetEve
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogDataProtectionPolicyDocument(GetLogDataProtectionPolicyDocumentArgs.builder()
-     *             .name("Example")
+     *             .name("Example")
      *             .statements(            
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Audit")
+     *                     .sid("Audit")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .audit(GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs.builder()
      *                             .findingsDestination(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs.builder()
@@ -673,10 +702,10 @@ public static CompletableFuture getEventSourcePlain(GetEve
      *                         .build())
      *                     .build(),
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Deidentify")
+     *                     .sid("Deidentify")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .deidentify(GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs.builder()
      *                             .maskConfig()
@@ -685,14 +714,15 @@ public static CompletableFuture getEventSourcePlain(GetEve
      *                     .build())
      *             .build());
      * 
-     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
+     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
      *             .logGroupName(exampleAwsCloudwatchLogGroup.name())
-     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
+     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -707,7 +737,8 @@ public static Output getLogDataProtect * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -731,13 +762,13 @@ public static Output getLogDataProtect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogDataProtectionPolicyDocument(GetLogDataProtectionPolicyDocumentArgs.builder()
-     *             .name("Example")
+     *             .name("Example")
      *             .statements(            
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Audit")
+     *                     .sid("Audit")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .audit(GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs.builder()
      *                             .findingsDestination(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs.builder()
@@ -755,10 +786,10 @@ public static Output getLogDataProtect
      *                         .build())
      *                     .build(),
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Deidentify")
+     *                     .sid("Deidentify")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .deidentify(GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs.builder()
      *                             .maskConfig()
@@ -767,14 +798,15 @@ public static Output getLogDataProtect
      *                     .build())
      *             .build());
      * 
-     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
+     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
      *             .logGroupName(exampleAwsCloudwatchLogGroup.name())
-     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
+     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -789,7 +821,8 @@ public static CompletableFuture getLog * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -813,13 +846,13 @@ public static CompletableFuture getLog
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogDataProtectionPolicyDocument(GetLogDataProtectionPolicyDocumentArgs.builder()
-     *             .name("Example")
+     *             .name("Example")
      *             .statements(            
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Audit")
+     *                     .sid("Audit")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .audit(GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs.builder()
      *                             .findingsDestination(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs.builder()
@@ -837,10 +870,10 @@ public static CompletableFuture getLog
      *                         .build())
      *                     .build(),
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Deidentify")
+     *                     .sid("Deidentify")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .deidentify(GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs.builder()
      *                             .maskConfig()
@@ -849,14 +882,15 @@ public static CompletableFuture getLog
      *                     .build())
      *             .build());
      * 
-     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
+     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
      *             .logGroupName(exampleAwsCloudwatchLogGroup.name())
-     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
+     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -871,7 +905,8 @@ public static Output getLogDataProtect * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -895,13 +930,13 @@ public static Output getLogDataProtect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogDataProtectionPolicyDocument(GetLogDataProtectionPolicyDocumentArgs.builder()
-     *             .name("Example")
+     *             .name("Example")
      *             .statements(            
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Audit")
+     *                     .sid("Audit")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .audit(GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs.builder()
      *                             .findingsDestination(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs.builder()
@@ -919,10 +954,10 @@ public static Output getLogDataProtect
      *                         .build())
      *                     .build(),
      *                 GetLogDataProtectionPolicyDocumentStatementArgs.builder()
-     *                     .sid("Deidentify")
+     *                     .sid("Deidentify")
      *                     .dataIdentifiers(                    
-     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
-     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
+     *                         "arn:aws:dataprotection::aws:data-identifier/EmailAddress",
+     *                         "arn:aws:dataprotection::aws:data-identifier/DriversLicense-US")
      *                     .operation(GetLogDataProtectionPolicyDocumentStatementOperationArgs.builder()
      *                         .deidentify(GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs.builder()
      *                             .maskConfig()
@@ -931,14 +966,15 @@ public static Output getLogDataProtect
      *                     .build())
      *             .build());
      * 
-     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
+     *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
      *             .logGroupName(exampleAwsCloudwatchLogGroup.name())
-     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
+     *             .policyDocument(example.applyValue(getLogDataProtectionPolicyDocumentResult -> getLogDataProtectionPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -951,7 +987,8 @@ public static CompletableFuture getLog * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -973,12 +1010,13 @@ public static CompletableFuture getLog
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroup(GetLogGroupArgs.builder()
-     *             .name("MyImportantLogs")
+     *             .name("MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -991,7 +1029,8 @@ public static Output getLogGroup(GetLogGroupArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1013,12 +1052,13 @@ public static Output getLogGroup(GetLogGroupArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroup(GetLogGroupArgs.builder()
-     *             .name("MyImportantLogs")
+     *             .name("MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1031,7 +1071,8 @@ public static CompletableFuture getLogGroupPlain(GetLogGroupP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1053,12 +1094,13 @@ public static CompletableFuture getLogGroupPlain(GetLogGroupP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroup(GetLogGroupArgs.builder()
-     *             .name("MyImportantLogs")
+     *             .name("MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1071,7 +1113,8 @@ public static Output getLogGroup(GetLogGroupArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1093,12 +1136,13 @@ public static Output getLogGroup(GetLogGroupArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroup(GetLogGroupArgs.builder()
-     *             .name("MyImportantLogs")
+     *             .name("MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1111,7 +1155,8 @@ public static CompletableFuture getLogGroupPlain(GetLogGroupP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1133,12 +1178,13 @@ public static CompletableFuture getLogGroupPlain(GetLogGroupP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroups(GetLogGroupsArgs.builder()
-     *             .logGroupNamePrefix("/MyImportantLogs")
+     *             .logGroupNamePrefix("/MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1151,7 +1197,8 @@ public static Output getLogGroups() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1173,12 +1220,13 @@ public static Output getLogGroups() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroups(GetLogGroupsArgs.builder()
-     *             .logGroupNamePrefix("/MyImportantLogs")
+     *             .logGroupNamePrefix("/MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1191,7 +1239,8 @@ public static CompletableFuture getLogGroupsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1213,12 +1262,13 @@ public static CompletableFuture getLogGroupsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroups(GetLogGroupsArgs.builder()
-     *             .logGroupNamePrefix("/MyImportantLogs")
+     *             .logGroupNamePrefix("/MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1231,7 +1281,8 @@ public static Output getLogGroups(GetLogGroupsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1253,12 +1304,13 @@ public static Output getLogGroups(GetLogGroupsArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroups(GetLogGroupsArgs.builder()
-     *             .logGroupNamePrefix("/MyImportantLogs")
+     *             .logGroupNamePrefix("/MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1271,7 +1323,8 @@ public static CompletableFuture getLogGroupsPlain(GetLogGrou * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1293,12 +1346,13 @@ public static CompletableFuture getLogGroupsPlain(GetLogGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroups(GetLogGroupsArgs.builder()
-     *             .logGroupNamePrefix("/MyImportantLogs")
+     *             .logGroupNamePrefix("/MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1311,7 +1365,8 @@ public static Output getLogGroups(GetLogGroupsArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1333,12 +1388,13 @@ public static Output getLogGroups(GetLogGroupsArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CloudwatchFunctions.getLogGroups(GetLogGroupsArgs.builder()
-     *             .logGroupNamePrefix("/MyImportantLogs")
+     *             .logGroupNamePrefix("/MyImportantLogs")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CompositeAlarm.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CompositeAlarm.java index 88f12ca1f2b..16a1cec5f1a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CompositeAlarm.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/CompositeAlarm.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,17 +49,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CompositeAlarm("example", CompositeAlarmArgs.builder()        
- *             .alarmDescription("This is a composite alarm!")
- *             .alarmName("example-composite-alarm")
+ *         var example = new CompositeAlarm("example", CompositeAlarmArgs.builder()        
+ *             .alarmDescription("This is a composite alarm!")
+ *             .alarmName("example-composite-alarm")
  *             .alarmActions(exampleAwsSnsTopic.arn())
  *             .okActions(exampleAwsSnsTopic.arn())
- *             .alarmRule("""
+ *             .alarmRule("""
  * ALARM(%s) OR
  * ALARM(%s)
- * ", alpha.alarmName(),bravo.alarmName()))
+ * ", alpha.alarmName(),bravo.alarmName()))
  *             .actionsSuppressor(CompositeAlarmActionsSuppressorArgs.builder()
- *                 .alarm("suppressor-alarm")
+ *                 .alarm("suppressor-alarm")
  *                 .extensionPeriod(10)
  *                 .waitPeriod(20)
  *                 .build())
@@ -66,7 +67,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/Dashboard.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/Dashboard.java index 05f0887b81e..b51142abc00 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/Dashboard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/Dashboard.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,38 +42,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Dashboard("main", DashboardArgs.builder()        
- *             .dashboardName("my-dashboard")
+ *         var main = new Dashboard("main", DashboardArgs.builder()        
+ *             .dashboardName("my-dashboard")
  *             .dashboardBody(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("widgets", jsonArray(
+ *                     jsonProperty("widgets", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("type", "metric"),
- *                             jsonProperty("x", 0),
- *                             jsonProperty("y", 0),
- *                             jsonProperty("width", 12),
- *                             jsonProperty("height", 6),
- *                             jsonProperty("properties", jsonObject(
- *                                 jsonProperty("metrics", jsonArray(jsonArray(
- *                                     "AWS/EC2", 
- *                                     "CPUUtilization", 
- *                                     "InstanceId", 
- *                                     "i-012345"
+ *                             jsonProperty("type", "metric"),
+ *                             jsonProperty("x", 0),
+ *                             jsonProperty("y", 0),
+ *                             jsonProperty("width", 12),
+ *                             jsonProperty("height", 6),
+ *                             jsonProperty("properties", jsonObject(
+ *                                 jsonProperty("metrics", jsonArray(jsonArray(
+ *                                     "AWS/EC2", 
+ *                                     "CPUUtilization", 
+ *                                     "InstanceId", 
+ *                                     "i-012345"
  *                                 ))),
- *                                 jsonProperty("period", 300),
- *                                 jsonProperty("stat", "Average"),
- *                                 jsonProperty("region", "us-east-1"),
- *                                 jsonProperty("title", "EC2 Instance CPU")
+ *                                 jsonProperty("period", 300),
+ *                                 jsonProperty("stat", "Average"),
+ *                                 jsonProperty("region", "us-east-1"),
+ *                                 jsonProperty("title", "EC2 Instance CPU")
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("type", "text"),
- *                             jsonProperty("x", 0),
- *                             jsonProperty("y", 7),
- *                             jsonProperty("width", 3),
- *                             jsonProperty("height", 3),
- *                             jsonProperty("properties", jsonObject(
- *                                 jsonProperty("markdown", "Hello world")
+ *                             jsonProperty("type", "text"),
+ *                             jsonProperty("x", 0),
+ *                             jsonProperty("y", 7),
+ *                             jsonProperty("width", 3),
+ *                             jsonProperty("height", 3),
+ *                             jsonProperty("properties", jsonObject(
+ *                                 jsonProperty("markdown", "Hello world")
  *                             ))
  *                         )
  *                     ))
@@ -81,7 +82,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventApiDestination.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventApiDestination.java index 5f4d308ec83..f34492543a3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventApiDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventApiDestination.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new EventApiDestination("test", EventApiDestinationArgs.builder()        
- *             .name("api-destination")
- *             .description("An API Destination")
- *             .invocationEndpoint("https://api.destination.com/endpoint")
- *             .httpMethod("POST")
+ *         var test = new EventApiDestination("test", EventApiDestinationArgs.builder()        
+ *             .name("api-destination")
+ *             .description("An API Destination")
+ *             .invocationEndpoint("https://api.destination.com/endpoint")
+ *             .httpMethod("POST")
  *             .invocationRateLimitPerSecond(20)
  *             .connectionArn(testAwsCloudwatchEventConnection.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventArchive.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventArchive.java index 90212dcd2ab..075972c449a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventArchive.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventArchive.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var order = new EventBus("order", EventBusArgs.builder()        
- *             .name("orders")
+ *         var order = new EventBus("order", EventBusArgs.builder()        
+ *             .name("orders")
  *             .build());
  * 
- *         var orderEventArchive = new EventArchive("orderEventArchive", EventArchiveArgs.builder()        
- *             .name("order-archive")
+ *         var orderEventArchive = new EventArchive("orderEventArchive", EventArchiveArgs.builder()        
+ *             .name("order-archive")
  *             .eventSourceArn(order.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example all optional arguments * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,24 +90,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var order = new EventBus("order", EventBusArgs.builder()        
- *             .name("orders")
+ *         var order = new EventBus("order", EventBusArgs.builder()        
+ *             .name("orders")
  *             .build());
  * 
- *         var orderEventArchive = new EventArchive("orderEventArchive", EventArchiveArgs.builder()        
- *             .name("order-archive")
- *             .description("Archived events from order service")
+ *         var orderEventArchive = new EventArchive("orderEventArchive", EventArchiveArgs.builder()        
+ *             .name("order-archive")
+ *             .description("Archived events from order service")
  *             .eventSourceArn(order.arn())
  *             .retentionDays(7)
  *             .eventPattern(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("source", jsonArray("company.team.order"))
+ *                     jsonProperty("source", jsonArray("company.team.order"))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBus.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBus.java index 217a6429917..ffdf07dea80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBus.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBus.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var messenger = new EventBus("messenger", EventBusArgs.builder()        
- *             .name("chat-messages")
+ *         var messenger = new EventBus("messenger", EventBusArgs.builder()        
+ *             .name("chat-messages")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,17 +81,18 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var examplepartner = CloudwatchFunctions.getEventSource(GetEventSourceArgs.builder()
- *             .namePrefix("aws.partner/examplepartner.com")
+ *             .namePrefix("aws.partner/examplepartner.com")
  *             .build());
  * 
- *         var examplepartnerEventBus = new EventBus("examplepartnerEventBus", EventBusArgs.builder()        
- *             .name(examplepartner.applyValue(getEventSourceResult -> getEventSourceResult.name()))
- *             .eventSourceName(examplepartner.applyValue(getEventSourceResult -> getEventSourceResult.name()))
+ *         var examplepartnerEventBus = new EventBus("examplepartnerEventBus", EventBusArgs.builder()        
+ *             .name(examplepartner.applyValue(getEventSourceResult -> getEventSourceResult.name()))
+ *             .eventSourceName(examplepartner.applyValue(getEventSourceResult -> getEventSourceResult.name()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBusPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBusPolicy.java index 2fefcf9100f..30eec730d9e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBusPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventBusPolicy.java @@ -26,7 +26,8 @@ * ### Account Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,31 +52,33 @@
  *     public static void stack(Context ctx) {
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("DevAccountAccess")
- *                 .effect("Allow")
- *                 .actions("events:PutEvents")
- *                 .resources("arn:aws:events:eu-west-1:123456789012:event-bus/default")
+ *                 .sid("DevAccountAccess")
+ *                 .effect("Allow")
+ *                 .actions("events:PutEvents")
+ *                 .resources("arn:aws:events:eu-west-1:123456789012:event-bus/default")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("123456789012")
+ *                     .type("AWS")
+ *                     .identifiers("123456789012")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var testEventBusPolicy = new EventBusPolicy("testEventBusPolicy", EventBusPolicyArgs.builder()        
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testEventBusPolicy = new EventBusPolicy("testEventBusPolicy", EventBusPolicyArgs.builder()        
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .eventBusName(testAwsCloudwatchEventBus.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,42 +103,44 @@
  *     public static void stack(Context ctx) {
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("OrganizationAccess")
- *                 .effect("Allow")
+ *                 .sid("OrganizationAccess")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "events:DescribeRule",
- *                     "events:ListRules",
- *                     "events:ListTargetsByRule",
- *                     "events:ListTagsForResource")
+ *                     "events:DescribeRule",
+ *                     "events:ListRules",
+ *                     "events:ListTargetsByRule",
+ *                     "events:ListTagsForResource")
  *                 .resources(                
- *                     "arn:aws:events:eu-west-1:123456789012:rule/*",
- *                     "arn:aws:events:eu-west-1:123456789012:event-bus/default")
+ *                     "arn:aws:events:eu-west-1:123456789012:rule/*",
+ *                     "arn:aws:events:eu-west-1:123456789012:event-bus/default")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("*")
+ *                     .type("AWS")
+ *                     .identifiers("*")
  *                     .build())
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("StringEquals")
- *                     .variable("aws:PrincipalOrgID")
+ *                     .test("StringEquals")
+ *                     .variable("aws:PrincipalOrgID")
  *                     .values(example.id())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var testEventBusPolicy = new EventBusPolicy("testEventBusPolicy", EventBusPolicyArgs.builder()        
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testEventBusPolicy = new EventBusPolicy("testEventBusPolicy", EventBusPolicyArgs.builder()        
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .eventBusName(testAwsCloudwatchEventBus.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Multiple Statements * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -161,46 +166,47 @@
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("DevAccountAccess")
- *                     .effect("Allow")
- *                     .actions("events:PutEvents")
- *                     .resources("arn:aws:events:eu-west-1:123456789012:event-bus/default")
+ *                     .sid("DevAccountAccess")
+ *                     .effect("Allow")
+ *                     .actions("events:PutEvents")
+ *                     .resources("arn:aws:events:eu-west-1:123456789012:event-bus/default")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
- *                         .identifiers("123456789012")
+ *                         .type("AWS")
+ *                         .identifiers("123456789012")
  *                         .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("OrganizationAccess")
- *                     .effect("Allow")
+ *                     .sid("OrganizationAccess")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "events:DescribeRule",
- *                         "events:ListRules",
- *                         "events:ListTargetsByRule",
- *                         "events:ListTagsForResource")
+ *                         "events:DescribeRule",
+ *                         "events:ListRules",
+ *                         "events:ListTargetsByRule",
+ *                         "events:ListTagsForResource")
  *                     .resources(                    
- *                         "arn:aws:events:eu-west-1:123456789012:rule/*",
- *                         "arn:aws:events:eu-west-1:123456789012:event-bus/default")
+ *                         "arn:aws:events:eu-west-1:123456789012:rule/*",
+ *                         "arn:aws:events:eu-west-1:123456789012:event-bus/default")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
- *                         .identifiers("*")
+ *                         .type("AWS")
+ *                         .identifiers("*")
  *                         .build())
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("aws:PrincipalOrgID")
+ *                         .test("StringEquals")
+ *                         .variable("aws:PrincipalOrgID")
  *                         .values(example.id())
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var testEventBusPolicy = new EventBusPolicy("testEventBusPolicy", EventBusPolicyArgs.builder()        
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testEventBusPolicy = new EventBusPolicy("testEventBusPolicy", EventBusPolicyArgs.builder()        
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .eventBusName(testAwsCloudwatchEventBus.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventConnection.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventConnection.java index 063c7be5475..30ab85c3e1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventConnection.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,27 +47,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new EventConnection("test", EventConnectionArgs.builder()        
- *             .name("ngrok-connection")
- *             .description("A connection description")
- *             .authorizationType("API_KEY")
+ *         var test = new EventConnection("test", EventConnectionArgs.builder()        
+ *             .name("ngrok-connection")
+ *             .description("A connection description")
+ *             .authorizationType("API_KEY")
  *             .authParameters(EventConnectionAuthParametersArgs.builder()
  *                 .apiKey(EventConnectionAuthParametersApiKeyArgs.builder()
- *                     .key("x-signature")
- *                     .value("1234")
+ *                     .key("x-signature")
+ *                     .value("1234")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Authorization * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,27 +92,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new EventConnection("test", EventConnectionArgs.builder()        
- *             .name("ngrok-connection")
- *             .description("A connection description")
- *             .authorizationType("BASIC")
+ *         var test = new EventConnection("test", EventConnectionArgs.builder()        
+ *             .name("ngrok-connection")
+ *             .description("A connection description")
+ *             .authorizationType("BASIC")
  *             .authParameters(EventConnectionAuthParametersArgs.builder()
  *                 .basic(EventConnectionAuthParametersBasicArgs.builder()
- *                     .username("user")
- *                     .password("Pass1234!")
+ *                     .username("user")
+ *                     .password("Pass1234!")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### OAuth Authorization * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -134,32 +139,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new EventConnection("test", EventConnectionArgs.builder()        
- *             .name("ngrok-connection")
- *             .description("A connection description")
- *             .authorizationType("OAUTH_CLIENT_CREDENTIALS")
+ *         var test = new EventConnection("test", EventConnectionArgs.builder()        
+ *             .name("ngrok-connection")
+ *             .description("A connection description")
+ *             .authorizationType("OAUTH_CLIENT_CREDENTIALS")
  *             .authParameters(EventConnectionAuthParametersArgs.builder()
  *                 .oauth(EventConnectionAuthParametersOauthArgs.builder()
- *                     .authorizationEndpoint("https://auth.url.com/endpoint")
- *                     .httpMethod("GET")
+ *                     .authorizationEndpoint("https://auth.url.com/endpoint")
+ *                     .httpMethod("GET")
  *                     .clientParameters(EventConnectionAuthParametersOauthClientParametersArgs.builder()
- *                         .clientId("1234567890")
- *                         .clientSecret("Pass1234!")
+ *                         .clientId("1234567890")
+ *                         .clientSecret("Pass1234!")
  *                         .build())
  *                     .oauthHttpParameters(EventConnectionAuthParametersOauthOauthHttpParametersArgs.builder()
  *                         .bodies(EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs.builder()
- *                             .key("body-parameter-key")
- *                             .value("body-parameter-value")
+ *                             .key("body-parameter-key")
+ *                             .value("body-parameter-value")
  *                             .isValueSecret(false)
  *                             .build())
  *                         .headers(EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs.builder()
- *                             .key("header-parameter-key")
- *                             .value("header-parameter-value")
+ *                             .key("header-parameter-key")
+ *                             .value("header-parameter-value")
  *                             .isValueSecret(false)
  *                             .build())
  *                         .queryStrings(EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs.builder()
- *                             .key("query-string-parameter-key")
- *                             .value("query-string-parameter-value")
+ *                             .key("query-string-parameter-key")
+ *                             .value("query-string-parameter-value")
  *                             .isValueSecret(false)
  *                             .build())
  *                         .build())
@@ -169,13 +174,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Invocation Http Parameters * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -199,35 +206,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new EventConnection("test", EventConnectionArgs.builder()        
- *             .name("ngrok-connection")
- *             .description("A connection description")
- *             .authorizationType("BASIC")
+ *         var test = new EventConnection("test", EventConnectionArgs.builder()        
+ *             .name("ngrok-connection")
+ *             .description("A connection description")
+ *             .authorizationType("BASIC")
  *             .authParameters(EventConnectionAuthParametersArgs.builder()
  *                 .basic(EventConnectionAuthParametersBasicArgs.builder()
- *                     .username("user")
- *                     .password("Pass1234!")
+ *                     .username("user")
+ *                     .password("Pass1234!")
  *                     .build())
  *                 .invocationHttpParameters(EventConnectionAuthParametersInvocationHttpParametersArgs.builder()
  *                     .bodies(                    
  *                         EventConnectionAuthParametersInvocationHttpParametersBodyArgs.builder()
- *                             .key("body-parameter-key")
- *                             .value("body-parameter-value")
+ *                             .key("body-parameter-key")
+ *                             .value("body-parameter-value")
  *                             .isValueSecret(false)
  *                             .build(),
  *                         EventConnectionAuthParametersInvocationHttpParametersBodyArgs.builder()
- *                             .key("body-parameter-key2")
- *                             .value("body-parameter-value2")
+ *                             .key("body-parameter-key2")
+ *                             .value("body-parameter-value2")
  *                             .isValueSecret(true)
  *                             .build())
  *                     .headers(EventConnectionAuthParametersInvocationHttpParametersHeaderArgs.builder()
- *                         .key("header-parameter-key")
- *                         .value("header-parameter-value")
+ *                         .key("header-parameter-key")
+ *                         .value("header-parameter-value")
  *                         .isValueSecret(false)
  *                         .build())
  *                     .queryStrings(EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs.builder()
- *                         .key("query-string-parameter-key")
- *                         .value("query-string-parameter-value")
+ *                         .key("query-string-parameter-key")
+ *                         .value("query-string-parameter-value")
  *                         .isValueSecret(false)
  *                         .build())
  *                     .build())
@@ -236,7 +243,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventEndpoint.java index 078d05885b9..0f192d84911 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventEndpoint.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,8 +54,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var this_ = new EventEndpoint("this", EventEndpointArgs.builder()        
- *             .name("global-endpoint")
+ *         var this_ = new EventEndpoint("this", EventEndpointArgs.builder()        
+ *             .name("global-endpoint")
  *             .roleArn(replication.arn())
  *             .eventBuses(            
  *                 EventEndpointEventBusArgs.builder()
@@ -64,7 +65,7 @@
  *                     .eventBusArn(secondary.arn())
  *                     .build())
  *             .replicationConfig(EventEndpointReplicationConfigArgs.builder()
- *                 .state("DISABLED")
+ *                 .state("DISABLED")
  *                 .build())
  *             .routingConfig(EventEndpointRoutingConfigArgs.builder()
  *                 .failoverConfig(EventEndpointRoutingConfigFailoverConfigArgs.builder()
@@ -72,7 +73,7 @@
  *                         .healthCheck(primaryAwsRoute53HealthCheck.arn())
  *                         .build())
  *                     .secondary(EventEndpointRoutingConfigFailoverConfigSecondaryArgs.builder()
- *                         .route("us-east-2")
+ *                         .route("us-east-2")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -80,7 +81,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventPermission.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventPermission.java index 3bce240c8f4..be29c51246c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventPermission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventPermission.java @@ -27,7 +27,8 @@ * ### Account Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,20 +49,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var devAccountAccess = new EventPermission("devAccountAccess", EventPermissionArgs.builder()        
- *             .principal("123456789012")
- *             .statementId("DevAccountAccess")
+ *         var devAccountAccess = new EventPermission("devAccountAccess", EventPermissionArgs.builder()        
+ *             .principal("123456789012")
+ *             .statementId("DevAccountAccess")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,19 +86,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var organizationAccess = new EventPermission("organizationAccess", EventPermissionArgs.builder()        
- *             .principal("*")
- *             .statementId("OrganizationAccess")
+ *         var organizationAccess = new EventPermission("organizationAccess", EventPermissionArgs.builder()        
+ *             .principal("*")
+ *             .statementId("OrganizationAccess")
  *             .condition(EventPermissionConditionArgs.builder()
- *                 .key("aws:PrincipalOrgID")
- *                 .type("StringEquals")
+ *                 .key("aws:PrincipalOrgID")
+ *                 .type("StringEquals")
  *                 .value(example.id())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventRule.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventRule.java index c67ffcbbbaf..05a9c160c50 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventRule.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,45 +55,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var console = new EventRule("console", EventRuleArgs.builder()        
- *             .name("capture-aws-sign-in")
- *             .description("Capture each AWS Console Sign In")
+ *         var console = new EventRule("console", EventRuleArgs.builder()        
+ *             .name("capture-aws-sign-in")
+ *             .description("Capture each AWS Console Sign In")
  *             .eventPattern(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("detail-type", jsonArray("AWS Console Sign In via CloudTrail"))
+ *                     jsonProperty("detail-type", jsonArray("AWS Console Sign In via CloudTrail"))
  *                 )))
  *             .build());
  * 
- *         var awsLogins = new Topic("awsLogins", TopicArgs.builder()        
- *             .name("aws-console-logins")
+ *         var awsLogins = new Topic("awsLogins", TopicArgs.builder()        
+ *             .name("aws-console-logins")
  *             .build());
  * 
- *         var sns = new EventTarget("sns", EventTargetArgs.builder()        
+ *         var sns = new EventTarget("sns", EventTargetArgs.builder()        
  *             .rule(console.name())
- *             .targetId("SendToSNS")
+ *             .targetId("SendToSNS")
  *             .arn(awsLogins.arn())
  *             .build());
  * 
  *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("SNS:Publish")
+ *                 .effect("Allow")
+ *                 .actions("SNS:Publish")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("events.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("events.amazonaws.com")
  *                     .build())
  *                 .resources(awsLogins.arn())
  *                 .build())
  *             .build());
  * 
- *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
+ *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
  *             .arn(awsLogins.arn())
- *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventTarget.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventTarget.java index 2695a42becd..8fd6393b8ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/EventTarget.java @@ -37,7 +37,8 @@ * ### Kinesis Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,50 +65,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var console = new EventRule("console", EventRuleArgs.builder()        
- *             .name("capture-ec2-scaling-events")
- *             .description("Capture all EC2 scaling events")
+ *         var console = new EventRule("console", EventRuleArgs.builder()        
+ *             .name("capture-ec2-scaling-events")
+ *             .description("Capture all EC2 scaling events")
  *             .eventPattern(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("source", jsonArray("aws.autoscaling")),
- *                     jsonProperty("detail-type", jsonArray(
- *                         "EC2 Instance Launch Successful", 
- *                         "EC2 Instance Terminate Successful", 
- *                         "EC2 Instance Launch Unsuccessful", 
- *                         "EC2 Instance Terminate Unsuccessful"
+ *                     jsonProperty("source", jsonArray("aws.autoscaling")),
+ *                     jsonProperty("detail-type", jsonArray(
+ *                         "EC2 Instance Launch Successful", 
+ *                         "EC2 Instance Terminate Successful", 
+ *                         "EC2 Instance Launch Unsuccessful", 
+ *                         "EC2 Instance Terminate Unsuccessful"
  *                     ))
  *                 )))
  *             .build());
  * 
- *         var testStream = new Stream("testStream", StreamArgs.builder()        
- *             .name("kinesis-test")
+ *         var testStream = new Stream("testStream", StreamArgs.builder()        
+ *             .name("kinesis-test")
  *             .shardCount(1)
  *             .build());
  * 
- *         var yada = new EventTarget("yada", EventTargetArgs.builder()        
- *             .targetId("Yada")
+ *         var yada = new EventTarget("yada", EventTargetArgs.builder()        
+ *             .targetId("Yada")
  *             .rule(console.name())
  *             .arn(testStream.arn())
  *             .runCommandTargets(            
  *                 EventTargetRunCommandTargetArgs.builder()
- *                     .key("tag:Name")
- *                     .values("FooBar")
+ *                     .key("tag:Name")
+ *                     .values("FooBar")
  *                     .build(),
  *                 EventTargetRunCommandTargetArgs.builder()
- *                     .key("InstanceIds")
- *                     .values("i-162058cd308bffec2")
+ *                     .key("InstanceIds")
+ *                     .values("i-162058cd308bffec2")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SSM Document Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,29 +147,29 @@
  *     public static void stack(Context ctx) {
  *         final var ssmLifecycleTrust = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("events.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("events.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var stopInstance = new Document("stopInstance", DocumentArgs.builder()        
- *             .name("stop_instance")
- *             .documentType("Command")
+ *         var stopInstance = new Document("stopInstance", DocumentArgs.builder()        
+ *             .name("stop_instance")
+ *             .documentType("Command")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("schemaVersion", "1.2"),
- *                     jsonProperty("description", "Stop an instance"),
- *                     jsonProperty("parameters", jsonObject(
+ *                     jsonProperty("schemaVersion", "1.2"),
+ *                     jsonProperty("description", "Stop an instance"),
+ *                     jsonProperty("parameters", jsonObject(
  * 
  *                     )),
- *                     jsonProperty("runtimeConfig", jsonObject(
- *                         jsonProperty("aws:runShellScript", jsonObject(
- *                             jsonProperty("properties", jsonArray(jsonObject(
- *                                 jsonProperty("id", "0.aws:runShellScript"),
- *                                 jsonProperty("runCommand", jsonArray("halt"))
+ *                     jsonProperty("runtimeConfig", jsonObject(
+ *                         jsonProperty("aws:runShellScript", jsonObject(
+ *                             jsonProperty("properties", jsonArray(jsonObject(
+ *                                 jsonProperty("id", "0.aws:runShellScript"),
+ *                                 jsonProperty("runCommand", jsonArray("halt"))
  *                             )))
  *                         ))
  *                     ))
@@ -176,63 +179,65 @@
  *         final var ssmLifecycle = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("ssm:SendCommand")
- *                     .resources("arn:aws:ec2:eu-west-1:1234567890:instance/*")
+ *                     .effect("Allow")
+ *                     .actions("ssm:SendCommand")
+ *                     .resources("arn:aws:ec2:eu-west-1:1234567890:instance/*")
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("ec2:ResourceTag/Terminate")
- *                         .values("*")
+ *                         .test("StringEquals")
+ *                         .variable("ec2:ResourceTag/Terminate")
+ *                         .values("*")
  *                         .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("ssm:SendCommand")
+ *                     .effect("Allow")
+ *                     .actions("ssm:SendCommand")
  *                     .resources(stopInstance.arn())
  *                     .build())
  *             .build());
  * 
- *         var ssmLifecycleRole = new Role("ssmLifecycleRole", RoleArgs.builder()        
- *             .name("SSMLifecycle")
- *             .assumeRolePolicy(ssmLifecycleTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var ssmLifecycleRole = new Role("ssmLifecycleRole", RoleArgs.builder()        
+ *             .name("SSMLifecycle")
+ *             .assumeRolePolicy(ssmLifecycleTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var ssmLifecyclePolicy = new Policy("ssmLifecyclePolicy", PolicyArgs.builder()        
- *             .name("SSMLifecycle")
- *             .policy(ssmLifecycle.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(ssmLifecycle -> ssmLifecycle.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var ssmLifecyclePolicy = new Policy("ssmLifecyclePolicy", PolicyArgs.builder()        
+ *             .name("SSMLifecycle")
+ *             .policy(ssmLifecycle.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(ssmLifecycle -> ssmLifecycle.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var ssmLifecycleRolePolicyAttachment = new RolePolicyAttachment("ssmLifecycleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var ssmLifecycleRolePolicyAttachment = new RolePolicyAttachment("ssmLifecycleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .policyArn(ssmLifecyclePolicy.arn())
  *             .role(ssmLifecycleRole.name())
  *             .build());
  * 
- *         var stopInstances = new EventRule("stopInstances", EventRuleArgs.builder()        
- *             .name("StopInstance")
- *             .description("Stop instances nightly")
- *             .scheduleExpression("cron(0 0 * * ? *)")
+ *         var stopInstances = new EventRule("stopInstances", EventRuleArgs.builder()        
+ *             .name("StopInstance")
+ *             .description("Stop instances nightly")
+ *             .scheduleExpression("cron(0 0 * * ? *)")
  *             .build());
  * 
- *         var stopInstancesEventTarget = new EventTarget("stopInstancesEventTarget", EventTargetArgs.builder()        
- *             .targetId("StopInstance")
+ *         var stopInstancesEventTarget = new EventTarget("stopInstancesEventTarget", EventTargetArgs.builder()        
+ *             .targetId("StopInstance")
  *             .arn(stopInstance.arn())
  *             .rule(stopInstances.name())
  *             .roleArn(ssmLifecycleRole.arn())
  *             .runCommandTargets(EventTargetRunCommandTargetArgs.builder()
- *                 .key("tag:Terminate")
- *                 .values("midnight")
+ *                 .key("tag:Terminate")
+ *                 .values("midnight")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RunCommand Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -256,33 +261,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var stopInstances = new EventRule("stopInstances", EventRuleArgs.builder()        
- *             .name("StopInstance")
- *             .description("Stop instances nightly")
- *             .scheduleExpression("cron(0 0 * * ? *)")
+ *         var stopInstances = new EventRule("stopInstances", EventRuleArgs.builder()        
+ *             .name("StopInstance")
+ *             .description("Stop instances nightly")
+ *             .scheduleExpression("cron(0 0 * * ? *)")
  *             .build());
  * 
- *         var stopInstancesEventTarget = new EventTarget("stopInstancesEventTarget", EventTargetArgs.builder()        
- *             .targetId("StopInstance")
- *             .arn(String.format("arn:aws:ssm:%s::document/AWS-RunShellScript", awsRegion))
- *             .input("{\"commands\":[\"halt\"]}")
+ *         var stopInstancesEventTarget = new EventTarget("stopInstancesEventTarget", EventTargetArgs.builder()        
+ *             .targetId("StopInstance")
+ *             .arn(String.format("arn:aws:ssm:%s::document/AWS-RunShellScript", awsRegion))
+ *             .input("{\"commands\":[\"halt\"]}")
  *             .rule(stopInstances.name())
  *             .roleArn(ssmLifecycle.arn())
  *             .runCommandTargets(EventTargetRunCommandTargetArgs.builder()
- *                 .key("tag:Terminate")
- *                 .values("midnight")
+ *                 .key("tag:Terminate")
+ *                 .values("midnight")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ECS Run Task with Role and Task Override Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -313,46 +320,46 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("events.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("events.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var ecsEvents = new Role("ecsEvents", RoleArgs.builder()        
- *             .name("ecs_events")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var ecsEvents = new Role("ecsEvents", RoleArgs.builder()        
+ *             .name("ecs_events")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var ecsEventsRunTaskWithAnyRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("iam:PassRole")
- *                     .resources("*")
+ *                     .effect("Allow")
+ *                     .actions("iam:PassRole")
+ *                     .resources("*")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("ecs:RunTask")
+ *                     .effect("Allow")
+ *                     .actions("ecs:RunTask")
  *                     .resources(StdFunctions.replace(ReplaceArgs.builder()
  *                         .text(taskName.arn())
- *                         .search("/:\\d+$/")
- *                         .replace(":*")
+ *                         .search("/:\\d+$/")
+ *                         .replace(":*")
  *                         .build()).result())
  *                     .build())
  *             .build());
  * 
- *         var ecsEventsRunTaskWithAnyRoleRolePolicy = new RolePolicy("ecsEventsRunTaskWithAnyRoleRolePolicy", RolePolicyArgs.builder()        
- *             .name("ecs_events_run_task_with_any_role")
+ *         var ecsEventsRunTaskWithAnyRoleRolePolicy = new RolePolicy("ecsEventsRunTaskWithAnyRoleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("ecs_events_run_task_with_any_role")
  *             .role(ecsEvents.id())
- *             .policy(ecsEventsRunTaskWithAnyRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(ecsEventsRunTaskWithAnyRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var ecsScheduledTask = new EventTarget("ecsScheduledTask", EventTargetArgs.builder()        
- *             .targetId("run-scheduled-task-every-hour")
+ *         var ecsScheduledTask = new EventTarget("ecsScheduledTask", EventTargetArgs.builder()        
+ *             .targetId("run-scheduled-task-every-hour")
  *             .arn(clusterName.arn())
  *             .rule(everyHour.name())
  *             .roleArn(ecsEvents.arn())
@@ -362,11 +369,11 @@
  *                 .build())
  *             .input(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("containerOverrides", jsonArray(jsonObject(
- *                         jsonProperty("name", "name-of-container-to-override"),
- *                         jsonProperty("command", jsonArray(
- *                             "bin/console", 
- *                             "scheduled-task"
+ *                     jsonProperty("containerOverrides", jsonArray(jsonObject(
+ *                         jsonProperty("name", "name-of-container-to-override"),
+ *                         jsonProperty("command", jsonArray(
+ *                             "bin/console", 
+ *                             "scheduled-task"
  *                         ))
  *                     )))
  *                 )))
@@ -374,13 +381,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### API Gateway target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -407,35 +416,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleEventRule = new EventRule("exampleEventRule");
+ *         var exampleEventRule = new EventRule("exampleEventRule");
  * 
- *         var exampleDeployment = new Deployment("exampleDeployment", DeploymentArgs.builder()        
+ *         var exampleDeployment = new Deployment("exampleDeployment", DeploymentArgs.builder()        
  *             .restApi(exampleAwsApiGatewayRestApi.id())
  *             .build());
  * 
- *         var exampleStage = new Stage("exampleStage", StageArgs.builder()        
+ *         var exampleStage = new Stage("exampleStage", StageArgs.builder()        
  *             .restApi(exampleAwsApiGatewayRestApi.id())
  *             .deployment(exampleDeployment.id())
  *             .build());
  * 
- *         var example = new EventTarget("example", EventTargetArgs.builder()        
- *             .arn(exampleStage.executionArn().applyValue(executionArn -> String.format("%s/GET", executionArn)))
+ *         var example = new EventTarget("example", EventTargetArgs.builder()        
+ *             .arn(exampleStage.executionArn().applyValue(executionArn -> String.format("%s/GET", executionArn)))
  *             .rule(exampleEventRule.id())
  *             .httpTarget(EventTargetHttpTargetArgs.builder()
- *                 .queryStringParameters(Map.of("Body", "$.detail.body"))
- *                 .headerParameters(Map.of("Env", "Test"))
+ *                 .queryStringParameters(Map.of("Body", "$.detail.body"))
+ *                 .headerParameters(Map.of("Env", "Test"))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Cross-Account Event Bus target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -468,60 +479,62 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("events.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("events.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var eventBusInvokeRemoteEventBusRole = new Role("eventBusInvokeRemoteEventBusRole", RoleArgs.builder()        
- *             .name("event-bus-invoke-remote-event-bus")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var eventBusInvokeRemoteEventBusRole = new Role("eventBusInvokeRemoteEventBusRole", RoleArgs.builder()        
+ *             .name("event-bus-invoke-remote-event-bus")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var eventBusInvokeRemoteEventBus = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("events:PutEvents")
- *                 .resources("arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus")
+ *                 .effect("Allow")
+ *                 .actions("events:PutEvents")
+ *                 .resources("arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus")
  *                 .build())
  *             .build());
  * 
- *         var eventBusInvokeRemoteEventBusPolicy = new Policy("eventBusInvokeRemoteEventBusPolicy", PolicyArgs.builder()        
- *             .name("event_bus_invoke_remote_event_bus")
- *             .policy(eventBusInvokeRemoteEventBus.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var eventBusInvokeRemoteEventBusPolicy = new Policy("eventBusInvokeRemoteEventBusPolicy", PolicyArgs.builder()        
+ *             .name("event_bus_invoke_remote_event_bus")
+ *             .policy(eventBusInvokeRemoteEventBus.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var eventBusInvokeRemoteEventBusRolePolicyAttachment = new RolePolicyAttachment("eventBusInvokeRemoteEventBusRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var eventBusInvokeRemoteEventBusRolePolicyAttachment = new RolePolicyAttachment("eventBusInvokeRemoteEventBusRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(eventBusInvokeRemoteEventBusRole.name())
  *             .policyArn(eventBusInvokeRemoteEventBusPolicy.arn())
  *             .build());
  * 
- *         var stopInstances = new EventRule("stopInstances", EventRuleArgs.builder()        
- *             .name("StopInstance")
- *             .description("Stop instances nightly")
- *             .scheduleExpression("cron(0 0 * * ? *)")
+ *         var stopInstances = new EventRule("stopInstances", EventRuleArgs.builder()        
+ *             .name("StopInstance")
+ *             .description("Stop instances nightly")
+ *             .scheduleExpression("cron(0 0 * * ? *)")
  *             .build());
  * 
- *         var stopInstancesEventTarget = new EventTarget("stopInstancesEventTarget", EventTargetArgs.builder()        
- *             .targetId("StopInstance")
- *             .arn("arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus")
+ *         var stopInstancesEventTarget = new EventTarget("stopInstancesEventTarget", EventTargetArgs.builder()        
+ *             .targetId("StopInstance")
+ *             .arn("arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus")
  *             .rule(stopInstances.name())
  *             .roleArn(eventBusInvokeRemoteEventBusRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Input Transformer Usage - JSON Object * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -544,34 +557,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleEventRule = new EventRule("exampleEventRule");
+ *         var exampleEventRule = new EventRule("exampleEventRule");
  * 
- *         var example = new EventTarget("example", EventTargetArgs.builder()        
+ *         var example = new EventTarget("example", EventTargetArgs.builder()        
  *             .arn(exampleAwsLambdaFunction.arn())
  *             .rule(exampleEventRule.id())
  *             .inputTransformer(EventTargetInputTransformerArgs.builder()
  *                 .inputPaths(Map.ofEntries(
- *                     Map.entry("instance", "$.detail.instance"),
- *                     Map.entry("status", "$.detail.status")
+ *                     Map.entry("instance", "$.detail.instance"),
+ *                     Map.entry("status", "$.detail.status")
  *                 ))
- *                 .inputTemplate("""
+ *                 .inputTemplate("""
  * {
- *   "instance_id": <instance>,
- *   "instance_status": <status>
+ *   "instance_id": ,
+ *   "instance_status": 
  * }
- *                 """)
+ *                 """)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Input Transformer Usage - Simple String * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -594,29 +609,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleEventRule = new EventRule("exampleEventRule");
+ *         var exampleEventRule = new EventRule("exampleEventRule");
  * 
- *         var example = new EventTarget("example", EventTargetArgs.builder()        
+ *         var example = new EventTarget("example", EventTargetArgs.builder()        
  *             .arn(exampleAwsLambdaFunction.arn())
  *             .rule(exampleEventRule.id())
  *             .inputTransformer(EventTargetInputTransformerArgs.builder()
  *                 .inputPaths(Map.ofEntries(
- *                     Map.entry("instance", "$.detail.instance"),
- *                     Map.entry("status", "$.detail.status")
+ *                     Map.entry("instance", "$.detail.instance"),
+ *                     Map.entry("status", "$.detail.status")
  *                 ))
- *                 .inputTemplate("\"<instance> is in state <status>\"")
+ *                 .inputTemplate("\" is in state \"")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Cloudwatch Log Group Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -646,65 +663,66 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("/aws/events/guardduty/logs")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("/aws/events/guardduty/logs")
  *             .retentionInDays(1)
  *             .build());
  * 
- *         var exampleEventRule = new EventRule("exampleEventRule", EventRuleArgs.builder()        
- *             .name("guard-duty_event_rule")
- *             .description("GuardDuty Findings")
+ *         var exampleEventRule = new EventRule("exampleEventRule", EventRuleArgs.builder()        
+ *             .name("guard-duty_event_rule")
+ *             .description("GuardDuty Findings")
  *             .eventPattern(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("source", jsonArray("aws.guardduty"))
+ *                     jsonProperty("source", jsonArray("aws.guardduty"))
  *                 )))
- *             .tags(Map.of("Environment", "example"))
+ *             .tags(Map.of("Environment", "example"))
  *             .build());
  * 
  *         final var exampleLogPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("logs:CreateLogStream")
- *                     .resources(example.arn().applyValue(arn -> String.format("%s:*", arn)))
+ *                     .effect("Allow")
+ *                     .actions("logs:CreateLogStream")
+ *                     .resources(example.arn().applyValue(arn -> String.format("%s:*", arn)))
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
+ *                         .type("Service")
  *                         .identifiers(                        
- *                             "events.amazonaws.com",
- *                             "delivery.logs.amazonaws.com")
+ *                             "events.amazonaws.com",
+ *                             "delivery.logs.amazonaws.com")
  *                         .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("logs:PutLogEvents")
- *                     .resources(example.arn().applyValue(arn -> String.format("%s:*:*", arn)))
+ *                     .effect("Allow")
+ *                     .actions("logs:PutLogEvents")
+ *                     .resources(example.arn().applyValue(arn -> String.format("%s:*:*", arn)))
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
+ *                         .type("Service")
  *                         .identifiers(                        
- *                             "events.amazonaws.com",
- *                             "delivery.logs.amazonaws.com")
+ *                             "events.amazonaws.com",
+ *                             "delivery.logs.amazonaws.com")
  *                         .build())
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("ArnEquals")
+ *                         .test("ArnEquals")
  *                         .values(exampleEventRule.arn())
- *                         .variable("aws:SourceArn")
+ *                         .variable("aws:SourceArn")
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var exampleLogResourcePolicy = new LogResourcePolicy("exampleLogResourcePolicy", LogResourcePolicyArgs.builder()        
- *             .policyDocument(exampleLogPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(exampleLogPolicy -> exampleLogPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
- *             .policyName("guardduty-log-publishing-policy")
+ *         var exampleLogResourcePolicy = new LogResourcePolicy("exampleLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *             .policyDocument(exampleLogPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(exampleLogPolicy -> exampleLogPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policyName("guardduty-log-publishing-policy")
  *             .build());
  * 
- *         var exampleEventTarget = new EventTarget("exampleEventTarget", EventTargetArgs.builder()        
+ *         var exampleEventTarget = new EventTarget("exampleEventTarget", EventTargetArgs.builder()        
  *             .rule(exampleEventRule.name())
  *             .arn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/InternetMonitor.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/InternetMonitor.java index 56c82251746..5a9299af77c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/InternetMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/InternetMonitor.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InternetMonitor("example", InternetMonitorArgs.builder()        
- *             .monitorName("exmple")
+ *         var example = new InternetMonitor("example", InternetMonitorArgs.builder()        
+ *             .monitorName("exmple")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDataProtectionPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDataProtectionPolicy.java index 2e40e8ff86e..d30b764be26 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDataProtectionPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDataProtectionPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,40 +48,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("example")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
+ *         var exampleLogDataProtectionPolicy = new LogDataProtectionPolicy("exampleLogDataProtectionPolicy", LogDataProtectionPolicyArgs.builder()        
  *             .logGroupName(example.name())
- *             .policyDocument(exampleBucketV2.bucket().applyValue(bucket -> serializeJson(
+ *             .policyDocument(exampleBucketV2.bucket().applyValue(bucket -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Name", "Example"),
- *                     jsonProperty("Version", "2021-06-01"),
- *                     jsonProperty("Statement", jsonArray(
+ *                     jsonProperty("Name", "Example"),
+ *                     jsonProperty("Version", "2021-06-01"),
+ *                     jsonProperty("Statement", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("Sid", "Audit"),
- *                             jsonProperty("DataIdentifier", jsonArray("arn:aws:dataprotection::aws:data-identifier/EmailAddress")),
- *                             jsonProperty("Operation", jsonObject(
- *                                 jsonProperty("Audit", jsonObject(
- *                                     jsonProperty("FindingsDestination", jsonObject(
- *                                         jsonProperty("S3", jsonObject(
- *                                             jsonProperty("Bucket", bucket)
+ *                             jsonProperty("Sid", "Audit"),
+ *                             jsonProperty("DataIdentifier", jsonArray("arn:aws:dataprotection::aws:data-identifier/EmailAddress")),
+ *                             jsonProperty("Operation", jsonObject(
+ *                                 jsonProperty("Audit", jsonObject(
+ *                                     jsonProperty("FindingsDestination", jsonObject(
+ *                                         jsonProperty("S3", jsonObject(
+ *                                             jsonProperty("Bucket", bucket)
  *                                         ))
  *                                     ))
  *                                 ))
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Sid", "Redact"),
- *                             jsonProperty("DataIdentifier", jsonArray("arn:aws:dataprotection::aws:data-identifier/EmailAddress")),
- *                             jsonProperty("Operation", jsonObject(
- *                                 jsonProperty("Deidentify", jsonObject(
- *                                     jsonProperty("MaskConfig", jsonObject(
+ *                             jsonProperty("Sid", "Redact"),
+ *                             jsonProperty("DataIdentifier", jsonArray("arn:aws:dataprotection::aws:data-identifier/EmailAddress")),
+ *                             jsonProperty("Operation", jsonObject(
+ *                                 jsonProperty("Deidentify", jsonObject(
+ *                                     jsonProperty("MaskConfig", jsonObject(
  * 
  *                                     ))
  *                                 ))
@@ -92,7 +93,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestination.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestination.java index a9b9f74da07..e5e0f408e1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestination.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testDestination = new LogDestination("testDestination", LogDestinationArgs.builder()        
- *             .name("test_destination")
+ *         var testDestination = new LogDestination("testDestination", LogDestinationArgs.builder()        
+ *             .name("test_destination")
  *             .roleArn(iamForCloudwatch.arn())
  *             .targetArn(kinesisForCloudwatch.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestinationPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestinationPolicy.java index 71c3ab7d80d..19df4798d77 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestinationPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogDestinationPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,32 +47,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testDestination = new LogDestination("testDestination", LogDestinationArgs.builder()        
- *             .name("test_destination")
+ *         var testDestination = new LogDestination("testDestination", LogDestinationArgs.builder()        
+ *             .name("test_destination")
  *             .roleArn(iamForCloudwatch.arn())
  *             .targetArn(kinesisForCloudwatch.arn())
  *             .build());
  * 
  *         final var testDestinationPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("123456789012")
+ *                     .type("AWS")
+ *                     .identifiers("123456789012")
  *                     .build())
- *                 .actions("logs:PutSubscriptionFilter")
+ *                 .actions("logs:PutSubscriptionFilter")
  *                 .resources(testDestination.arn())
  *                 .build())
  *             .build());
  * 
- *         var testDestinationPolicyLogDestinationPolicy = new LogDestinationPolicy("testDestinationPolicyLogDestinationPolicy", LogDestinationPolicyArgs.builder()        
+ *         var testDestinationPolicyLogDestinationPolicy = new LogDestinationPolicy("testDestinationPolicyLogDestinationPolicy", LogDestinationPolicyArgs.builder()        
  *             .destinationName(testDestination.name())
- *             .accessPolicy(testDestinationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(testDestinationPolicy -> testDestinationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .accessPolicy(testDestinationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(testDestinationPolicy -> testDestinationPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogGroup.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogGroup.java index a6c5e55cfcc..85493a6e7bb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var yada = new LogGroup("yada", LogGroupArgs.builder()        
- *             .name("Yada")
+ *         var yada = new LogGroup("yada", LogGroupArgs.builder()        
+ *             .name("Yada")
  *             .tags(Map.ofEntries(
- *                 Map.entry("Environment", "production"),
- *                 Map.entry("Application", "serviceA")
+ *                 Map.entry("Environment", "production"),
+ *                 Map.entry("Application", "serviceA")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogMetricFilter.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogMetricFilter.java index 09b46de45ea..c9e5a3edb06 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogMetricFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogMetricFilter.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,24 +45,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dada = new LogGroup("dada", LogGroupArgs.builder()        
- *             .name("MyApp/access.log")
+ *         var dada = new LogGroup("dada", LogGroupArgs.builder()        
+ *             .name("MyApp/access.log")
  *             .build());
  * 
- *         var yada = new LogMetricFilter("yada", LogMetricFilterArgs.builder()        
- *             .name("MyAppAccessCount")
- *             .pattern("")
+ *         var yada = new LogMetricFilter("yada", LogMetricFilterArgs.builder()        
+ *             .name("MyAppAccessCount")
+ *             .pattern("")
  *             .logGroupName(dada.name())
  *             .metricTransformation(LogMetricFilterMetricTransformationArgs.builder()
- *                 .name("EventCount")
- *                 .namespace("YourNamespace")
- *                 .value("1")
+ *                 .name("EventCount")
+ *                 .namespace("YourNamespace")
+ *                 .value("1")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogResourcePolicy.java index f15b205a51d..7b92985be89 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogResourcePolicy.java @@ -21,7 +21,8 @@ * ### Elasticsearch Log Publishing * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,31 +48,33 @@
  *         final var elasticsearch-log-publishing-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "logs:CreateLogStream",
- *                     "logs:PutLogEvents",
- *                     "logs:PutLogEventsBatch")
- *                 .resources("arn:aws:logs:*")
+ *                     "logs:CreateLogStream",
+ *                     "logs:PutLogEvents",
+ *                     "logs:PutLogEventsBatch")
+ *                 .resources("arn:aws:logs:*")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("es.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("es.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var elasticsearch_log_publishing_policyLogResourcePolicy = new LogResourcePolicy("elasticsearch-log-publishing-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *         var elasticsearch_log_publishing_policyLogResourcePolicy = new LogResourcePolicy("elasticsearch-log-publishing-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
  *             .policyDocument(elasticsearch_log_publishing_policy.json())
- *             .policyName("elasticsearch-log-publishing-policy")
+ *             .policyName("elasticsearch-log-publishing-policy")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Route53 Query Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,24 +100,25 @@
  *         final var route53-query-logging-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "logs:CreateLogStream",
- *                     "logs:PutLogEvents")
- *                 .resources("arn:aws:logs:*:*:log-group:/aws/route53/*")
+ *                     "logs:CreateLogStream",
+ *                     "logs:PutLogEvents")
+ *                 .resources("arn:aws:logs:*:*:log-group:/aws/route53/*")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("route53.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("route53.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var route53_query_logging_policyLogResourcePolicy = new LogResourcePolicy("route53-query-logging-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *         var route53_query_logging_policyLogResourcePolicy = new LogResourcePolicy("route53-query-logging-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
  *             .policyDocument(route53_query_logging_policy.json())
- *             .policyName("route53-query-logging-policy")
+ *             .policyName("route53-query-logging-policy")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogStream.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogStream.java index 2f3fb0db852..29b50f27e4c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogStream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogStream.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,18 +43,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var yada = new LogGroup("yada", LogGroupArgs.builder()        
- *             .name("Yada")
+ *         var yada = new LogGroup("yada", LogGroupArgs.builder()        
+ *             .name("Yada")
  *             .build());
  * 
- *         var foo = new LogStream("foo", LogStreamArgs.builder()        
- *             .name("SampleLogStream1234")
+ *         var foo = new LogStream("foo", LogStreamArgs.builder()        
+ *             .name("SampleLogStream1234")
  *             .logGroupName(yada.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogSubscriptionFilter.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogSubscriptionFilter.java index 44fbffea0a5..6d612e6825a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogSubscriptionFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/LogSubscriptionFilter.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,18 +42,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testLambdafunctionLogfilter = new LogSubscriptionFilter("testLambdafunctionLogfilter", LogSubscriptionFilterArgs.builder()        
- *             .name("test_lambdafunction_logfilter")
+ *         var testLambdafunctionLogfilter = new LogSubscriptionFilter("testLambdafunctionLogfilter", LogSubscriptionFilterArgs.builder()        
+ *             .name("test_lambdafunction_logfilter")
  *             .roleArn(iamForLambda.arn())
- *             .logGroup("/aws/lambda/example_lambda_name")
- *             .filterPattern("logtype test")
+ *             .logGroup("/aws/lambda/example_lambda_name")
+ *             .filterPattern("logtype test")
  *             .destinationArn(testLogstream.arn())
- *             .distribution("Random")
+ *             .distribution("Random")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricAlarm.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricAlarm.java index dd738deadd3..1ee44f986ff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricAlarm.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricAlarm.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,28 +48,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foobar = new MetricAlarm("foobar", MetricAlarmArgs.builder()        
- *             .name("test-foobar5")
- *             .comparisonOperator("GreaterThanOrEqualToThreshold")
+ *         var foobar = new MetricAlarm("foobar", MetricAlarmArgs.builder()        
+ *             .name("test-foobar5")
+ *             .comparisonOperator("GreaterThanOrEqualToThreshold")
  *             .evaluationPeriods(2)
- *             .metricName("CPUUtilization")
- *             .namespace("AWS/EC2")
+ *             .metricName("CPUUtilization")
+ *             .namespace("AWS/EC2")
  *             .period(120)
- *             .statistic("Average")
+ *             .statistic("Average")
  *             .threshold(80)
- *             .alarmDescription("This metric monitors ec2 cpu utilization")
+ *             .alarmDescription("This metric monitors ec2 cpu utilization")
  *             .insufficientDataActions()
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example in Conjunction with Scaling Policies * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,37 +94,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bat = new Policy("bat", PolicyArgs.builder()        
- *             .name("foobar3-test")
+ *         var bat = new Policy("bat", PolicyArgs.builder()        
+ *             .name("foobar3-test")
  *             .scalingAdjustment(4)
- *             .adjustmentType("ChangeInCapacity")
+ *             .adjustmentType("ChangeInCapacity")
  *             .cooldown(300)
  *             .autoscalingGroupName(bar.name())
  *             .build());
  * 
- *         var batMetricAlarm = new MetricAlarm("batMetricAlarm", MetricAlarmArgs.builder()        
- *             .name("test-foobar5")
- *             .comparisonOperator("GreaterThanOrEqualToThreshold")
+ *         var batMetricAlarm = new MetricAlarm("batMetricAlarm", MetricAlarmArgs.builder()        
+ *             .name("test-foobar5")
+ *             .comparisonOperator("GreaterThanOrEqualToThreshold")
  *             .evaluationPeriods(2)
- *             .metricName("CPUUtilization")
- *             .namespace("AWS/EC2")
+ *             .metricName("CPUUtilization")
+ *             .namespace("AWS/EC2")
  *             .period(120)
- *             .statistic("Average")
+ *             .statistic("Average")
  *             .threshold(80)
- *             .dimensions(Map.of("AutoScalingGroupName", bar.name()))
- *             .alarmDescription("This metric monitors ec2 cpu utilization")
+ *             .dimensions(Map.of("AutoScalingGroupName", bar.name()))
+ *             .alarmDescription("This metric monitors ec2 cpu utilization")
  *             .alarmActions(bat.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example with an Expression * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,51 +149,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foobar = new MetricAlarm("foobar", MetricAlarmArgs.builder()        
- *             .name("test-foobar")
- *             .comparisonOperator("GreaterThanOrEqualToThreshold")
+ *         var foobar = new MetricAlarm("foobar", MetricAlarmArgs.builder()        
+ *             .name("test-foobar")
+ *             .comparisonOperator("GreaterThanOrEqualToThreshold")
  *             .evaluationPeriods(2)
  *             .threshold(10)
- *             .alarmDescription("Request error rate has exceeded 10%")
+ *             .alarmDescription("Request error rate has exceeded 10%")
  *             .insufficientDataActions()
  *             .metricQueries(            
  *                 MetricAlarmMetricQueryArgs.builder()
- *                     .id("e1")
- *                     .expression("m2/m1*100")
- *                     .label("Error Rate")
- *                     .returnData("true")
+ *                     .id("e1")
+ *                     .expression("m2/m1*100")
+ *                     .label("Error Rate")
+ *                     .returnData("true")
  *                     .build(),
  *                 MetricAlarmMetricQueryArgs.builder()
- *                     .id("m1")
+ *                     .id("m1")
  *                     .metric(MetricAlarmMetricQueryMetricArgs.builder()
- *                         .metricName("RequestCount")
- *                         .namespace("AWS/ApplicationELB")
+ *                         .metricName("RequestCount")
+ *                         .namespace("AWS/ApplicationELB")
  *                         .period(120)
- *                         .stat("Sum")
- *                         .unit("Count")
- *                         .dimensions(Map.of("LoadBalancer", "app/web"))
+ *                         .stat("Sum")
+ *                         .unit("Count")
+ *                         .dimensions(Map.of("LoadBalancer", "app/web"))
  *                         .build())
  *                     .build(),
  *                 MetricAlarmMetricQueryArgs.builder()
- *                     .id("m2")
+ *                     .id("m2")
  *                     .metric(MetricAlarmMetricQueryMetricArgs.builder()
- *                         .metricName("HTTPCode_ELB_5XX_Count")
- *                         .namespace("AWS/ApplicationELB")
+ *                         .metricName("HTTPCode_ELB_5XX_Count")
+ *                         .namespace("AWS/ApplicationELB")
  *                         .period(120)
- *                         .stat("Sum")
- *                         .unit("Count")
- *                         .dimensions(Map.of("LoadBalancer", "app/web"))
+ *                         .stat("Sum")
+ *                         .unit("Count")
+ *                         .dimensions(Map.of("LoadBalancer", "app/web"))
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -211,43 +218,45 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var xxAnomalyDetection = new MetricAlarm("xxAnomalyDetection", MetricAlarmArgs.builder()        
- *             .name("test-foobar")
- *             .comparisonOperator("GreaterThanUpperThreshold")
+ *         var xxAnomalyDetection = new MetricAlarm("xxAnomalyDetection", MetricAlarmArgs.builder()        
+ *             .name("test-foobar")
+ *             .comparisonOperator("GreaterThanUpperThreshold")
  *             .evaluationPeriods(2)
- *             .thresholdMetricId("e1")
- *             .alarmDescription("This metric monitors ec2 cpu utilization")
+ *             .thresholdMetricId("e1")
+ *             .alarmDescription("This metric monitors ec2 cpu utilization")
  *             .insufficientDataActions()
  *             .metricQueries(            
  *                 MetricAlarmMetricQueryArgs.builder()
- *                     .id("e1")
- *                     .expression("ANOMALY_DETECTION_BAND(m1)")
- *                     .label("CPUUtilization (Expected)")
- *                     .returnData("true")
+ *                     .id("e1")
+ *                     .expression("ANOMALY_DETECTION_BAND(m1)")
+ *                     .label("CPUUtilization (Expected)")
+ *                     .returnData("true")
  *                     .build(),
  *                 MetricAlarmMetricQueryArgs.builder()
- *                     .id("m1")
- *                     .returnData("true")
+ *                     .id("m1")
+ *                     .returnData("true")
  *                     .metric(MetricAlarmMetricQueryMetricArgs.builder()
- *                         .metricName("CPUUtilization")
- *                         .namespace("AWS/EC2")
+ *                         .metricName("CPUUtilization")
+ *                         .namespace("AWS/EC2")
  *                         .period(120)
- *                         .stat("Average")
- *                         .unit("Count")
- *                         .dimensions(Map.of("InstanceId", "i-abc123"))
+ *                         .stat("Average")
+ *                         .unit("Count")
+ *                         .dimensions(Map.of("InstanceId", "i-abc123"))
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example of monitoring Healthy Hosts on NLB using Target Group and NLB * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -268,28 +277,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var nlbHealthyhosts = new MetricAlarm("nlbHealthyhosts", MetricAlarmArgs.builder()        
- *             .name("alarmname")
- *             .comparisonOperator("LessThanThreshold")
+ *         var nlbHealthyhosts = new MetricAlarm("nlbHealthyhosts", MetricAlarmArgs.builder()        
+ *             .name("alarmname")
+ *             .comparisonOperator("LessThanThreshold")
  *             .evaluationPeriods(1)
- *             .metricName("HealthyHostCount")
- *             .namespace("AWS/NetworkELB")
+ *             .metricName("HealthyHostCount")
+ *             .namespace("AWS/NetworkELB")
  *             .period(60)
- *             .statistic("Average")
+ *             .statistic("Average")
  *             .threshold(logstashServersCount)
- *             .alarmDescription("Number of healthy nodes in Target Group")
- *             .actionsEnabled("true")
+ *             .alarmDescription("Number of healthy nodes in Target Group")
+ *             .actionsEnabled("true")
  *             .alarmActions(sns.arn())
  *             .okActions(sns.arn())
  *             .dimensions(Map.ofEntries(
- *                 Map.entry("TargetGroup", lb_tg.arnSuffix()),
- *                 Map.entry("LoadBalancer", lb.arnSuffix())
+ *                 Map.entry("TargetGroup", lb_tg.arnSuffix()),
+ *                 Map.entry("LoadBalancer", lb.arnSuffix())
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **NOTE:** You cannot create a metric alarm consisting of both `statistic` and `extended_statistic` parameters. diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricStream.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricStream.java index 7d8171a8afa..7de0ae08b61 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricStream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/MetricStream.java @@ -28,7 +28,8 @@ * ### Filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -66,62 +67,62 @@
  *         // https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html
  *         final var streamsAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("streams.metrics.cloudwatch.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("streams.metrics.cloudwatch.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var metricStreamToFirehoseRole = new Role("metricStreamToFirehoseRole", RoleArgs.builder()        
- *             .name("metric_stream_to_firehose_role")
- *             .assumeRolePolicy(streamsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var metricStreamToFirehoseRole = new Role("metricStreamToFirehoseRole", RoleArgs.builder()        
+ *             .name("metric_stream_to_firehose_role")
+ *             .assumeRolePolicy(streamsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("metric-stream-test-bucket")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("metric-stream-test-bucket")
  *             .build());
  * 
  *         final var firehoseAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("firehose.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("firehose.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var firehoseToS3Role = new Role("firehoseToS3Role", RoleArgs.builder()        
- *             .assumeRolePolicy(firehoseAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var firehoseToS3Role = new Role("firehoseToS3Role", RoleArgs.builder()        
+ *             .assumeRolePolicy(firehoseAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var s3Stream = new FirehoseDeliveryStream("s3Stream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("metric-stream-test-stream")
- *             .destination("extended_s3")
+ *         var s3Stream = new FirehoseDeliveryStream("s3Stream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("metric-stream-test-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(firehoseToS3Role.arn())
  *                 .bucketArn(bucket.arn())
  *                 .build())
  *             .build());
  * 
- *         var main = new MetricStream("main", MetricStreamArgs.builder()        
- *             .name("my-metric-stream")
+ *         var main = new MetricStream("main", MetricStreamArgs.builder()        
+ *             .name("my-metric-stream")
  *             .roleArn(metricStreamToFirehoseRole.arn())
  *             .firehoseArn(s3Stream.arn())
- *             .outputFormat("json")
+ *             .outputFormat("json")
  *             .includeFilters(            
  *                 MetricStreamIncludeFilterArgs.builder()
- *                     .namespace("AWS/EC2")
+ *                     .namespace("AWS/EC2")
  *                     .metricNames(                    
- *                         "CPUUtilization",
- *                         "NetworkOut")
+ *                         "CPUUtilization",
+ *                         "NetworkOut")
  *                     .build(),
  *                 MetricStreamIncludeFilterArgs.builder()
- *                     .namespace("AWS/EBS")
+ *                     .namespace("AWS/EBS")
  *                     .metricNames()
  *                     .build())
  *             .build());
@@ -129,56 +130,58 @@
  *         // https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html
  *         final var metricStreamToFirehose = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "firehose:PutRecord",
- *                     "firehose:PutRecordBatch")
+ *                     "firehose:PutRecord",
+ *                     "firehose:PutRecordBatch")
  *                 .resources(s3Stream.arn())
  *                 .build())
  *             .build());
  * 
- *         var metricStreamToFirehoseRolePolicy = new RolePolicy("metricStreamToFirehoseRolePolicy", RolePolicyArgs.builder()        
- *             .name("default")
+ *         var metricStreamToFirehoseRolePolicy = new RolePolicy("metricStreamToFirehoseRolePolicy", RolePolicyArgs.builder()        
+ *             .name("default")
  *             .role(metricStreamToFirehoseRole.id())
- *             .policy(metricStreamToFirehose.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(metricStreamToFirehose -> metricStreamToFirehose.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(metricStreamToFirehose.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(metricStreamToFirehose -> metricStreamToFirehose.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
+ *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
  *             .bucket(bucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
  *         final var firehoseToS3 = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "s3:AbortMultipartUpload",
- *                     "s3:GetBucketLocation",
- *                     "s3:GetObject",
- *                     "s3:ListBucket",
- *                     "s3:ListBucketMultipartUploads",
- *                     "s3:PutObject")
+ *                     "s3:AbortMultipartUpload",
+ *                     "s3:GetBucketLocation",
+ *                     "s3:GetObject",
+ *                     "s3:ListBucket",
+ *                     "s3:ListBucketMultipartUploads",
+ *                     "s3:PutObject")
  *                 .resources(                
  *                     bucket.arn(),
- *                     bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                     bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                 .build())
  *             .build());
  * 
- *         var firehoseToS3RolePolicy = new RolePolicy("firehoseToS3RolePolicy", RolePolicyArgs.builder()        
- *             .name("default")
+ *         var firehoseToS3RolePolicy = new RolePolicy("firehoseToS3RolePolicy", RolePolicyArgs.builder()        
+ *             .name("default")
  *             .role(firehoseToS3Role.id())
- *             .policy(firehoseToS3.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(firehoseToS3 -> firehoseToS3.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(firehoseToS3.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(firehoseToS3 -> firehoseToS3.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Additional Statistics * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -200,33 +203,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new MetricStream("main", MetricStreamArgs.builder()        
- *             .name("my-metric-stream")
+ *         var main = new MetricStream("main", MetricStreamArgs.builder()        
+ *             .name("my-metric-stream")
  *             .roleArn(metricStreamToFirehose.arn())
  *             .firehoseArn(s3Stream.arn())
- *             .outputFormat("json")
+ *             .outputFormat("json")
  *             .statisticsConfigurations(            
  *                 MetricStreamStatisticsConfigurationArgs.builder()
  *                     .additionalStatistics(                    
- *                         "p1",
- *                         "tm99")
+ *                         "p1",
+ *                         "tm99")
  *                     .includeMetrics(MetricStreamStatisticsConfigurationIncludeMetricArgs.builder()
- *                         .metricName("CPUUtilization")
- *                         .namespace("AWS/EC2")
+ *                         .metricName("CPUUtilization")
+ *                         .namespace("AWS/EC2")
  *                         .build())
  *                     .build(),
  *                 MetricStreamStatisticsConfigurationArgs.builder()
- *                     .additionalStatistics("TS(50.5:)")
+ *                     .additionalStatistics("TS(50.5:)")
  *                     .includeMetrics(MetricStreamStatisticsConfigurationIncludeMetricArgs.builder()
- *                         .metricName("CPUUtilization")
- *                         .namespace("AWS/EC2")
+ *                         .metricName("CPUUtilization")
+ *                         .namespace("AWS/EC2")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/QueryDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/QueryDefinition.java index f2faedabe2b..4da1ae5d034 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/QueryDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudwatch/QueryDefinition.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,21 +43,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new QueryDefinition("example", QueryDefinitionArgs.builder()        
- *             .name("custom_query")
+ *         var example = new QueryDefinition("example", QueryDefinitionArgs.builder()        
+ *             .name("custom_query")
  *             .logGroupNames(            
- *                 "/aws/logGroup1",
- *                 "/aws/logGroup2")
- *             .queryString("""
- * fields @timestamp, @message
- * | sort @timestamp desc
+ *                 "/aws/logGroup1",
+ *                 "/aws/logGroup2")
+ *             .queryString("""
+ * fields{@literal @}timestamp,{@literal @}message
+ * | sort{@literal @}timestamp desc
  * | limit 25
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/CodeartifactFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/CodeartifactFunctions.java index 85aaec86741..47dc1dce10e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/CodeartifactFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/CodeartifactFunctions.java @@ -23,7 +23,8 @@ public final class CodeartifactFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,7 +51,8 @@ public final class CodeartifactFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getAuthorizationToken(GetAutho * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,7 +93,8 @@ public static Output getAuthorizationToken(GetAutho
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getAuthorizationTok * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -130,7 +135,8 @@ public static CompletableFuture getAuthorizationTok
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getAuthorizationToken(GetAutho * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,7 +177,8 @@ public static Output getAuthorizationToken(GetAutho
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getAuthorizationTok * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -207,12 +216,13 @@ public static CompletableFuture getAuthorizationTok
      *         final var test = CodeartifactFunctions.getRepositoryEndpoint(GetRepositoryEndpointArgs.builder()
      *             .domain(testAwsCodeartifactDomain.domain())
      *             .repository(testAwsCodeartifactRepository.repository())
-     *             .format("npm")
+     *             .format("npm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -225,7 +235,8 @@ public static Output getRepositoryEndpoint(GetRepos * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -249,12 +260,13 @@ public static Output getRepositoryEndpoint(GetRepos
      *         final var test = CodeartifactFunctions.getRepositoryEndpoint(GetRepositoryEndpointArgs.builder()
      *             .domain(testAwsCodeartifactDomain.domain())
      *             .repository(testAwsCodeartifactRepository.repository())
-     *             .format("npm")
+     *             .format("npm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -267,7 +279,8 @@ public static CompletableFuture getRepositoryEndpoi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -291,12 +304,13 @@ public static CompletableFuture getRepositoryEndpoi
      *         final var test = CodeartifactFunctions.getRepositoryEndpoint(GetRepositoryEndpointArgs.builder()
      *             .domain(testAwsCodeartifactDomain.domain())
      *             .repository(testAwsCodeartifactRepository.repository())
-     *             .format("npm")
+     *             .format("npm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -309,7 +323,8 @@ public static Output getRepositoryEndpoint(GetRepos * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -333,12 +348,13 @@ public static Output getRepositoryEndpoint(GetRepos
      *         final var test = CodeartifactFunctions.getRepositoryEndpoint(GetRepositoryEndpointArgs.builder()
      *             .domain(testAwsCodeartifactDomain.domain())
      *             .repository(testAwsCodeartifactRepository.repository())
-     *             .format("npm")
+     *             .format("npm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Domain.java index 4d361640d99..dce6e870b0a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Domain.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domain("example")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domain("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/DomainPermissions.java b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/DomainPermissions.java index 883a21bea6f..603bc6058ab 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/DomainPermissions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/DomainPermissions.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,35 +47,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("domain key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("domain key")
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .domain("example")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .domain("example")
  *             .encryptionKey(example.arn())
  *             .build());
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("codeartifact:CreateRepository")
+ *                 .actions("codeartifact:CreateRepository")
  *                 .resources(exampleDomain.arn())
  *                 .build())
  *             .build());
  * 
- *         var testDomainPermissions = new DomainPermissions("testDomainPermissions", DomainPermissionsArgs.builder()        
+ *         var testDomainPermissions = new DomainPermissions("testDomainPermissions", DomainPermissionsArgs.builder()        
  *             .domain(exampleDomain.domain())
- *             .policyDocument(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policyDocument(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Repository.java b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Repository.java index 8b576df0849..0188b5d940f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Repository.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/Repository.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,29 +50,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("domain key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("domain key")
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .domain("example")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .domain("example")
  *             .encryptionKey(example.arn())
  *             .build());
  * 
- *         var test = new Repository("test", RepositoryArgs.builder()        
- *             .repository("example")
+ *         var test = new Repository("test", RepositoryArgs.builder()        
+ *             .repository("example")
  *             .domain(exampleDomain.domain())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Upstream Repository * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,13 +96,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var upstream = new Repository("upstream", RepositoryArgs.builder()        
- *             .repository("upstream")
+ *         var upstream = new Repository("upstream", RepositoryArgs.builder()        
+ *             .repository("upstream")
  *             .domain(testAwsCodeartifactDomain.domain())
  *             .build());
  * 
- *         var test = new Repository("test", RepositoryArgs.builder()        
- *             .repository("example")
+ *         var test = new Repository("test", RepositoryArgs.builder()        
+ *             .repository("example")
  *             .domain(example.domain())
  *             .upstreams(RepositoryUpstreamArgs.builder()
  *                 .repositoryName(upstream.repository())
@@ -108,13 +111,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With External Connection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -136,22 +141,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var upstream = new Repository("upstream", RepositoryArgs.builder()        
- *             .repository("upstream")
+ *         var upstream = new Repository("upstream", RepositoryArgs.builder()        
+ *             .repository("upstream")
  *             .domain(testAwsCodeartifactDomain.domain())
  *             .build());
  * 
- *         var test = new Repository("test", RepositoryArgs.builder()        
- *             .repository("example")
+ *         var test = new Repository("test", RepositoryArgs.builder()        
+ *             .repository("example")
  *             .domain(example.domain())
  *             .externalConnections(RepositoryExternalConnectionsArgs.builder()
- *                 .externalConnectionName("public:npmjs")
+ *                 .externalConnectionName("public:npmjs")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/RepositoryPermissionsPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/RepositoryPermissionsPolicy.java index 13de45e6063..44294126e0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeartifact/RepositoryPermissionsPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeartifact/RepositoryPermissionsPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,41 +49,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
- *             .description("domain key")
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *             .description("domain key")
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .domain("example")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .domain("example")
  *             .encryptionKey(exampleKey.arn())
  *             .build());
  * 
- *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
- *             .repository("example")
+ *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
+ *             .repository("example")
  *             .domain(exampleDomain.domain())
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("codeartifact:ReadFromRepository")
+ *                 .actions("codeartifact:ReadFromRepository")
  *                 .resources(exampleRepository.arn())
  *                 .build())
  *             .build());
  * 
- *         var exampleRepositoryPermissionsPolicy = new RepositoryPermissionsPolicy("exampleRepositoryPermissionsPolicy", RepositoryPermissionsPolicyArgs.builder()        
+ *         var exampleRepositoryPermissionsPolicy = new RepositoryPermissionsPolicy("exampleRepositoryPermissionsPolicy", RepositoryPermissionsPolicyArgs.builder()        
  *             .repository(exampleRepository.repository())
  *             .domain(exampleDomain.domain())
- *             .policyDocument(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codebuild/Project.java b/sdk/java/src/main/java/com/pulumi/aws/codebuild/Project.java index a5fd7ddb3e5..ac77454f6ac 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codebuild/Project.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codebuild/Project.java @@ -35,7 +35,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -75,132 +76,132 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("codebuild.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("codebuild.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "logs:CreateLogGroup",
- *                         "logs:CreateLogStream",
- *                         "logs:PutLogEvents")
- *                     .resources("*")
+ *                         "logs:CreateLogGroup",
+ *                         "logs:CreateLogStream",
+ *                         "logs:PutLogEvents")
+ *                     .resources("*")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "ec2:CreateNetworkInterface",
- *                         "ec2:DescribeDhcpOptions",
- *                         "ec2:DescribeNetworkInterfaces",
- *                         "ec2:DeleteNetworkInterface",
- *                         "ec2:DescribeSubnets",
- *                         "ec2:DescribeSecurityGroups",
- *                         "ec2:DescribeVpcs")
- *                     .resources("*")
+ *                         "ec2:CreateNetworkInterface",
+ *                         "ec2:DescribeDhcpOptions",
+ *                         "ec2:DescribeNetworkInterfaces",
+ *                         "ec2:DeleteNetworkInterface",
+ *                         "ec2:DescribeSubnets",
+ *                         "ec2:DescribeSecurityGroups",
+ *                         "ec2:DescribeVpcs")
+ *                     .resources("*")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("ec2:CreateNetworkInterfacePermission")
- *                     .resources("arn:aws:ec2:us-east-1:123456789012:network-interface/*")
+ *                     .effect("Allow")
+ *                     .actions("ec2:CreateNetworkInterfacePermission")
+ *                     .resources("arn:aws:ec2:us-east-1:123456789012:network-interface/*")
  *                     .conditions(                    
  *                         GetPolicyDocumentStatementConditionArgs.builder()
- *                             .test("StringEquals")
- *                             .variable("ec2:Subnet")
+ *                             .test("StringEquals")
+ *                             .variable("ec2:Subnet")
  *                             .values(                            
  *                                 example1.arn(),
  *                                 example2.arn())
  *                             .build(),
  *                         GetPolicyDocumentStatementConditionArgs.builder()
- *                             .test("StringEquals")
- *                             .variable("ec2:AuthorizedService")
- *                             .values("codebuild.amazonaws.com")
+ *                             .test("StringEquals")
+ *                             .variable("ec2:AuthorizedService")
+ *                             .values("codebuild.amazonaws.com")
  *                             .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("s3:*")
+ *                     .effect("Allow")
+ *                     .actions("s3:*")
  *                     .resources(                    
  *                         exampleBucketV2.arn(),
- *                         exampleBucketV2.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                         exampleBucketV2.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
  *             .role(exampleRole.name())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var exampleProject = new Project("exampleProject", ProjectArgs.builder()        
- *             .name("test-project")
- *             .description("test_codebuild_project")
+ *         var exampleProject = new Project("exampleProject", ProjectArgs.builder()        
+ *             .name("test-project")
+ *             .description("test_codebuild_project")
  *             .buildTimeout(5)
  *             .serviceRole(exampleRole.arn())
  *             .artifacts(ProjectArtifactsArgs.builder()
- *                 .type("NO_ARTIFACTS")
+ *                 .type("NO_ARTIFACTS")
  *                 .build())
  *             .cache(ProjectCacheArgs.builder()
- *                 .type("S3")
+ *                 .type("S3")
  *                 .location(exampleBucketV2.bucket())
  *                 .build())
  *             .environment(ProjectEnvironmentArgs.builder()
- *                 .computeType("BUILD_GENERAL1_SMALL")
- *                 .image("aws/codebuild/amazonlinux2-x86_64-standard:4.0")
- *                 .type("LINUX_CONTAINER")
- *                 .imagePullCredentialsType("CODEBUILD")
+ *                 .computeType("BUILD_GENERAL1_SMALL")
+ *                 .image("aws/codebuild/amazonlinux2-x86_64-standard:4.0")
+ *                 .type("LINUX_CONTAINER")
+ *                 .imagePullCredentialsType("CODEBUILD")
  *                 .environmentVariables(                
  *                     ProjectEnvironmentEnvironmentVariableArgs.builder()
- *                         .name("SOME_KEY1")
- *                         .value("SOME_VALUE1")
+ *                         .name("SOME_KEY1")
+ *                         .value("SOME_VALUE1")
  *                         .build(),
  *                     ProjectEnvironmentEnvironmentVariableArgs.builder()
- *                         .name("SOME_KEY2")
- *                         .value("SOME_VALUE2")
- *                         .type("PARAMETER_STORE")
+ *                         .name("SOME_KEY2")
+ *                         .value("SOME_VALUE2")
+ *                         .type("PARAMETER_STORE")
  *                         .build())
  *                 .build())
  *             .logsConfig(ProjectLogsConfigArgs.builder()
  *                 .cloudwatchLogs(ProjectLogsConfigCloudwatchLogsArgs.builder()
- *                     .groupName("log-group")
- *                     .streamName("log-stream")
+ *                     .groupName("log-group")
+ *                     .streamName("log-stream")
  *                     .build())
  *                 .s3Logs(ProjectLogsConfigS3LogsArgs.builder()
- *                     .status("ENABLED")
- *                     .location(exampleBucketV2.id().applyValue(id -> String.format("%s/build-log", id)))
+ *                     .status("ENABLED")
+ *                     .location(exampleBucketV2.id().applyValue(id -> String.format("%s/build-log", id)))
  *                     .build())
  *                 .build())
  *             .source(ProjectSourceArgs.builder()
- *                 .type("GITHUB")
- *                 .location("https://github.com/mitchellh/packer.git")
+ *                 .type("GITHUB")
+ *                 .location("https://github.com/mitchellh/packer.git")
  *                 .gitCloneDepth(1)
  *                 .gitSubmodulesConfig(ProjectSourceGitSubmodulesConfigArgs.builder()
  *                     .fetchSubmodules(true)
  *                     .build())
  *                 .build())
- *             .sourceVersion("master")
+ *             .sourceVersion("master")
  *             .vpcConfig(ProjectVpcConfigArgs.builder()
  *                 .vpcId(exampleAwsVpc.id())
  *                 .subnets(                
@@ -210,45 +211,46 @@
  *                     example1AwsSecurityGroup.id(),
  *                     example2AwsSecurityGroup.id())
  *                 .build())
- *             .tags(Map.of("Environment", "Test"))
+ *             .tags(Map.of("Environment", "Test"))
  *             .build());
  * 
- *         var project_with_cache = new Project("project-with-cache", ProjectArgs.builder()        
- *             .name("test-project-cache")
- *             .description("test_codebuild_project_cache")
+ *         var project_with_cache = new Project("project-with-cache", ProjectArgs.builder()        
+ *             .name("test-project-cache")
+ *             .description("test_codebuild_project_cache")
  *             .buildTimeout(5)
  *             .queuedTimeout(5)
  *             .serviceRole(exampleRole.arn())
  *             .artifacts(ProjectArtifactsArgs.builder()
- *                 .type("NO_ARTIFACTS")
+ *                 .type("NO_ARTIFACTS")
  *                 .build())
  *             .cache(ProjectCacheArgs.builder()
- *                 .type("LOCAL")
+ *                 .type("LOCAL")
  *                 .modes(                
- *                     "LOCAL_DOCKER_LAYER_CACHE",
- *                     "LOCAL_SOURCE_CACHE")
+ *                     "LOCAL_DOCKER_LAYER_CACHE",
+ *                     "LOCAL_SOURCE_CACHE")
  *                 .build())
  *             .environment(ProjectEnvironmentArgs.builder()
- *                 .computeType("BUILD_GENERAL1_SMALL")
- *                 .image("aws/codebuild/amazonlinux2-x86_64-standard:4.0")
- *                 .type("LINUX_CONTAINER")
- *                 .imagePullCredentialsType("CODEBUILD")
+ *                 .computeType("BUILD_GENERAL1_SMALL")
+ *                 .image("aws/codebuild/amazonlinux2-x86_64-standard:4.0")
+ *                 .type("LINUX_CONTAINER")
+ *                 .imagePullCredentialsType("CODEBUILD")
  *                 .environmentVariables(ProjectEnvironmentEnvironmentVariableArgs.builder()
- *                     .name("SOME_KEY1")
- *                     .value("SOME_VALUE1")
+ *                     .name("SOME_KEY1")
+ *                     .value("SOME_VALUE1")
  *                     .build())
  *                 .build())
  *             .source(ProjectSourceArgs.builder()
- *                 .type("GITHUB")
- *                 .location("https://github.com/mitchellh/packer.git")
+ *                 .type("GITHUB")
+ *                 .location("https://github.com/mitchellh/packer.git")
  *                 .gitCloneDepth(1)
  *                 .build())
- *             .tags(Map.of("Environment", "Test"))
+ *             .tags(Map.of("Environment", "Test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codebuild/ReportGroup.java b/sdk/java/src/main/java/com/pulumi/aws/codebuild/ReportGroup.java index a9d8171f844..e19ca5df283 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codebuild/ReportGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codebuild/ReportGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,45 +59,46 @@
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("Enable IAM User Permissions")
- *                 .effect("Allow")
+ *                 .sid("Enable IAM User Permissions")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     .type("AWS")
+ *                     .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                     .build())
- *                 .actions("kms:*")
- *                 .resources("*")
+ *                 .actions("kms:*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
- *             .description("my test kms key")
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *             .description("my test kms key")
  *             .deletionWindowInDays(7)
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("my-test")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("my-test")
  *             .build());
  * 
- *         var exampleReportGroup = new ReportGroup("exampleReportGroup", ReportGroupArgs.builder()        
- *             .name("my test report group")
- *             .type("TEST")
+ *         var exampleReportGroup = new ReportGroup("exampleReportGroup", ReportGroupArgs.builder()        
+ *             .name("my test report group")
+ *             .type("TEST")
  *             .exportConfig(ReportGroupExportConfigArgs.builder()
- *                 .type("S3")
+ *                 .type("S3")
  *                 .s3Destination(ReportGroupExportConfigS3DestinationArgs.builder()
  *                     .bucket(exampleBucketV2.id())
  *                     .encryptionDisabled(false)
  *                     .encryptionKey(exampleKey.arn())
- *                     .packaging("NONE")
- *                     .path("/some")
+ *                     .packaging("NONE")
+ *                     .path("/some")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codebuild/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/codebuild/ResourcePolicy.java index f6590684cfa..7ff852e7ea3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codebuild/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codebuild/ResourcePolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,11 +48,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ReportGroup("example", ReportGroupArgs.builder()        
- *             .name("example")
- *             .type("TEST")
+ *         var example = new ReportGroup("example", ReportGroupArgs.builder()        
+ *             .name("example")
+ *             .type("TEST")
  *             .exportConfig(ReportGroupExportConfigArgs.builder()
- *                 .type("NO_EXPORT")
+ *                 .type("NO_EXPORT")
  *                 .build())
  *             .build());
  * 
@@ -59,32 +60,33 @@
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var exampleResourcePolicy = new ResourcePolicy("exampleResourcePolicy", ResourcePolicyArgs.builder()        
+ *         var exampleResourcePolicy = new ResourcePolicy("exampleResourcePolicy", ResourcePolicyArgs.builder()        
  *             .resourceArn(example.arn())
- *             .policy(example.arn().applyValue(arn -> serializeJson(
+ *             .policy(example.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Id", "default"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", "default"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", current.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Id", "default"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", "default"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", current.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                         )),
- *                         jsonProperty("Action", jsonArray(
- *                             "codebuild:BatchGetReportGroups", 
- *                             "codebuild:BatchGetReports", 
- *                             "codebuild:ListReportsForReportGroup", 
- *                             "codebuild:DescribeTestCases"
+ *                         jsonProperty("Action", jsonArray(
+ *                             "codebuild:BatchGetReportGroups", 
+ *                             "codebuild:BatchGetReports", 
+ *                             "codebuild:ListReportsForReportGroup", 
+ *                             "codebuild:DescribeTestCases"
  *                         )),
- *                         jsonProperty("Resource", arn)
+ *                         jsonProperty("Resource", arn)
  *                     )))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codebuild/SourceCredential.java b/sdk/java/src/main/java/com/pulumi/aws/codebuild/SourceCredential.java index db5511380cd..d22ebc77f09 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codebuild/SourceCredential.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codebuild/SourceCredential.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,21 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SourceCredential("example", SourceCredentialArgs.builder()        
- *             .authType("PERSONAL_ACCESS_TOKEN")
- *             .serverType("GITHUB")
- *             .token("example")
+ *         var example = new SourceCredential("example", SourceCredentialArgs.builder()        
+ *             .authType("PERSONAL_ACCESS_TOKEN")
+ *             .serverType("GITHUB")
+ *             .token("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Bitbucket Server Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,16 +82,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SourceCredential("example", SourceCredentialArgs.builder()        
- *             .authType("BASIC_AUTH")
- *             .serverType("BITBUCKET")
- *             .token("example")
- *             .userName("test-user")
+ *         var example = new SourceCredential("example", SourceCredentialArgs.builder()        
+ *             .authType("BASIC_AUTH")
+ *             .serverType("BITBUCKET")
+ *             .token("example")
+ *             .userName("test-user")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codebuild/Webhook.java b/sdk/java/src/main/java/com/pulumi/aws/codebuild/Webhook.java index 530e795f73d..b982ac3a106 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codebuild/Webhook.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codebuild/Webhook.java @@ -30,7 +30,8 @@ * > **Note:** Further managing the automatically created Bitbucket/GitHub webhook with the `bitbucket_hook`/`github_repository_webhook` resource is only possible with importing that resource after creation of the `aws.codebuild.Webhook` resource. The CodeBuild API does not ever provide the `secret` attribute for the `aws.codebuild.Webhook` resource in this scenario. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,25 +53,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Webhook("example", WebhookArgs.builder()        
+ *         var example = new Webhook("example", WebhookArgs.builder()        
  *             .projectName(exampleAwsCodebuildProject.name())
- *             .buildType("BUILD")
+ *             .buildType("BUILD")
  *             .filterGroups(WebhookFilterGroupArgs.builder()
  *                 .filters(                
  *                     WebhookFilterGroupFilterArgs.builder()
- *                         .type("EVENT")
- *                         .pattern("PUSH")
+ *                         .type("EVENT")
+ *                         .pattern("PUSH")
  *                         .build(),
  *                     WebhookFilterGroupFilterArgs.builder()
- *                         .type("BASE_REF")
- *                         .pattern("master")
+ *                         .type("BASE_REF")
+ *                         .pattern("master")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### GitHub Enterprise @@ -80,7 +82,8 @@ * More information creating webhooks with GitHub Enterprise can be found in the [CodeBuild User Guide](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-github-enterprise.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -104,26 +107,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Webhook("example", WebhookArgs.builder()        
+ *         var example = new Webhook("example", WebhookArgs.builder()        
  *             .projectName(exampleAwsCodebuildProject.name())
  *             .build());
  * 
- *         var exampleRepositoryWebhook = new RepositoryWebhook("exampleRepositoryWebhook", RepositoryWebhookArgs.builder()        
+ *         var exampleRepositoryWebhook = new RepositoryWebhook("exampleRepositoryWebhook", RepositoryWebhookArgs.builder()        
  *             .active(true)
- *             .events("push")
- *             .name("example")
+ *             .events("push")
+ *             .name("example")
  *             .repository(exampleGithubRepository.name())
  *             .configuration(RepositoryWebhookConfigurationArgs.builder()
  *                 .url(example.payloadUrl())
  *                 .secret(example.secret())
- *                 .contentType("json")
+ *                 .contentType("json")
  *                 .insecureSsl(false)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/CodecatalystFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/CodecatalystFunctions.java index 5d518a9d477..3ca35c08068 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/CodecatalystFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/CodecatalystFunctions.java @@ -22,7 +22,8 @@ public final class CodecatalystFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,14 +45,15 @@ public final class CodecatalystFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecatalystFunctions.getDevEnvironment(GetDevEnvironmentArgs.builder()
-     *             .spaceName("myspace")
-     *             .projectName("myproject")
+     *             .spaceName("myspace")
+     *             .projectName("myproject")
      *             .envId(exampleAwsCodecatalystDevEnvironment.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ public static Output getDevEnvironment(GetDevEnvironmen * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -88,14 +91,15 @@ public static Output getDevEnvironment(GetDevEnvironmen
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecatalystFunctions.getDevEnvironment(GetDevEnvironmentArgs.builder()
-     *             .spaceName("myspace")
-     *             .projectName("myproject")
+     *             .spaceName("myspace")
+     *             .projectName("myproject")
      *             .envId(exampleAwsCodecatalystDevEnvironment.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -110,7 +114,8 @@ public static CompletableFuture getDevEnvironmentPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -132,14 +137,15 @@ public static CompletableFuture getDevEnvironmentPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecatalystFunctions.getDevEnvironment(GetDevEnvironmentArgs.builder()
-     *             .spaceName("myspace")
-     *             .projectName("myproject")
+     *             .spaceName("myspace")
+     *             .projectName("myproject")
      *             .envId(exampleAwsCodecatalystDevEnvironment.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -154,7 +160,8 @@ public static Output getDevEnvironment(GetDevEnvironmen * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -176,14 +183,15 @@ public static Output getDevEnvironment(GetDevEnvironmen
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecatalystFunctions.getDevEnvironment(GetDevEnvironmentArgs.builder()
-     *             .spaceName("myspace")
-     *             .projectName("myproject")
+     *             .spaceName("myspace")
+     *             .projectName("myproject")
      *             .envId(exampleAwsCodecatalystDevEnvironment.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/DevEnvironment.java b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/DevEnvironment.java index deae5df69fe..e9a289503e4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/DevEnvironment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/DevEnvironment.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,28 +50,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new DevEnvironment("test", DevEnvironmentArgs.builder()        
- *             .alias("devenv")
- *             .spaceName("myspace")
- *             .projectName("myproject")
- *             .instanceType("dev.standard1.small")
+ *         var test = new DevEnvironment("test", DevEnvironmentArgs.builder()        
+ *             .alias("devenv")
+ *             .spaceName("myspace")
+ *             .projectName("myproject")
+ *             .instanceType("dev.standard1.small")
  *             .persistentStorage(DevEnvironmentPersistentStorageArgs.builder()
  *                 .size(16)
  *                 .build())
  *             .ides(DevEnvironmentIdesArgs.builder()
- *                 .name("PyCharm")
- *                 .runtime("public.ecr.aws/jetbrains/py")
+ *                 .name("PyCharm")
+ *                 .runtime("public.ecr.aws/jetbrains/py")
  *                 .build())
  *             .inactivityTimeoutMinutes(40)
  *             .repositories(DevEnvironmentRepositoryArgs.builder()
- *                 .repositoryName("pulumi-provider-aws")
- *                 .branchName("main")
+ *                 .repositoryName("pulumi-provider-aws")
+ *                 .branchName("main")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/Project.java b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/Project.java index 53bdf7b1959..ca21ff79096 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/Project.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/Project.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Project("test", ProjectArgs.builder()        
- *             .spaceName("myproject")
- *             .displayName("MyProject")
- *             .description("My CodeCatalyst Project created using Pulumi")
+ *         var test = new Project("test", ProjectArgs.builder()        
+ *             .spaceName("myproject")
+ *             .displayName("MyProject")
+ *             .description("My CodeCatalyst Project created using Pulumi")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/SourceRepository.java b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/SourceRepository.java index c10e9496ad0..6fae16c12f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/SourceRepository.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecatalyst/SourceRepository.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SourceRepository("example", SourceRepositoryArgs.builder()        
- *             .name("example-repo")
- *             .projectName("example-project")
- *             .spaceName("example-space")
+ *         var example = new SourceRepository("example", SourceRepositoryArgs.builder()        
+ *             .name("example-repo")
+ *             .projectName("example-project")
+ *             .spaceName("example-space")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplate.java index 7ebf5ce86cb..89cc18667c3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplate.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,24 +43,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApprovalRuleTemplate("example", ApprovalRuleTemplateArgs.builder()        
- *             .name("MyExampleApprovalRuleTemplate")
- *             .description("This is an example approval rule template")
+ *         var example = new ApprovalRuleTemplate("example", ApprovalRuleTemplateArgs.builder()        
+ *             .name("MyExampleApprovalRuleTemplate")
+ *             .description("This is an example approval rule template")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2018-11-08"),
- *                     jsonProperty("DestinationReferences", jsonArray("refs/heads/master")),
- *                     jsonProperty("Statements", jsonArray(jsonObject(
- *                         jsonProperty("Type", "Approvers"),
- *                         jsonProperty("NumberOfApprovalsNeeded", 2),
- *                         jsonProperty("ApprovalPoolMembers", jsonArray("arn:aws:sts::123456789012:assumed-role/CodeCommitReview/*"))
+ *                     jsonProperty("Version", "2018-11-08"),
+ *                     jsonProperty("DestinationReferences", jsonArray("refs/heads/master")),
+ *                     jsonProperty("Statements", jsonArray(jsonObject(
+ *                         jsonProperty("Type", "Approvers"),
+ *                         jsonProperty("NumberOfApprovalsNeeded", 2),
+ *                         jsonProperty("ApprovalPoolMembers", jsonArray("arn:aws:sts::123456789012:assumed-role/CodeCommitReview/*"))
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplateAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplateAssociation.java index f62e28ce52b..49697b241bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplateAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecommit/ApprovalRuleTemplateAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApprovalRuleTemplateAssociation("example", ApprovalRuleTemplateAssociationArgs.builder()        
+ *         var example = new ApprovalRuleTemplateAssociation("example", ApprovalRuleTemplateAssociationArgs.builder()        
  *             .approvalRuleTemplateName(exampleAwsCodecommitApprovalRuleTemplate.name())
  *             .repositoryName(exampleAwsCodecommitRepository.repositoryName())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecommit/CodecommitFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/codecommit/CodecommitFunctions.java index 9e074afb2cb..4a90fd50eae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecommit/CodecommitFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecommit/CodecommitFunctions.java @@ -23,7 +23,8 @@ public final class CodecommitFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,12 +46,13 @@ public final class CodecommitFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecommitFunctions.getApprovalRuleTemplate(GetApprovalRuleTemplateArgs.builder()
-     *             .name("MyExampleApprovalRuleTemplate")
+     *             .name("MyExampleApprovalRuleTemplate")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getApprovalRuleTemplate(GetA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -85,12 +88,13 @@ public static Output getApprovalRuleTemplate(GetA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecommitFunctions.getApprovalRuleTemplate(GetApprovalRuleTemplateArgs.builder()
-     *             .name("MyExampleApprovalRuleTemplate")
+     *             .name("MyExampleApprovalRuleTemplate")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getApprovalRuleTe * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getApprovalRuleTe
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecommitFunctions.getApprovalRuleTemplate(GetApprovalRuleTemplateArgs.builder()
-     *             .name("MyExampleApprovalRuleTemplate")
+     *             .name("MyExampleApprovalRuleTemplate")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getApprovalRuleTemplate(GetA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,12 +172,13 @@ public static Output getApprovalRuleTemplate(GetA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodecommitFunctions.getApprovalRuleTemplate(GetApprovalRuleTemplateArgs.builder()
-     *             .name("MyExampleApprovalRuleTemplate")
+     *             .name("MyExampleApprovalRuleTemplate")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getApprovalRuleTe * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -205,12 +214,13 @@ public static CompletableFuture getApprovalRuleTe
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CodecommitFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .repositoryName("MyTestRepository")
+     *             .repositoryName("MyTestRepository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -223,7 +233,8 @@ public static Output getRepository(GetRepositoryArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -245,12 +256,13 @@ public static Output getRepository(GetRepositoryArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CodecommitFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .repositoryName("MyTestRepository")
+     *             .repositoryName("MyTestRepository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -263,7 +275,8 @@ public static CompletableFuture getRepositoryPlain(GetRepos * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -285,12 +298,13 @@ public static CompletableFuture getRepositoryPlain(GetRepos
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CodecommitFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .repositoryName("MyTestRepository")
+     *             .repositoryName("MyTestRepository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -303,7 +317,8 @@ public static Output getRepository(GetRepositoryArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -325,12 +340,13 @@ public static Output getRepository(GetRepositoryArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var test = CodecommitFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .repositoryName("MyTestRepository")
+     *             .repositoryName("MyTestRepository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecommit/Repository.java b/sdk/java/src/main/java/com/pulumi/aws/codecommit/Repository.java index 8e4548a7b30..504a740033b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecommit/Repository.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecommit/Repository.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,20 +43,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Repository("test", RepositoryArgs.builder()        
- *             .repositoryName("MyTestRepository")
- *             .description("This is the Sample App Repository")
+ *         var test = new Repository("test", RepositoryArgs.builder()        
+ *             .repositoryName("MyTestRepository")
+ *             .description("This is the Sample App Repository")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS KMS Customer Managed Keys (CMK) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,20 +81,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testKey = new Key("testKey", KeyArgs.builder()        
- *             .description("test")
+ *         var testKey = new Key("testKey", KeyArgs.builder()        
+ *             .description("test")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var test = new Repository("test", RepositoryArgs.builder()        
- *             .repositoryName("MyTestRepository")
- *             .description("This is the Sample App Repository")
+ *         var test = new Repository("test", RepositoryArgs.builder()        
+ *             .repositoryName("MyTestRepository")
+ *             .description("This is the Sample App Repository")
  *             .kmsKeyId(testKey.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codecommit/Trigger.java b/sdk/java/src/main/java/com/pulumi/aws/codecommit/Trigger.java index d8ecd8fcc5b..56a04c0976b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codecommit/Trigger.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codecommit/Trigger.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Repository("test", RepositoryArgs.builder()        
- *             .repositoryName("test")
+ *         var test = new Repository("test", RepositoryArgs.builder()        
+ *             .repositoryName("test")
  *             .build());
  * 
- *         var testTrigger = new Trigger("testTrigger", TriggerArgs.builder()        
+ *         var testTrigger = new Trigger("testTrigger", TriggerArgs.builder()        
  *             .repositoryName(test.repositoryName())
  *             .triggers(TriggerTriggerArgs.builder()
- *                 .name("all")
- *                 .events("all")
+ *                 .name("all")
+ *                 .events("all")
  *                 .destinationArn(testAwsSnsTopic.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codedeploy/Application.java b/sdk/java/src/main/java/com/pulumi/aws/codedeploy/Application.java index e6b60958ed6..61abdf3bc0d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codedeploy/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codedeploy/Application.java @@ -24,7 +24,8 @@ * ### ECS Application * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .computePlatform("ECS")
- *             .name("example")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .computePlatform("ECS")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Application * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,20 +82,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .computePlatform("Lambda")
- *             .name("example")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .computePlatform("Lambda")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Server Application * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -113,14 +118,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .computePlatform("Server")
- *             .name("example")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .computePlatform("Server")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentConfig.java b/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentConfig.java index 6d8eab490f2..c004b37e4ec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentConfig.java @@ -24,7 +24,8 @@ * ### Server Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,48 +53,50 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new DeploymentConfig("foo", DeploymentConfigArgs.builder()        
- *             .deploymentConfigName("test-deployment-config")
+ *         var foo = new DeploymentConfig("foo", DeploymentConfigArgs.builder()        
+ *             .deploymentConfigName("test-deployment-config")
  *             .minimumHealthyHosts(DeploymentConfigMinimumHealthyHostsArgs.builder()
- *                 .type("HOST_COUNT")
+ *                 .type("HOST_COUNT")
  *                 .value(2)
  *                 .build())
  *             .build());
  * 
- *         var fooDeploymentGroup = new DeploymentGroup("fooDeploymentGroup", DeploymentGroupArgs.builder()        
+ *         var fooDeploymentGroup = new DeploymentGroup("fooDeploymentGroup", DeploymentGroupArgs.builder()        
  *             .appName(fooApp.name())
- *             .deploymentGroupName("bar")
+ *             .deploymentGroupName("bar")
  *             .serviceRoleArn(fooRole.arn())
  *             .deploymentConfigName(foo.id())
  *             .ec2TagFilters(DeploymentGroupEc2TagFilterArgs.builder()
- *                 .key("filterkey")
- *                 .type("KEY_AND_VALUE")
- *                 .value("filtervalue")
+ *                 .key("filterkey")
+ *                 .type("KEY_AND_VALUE")
+ *                 .value("filtervalue")
  *                 .build())
  *             .triggerConfigurations(DeploymentGroupTriggerConfigurationArgs.builder()
- *                 .triggerEvents("DeploymentFailure")
- *                 .triggerName("foo-trigger")
- *                 .triggerTargetArn("foo-topic-arn")
+ *                 .triggerEvents("DeploymentFailure")
+ *                 .triggerName("foo-trigger")
+ *                 .triggerTargetArn("foo-topic-arn")
  *                 .build())
  *             .autoRollbackConfiguration(DeploymentGroupAutoRollbackConfigurationArgs.builder()
  *                 .enabled(true)
- *                 .events("DEPLOYMENT_FAILURE")
+ *                 .events("DEPLOYMENT_FAILURE")
  *                 .build())
  *             .alarmConfiguration(DeploymentGroupAlarmConfigurationArgs.builder()
- *                 .alarms("my-alarm-name")
+ *                 .alarms("my-alarm-name")
  *                 .enabled(true)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -120,11 +123,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new DeploymentConfig("foo", DeploymentConfigArgs.builder()        
- *             .deploymentConfigName("test-deployment-config")
- *             .computePlatform("Lambda")
+ *         var foo = new DeploymentConfig("foo", DeploymentConfigArgs.builder()        
+ *             .deploymentConfigName("test-deployment-config")
+ *             .computePlatform("Lambda")
  *             .trafficRoutingConfig(DeploymentConfigTrafficRoutingConfigArgs.builder()
- *                 .type("TimeBasedLinear")
+ *                 .type("TimeBasedLinear")
  *                 .timeBasedLinear(DeploymentConfigTrafficRoutingConfigTimeBasedLinearArgs.builder()
  *                     .interval(10)
  *                     .percentage(10)
@@ -132,24 +135,25 @@
  *                 .build())
  *             .build());
  * 
- *         var fooDeploymentGroup = new DeploymentGroup("fooDeploymentGroup", DeploymentGroupArgs.builder()        
+ *         var fooDeploymentGroup = new DeploymentGroup("fooDeploymentGroup", DeploymentGroupArgs.builder()        
  *             .appName(fooApp.name())
- *             .deploymentGroupName("bar")
+ *             .deploymentGroupName("bar")
  *             .serviceRoleArn(fooRole.arn())
  *             .deploymentConfigName(foo.id())
  *             .autoRollbackConfiguration(DeploymentGroupAutoRollbackConfigurationArgs.builder()
  *                 .enabled(true)
- *                 .events("DEPLOYMENT_STOP_ON_ALARM")
+ *                 .events("DEPLOYMENT_STOP_ON_ALARM")
  *                 .build())
  *             .alarmConfiguration(DeploymentGroupAlarmConfigurationArgs.builder()
- *                 .alarms("my-alarm-name")
+ *                 .alarms("my-alarm-name")
  *                 .enabled(true)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentGroup.java b/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentGroup.java index 475b7b24f3c..31bb89e29ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codedeploy/DeploymentGroup.java @@ -34,7 +34,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -71,75 +72,77 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("codedeploy.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("codedeploy.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("example-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("example-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var aWSCodeDeployRole = new RolePolicyAttachment("aWSCodeDeployRole", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSCodeDeployRole")
+ *         var aWSCodeDeployRole = new RolePolicyAttachment("aWSCodeDeployRole", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSCodeDeployRole")
  *             .role(example.name())
  *             .build());
  * 
- *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
- *             .name("example-app")
+ *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
+ *             .name("example-app")
  *             .build());
  * 
- *         var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
- *             .name("example-topic")
+ *         var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
+ *             .name("example-topic")
  *             .build());
  * 
- *         var exampleDeploymentGroup = new DeploymentGroup("exampleDeploymentGroup", DeploymentGroupArgs.builder()        
+ *         var exampleDeploymentGroup = new DeploymentGroup("exampleDeploymentGroup", DeploymentGroupArgs.builder()        
  *             .appName(exampleApplication.name())
- *             .deploymentGroupName("example-group")
+ *             .deploymentGroupName("example-group")
  *             .serviceRoleArn(example.arn())
  *             .ec2TagSets(DeploymentGroupEc2TagSetArgs.builder()
  *                 .ec2TagFilters(                
  *                     DeploymentGroupEc2TagSetEc2TagFilterArgs.builder()
- *                         .key("filterkey1")
- *                         .type("KEY_AND_VALUE")
- *                         .value("filtervalue")
+ *                         .key("filterkey1")
+ *                         .type("KEY_AND_VALUE")
+ *                         .value("filtervalue")
  *                         .build(),
  *                     DeploymentGroupEc2TagSetEc2TagFilterArgs.builder()
- *                         .key("filterkey2")
- *                         .type("KEY_AND_VALUE")
- *                         .value("filtervalue")
+ *                         .key("filterkey2")
+ *                         .type("KEY_AND_VALUE")
+ *                         .value("filtervalue")
  *                         .build())
  *                 .build())
  *             .triggerConfigurations(DeploymentGroupTriggerConfigurationArgs.builder()
- *                 .triggerEvents("DeploymentFailure")
- *                 .triggerName("example-trigger")
+ *                 .triggerEvents("DeploymentFailure")
+ *                 .triggerName("example-trigger")
  *                 .triggerTargetArn(exampleTopic.arn())
  *                 .build())
  *             .autoRollbackConfiguration(DeploymentGroupAutoRollbackConfigurationArgs.builder()
  *                 .enabled(true)
- *                 .events("DEPLOYMENT_FAILURE")
+ *                 .events("DEPLOYMENT_FAILURE")
  *                 .build())
  *             .alarmConfiguration(DeploymentGroupAlarmConfigurationArgs.builder()
- *                 .alarms("my-alarm-name")
+ *                 .alarms("my-alarm-name")
  *                 .enabled(true)
  *                 .build())
- *             .outdatedInstancesStrategy("UPDATE")
+ *             .outdatedInstancesStrategy("UPDATE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Blue Green Deployments with ECS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -171,32 +174,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .computePlatform("ECS")
- *             .name("example")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .computePlatform("ECS")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleDeploymentGroup = new DeploymentGroup("exampleDeploymentGroup", DeploymentGroupArgs.builder()        
+ *         var exampleDeploymentGroup = new DeploymentGroup("exampleDeploymentGroup", DeploymentGroupArgs.builder()        
  *             .appName(example.name())
- *             .deploymentConfigName("CodeDeployDefault.ECSAllAtOnce")
- *             .deploymentGroupName("example")
+ *             .deploymentConfigName("CodeDeployDefault.ECSAllAtOnce")
+ *             .deploymentGroupName("example")
  *             .serviceRoleArn(exampleAwsIamRole.arn())
  *             .autoRollbackConfiguration(DeploymentGroupAutoRollbackConfigurationArgs.builder()
  *                 .enabled(true)
- *                 .events("DEPLOYMENT_FAILURE")
+ *                 .events("DEPLOYMENT_FAILURE")
  *                 .build())
  *             .blueGreenDeploymentConfig(DeploymentGroupBlueGreenDeploymentConfigArgs.builder()
  *                 .deploymentReadyOption(DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.builder()
- *                     .actionOnTimeout("CONTINUE_DEPLOYMENT")
+ *                     .actionOnTimeout("CONTINUE_DEPLOYMENT")
  *                     .build())
  *                 .terminateBlueInstancesOnDeploymentSuccess(DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessArgs.builder()
- *                     .action("TERMINATE")
+ *                     .action("TERMINATE")
  *                     .terminationWaitTimeInMinutes(5)
  *                     .build())
  *                 .build())
  *             .deploymentStyle(DeploymentGroupDeploymentStyleArgs.builder()
- *                 .deploymentOption("WITH_TRAFFIC_CONTROL")
- *                 .deploymentType("BLUE_GREEN")
+ *                 .deploymentOption("WITH_TRAFFIC_CONTROL")
+ *                 .deploymentType("BLUE_GREEN")
  *                 .build())
  *             .ecsService(DeploymentGroupEcsServiceArgs.builder()
  *                 .clusterName(exampleAwsEcsCluster.name())
@@ -220,13 +223,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Blue Green Deployments with Servers and Classic ELB * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -255,17 +260,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .name("example-app")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .name("example-app")
  *             .build());
  * 
- *         var exampleDeploymentGroup = new DeploymentGroup("exampleDeploymentGroup", DeploymentGroupArgs.builder()        
+ *         var exampleDeploymentGroup = new DeploymentGroup("exampleDeploymentGroup", DeploymentGroupArgs.builder()        
  *             .appName(example.name())
- *             .deploymentGroupName("example-group")
+ *             .deploymentGroupName("example-group")
  *             .serviceRoleArn(exampleAwsIamRole.arn())
  *             .deploymentStyle(DeploymentGroupDeploymentStyleArgs.builder()
- *                 .deploymentOption("WITH_TRAFFIC_CONTROL")
- *                 .deploymentType("BLUE_GREEN")
+ *                 .deploymentOption("WITH_TRAFFIC_CONTROL")
+ *                 .deploymentType("BLUE_GREEN")
  *                 .build())
  *             .loadBalancerInfo(DeploymentGroupLoadBalancerInfoArgs.builder()
  *                 .elbInfos(DeploymentGroupLoadBalancerInfoElbInfoArgs.builder()
@@ -274,21 +279,22 @@
  *                 .build())
  *             .blueGreenDeploymentConfig(DeploymentGroupBlueGreenDeploymentConfigArgs.builder()
  *                 .deploymentReadyOption(DeploymentGroupBlueGreenDeploymentConfigDeploymentReadyOptionArgs.builder()
- *                     .actionOnTimeout("STOP_DEPLOYMENT")
+ *                     .actionOnTimeout("STOP_DEPLOYMENT")
  *                     .waitTimeInMinutes(60)
  *                     .build())
  *                 .greenFleetProvisioningOption(DeploymentGroupBlueGreenDeploymentConfigGreenFleetProvisioningOptionArgs.builder()
- *                     .action("DISCOVER_EXISTING")
+ *                     .action("DISCOVER_EXISTING")
  *                     .build())
  *                 .terminateBlueInstancesOnDeploymentSuccess(DeploymentGroupBlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessArgs.builder()
- *                     .action("KEEP_ALIVE")
+ *                     .action("KEEP_ALIVE")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/CodeguruprofilerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/CodeguruprofilerFunctions.java index 497bc79354c..1119a6cf1b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/CodeguruprofilerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/CodeguruprofilerFunctions.java @@ -22,7 +22,8 @@ public final class CodeguruprofilerFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,12 +45,13 @@ public final class CodeguruprofilerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodeguruprofilerFunctions.getProfilingGroup(GetProfilingGroupArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getProfilingGroup(GetProfilingGrou * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,12 +89,13 @@ public static Output getProfilingGroup(GetProfilingGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodeguruprofilerFunctions.getProfilingGroup(GetProfilingGroupArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getProfilingGroupPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getProfilingGroupPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodeguruprofilerFunctions.getProfilingGroup(GetProfilingGroupArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getProfilingGroup(GetProfilingGrou * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,12 +177,13 @@ public static Output getProfilingGroup(GetProfilingGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CodeguruprofilerFunctions.getProfilingGroup(GetProfilingGroupArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/ProfilingGroup.java b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/ProfilingGroup.java index 5e786e6e11a..8a48a4a295b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/ProfilingGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/ProfilingGroup.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,9 +47,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProfilingGroup("example", ProfilingGroupArgs.builder()        
- *             .name("example")
- *             .computePlatform("Default")
+ *         var example = new ProfilingGroup("example", ProfilingGroupArgs.builder()        
+ *             .name("example")
+ *             .computePlatform("Default")
  *             .agentOrchestrationConfig(ProfilingGroupAgentOrchestrationConfigArgs.builder()
  *                 .profilingEnabled(true)
  *                 .build())
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codegurureviewer/RepositoryAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/codegurureviewer/RepositoryAssociation.java index e3864f1b2f7..cfe1b138738 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codegurureviewer/RepositoryAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codegurureviewer/RepositoryAssociation.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,27 +53,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example");
+ *         var example = new Key("example");
  * 
- *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
- *             .repositoryName("example-repo")
+ *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
+ *             .repositoryName("example-repo")
  *             .build());
  * 
- *         var exampleRepositoryAssociation = new RepositoryAssociation("exampleRepositoryAssociation", RepositoryAssociationArgs.builder()        
+ *         var exampleRepositoryAssociation = new RepositoryAssociation("exampleRepositoryAssociation", RepositoryAssociationArgs.builder()        
  *             .repository(RepositoryAssociationRepositoryArgs.builder()
  *                 .codecommit(RepositoryAssociationRepositoryCodecommitArgs.builder()
  *                     .name(exampleRepository.repositoryName())
  *                     .build())
  *                 .build())
  *             .kmsKeyDetails(RepositoryAssociationKmsKeyDetailsArgs.builder()
- *                 .encryptionOption("CUSTOMER_MANAGED_CMK")
+ *                 .encryptionOption("CUSTOMER_MANAGED_CMK")
  *                 .kmsKeyId(example.keyId())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codepipeline/CustomActionType.java b/sdk/java/src/main/java/com/pulumi/aws/codepipeline/CustomActionType.java index 8117c57135a..e5e56e8b916 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codepipeline/CustomActionType.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codepipeline/CustomActionType.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,8 +50,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CustomActionType("example", CustomActionTypeArgs.builder()        
- *             .category("Build")
+ *         var example = new CustomActionType("example", CustomActionTypeArgs.builder()        
+ *             .category("Build")
  *             .inputArtifactDetails(CustomActionTypeInputArtifactDetailsArgs.builder()
  *                 .maximumCount(1)
  *                 .minimumCount(0)
@@ -59,13 +60,14 @@
  *                 .maximumCount(1)
  *                 .minimumCount(0)
  *                 .build())
- *             .providerName("example")
- *             .version("1")
+ *             .providerName("example")
+ *             .version("1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Pipeline.java b/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Pipeline.java index f0da480a5eb..088a10b2b5b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Pipeline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Pipeline.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,97 +65,97 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
- *             .name("example-connection")
- *             .providerType("GitHub")
+ *         var example = new Connection("example", ConnectionArgs.builder()        
+ *             .name("example-connection")
+ *             .providerType("GitHub")
  *             .build());
  * 
- *         var codepipelineBucket = new BucketV2("codepipelineBucket", BucketV2Args.builder()        
- *             .bucket("test-bucket")
+ *         var codepipelineBucket = new BucketV2("codepipelineBucket", BucketV2Args.builder()        
+ *             .bucket("test-bucket")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("codepipeline.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("codepipeline.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var codepipelineRole = new Role("codepipelineRole", RoleArgs.builder()        
- *             .name("test-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var codepipelineRole = new Role("codepipelineRole", RoleArgs.builder()        
+ *             .name("test-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var s3kmskey = KmsFunctions.getAlias(GetAliasArgs.builder()
- *             .name("alias/myKmsKey")
+ *             .name("alias/myKmsKey")
  *             .build());
  * 
- *         var codepipeline = new Pipeline("codepipeline", PipelineArgs.builder()        
- *             .name("tf-test-pipeline")
+ *         var codepipeline = new Pipeline("codepipeline", PipelineArgs.builder()        
+ *             .name("tf-test-pipeline")
  *             .roleArn(codepipelineRole.arn())
  *             .artifactStores(PipelineArtifactStoreArgs.builder()
  *                 .location(codepipelineBucket.bucket())
- *                 .type("S3")
+ *                 .type("S3")
  *                 .encryptionKey(PipelineArtifactStoreEncryptionKeyArgs.builder()
- *                     .id(s3kmskey.applyValue(getAliasResult -> getAliasResult.arn()))
- *                     .type("KMS")
+ *                     .id(s3kmskey.applyValue(getAliasResult -> getAliasResult.arn()))
+ *                     .type("KMS")
  *                     .build())
  *                 .build())
  *             .stages(            
  *                 PipelineStageArgs.builder()
- *                     .name("Source")
+ *                     .name("Source")
  *                     .actions(PipelineStageActionArgs.builder()
- *                         .name("Source")
- *                         .category("Source")
- *                         .owner("AWS")
- *                         .provider("CodeStarSourceConnection")
- *                         .version("1")
- *                         .outputArtifacts("source_output")
+ *                         .name("Source")
+ *                         .category("Source")
+ *                         .owner("AWS")
+ *                         .provider("CodeStarSourceConnection")
+ *                         .version("1")
+ *                         .outputArtifacts("source_output")
  *                         .configuration(Map.ofEntries(
- *                             Map.entry("ConnectionArn", example.arn()),
- *                             Map.entry("FullRepositoryId", "my-organization/example"),
- *                             Map.entry("BranchName", "main")
+ *                             Map.entry("ConnectionArn", example.arn()),
+ *                             Map.entry("FullRepositoryId", "my-organization/example"),
+ *                             Map.entry("BranchName", "main")
  *                         ))
  *                         .build())
  *                     .build(),
  *                 PipelineStageArgs.builder()
- *                     .name("Build")
+ *                     .name("Build")
  *                     .actions(PipelineStageActionArgs.builder()
- *                         .name("Build")
- *                         .category("Build")
- *                         .owner("AWS")
- *                         .provider("CodeBuild")
- *                         .inputArtifacts("source_output")
- *                         .outputArtifacts("build_output")
- *                         .version("1")
- *                         .configuration(Map.of("ProjectName", "test"))
+ *                         .name("Build")
+ *                         .category("Build")
+ *                         .owner("AWS")
+ *                         .provider("CodeBuild")
+ *                         .inputArtifacts("source_output")
+ *                         .outputArtifacts("build_output")
+ *                         .version("1")
+ *                         .configuration(Map.of("ProjectName", "test"))
  *                         .build())
  *                     .build(),
  *                 PipelineStageArgs.builder()
- *                     .name("Deploy")
+ *                     .name("Deploy")
  *                     .actions(PipelineStageActionArgs.builder()
- *                         .name("Deploy")
- *                         .category("Deploy")
- *                         .owner("AWS")
- *                         .provider("CloudFormation")
- *                         .inputArtifacts("build_output")
- *                         .version("1")
+ *                         .name("Deploy")
+ *                         .category("Deploy")
+ *                         .owner("AWS")
+ *                         .provider("CloudFormation")
+ *                         .inputArtifacts("build_output")
+ *                         .version("1")
  *                         .configuration(Map.ofEntries(
- *                             Map.entry("ActionMode", "REPLACE_ON_FAILURE"),
- *                             Map.entry("Capabilities", "CAPABILITY_AUTO_EXPAND,CAPABILITY_IAM"),
- *                             Map.entry("OutputFileName", "CreateStackOutput.json"),
- *                             Map.entry("StackName", "MyStack"),
- *                             Map.entry("TemplatePath", "build_output::sam-templated.yaml")
+ *                             Map.entry("ActionMode", "REPLACE_ON_FAILURE"),
+ *                             Map.entry("Capabilities", "CAPABILITY_AUTO_EXPAND,CAPABILITY_IAM"),
+ *                             Map.entry("OutputFileName", "CreateStackOutput.json"),
+ *                             Map.entry("StackName", "MyStack"),
+ *                             Map.entry("TemplatePath", "build_output::sam-templated.yaml")
  *                         ))
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var codepipelineBucketPab = new BucketPublicAccessBlock("codepipelineBucketPab", BucketPublicAccessBlockArgs.builder()        
+ *         var codepipelineBucketPab = new BucketPublicAccessBlock("codepipelineBucketPab", BucketPublicAccessBlockArgs.builder()        
  *             .bucket(codepipelineBucket.id())
  *             .blockPublicAcls(true)
  *             .blockPublicPolicy(true)
@@ -165,40 +166,41 @@
  *         final var codepipelinePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "s3:GetObject",
- *                         "s3:GetObjectVersion",
- *                         "s3:GetBucketVersioning",
- *                         "s3:PutObjectAcl",
- *                         "s3:PutObject")
+ *                         "s3:GetObject",
+ *                         "s3:GetObjectVersion",
+ *                         "s3:GetBucketVersioning",
+ *                         "s3:PutObjectAcl",
+ *                         "s3:PutObject")
  *                     .resources(                    
  *                         codepipelineBucket.arn(),
- *                         codepipelineBucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                         codepipelineBucket.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("codestar-connections:UseConnection")
+ *                     .effect("Allow")
+ *                     .actions("codestar-connections:UseConnection")
  *                     .resources(example.arn())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "codebuild:BatchGetBuilds",
- *                         "codebuild:StartBuild")
- *                     .resources("*")
+ *                         "codebuild:BatchGetBuilds",
+ *                         "codebuild:StartBuild")
+ *                     .resources("*")
  *                     .build())
  *             .build());
  * 
- *         var codepipelinePolicyRolePolicy = new RolePolicy("codepipelinePolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("codepipeline_policy")
+ *         var codepipelinePolicyRolePolicy = new RolePolicy("codepipelinePolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("codepipeline_policy")
  *             .role(codepipelineRole.id())
- *             .policy(codepipelinePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(codepipelinePolicy -> codepipelinePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(codepipelinePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(codepipelinePolicy -> codepipelinePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Webhook.java b/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Webhook.java index 539c6654e00..a829227d13f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Webhook.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codepipeline/Webhook.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,80 +56,81 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Pipeline("bar", PipelineArgs.builder()        
- *             .name("tf-test-pipeline")
+ *         var bar = new Pipeline("bar", PipelineArgs.builder()        
+ *             .name("tf-test-pipeline")
  *             .roleArn(barAwsIamRole.arn())
  *             .artifactStores(PipelineArtifactStoreArgs.builder()
  *                 .location(barAwsS3Bucket.bucket())
- *                 .type("S3")
+ *                 .type("S3")
  *                 .encryptionKey(PipelineArtifactStoreEncryptionKeyArgs.builder()
  *                     .id(s3kmskey.arn())
- *                     .type("KMS")
+ *                     .type("KMS")
  *                     .build())
  *                 .build())
  *             .stages(            
  *                 PipelineStageArgs.builder()
- *                     .name("Source")
+ *                     .name("Source")
  *                     .actions(PipelineStageActionArgs.builder()
- *                         .name("Source")
- *                         .category("Source")
- *                         .owner("ThirdParty")
- *                         .provider("GitHub")
- *                         .version("1")
- *                         .outputArtifacts("test")
+ *                         .name("Source")
+ *                         .category("Source")
+ *                         .owner("ThirdParty")
+ *                         .provider("GitHub")
+ *                         .version("1")
+ *                         .outputArtifacts("test")
  *                         .configuration(Map.ofEntries(
- *                             Map.entry("Owner", "my-organization"),
- *                             Map.entry("Repo", "test"),
- *                             Map.entry("Branch", "master")
+ *                             Map.entry("Owner", "my-organization"),
+ *                             Map.entry("Repo", "test"),
+ *                             Map.entry("Branch", "master")
  *                         ))
  *                         .build())
  *                     .build(),
  *                 PipelineStageArgs.builder()
- *                     .name("Build")
+ *                     .name("Build")
  *                     .actions(PipelineStageActionArgs.builder()
- *                         .name("Build")
- *                         .category("Build")
- *                         .owner("AWS")
- *                         .provider("CodeBuild")
- *                         .inputArtifacts("test")
- *                         .version("1")
- *                         .configuration(Map.of("ProjectName", "test"))
+ *                         .name("Build")
+ *                         .category("Build")
+ *                         .owner("AWS")
+ *                         .provider("CodeBuild")
+ *                         .inputArtifacts("test")
+ *                         .version("1")
+ *                         .configuration(Map.of("ProjectName", "test"))
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         final var webhookSecret = "super-secret";
+ *         final var webhookSecret = "super-secret";
  * 
- *         var barWebhook = new Webhook("barWebhook", WebhookArgs.builder()        
- *             .name("test-webhook-github-bar")
- *             .authentication("GITHUB_HMAC")
- *             .targetAction("Source")
+ *         var barWebhook = new Webhook("barWebhook", WebhookArgs.builder()        
+ *             .name("test-webhook-github-bar")
+ *             .authentication("GITHUB_HMAC")
+ *             .targetAction("Source")
  *             .targetPipeline(bar.name())
  *             .authenticationConfiguration(WebhookAuthenticationConfigurationArgs.builder()
  *                 .secretToken(webhookSecret)
  *                 .build())
  *             .filters(WebhookFilterArgs.builder()
- *                 .jsonPath("$.ref")
- *                 .matchEquals("refs/heads/{Branch}")
+ *                 .jsonPath("$.ref")
+ *                 .matchEquals("refs/heads/{Branch}")
  *                 .build())
  *             .build());
  * 
  *         // Wire the CodePipeline webhook into a GitHub repository.
- *         var barRepositoryWebhook = new RepositoryWebhook("barRepositoryWebhook", RepositoryWebhookArgs.builder()        
+ *         var barRepositoryWebhook = new RepositoryWebhook("barRepositoryWebhook", RepositoryWebhookArgs.builder()        
  *             .repository(repo.name())
- *             .name("web")
+ *             .name("web")
  *             .configuration(RepositoryWebhookConfigurationArgs.builder()
  *                 .url(barWebhook.url())
- *                 .contentType("json")
+ *                 .contentType("json")
  *                 .insecureSsl(true)
  *                 .secret(webhookSecret)
  *                 .build())
- *             .events("push")
+ *             .events("push")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/CodestarconnectionsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/CodestarconnectionsFunctions.java index 762bfe69706..dc537550d75 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/CodestarconnectionsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/CodestarconnectionsFunctions.java @@ -22,7 +22,8 @@ public final class CodestarconnectionsFunctions { * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -49,13 +50,15 @@ public final class CodestarconnectionsFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,7 +85,8 @@ public final class CodestarconnectionsFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -97,7 +101,8 @@ public static Output getConnection() { * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -124,13 +129,15 @@ public static Output getConnection() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -157,7 +164,8 @@ public static Output getConnection() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -172,7 +180,8 @@ public static CompletableFuture getConnectionPlain() { * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -199,13 +208,15 @@ public static CompletableFuture getConnectionPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -232,7 +243,8 @@ public static CompletableFuture getConnectionPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -247,7 +259,8 @@ public static Output getConnection(GetConnectionArgs args) * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -274,13 +287,15 @@ public static Output getConnection(GetConnectionArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -307,7 +322,8 @@ public static Output getConnection(GetConnectionArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -322,7 +338,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -349,13 +366,15 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -382,7 +401,8 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -397,7 +417,8 @@ public static Output getConnection(GetConnectionArgs args, * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -424,13 +445,15 @@ public static Output getConnection(GetConnectionArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -457,7 +480,8 @@ public static Output getConnection(GetConnectionArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Connection.java b/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Connection.java index e18c979c5f8..182896d6a30 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Connection.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,45 +49,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
- *             .name("example-connection")
- *             .providerType("Bitbucket")
+ *         var example = new Connection("example", ConnectionArgs.builder()        
+ *             .name("example-connection")
+ *             .providerType("Bitbucket")
  *             .build());
  * 
- *         var examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()        
+ *         var examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()        
  *             .artifactStores()
  *             .stages(            
  *                 PipelineStageArgs.builder()
- *                     .name("Source")
+ *                     .name("Source")
  *                     .actions(PipelineStageActionArgs.builder()
- *                         .name("Source")
- *                         .category("Source")
- *                         .owner("AWS")
- *                         .provider("CodeStarSourceConnection")
- *                         .version("1")
- *                         .outputArtifacts("source_output")
+ *                         .name("Source")
+ *                         .category("Source")
+ *                         .owner("AWS")
+ *                         .provider("CodeStarSourceConnection")
+ *                         .version("1")
+ *                         .outputArtifacts("source_output")
  *                         .configuration(Map.ofEntries(
- *                             Map.entry("ConnectionArn", example.arn()),
- *                             Map.entry("FullRepositoryId", "my-organization/test"),
- *                             Map.entry("BranchName", "main")
+ *                             Map.entry("ConnectionArn", example.arn()),
+ *                             Map.entry("FullRepositoryId", "my-organization/test"),
+ *                             Map.entry("BranchName", "main")
  *                         ))
  *                         .build())
  *                     .build(),
  *                 PipelineStageArgs.builder()
  *                     .actions()
- *                     .name("Build")
+ *                     .name("Build")
  *                     .build(),
  *                 PipelineStageArgs.builder()
  *                     .actions()
- *                     .name("Deploy")
+ *                     .name("Deploy")
  *                     .build())
- *             .name("tf-test-pipeline")
+ *             .name("tf-test-pipeline")
  *             .roleArn(codepipelineRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Host.java b/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Host.java index 479089f1dcd..effadc961c8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Host.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codestarconnections/Host.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Host("example", HostArgs.builder()        
- *             .name("example-host")
- *             .providerEndpoint("https://example.com")
- *             .providerType("GitHubEnterpriseServer")
+ *         var example = new Host("example", HostArgs.builder()        
+ *             .name("example-host")
+ *             .providerEndpoint("https://example.com")
+ *             .providerType("GitHubEnterpriseServer")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/codestarnotifications/NotificationRule.java b/sdk/java/src/main/java/com/pulumi/aws/codestarnotifications/NotificationRule.java index 20f33e10802..48bad6ba551 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codestarnotifications/NotificationRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codestarnotifications/NotificationRule.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,34 +54,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var code = new Repository("code", RepositoryArgs.builder()        
- *             .repositoryName("example-code-repo")
+ *         var code = new Repository("code", RepositoryArgs.builder()        
+ *             .repositoryName("example-code-repo")
  *             .build());
  * 
- *         var notif = new Topic("notif", TopicArgs.builder()        
- *             .name("notification")
+ *         var notif = new Topic("notif", TopicArgs.builder()        
+ *             .name("notification")
  *             .build());
  * 
  *         final var notifAccess = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sns:Publish")
+ *                 .actions("sns:Publish")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("codestar-notifications.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("codestar-notifications.amazonaws.com")
  *                     .build())
  *                 .resources(notif.arn())
  *                 .build())
  *             .build());
  * 
- *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
+ *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
  *             .arn(notif.arn())
- *             .policy(notifAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(notifAccess -> notifAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(notifAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(notifAccess -> notifAccess.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var commits = new NotificationRule("commits", NotificationRuleArgs.builder()        
- *             .detailType("BASIC")
- *             .eventTypeIds("codecommit-repository-comments-on-commits")
- *             .name("example-code-repo-commits")
+ *         var commits = new NotificationRule("commits", NotificationRuleArgs.builder()        
+ *             .detailType("BASIC")
+ *             .eventTypeIds("codecommit-repository-comments-on-commits")
+ *             .name("example-code-repo-commits")
  *             .resource(code.arn())
  *             .targets(NotificationRuleTargetArgs.builder()
  *                 .address(notif.arn())
@@ -89,7 +90,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/CognitoFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/CognitoFunctions.java index 894aecfbe51..6bf7f89a222 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/CognitoFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/CognitoFunctions.java @@ -40,7 +40,8 @@ public final class CognitoFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -62,12 +63,13 @@ public final class CognitoFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getIdentityPool(GetIdentityPoolArgs.builder()
-     *             .identityPoolName("test pool")
+     *             .identityPoolName("test pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -82,7 +84,8 @@ public static Output getIdentityPool(GetIdentityPoolArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -104,12 +107,13 @@ public static Output getIdentityPool(GetIdentityPoolArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getIdentityPool(GetIdentityPoolArgs.builder()
-     *             .identityPoolName("test pool")
+     *             .identityPoolName("test pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -124,7 +128,8 @@ public static CompletableFuture getIdentityPoolPlain(GetI * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -146,12 +151,13 @@ public static CompletableFuture getIdentityPoolPlain(GetI
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getIdentityPool(GetIdentityPoolArgs.builder()
-     *             .identityPoolName("test pool")
+     *             .identityPoolName("test pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -166,7 +172,8 @@ public static Output getIdentityPool(GetIdentityPoolArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -188,12 +195,13 @@ public static Output getIdentityPool(GetIdentityPoolArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getIdentityPool(GetIdentityPoolArgs.builder()
-     *             .identityPoolName("test pool")
+     *             .identityPoolName("test pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -208,7 +216,8 @@ public static CompletableFuture getIdentityPoolPlain(GetI * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -230,13 +239,14 @@ public static CompletableFuture getIdentityPoolPlain(GetI
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroup(GetUserGroupArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
-     *             .name("example")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -251,7 +261,8 @@ public static Output getUserGroup(GetUserGroupArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -273,13 +284,14 @@ public static Output getUserGroup(GetUserGroupArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroup(GetUserGroupArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
-     *             .name("example")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -294,7 +306,8 @@ public static CompletableFuture getUserGroupPlain(GetUserGro * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -316,13 +329,14 @@ public static CompletableFuture getUserGroupPlain(GetUserGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroup(GetUserGroupArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
-     *             .name("example")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -337,7 +351,8 @@ public static Output getUserGroup(GetUserGroupArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -359,13 +374,14 @@ public static Output getUserGroup(GetUserGroupArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroup(GetUserGroupArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
-     *             .name("example")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -380,7 +396,8 @@ public static CompletableFuture getUserGroupPlain(GetUserGro * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -402,12 +419,13 @@ public static CompletableFuture getUserGroupPlain(GetUserGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroups(GetUserGroupsArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -422,7 +440,8 @@ public static Output getUserGroups(GetUserGroupsArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -444,12 +463,13 @@ public static Output getUserGroups(GetUserGroupsArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroups(GetUserGroupsArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -464,7 +484,8 @@ public static CompletableFuture getUserGroupsPlain(GetUserG * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -486,12 +507,13 @@ public static CompletableFuture getUserGroupsPlain(GetUserG
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroups(GetUserGroupsArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -506,7 +528,8 @@ public static Output getUserGroups(GetUserGroupsArgs args, * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -528,12 +551,13 @@ public static Output getUserGroups(GetUserGroupsArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CognitoFunctions.getUserGroups(GetUserGroupsArgs.builder()
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -546,7 +570,8 @@ public static CompletableFuture getUserGroupsPlain(GetUserG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -568,13 +593,14 @@ public static CompletableFuture getUserGroupsPlain(GetUserG
      * 
      *     public static void stack(Context ctx) {
      *         final var client = CognitoFunctions.getUserPoolClient(GetUserPoolClientArgs.builder()
-     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -587,7 +613,8 @@ public static Output getUserPoolClient(GetUserPoolClien * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -609,13 +636,14 @@ public static Output getUserPoolClient(GetUserPoolClien
      * 
      *     public static void stack(Context ctx) {
      *         final var client = CognitoFunctions.getUserPoolClient(GetUserPoolClientArgs.builder()
-     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -628,7 +656,8 @@ public static CompletableFuture getUserPoolClientPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -650,13 +679,14 @@ public static CompletableFuture getUserPoolClientPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var client = CognitoFunctions.getUserPoolClient(GetUserPoolClientArgs.builder()
-     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -669,7 +699,8 @@ public static Output getUserPoolClient(GetUserPoolClien * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -691,13 +722,14 @@ public static Output getUserPoolClient(GetUserPoolClien
      * 
      *     public static void stack(Context ctx) {
      *         final var client = CognitoFunctions.getUserPoolClient(GetUserPoolClientArgs.builder()
-     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
-     *             .userPoolId("us-west-2_aaaaaaaaa")
+     *             .clientId("38fjsnc484p94kpqsnet7mpld0")
+     *             .userPoolId("us-west-2_aaaaaaaaa")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -710,7 +742,8 @@ public static CompletableFuture getUserPoolClientPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -737,7 +770,8 @@ public static CompletableFuture getUserPoolClientPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -750,7 +784,8 @@ public static Output getUserPoolClients(GetUserPoolCli * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -777,7 +812,8 @@ public static Output getUserPoolClients(GetUserPoolCli
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -790,7 +826,8 @@ public static CompletableFuture getUserPoolClientsPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -817,7 +854,8 @@ public static CompletableFuture getUserPoolClientsPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -830,7 +868,8 @@ public static Output getUserPoolClients(GetUserPoolCli * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -857,7 +896,8 @@ public static Output getUserPoolClients(GetUserPoolCli
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -870,7 +910,8 @@ public static CompletableFuture getUserPoolClientsPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -897,7 +938,8 @@ public static CompletableFuture getUserPoolClientsPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -910,7 +952,8 @@ public static Output getUserPoolSigningCert * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -937,7 +980,8 @@ public static Output getUserPoolSigningCert
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -950,7 +994,8 @@ public static CompletableFuture getUserPool * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -977,7 +1022,8 @@ public static CompletableFuture getUserPool
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -990,7 +1036,8 @@ public static Output getUserPoolSigningCert * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1017,7 +1064,8 @@ public static Output getUserPoolSigningCert
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1030,7 +1078,8 @@ public static CompletableFuture getUserPool * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1063,16 +1112,17 @@ public static CompletableFuture getUserPool
      *             .name(cognitoUserPoolName)
      *             .build());
      * 
-     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
-     *             .name("cognito")
-     *             .type("COGNITO_USER_POOLS")
-     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
+     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
+     *             .name("cognito")
+     *             .type("COGNITO_USER_POOLS")
+     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1085,7 +1135,8 @@ public static Output getUserPools(GetUserPoolsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1118,16 +1169,17 @@ public static Output getUserPools(GetUserPoolsArgs args) {
      *             .name(cognitoUserPoolName)
      *             .build());
      * 
-     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
-     *             .name("cognito")
-     *             .type("COGNITO_USER_POOLS")
-     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
+     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
+     *             .name("cognito")
+     *             .type("COGNITO_USER_POOLS")
+     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1140,7 +1192,8 @@ public static CompletableFuture getUserPoolsPlain(GetUserPoo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1173,16 +1226,17 @@ public static CompletableFuture getUserPoolsPlain(GetUserPoo
      *             .name(cognitoUserPoolName)
      *             .build());
      * 
-     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
-     *             .name("cognito")
-     *             .type("COGNITO_USER_POOLS")
-     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
+     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
+     *             .name("cognito")
+     *             .type("COGNITO_USER_POOLS")
+     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1195,7 +1249,8 @@ public static Output getUserPools(GetUserPoolsArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1228,16 +1283,17 @@ public static Output getUserPools(GetUserPoolsArgs args, Inv
      *             .name(cognitoUserPoolName)
      *             .build());
      * 
-     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
-     *             .name("cognito")
-     *             .type("COGNITO_USER_POOLS")
-     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
-     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
+     *         var cognito = new Authorizer("cognito", AuthorizerArgs.builder()        
+     *             .name("cognito")
+     *             .type("COGNITO_USER_POOLS")
+     *             .restApi(selected.applyValue(getRestApiResult -> getRestApiResult.id()))
+     *             .providerArns(selectedGetUserPools.applyValue(getUserPoolsResult -> getUserPoolsResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityPool.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityPool.java index 9b4da113d0a..61a1f7c41da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityPool.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityPool.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,39 +49,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new SamlProvider("default", SamlProviderArgs.builder()        
- *             .name("my-saml-provider")
+ *         var default_ = new SamlProvider("default", SamlProviderArgs.builder()        
+ *             .name("my-saml-provider")
  *             .samlMetadataDocument(StdFunctions.file(FileArgs.builder()
- *                 .input("saml-metadata.xml")
+ *                 .input("saml-metadata.xml")
  *                 .build()).result())
  *             .build());
  * 
- *         var main = new IdentityPool("main", IdentityPoolArgs.builder()        
- *             .identityPoolName("identity pool")
+ *         var main = new IdentityPool("main", IdentityPoolArgs.builder()        
+ *             .identityPoolName("identity pool")
  *             .allowUnauthenticatedIdentities(false)
  *             .allowClassicFlow(false)
  *             .cognitoIdentityProviders(            
  *                 IdentityPoolCognitoIdentityProviderArgs.builder()
- *                     .clientId("6lhlkkfbfb4q5kpp90urffae")
- *                     .providerName("cognito-idp.us-east-1.amazonaws.com/us-east-1_Tv0493apJ")
+ *                     .clientId("6lhlkkfbfb4q5kpp90urffae")
+ *                     .providerName("cognito-idp.us-east-1.amazonaws.com/us-east-1_Tv0493apJ")
  *                     .serverSideTokenCheck(false)
  *                     .build(),
  *                 IdentityPoolCognitoIdentityProviderArgs.builder()
- *                     .clientId("7kodkvfqfb4qfkp39eurffae")
- *                     .providerName("cognito-idp.us-east-1.amazonaws.com/eu-west-1_Zr231apJu")
+ *                     .clientId("7kodkvfqfb4qfkp39eurffae")
+ *                     .providerName("cognito-idp.us-east-1.amazonaws.com/eu-west-1_Zr231apJu")
  *                     .serverSideTokenCheck(false)
  *                     .build())
  *             .supportedLoginProviders(Map.ofEntries(
- *                 Map.entry("graph.facebook.com", "7346241598935552"),
- *                 Map.entry("accounts.google.com", "123456789012.apps.googleusercontent.com")
+ *                 Map.entry("graph.facebook.com", "7346241598935552"),
+ *                 Map.entry("accounts.google.com", "123456789012.apps.googleusercontent.com")
  *             ))
  *             .samlProviderArns(default_.arn())
- *             .openidConnectProviderArns("arn:aws:iam::123456789012:oidc-provider/id.example.com")
+ *             .openidConnectProviderArns("arn:aws:iam::123456789012:oidc-provider/id.example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityProvider.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityProvider.java index c025c7159a1..0e4c386ea83 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityProvider.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/IdentityProvider.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,29 +46,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("example-pool")
- *             .autoVerifiedAttributes("email")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("example-pool")
+ *             .autoVerifiedAttributes("email")
  *             .build());
  * 
- *         var exampleProvider = new IdentityProvider("exampleProvider", IdentityProviderArgs.builder()        
+ *         var exampleProvider = new IdentityProvider("exampleProvider", IdentityProviderArgs.builder()        
  *             .userPoolId(example.id())
- *             .providerName("Google")
- *             .providerType("Google")
+ *             .providerName("Google")
+ *             .providerType("Google")
  *             .providerDetails(Map.ofEntries(
- *                 Map.entry("authorize_scopes", "email"),
- *                 Map.entry("client_id", "your client_id"),
- *                 Map.entry("client_secret", "your client_secret")
+ *                 Map.entry("authorize_scopes", "email"),
+ *                 Map.entry("client_id", "your client_id"),
+ *                 Map.entry("client_secret", "your client_secret")
  *             ))
  *             .attributeMapping(Map.ofEntries(
- *                 Map.entry("email", "email"),
- *                 Map.entry("username", "sub")
+ *                 Map.entry("email", "email"),
+ *                 Map.entry("username", "sub")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java index 8d6cc590c2f..9d8bb993ddb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java @@ -31,7 +31,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -69,41 +70,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleUserPool = new UserPool("exampleUserPool", UserPoolArgs.builder()        
- *             .name("example")
+ *         var exampleUserPool = new UserPool("exampleUserPool", UserPoolArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleIdentityPool = new IdentityPool("exampleIdentityPool", IdentityPoolArgs.builder()        
- *             .identityPoolName("example")
+ *         var exampleIdentityPool = new IdentityPool("exampleIdentityPool", IdentityPoolArgs.builder()        
+ *             .identityPoolName("example")
  *             .build());
  * 
  *         final var current = AwsFunctions.getPartition();
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("")
- *                 .actions("sts:AssumeRole")
- *                 .effect("Allow")
+ *                 .sid("")
+ *                 .actions("sts:AssumeRole")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers(String.format("es.%s", current.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix())))
+ *                     .type("Service")
+ *                     .identifiers(String.format("es.%s", current.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix())))
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example-role")
- *             .path("/service-role/")
- *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example-role")
+ *             .path("/service-role/")
+ *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(exampleRole.name())
- *             .policyArn(String.format("arn:%s:iam::aws:policy/AmazonESCognitoAccess", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+ *             .policyArn(String.format("arn:%s:iam::aws:policy/AmazonESCognitoAccess", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .domainName("example")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .domainName("example")
  *             .cognitoOptions(DomainCognitoOptionsArgs.builder()
  *                 .enabled(true)
  *                 .userPoolId(exampleUserPool.id())
@@ -120,8 +121,8 @@
  *                     exampleRolePolicyAttachment)
  *                 .build());
  * 
- *         var exampleManagedUserPoolClient = new ManagedUserPoolClient("exampleManagedUserPoolClient", ManagedUserPoolClientArgs.builder()        
- *             .namePrefix("AmazonOpenSearchService-example")
+ *         var exampleManagedUserPoolClient = new ManagedUserPoolClient("exampleManagedUserPoolClient", ManagedUserPoolClientArgs.builder()        
+ *             .namePrefix("AmazonOpenSearchService-example")
  *             .userPoolId(exampleUserPool.id())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleDomain)
@@ -129,7 +130,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/ResourceServer.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/ResourceServer.java index 750a3bc1507..06eaab17a82 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/ResourceServer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/ResourceServer.java @@ -24,7 +24,8 @@ * ### Create a basic resource server * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,25 +48,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pool = new UserPool("pool", UserPoolArgs.builder()        
- *             .name("pool")
+ *         var pool = new UserPool("pool", UserPoolArgs.builder()        
+ *             .name("pool")
  *             .build());
  * 
- *         var resource = new ResourceServer("resource", ResourceServerArgs.builder()        
- *             .identifier("https://example.com")
- *             .name("example")
+ *         var resource = new ResourceServer("resource", ResourceServerArgs.builder()        
+ *             .identifier("https://example.com")
+ *             .name("example")
  *             .userPoolId(pool.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create a resource server with sample-scope * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,23 +92,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pool = new UserPool("pool", UserPoolArgs.builder()        
- *             .name("pool")
+ *         var pool = new UserPool("pool", UserPoolArgs.builder()        
+ *             .name("pool")
  *             .build());
  * 
- *         var resource = new ResourceServer("resource", ResourceServerArgs.builder()        
- *             .identifier("https://example.com")
- *             .name("example")
+ *         var resource = new ResourceServer("resource", ResourceServerArgs.builder()        
+ *             .identifier("https://example.com")
+ *             .name("example")
  *             .scopes(ResourceServerScopeArgs.builder()
- *                 .scopeName("sample-scope")
- *                 .scopeDescription("a Sample Scope Description")
+ *                 .scopeName("sample-scope")
+ *                 .scopeDescription("a Sample Scope Description")
  *                 .build())
  *             .userPoolId(pool.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/RiskConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/RiskConfiguration.java index 55cd85098d8..47c733d0ee1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/RiskConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/RiskConfiguration.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RiskConfiguration("example", RiskConfigurationArgs.builder()        
+ *         var example = new RiskConfiguration("example", RiskConfigurationArgs.builder()        
  *             .userPoolId(exampleAwsCognitoUserPool.id())
  *             .riskExceptionConfiguration(RiskConfigurationRiskExceptionConfigurationArgs.builder()
- *                 .blockedIpRangeLists("10.10.10.10/32")
+ *                 .blockedIpRangeLists("10.10.10.10/32")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/User.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/User.java index 8773c41c95b..97d39e1a8a1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/User.java @@ -25,7 +25,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("MyExamplePool")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("MyExamplePool")
  *             .build());
  * 
- *         var exampleUser = new User("exampleUser", UserArgs.builder()        
+ *         var exampleUser = new User("exampleUser", UserArgs.builder()        
  *             .userPoolId(example.id())
- *             .username("example")
+ *             .username("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Setting user attributes * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,19 +93,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("mypool")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("mypool")
  *             .schemas(            
  *                 UserPoolSchemaArgs.builder()
- *                     .name("example")
- *                     .attributeDataType("Boolean")
+ *                     .name("example")
+ *                     .attributeDataType("Boolean")
  *                     .mutable(false)
  *                     .required(false)
  *                     .developerOnlyAttribute(false)
  *                     .build(),
  *                 UserPoolSchemaArgs.builder()
- *                     .name("foo")
- *                     .attributeDataType("String")
+ *                     .name("foo")
+ *                     .attributeDataType("String")
  *                     .mutable(false)
  *                     .required(false)
  *                     .developerOnlyAttribute(false)
@@ -110,20 +113,21 @@
  *                     .build())
  *             .build());
  * 
- *         var exampleUser = new User("exampleUser", UserArgs.builder()        
+ *         var exampleUser = new User("exampleUser", UserArgs.builder()        
  *             .userPoolId(example.id())
- *             .username("example")
+ *             .username("example")
  *             .attributes(Map.ofEntries(
- *                 Map.entry("example", true),
- *                 Map.entry("foo", "bar"),
- *                 Map.entry("email", "no-reply@example.com"),
- *                 Map.entry("email_verified", true)
+ *                 Map.entry("example", true),
+ *                 Map.entry("foo", "bar"),
+ *                 Map.entry("email", "no-reply{@literal @}example.com"),
+ *                 Map.entry("email_verified", true)
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserGroup.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserGroup.java index 58a487a912f..46d25c78dbc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserGroup.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,48 +49,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new UserPool("main", UserPoolArgs.builder()        
- *             .name("identity pool")
+ *         var main = new UserPool("main", UserPoolArgs.builder()        
+ *             .name("identity pool")
  *             .build());
  * 
  *         final var groupRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Federated")
- *                     .identifiers("cognito-identity.amazonaws.com")
+ *                     .type("Federated")
+ *                     .identifiers("cognito-identity.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRoleWithWebIdentity")
+ *                 .actions("sts:AssumeRoleWithWebIdentity")
  *                 .conditions(                
  *                     GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("cognito-identity.amazonaws.com:aud")
- *                         .values("us-east-1:12345678-dead-beef-cafe-123456790ab")
+ *                         .test("StringEquals")
+ *                         .variable("cognito-identity.amazonaws.com:aud")
+ *                         .values("us-east-1:12345678-dead-beef-cafe-123456790ab")
  *                         .build(),
  *                     GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("ForAnyValue:StringLike")
- *                         .variable("cognito-identity.amazonaws.com:amr")
- *                         .values("authenticated")
+ *                         .test("ForAnyValue:StringLike")
+ *                         .variable("cognito-identity.amazonaws.com:amr")
+ *                         .values("authenticated")
  *                         .build())
  *                 .build())
  *             .build());
  * 
- *         var groupRoleRole = new Role("groupRoleRole", RoleArgs.builder()        
- *             .name("user-group-role")
- *             .assumeRolePolicy(groupRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var groupRoleRole = new Role("groupRoleRole", RoleArgs.builder()        
+ *             .name("user-group-role")
+ *             .assumeRolePolicy(groupRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var mainUserGroup = new UserGroup("mainUserGroup", UserGroupArgs.builder()        
- *             .name("user-group")
+ *         var mainUserGroup = new UserGroup("mainUserGroup", UserGroupArgs.builder()        
+ *             .name("user-group")
  *             .userPoolId(main.id())
- *             .description("Managed by Pulumi")
+ *             .description("Managed by Pulumi")
  *             .precedence(42)
  *             .roleArn(groupRoleRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserInGroup.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserInGroup.java index 485b3d41f3e..20c73e96145 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserInGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserInGroup.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,8 +48,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("example")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("example")
  *             .passwordPolicy(UserPoolPasswordPolicyArgs.builder()
  *                 .temporaryPasswordValidityDays(7)
  *                 .minimumLength(6)
@@ -58,17 +59,17 @@
  *                 .build())
  *             .build());
  * 
- *         var exampleUser = new User("exampleUser", UserArgs.builder()        
+ *         var exampleUser = new User("exampleUser", UserArgs.builder()        
  *             .userPoolId(example.id())
- *             .username("example")
+ *             .username("example")
  *             .build());
  * 
- *         var exampleUserGroup = new UserGroup("exampleUserGroup", UserGroupArgs.builder()        
+ *         var exampleUserGroup = new UserGroup("exampleUserGroup", UserGroupArgs.builder()        
  *             .userPoolId(example.id())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleUserInGroup = new UserInGroup("exampleUserInGroup", UserInGroupArgs.builder()        
+ *         var exampleUserInGroup = new UserInGroup("exampleUserInGroup", UserInGroupArgs.builder()        
  *             .userPoolId(example.id())
  *             .groupName(exampleUserGroup.name())
  *             .username(exampleUser.username())
@@ -76,7 +77,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPool.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPool.java index 2790c255de9..0629899f87a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPool.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPool.java @@ -38,7 +38,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,19 +60,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pool = new UserPool("pool", UserPoolArgs.builder()        
- *             .name("mypool")
+ *         var pool = new UserPool("pool", UserPoolArgs.builder()        
+ *             .name("mypool")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enabling SMS and Software Token Multi-Factor Authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,13 +97,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .mfaConfiguration("ON")
- *             .smsAuthenticationMessage("Your code is {####}")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .mfaConfiguration("ON")
+ *             .smsAuthenticationMessage("Your code is {####}")
  *             .smsConfiguration(UserPoolSmsConfigurationArgs.builder()
- *                 .externalId("example")
+ *                 .externalId("example")
  *                 .snsCallerArn(exampleAwsIamRole.arn())
- *                 .snsRegion("us-east-1")
+ *                 .snsRegion("us-east-1")
  *                 .build())
  *             .softwareTokenMfaConfiguration(UserPoolSoftwareTokenMfaConfigurationArgs.builder()
  *                 .enabled(true)
@@ -109,13 +112,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using Account Recovery Setting * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -137,16 +142,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new UserPool("test", UserPoolArgs.builder()        
- *             .name("mypool")
+ *         var test = new UserPool("test", UserPoolArgs.builder()        
+ *             .name("mypool")
  *             .accountRecoverySetting(UserPoolAccountRecoverySettingArgs.builder()
  *                 .recoveryMechanisms(                
  *                     UserPoolAccountRecoverySettingRecoveryMechanismArgs.builder()
- *                         .name("verified_email")
+ *                         .name("verified_email")
  *                         .priority(1)
  *                         .build(),
  *                     UserPoolAccountRecoverySettingRecoveryMechanismArgs.builder()
- *                         .name("verified_phone_number")
+ *                         .name("verified_phone_number")
  *                         .priority(2)
  *                         .build())
  *                 .build())
@@ -154,7 +159,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolClient.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolClient.java index b10d13f4656..2b5679cd7fe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolClient.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolClient.java @@ -30,7 +30,8 @@ * ### Create a basic user pool client * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,24 +54,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pool = new UserPool("pool", UserPoolArgs.builder()        
- *             .name("pool")
+ *         var pool = new UserPool("pool", UserPoolArgs.builder()        
+ *             .name("pool")
  *             .build());
  * 
- *         var client = new UserPoolClient("client", UserPoolClientArgs.builder()        
- *             .name("client")
+ *         var client = new UserPoolClient("client", UserPoolClientArgs.builder()        
+ *             .name("client")
  *             .userPoolId(pool.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create a user pool client with no SRP authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,26 +96,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pool = new UserPool("pool", UserPoolArgs.builder()        
- *             .name("pool")
+ *         var pool = new UserPool("pool", UserPoolArgs.builder()        
+ *             .name("pool")
  *             .build());
  * 
- *         var client = new UserPoolClient("client", UserPoolClientArgs.builder()        
- *             .name("client")
+ *         var client = new UserPoolClient("client", UserPoolClientArgs.builder()        
+ *             .name("client")
  *             .userPoolId(pool.id())
  *             .generateSecret(true)
- *             .explicitAuthFlows("ADMIN_NO_SRP_AUTH")
+ *             .explicitAuthFlows("ADMIN_NO_SRP_AUTH")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create a user pool client with pinpoint analytics * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -146,36 +151,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testUserPool = new UserPool("testUserPool", UserPoolArgs.builder()        
- *             .name("pool")
+ *         var testUserPool = new UserPool("testUserPool", UserPoolArgs.builder()        
+ *             .name("pool")
  *             .build());
  * 
- *         var testApp = new App("testApp", AppArgs.builder()        
- *             .name("pinpoint")
+ *         var testApp = new App("testApp", AppArgs.builder()        
+ *             .name("pinpoint")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("cognito-idp.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("cognito-idp.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .name("role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .name("role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testUserPoolClient = new UserPoolClient("testUserPoolClient", UserPoolClientArgs.builder()        
- *             .name("pool_client")
+ *         var testUserPoolClient = new UserPoolClient("testUserPoolClient", UserPoolClientArgs.builder()        
+ *             .name("pool_client")
  *             .userPoolId(testUserPool.id())
  *             .analyticsConfiguration(UserPoolClientAnalyticsConfigurationArgs.builder()
  *                 .applicationId(testApp.applicationId())
- *                 .externalId("some_id")
+ *                 .externalId("some_id")
  *                 .roleArn(testRole.arn())
  *                 .userDataShared(true)
  *                 .build())
@@ -185,29 +190,31 @@
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "mobiletargeting:UpdateEndpoint",
- *                     "mobiletargeting:PutEvents")
- *                 .resources(testApp.applicationId().applyValue(applicationId -> String.format("arn:aws:mobiletargeting:*:%s:apps/%s*", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),applicationId)))
+ *                     "mobiletargeting:UpdateEndpoint",
+ *                     "mobiletargeting:PutEvents")
+ *                 .resources(testApp.applicationId().applyValue(applicationId -> String.format("arn:aws:mobiletargeting:*:%s:apps/%s*", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),applicationId)))
  *                 .build())
  *             .build());
  * 
- *         var testRolePolicy = new RolePolicy("testRolePolicy", RolePolicyArgs.builder()        
- *             .name("role_policy")
+ *         var testRolePolicy = new RolePolicy("testRolePolicy", RolePolicyArgs.builder()        
+ *             .name("role_policy")
  *             .role(testRole.id())
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create a user pool client with Cognito as the identity provider * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -230,27 +237,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pool = new UserPool("pool", UserPoolArgs.builder()        
- *             .name("pool")
+ *         var pool = new UserPool("pool", UserPoolArgs.builder()        
+ *             .name("pool")
  *             .build());
  * 
- *         var userpoolClient = new UserPoolClient("userpoolClient", UserPoolClientArgs.builder()        
- *             .name("client")
+ *         var userpoolClient = new UserPoolClient("userpoolClient", UserPoolClientArgs.builder()        
+ *             .name("client")
  *             .userPoolId(pool.id())
- *             .callbackUrls("https://example.com")
+ *             .callbackUrls("https://example.com")
  *             .allowedOauthFlowsUserPoolClient(true)
  *             .allowedOauthFlows(            
- *                 "code",
- *                 "implicit")
+ *                 "code",
+ *                 "implicit")
  *             .allowedOauthScopes(            
- *                 "email",
- *                 "openid")
- *             .supportedIdentityProviders("COGNITO")
+ *                 "email",
+ *                 "openid")
+ *             .supportedIdentityProviders("COGNITO")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolDomain.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolDomain.java index db543e911f6..e306e1815a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolDomain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolDomain.java @@ -22,7 +22,8 @@ * ### Amazon Cognito domain * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,24 +46,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("example-pool")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("example-pool")
  *             .build());
  * 
- *         var main = new UserPoolDomain("main", UserPoolDomainArgs.builder()        
- *             .domain("example-domain")
+ *         var main = new UserPoolDomain("main", UserPoolDomainArgs.builder()        
+ *             .domain("example-domain")
  *             .userPoolId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Cognito domain * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,24 +93,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleUserPool = new UserPool("exampleUserPool", UserPoolArgs.builder()        
- *             .name("example-pool")
+ *         var exampleUserPool = new UserPool("exampleUserPool", UserPoolArgs.builder()        
+ *             .name("example-pool")
  *             .build());
  * 
- *         var main = new UserPoolDomain("main", UserPoolDomainArgs.builder()        
- *             .domain("example-domain")
+ *         var main = new UserPoolDomain("main", UserPoolDomainArgs.builder()        
+ *             .domain("example-domain")
  *             .certificateArn(cert.arn())
  *             .userPoolId(exampleUserPool.id())
  *             .build());
  * 
  *         final var example = Route53Functions.getZone(GetZoneArgs.builder()
- *             .name("example.com")
+ *             .name("example.com")
  *             .build());
  * 
- *         var auth_cognito_A = new Record("auth-cognito-A", RecordArgs.builder()        
+ *         var auth_cognito_A = new Record("auth-cognito-A", RecordArgs.builder()        
  *             .name(main.domain())
- *             .type("A")
- *             .zoneId(example.applyValue(getZoneResult -> getZoneResult.zoneId()))
+ *             .type("A")
+ *             .zoneId(example.applyValue(getZoneResult -> getZoneResult.zoneId()))
  *             .aliases(RecordAliasArgs.builder()
  *                 .evaluateTargetHealth(false)
  *                 .name(main.cloudfrontDistribution())
@@ -117,7 +120,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolUICustomization.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolUICustomization.java index caf066d33b2..9a9f4781ed7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolUICustomization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/UserPoolUICustomization.java @@ -24,7 +24,8 @@ * ### UI customization settings for a single client * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,38 +52,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("example")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleUserPoolDomain = new UserPoolDomain("exampleUserPoolDomain", UserPoolDomainArgs.builder()        
- *             .domain("example")
+ *         var exampleUserPoolDomain = new UserPoolDomain("exampleUserPoolDomain", UserPoolDomainArgs.builder()        
+ *             .domain("example")
  *             .userPoolId(example.id())
  *             .build());
  * 
- *         var exampleUserPoolClient = new UserPoolClient("exampleUserPoolClient", UserPoolClientArgs.builder()        
- *             .name("example")
+ *         var exampleUserPoolClient = new UserPoolClient("exampleUserPoolClient", UserPoolClientArgs.builder()        
+ *             .name("example")
  *             .userPoolId(example.id())
  *             .build());
  * 
- *         var exampleUserPoolUICustomization = new UserPoolUICustomization("exampleUserPoolUICustomization", UserPoolUICustomizationArgs.builder()        
+ *         var exampleUserPoolUICustomization = new UserPoolUICustomization("exampleUserPoolUICustomization", UserPoolUICustomizationArgs.builder()        
  *             .clientId(exampleUserPoolClient.id())
- *             .css(".label-customizable {font-weight: 400;}")
+ *             .css(".label-customizable {font-weight: 400;}")
  *             .imageFile(StdFunctions.filebase64(Filebase64Args.builder()
- *                 .input("logo.png")
+ *                 .input("logo.png")
  *                 .build()).result())
  *             .userPoolId(exampleUserPoolDomain.userPoolId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### UI customization settings for all clients * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,26 +110,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserPool("example", UserPoolArgs.builder()        
- *             .name("example")
+ *         var example = new UserPool("example", UserPoolArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleUserPoolDomain = new UserPoolDomain("exampleUserPoolDomain", UserPoolDomainArgs.builder()        
- *             .domain("example")
+ *         var exampleUserPoolDomain = new UserPoolDomain("exampleUserPoolDomain", UserPoolDomainArgs.builder()        
+ *             .domain("example")
  *             .userPoolId(example.id())
  *             .build());
  * 
- *         var exampleUserPoolUICustomization = new UserPoolUICustomization("exampleUserPoolUICustomization", UserPoolUICustomizationArgs.builder()        
- *             .css(".label-customizable {font-weight: 400;}")
+ *         var exampleUserPoolUICustomization = new UserPoolUICustomization("exampleUserPoolUICustomization", UserPoolUICustomizationArgs.builder()        
+ *             .css(".label-customizable {font-weight: 400;}")
  *             .imageFile(StdFunctions.filebase64(Filebase64Args.builder()
- *                 .input("logo.png")
+ *                 .input("logo.png")
  *                 .build()).result())
  *             .userPoolId(exampleUserPoolDomain.userPoolId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/inputs/UserPoolEmailConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/inputs/UserPoolEmailConfigurationArgs.java index 01d46724eaf..664bc28e20e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/inputs/UserPoolEmailConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/inputs/UserPoolEmailConfigurationArgs.java @@ -46,14 +46,14 @@ public Optional> emailSendingAccount() { } /** - * Sender’s email address or sender’s display name with their email address (e.g., `john@example.com`, `John Smith <john@example.com>` or `\"John Smith Ph.D.\" <john@example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). + * Sender’s email address or sender’s display name with their email address (e.g., `john{@literal @}example.com`, `John Smith <john{@literal @}example.com>` or `\"John Smith Ph.D.\" <john{@literal @}example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * */ @Import(name="fromEmailAddress") private @Nullable Output fromEmailAddress; /** - * @return Sender’s email address or sender’s display name with their email address (e.g., `john@example.com`, `John Smith <john@example.com>` or `\"John Smith Ph.D.\" <john@example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). + * @return Sender’s email address or sender’s display name with their email address (e.g., `john{@literal @}example.com`, `John Smith <john{@literal @}example.com>` or `\"John Smith Ph.D.\" <john{@literal @}example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * */ public Optional> fromEmailAddress() { @@ -161,7 +161,7 @@ public Builder emailSendingAccount(String emailSendingAccount) { } /** - * @param fromEmailAddress Sender’s email address or sender’s display name with their email address (e.g., `john@example.com`, `John Smith <john@example.com>` or `\"John Smith Ph.D.\" <john@example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). + * @param fromEmailAddress Sender’s email address or sender’s display name with their email address (e.g., `john{@literal @}example.com`, `John Smith <john{@literal @}example.com>` or `\"John Smith Ph.D.\" <john{@literal @}example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * * @return builder * @@ -172,7 +172,7 @@ public Builder fromEmailAddress(@Nullable Output fromEmailAddress) { } /** - * @param fromEmailAddress Sender’s email address or sender’s display name with their email address (e.g., `john@example.com`, `John Smith <john@example.com>` or `\"John Smith Ph.D.\" <john@example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). + * @param fromEmailAddress Sender’s email address or sender’s display name with their email address (e.g., `john{@literal @}example.com`, `John Smith <john{@literal @}example.com>` or `\"John Smith Ph.D.\" <john{@literal @}example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/outputs/UserPoolEmailConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/outputs/UserPoolEmailConfiguration.java index f820124ade6..219a478dffe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cognito/outputs/UserPoolEmailConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/outputs/UserPoolEmailConfiguration.java @@ -22,7 +22,7 @@ public final class UserPoolEmailConfiguration { */ private @Nullable String emailSendingAccount; /** - * @return Sender’s email address or sender’s display name with their email address (e.g., `john@example.com`, `John Smith <john@example.com>` or `\"John Smith Ph.D.\" <john@example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). + * @return Sender’s email address or sender’s display name with their email address (e.g., `john{@literal @}example.com`, `John Smith <john{@literal @}example.com>` or `\"John Smith Ph.D.\" <john{@literal @}example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * */ private @Nullable String fromEmailAddress; @@ -53,7 +53,7 @@ public Optional emailSendingAccount() { return Optional.ofNullable(this.emailSendingAccount); } /** - * @return Sender’s email address or sender’s display name with their email address (e.g., `john@example.com`, `John Smith <john@example.com>` or `\"John Smith Ph.D.\" <john@example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). + * @return Sender’s email address or sender’s display name with their email address (e.g., `john{@literal @}example.com`, `John Smith <john{@literal @}example.com>` or `\"John Smith Ph.D.\" <john{@literal @}example.com>`). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * */ public Optional fromEmailAddress() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/comprehend/DocumentClassifier.java b/sdk/java/src/main/java/com/pulumi/aws/comprehend/DocumentClassifier.java index 56aeef24879..a50e21f941d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/comprehend/DocumentClassifier.java +++ b/sdk/java/src/main/java/com/pulumi/aws/comprehend/DocumentClassifier.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,24 +51,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var documents = new BucketObjectv2("documents");
+ *         var documents = new BucketObjectv2("documents");
  * 
- *         var example = new DocumentClassifier("example", DocumentClassifierArgs.builder()        
- *             .name("example")
+ *         var example = new DocumentClassifier("example", DocumentClassifierArgs.builder()        
+ *             .name("example")
  *             .dataAccessRoleArn(exampleAwsIamRole.arn())
- *             .languageCode("en")
+ *             .languageCode("en")
  *             .inputDataConfig(DocumentClassifierInputDataConfigArgs.builder()
- *                 .s3Uri(documents.id().applyValue(id -> String.format("s3://%s/%s", test.bucket(),id)))
+ *                 .s3Uri(documents.id().applyValue(id -> String.format("s3://%s/%s", test.bucket(),id)))
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsIamRolePolicy)
  *                 .build());
  * 
- *         var entities = new BucketObjectv2("entities");
+ *         var entities = new BucketObjectv2("entities");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/comprehend/EntityRecognizer.java b/sdk/java/src/main/java/com/pulumi/aws/comprehend/EntityRecognizer.java index 58495346f03..9567cba149c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/comprehend/EntityRecognizer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/comprehend/EntityRecognizer.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,27 +52,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var documents = new BucketObjectv2("documents");
+ *         var documents = new BucketObjectv2("documents");
  * 
- *         var entities = new BucketObjectv2("entities");
+ *         var entities = new BucketObjectv2("entities");
  * 
- *         var example = new EntityRecognizer("example", EntityRecognizerArgs.builder()        
- *             .name("example")
+ *         var example = new EntityRecognizer("example", EntityRecognizerArgs.builder()        
+ *             .name("example")
  *             .dataAccessRoleArn(exampleAwsIamRole.arn())
- *             .languageCode("en")
+ *             .languageCode("en")
  *             .inputDataConfig(EntityRecognizerInputDataConfigArgs.builder()
  *                 .entityTypes(                
  *                     EntityRecognizerInputDataConfigEntityTypeArgs.builder()
- *                         .type("ENTITY_1")
+ *                         .type("ENTITY_1")
  *                         .build(),
  *                     EntityRecognizerInputDataConfigEntityTypeArgs.builder()
- *                         .type("ENTITY_2")
+ *                         .type("ENTITY_2")
  *                         .build())
  *                 .documents(EntityRecognizerInputDataConfigDocumentsArgs.builder()
- *                     .s3Uri(documents.id().applyValue(id -> String.format("s3://%s/%s", documentsAwsS3Bucket.bucket(),id)))
+ *                     .s3Uri(documents.id().applyValue(id -> String.format("s3://%s/%s", documentsAwsS3Bucket.bucket(),id)))
  *                     .build())
  *                 .entityList(EntityRecognizerInputDataConfigEntityListArgs.builder()
- *                     .s3Uri(entities.id().applyValue(id -> String.format("s3://%s/%s", entitiesAwsS3Bucket.bucket(),id)))
+ *                     .s3Uri(entities.id().applyValue(id -> String.format("s3://%s/%s", entitiesAwsS3Bucket.bucket(),id)))
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -80,7 +81,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/comprehend/inputs/DocumentClassifierInputDataConfigArgs.java b/sdk/java/src/main/java/com/pulumi/aws/comprehend/inputs/DocumentClassifierInputDataConfigArgs.java index 9d5664a55e2..30eccdbf95e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/comprehend/inputs/DocumentClassifierInputDataConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/comprehend/inputs/DocumentClassifierInputDataConfigArgs.java @@ -55,7 +55,7 @@ public Optional> dataFormat() { /** * Delimiter between labels when training a multi-label classifier. - * Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. + * Valid values are `|`, `~`, `!`, `{@literal @}`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. * Default is `|`. * */ @@ -64,7 +64,7 @@ public Optional> dataFormat() { /** * @return Delimiter between labels when training a multi-label classifier. - * Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. + * Valid values are `|`, `~`, `!`, `{@literal @}`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. * Default is `|`. * */ @@ -186,7 +186,7 @@ public Builder dataFormat(String dataFormat) { /** * @param labelDelimiter Delimiter between labels when training a multi-label classifier. - * Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. + * Valid values are `|`, `~`, `!`, `{@literal @}`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. * Default is `|`. * * @return builder @@ -199,7 +199,7 @@ public Builder labelDelimiter(@Nullable Output labelDelimiter) { /** * @param labelDelimiter Delimiter between labels when training a multi-label classifier. - * Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. + * Valid values are `|`, `~`, `!`, `{@literal @}`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. * Default is `|`. * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/comprehend/outputs/DocumentClassifierInputDataConfig.java b/sdk/java/src/main/java/com/pulumi/aws/comprehend/outputs/DocumentClassifierInputDataConfig.java index bbc12c140a6..95c7336566f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/comprehend/outputs/DocumentClassifierInputDataConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/comprehend/outputs/DocumentClassifierInputDataConfig.java @@ -28,7 +28,7 @@ public final class DocumentClassifierInputDataConfig { private @Nullable String dataFormat; /** * @return Delimiter between labels when training a multi-label classifier. - * Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. + * Valid values are `|`, `~`, `!`, `{@literal @}`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. * Default is `|`. * */ @@ -61,7 +61,7 @@ public Optional dataFormat() { } /** * @return Delimiter between labels when training a multi-label classifier. - * Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. + * Valid values are `|`, `~`, `!`, `{@literal @}`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. * Default is `|`. * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/BotAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/connect/BotAssociation.java index b93d6ff4b75..59df2839e7e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/BotAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/BotAssociation.java @@ -25,7 +25,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BotAssociation("example", BotAssociationArgs.builder()        
+ *         var example = new BotAssociation("example", BotAssociationArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
  *             .lexBot(BotAssociationLexBotArgs.builder()
- *                 .lexRegion("us-west-2")
- *                 .name("Test")
+ *                 .lexRegion("us-west-2")
+ *                 .name("Test")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Including a sample Lex bot * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,49 +100,50 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new Intent("example", IntentArgs.builder()        
+ *         var example = new Intent("example", IntentArgs.builder()        
  *             .createVersion(true)
- *             .name("connect_lex_intent")
+ *             .name("connect_lex_intent")
  *             .fulfillmentActivity(IntentFulfillmentActivityArgs.builder()
- *                 .type("ReturnIntent")
+ *                 .type("ReturnIntent")
  *                 .build())
- *             .sampleUtterances("I would like to pick up flowers.")
+ *             .sampleUtterances("I would like to pick up flowers.")
  *             .build());
  * 
- *         var exampleBot = new Bot("exampleBot", BotArgs.builder()        
+ *         var exampleBot = new Bot("exampleBot", BotArgs.builder()        
  *             .abortStatement(BotAbortStatementArgs.builder()
  *                 .messages(BotAbortStatementMessageArgs.builder()
- *                     .content("Sorry, I am not able to assist at this time.")
- *                     .contentType("PlainText")
+ *                     .content("Sorry, I am not able to assist at this time.")
+ *                     .contentType("PlainText")
  *                     .build())
  *                 .build())
  *             .clarificationPrompt(BotClarificationPromptArgs.builder()
  *                 .maxAttempts(2)
  *                 .messages(BotClarificationPromptMessageArgs.builder()
- *                     .content("I didn't understand you, what would you like to do?")
- *                     .contentType("PlainText")
+ *                     .content("I didn't understand you, what would you like to do?")
+ *                     .contentType("PlainText")
  *                     .build())
  *                 .build())
  *             .intents(BotIntentArgs.builder()
  *                 .intentName(example.name())
- *                 .intentVersion("1")
+ *                 .intentVersion("1")
  *                 .build())
  *             .childDirected(false)
- *             .name("connect_lex_bot")
- *             .processBehavior("BUILD")
+ *             .name("connect_lex_bot")
+ *             .processBehavior("BUILD")
  *             .build());
  * 
- *         var exampleBotAssociation = new BotAssociation("exampleBotAssociation", BotAssociationArgs.builder()        
+ *         var exampleBotAssociation = new BotAssociation("exampleBotAssociation", BotAssociationArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
  *             .lexBot(BotAssociationLexBotArgs.builder()
- *                 .lexRegion(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .lexRegion(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .name(exampleBot.name())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/ConnectFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/connect/ConnectFunctions.java index 73b9eff14ed..bf26baaf88c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/ConnectFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/ConnectFunctions.java @@ -67,7 +67,8 @@ public final class ConnectFunctions { * ### By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,15 +91,16 @@ public final class ConnectFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getBotAssociation(GetBotAssociationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .lexBot(GetBotAssociationLexBotArgs.builder()
-     *                 .name("Test")
+     *                 .name("Test")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -113,7 +115,8 @@ public static Output getBotAssociation(GetBotAssociatio * ### By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -136,15 +139,16 @@ public static Output getBotAssociation(GetBotAssociatio
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getBotAssociation(GetBotAssociationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .lexBot(GetBotAssociationLexBotArgs.builder()
-     *                 .name("Test")
+     *                 .name("Test")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -159,7 +163,8 @@ public static CompletableFuture getBotAssociationPlain( * ### By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -182,15 +187,16 @@ public static CompletableFuture getBotAssociationPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getBotAssociation(GetBotAssociationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .lexBot(GetBotAssociationLexBotArgs.builder()
-     *                 .name("Test")
+     *                 .name("Test")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -205,7 +211,8 @@ public static Output getBotAssociation(GetBotAssociatio * ### By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -228,15 +235,16 @@ public static Output getBotAssociation(GetBotAssociatio
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getBotAssociation(GetBotAssociationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .lexBot(GetBotAssociationLexBotArgs.builder()
-     *                 .name("Test")
+     *                 .name("Test")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -251,7 +259,8 @@ public static CompletableFuture getBotAssociationPlain( * By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -273,19 +282,21 @@ public static CompletableFuture getBotAssociationPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By contact_flow_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -307,13 +318,14 @@ public static CompletableFuture getBotAssociationPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -328,7 +340,8 @@ public static Output getContactFlow(GetContactFlowArgs arg * By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -350,19 +363,21 @@ public static Output getContactFlow(GetContactFlowArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By contact_flow_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -384,13 +399,14 @@ public static Output getContactFlow(GetContactFlowArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -405,7 +421,8 @@ public static CompletableFuture getContactFlowPlain(GetCon * By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -427,19 +444,21 @@ public static CompletableFuture getContactFlowPlain(GetCon
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By contact_flow_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -461,13 +480,14 @@ public static CompletableFuture getContactFlowPlain(GetCon
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -482,7 +502,8 @@ public static Output getContactFlow(GetContactFlowArgs arg * By name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -504,19 +525,21 @@ public static Output getContactFlow(GetContactFlowArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By contact_flow_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -538,13 +561,14 @@ public static Output getContactFlow(GetContactFlowArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -559,7 +583,8 @@ public static CompletableFuture getContactFlowPlain(GetCon * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -581,19 +606,21 @@ public static CompletableFuture getContactFlowPlain(GetCon
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `contact_flow_module_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -615,13 +642,14 @@ public static CompletableFuture getContactFlowPlain(GetCon
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -636,7 +664,8 @@ public static Output getContactFlowModule(GetContact * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -658,19 +687,21 @@ public static Output getContactFlowModule(GetContact
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `contact_flow_module_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -692,13 +723,14 @@ public static Output getContactFlowModule(GetContact
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -713,7 +745,8 @@ public static CompletableFuture getContactFlowModule * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -735,19 +768,21 @@ public static CompletableFuture getContactFlowModule
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `contact_flow_module_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -769,13 +804,14 @@ public static CompletableFuture getContactFlowModule
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -790,7 +826,8 @@ public static Output getContactFlowModule(GetContact * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -812,19 +849,21 @@ public static Output getContactFlowModule(GetContact
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `contact_flow_module_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -846,13 +885,14 @@ public static Output getContactFlowModule(GetContact
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -867,7 +907,8 @@ public static CompletableFuture getContactFlowModule * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -889,19 +930,21 @@ public static CompletableFuture getContactFlowModule
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hours_of_operation_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -923,13 +966,14 @@ public static CompletableFuture getContactFlowModule
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -944,7 +988,8 @@ public static Output getHoursOfOperation(GetHoursOfOp * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -966,19 +1011,21 @@ public static Output getHoursOfOperation(GetHoursOfOp
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hours_of_operation_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1000,13 +1047,14 @@ public static Output getHoursOfOperation(GetHoursOfOp
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1021,7 +1069,8 @@ public static CompletableFuture getHoursOfOperationPl * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1043,19 +1092,21 @@ public static CompletableFuture getHoursOfOperationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hours_of_operation_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1077,13 +1128,14 @@ public static CompletableFuture getHoursOfOperationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1098,7 +1150,8 @@ public static Output getHoursOfOperation(GetHoursOfOp * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1120,19 +1173,21 @@ public static Output getHoursOfOperation(GetHoursOfOp
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Test")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hours_of_operation_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1154,13 +1209,14 @@ public static Output getHoursOfOperation(GetHoursOfOp
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ConnectFunctions.getHoursOfOperation(GetHoursOfOperationArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hoursOfOperationId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1175,7 +1231,8 @@ public static CompletableFuture getHoursOfOperationPl * By instance_alias * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1197,18 +1254,20 @@ public static CompletableFuture getHoursOfOperationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceAlias("foo")
+     *             .instanceAlias("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By instance_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1230,12 +1289,13 @@ public static CompletableFuture getHoursOfOperationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
+     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1250,7 +1310,8 @@ public static Output getInstance() { * By instance_alias * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1272,18 +1333,20 @@ public static Output getInstance() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceAlias("foo")
+     *             .instanceAlias("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By instance_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1305,12 +1368,13 @@ public static Output getInstance() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
+     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1325,7 +1389,8 @@ public static CompletableFuture getInstancePlain() { * By instance_alias * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1347,18 +1412,20 @@ public static CompletableFuture getInstancePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceAlias("foo")
+     *             .instanceAlias("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By instance_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1380,12 +1447,13 @@ public static CompletableFuture getInstancePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
+     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1400,7 +1468,8 @@ public static Output getInstance(GetInstanceArgs args) { * By instance_alias * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1422,18 +1491,20 @@ public static Output getInstance(GetInstanceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceAlias("foo")
+     *             .instanceAlias("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By instance_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1455,12 +1526,13 @@ public static Output getInstance(GetInstanceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
+     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1475,7 +1547,8 @@ public static CompletableFuture getInstancePlain(GetInstanceP * By instance_alias * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1497,18 +1570,20 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceAlias("foo")
+     *             .instanceAlias("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By instance_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1530,12 +1605,13 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
+     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1550,7 +1626,8 @@ public static Output getInstance(GetInstanceArgs args, Invoke * By instance_alias * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1572,18 +1649,20 @@ public static Output getInstance(GetInstanceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceAlias("foo")
+     *             .instanceAlias("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By instance_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1605,12 +1684,13 @@ public static Output getInstance(GetInstanceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = ConnectFunctions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
+     *             .instanceId("97afc98d-101a-ba98-ab97-ae114fc115ec")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1623,7 +1703,8 @@ public static CompletableFuture getInstancePlain(GetInstanceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1645,14 +1726,15 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getInstanceStorageConfig(GetInstanceStorageConfigArgs.builder()
-     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .resourceType("CONTACT_TRACE_RECORDS")
+     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .resourceType("CONTACT_TRACE_RECORDS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1665,7 +1747,8 @@ public static Output getInstanceStorageConfig(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1687,14 +1770,15 @@ public static Output getInstanceStorageConfig(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getInstanceStorageConfig(GetInstanceStorageConfigArgs.builder()
-     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .resourceType("CONTACT_TRACE_RECORDS")
+     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .resourceType("CONTACT_TRACE_RECORDS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1707,7 +1791,8 @@ public static CompletableFuture getInstanceStora * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1729,14 +1814,15 @@ public static CompletableFuture getInstanceStora
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getInstanceStorageConfig(GetInstanceStorageConfigArgs.builder()
-     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .resourceType("CONTACT_TRACE_RECORDS")
+     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .resourceType("CONTACT_TRACE_RECORDS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1749,7 +1835,8 @@ public static Output getInstanceStorageConfig(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1771,14 +1858,15 @@ public static Output getInstanceStorageConfig(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getInstanceStorageConfig(GetInstanceStorageConfigArgs.builder()
-     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .resourceType("CONTACT_TRACE_RECORDS")
+     *             .associationId("1234567890123456789012345678901234567890123456789012345678901234")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .resourceType("CONTACT_TRACE_RECORDS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1791,7 +1879,8 @@ public static CompletableFuture getInstanceStora * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1813,13 +1902,14 @@ public static CompletableFuture getInstanceStora
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getLambdaFunctionAssociation(GetLambdaFunctionAssociationArgs.builder()
-     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1832,7 +1922,8 @@ public static Output getLambdaFunctionAssoci * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1854,13 +1945,14 @@ public static Output getLambdaFunctionAssoci
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getLambdaFunctionAssociation(GetLambdaFunctionAssociationArgs.builder()
-     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1873,7 +1965,8 @@ public static CompletableFuture getLambdaFun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1895,13 +1988,14 @@ public static CompletableFuture getLambdaFun
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getLambdaFunctionAssociation(GetLambdaFunctionAssociationArgs.builder()
-     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1914,7 +2008,8 @@ public static Output getLambdaFunctionAssoci * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1936,13 +2031,14 @@ public static Output getLambdaFunctionAssoci
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getLambdaFunctionAssociation(GetLambdaFunctionAssociationArgs.builder()
-     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .functionArn("arn:aws:lambda:us-west-2:123456789123:function:abcdefg")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1957,7 +2053,8 @@ public static CompletableFuture getLambdaFun * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1979,13 +2076,14 @@ public static CompletableFuture getLambdaFun
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getPrompt(GetPromptArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Beep.wav")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Beep.wav")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2000,7 +2098,8 @@ public static Output getPrompt(GetPromptArgs args) { * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2022,13 +2121,14 @@ public static Output getPrompt(GetPromptArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getPrompt(GetPromptArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Beep.wav")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Beep.wav")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2043,7 +2143,8 @@ public static CompletableFuture getPromptPlain(GetPromptPlainAr * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2065,13 +2166,14 @@ public static CompletableFuture getPromptPlain(GetPromptPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getPrompt(GetPromptArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Beep.wav")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Beep.wav")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2086,7 +2188,8 @@ public static Output getPrompt(GetPromptArgs args, InvokeOption * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2108,13 +2211,14 @@ public static Output getPrompt(GetPromptArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getPrompt(GetPromptArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Beep.wav")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Beep.wav")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2129,7 +2233,8 @@ public static CompletableFuture getPromptPlain(GetPromptPlainAr * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2151,19 +2256,21 @@ public static CompletableFuture getPromptPlain(GetPromptPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `queue_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2185,13 +2292,14 @@ public static CompletableFuture getPromptPlain(GetPromptPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2206,7 +2314,8 @@ public static Output getQueue(GetQueueArgs args) { * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2228,19 +2337,21 @@ public static Output getQueue(GetQueueArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `queue_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2262,13 +2373,14 @@ public static Output getQueue(GetQueueArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2283,7 +2395,8 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2305,19 +2418,21 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `queue_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2339,13 +2454,14 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2360,7 +2476,8 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2382,19 +2499,21 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `queue_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2416,13 +2535,14 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQueue(GetQueueArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .queueId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2437,7 +2557,8 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2459,19 +2580,21 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `quick_connect_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2493,13 +2616,14 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2514,7 +2638,8 @@ public static Output getQuickConnect(GetQuickConnectArgs * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2536,19 +2661,21 @@ public static Output getQuickConnect(GetQuickConnectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `quick_connect_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2570,13 +2697,14 @@ public static Output getQuickConnect(GetQuickConnectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2591,7 +2719,8 @@ public static CompletableFuture getQuickConnectPlain(GetQ * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2613,19 +2742,21 @@ public static CompletableFuture getQuickConnectPlain(GetQ
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `quick_connect_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2647,13 +2778,14 @@ public static CompletableFuture getQuickConnectPlain(GetQ
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2668,7 +2800,8 @@ public static Output getQuickConnect(GetQuickConnectArgs * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2690,19 +2823,21 @@ public static Output getQuickConnect(GetQuickConnectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `quick_connect_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2724,13 +2859,14 @@ public static Output getQuickConnect(GetQuickConnectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getQuickConnect(GetQuickConnectArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .quickConnectId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2745,7 +2881,8 @@ public static CompletableFuture getQuickConnectPlain(GetQ * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2767,19 +2904,21 @@ public static CompletableFuture getQuickConnectPlain(GetQ
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `routing_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2801,13 +2940,14 @@ public static CompletableFuture getQuickConnectPlain(GetQ
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2822,7 +2962,8 @@ public static Output getRoutingProfile(GetRoutingProfil * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2844,19 +2985,21 @@ public static Output getRoutingProfile(GetRoutingProfil
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `routing_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2878,13 +3021,14 @@ public static Output getRoutingProfile(GetRoutingProfil
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2899,7 +3043,8 @@ public static CompletableFuture getRoutingProfilePlain( * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2921,19 +3066,21 @@ public static CompletableFuture getRoutingProfilePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `routing_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2955,13 +3102,14 @@ public static CompletableFuture getRoutingProfilePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2976,7 +3124,8 @@ public static Output getRoutingProfile(GetRoutingProfil * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2998,19 +3147,21 @@ public static Output getRoutingProfile(GetRoutingProfil
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `routing_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3032,13 +3183,14 @@ public static Output getRoutingProfile(GetRoutingProfil
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3053,7 +3205,8 @@ public static CompletableFuture getRoutingProfilePlain( * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3075,19 +3228,21 @@ public static CompletableFuture getRoutingProfilePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `security_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3109,13 +3264,14 @@ public static CompletableFuture getRoutingProfilePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3130,7 +3286,8 @@ public static Output getSecurityProfile(GetSecurityPro * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3152,19 +3309,21 @@ public static Output getSecurityProfile(GetSecurityPro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `security_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3186,13 +3345,14 @@ public static Output getSecurityProfile(GetSecurityPro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3207,7 +3367,8 @@ public static CompletableFuture getSecurityProfilePlai * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3229,19 +3390,21 @@ public static CompletableFuture getSecurityProfilePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `security_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3263,13 +3426,14 @@ public static CompletableFuture getSecurityProfilePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3284,7 +3448,8 @@ public static Output getSecurityProfile(GetSecurityPro * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3306,19 +3471,21 @@ public static Output getSecurityProfile(GetSecurityPro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `security_profile_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3340,13 +3507,14 @@ public static Output getSecurityProfile(GetSecurityPro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getSecurityProfile(GetSecurityProfileArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .securityProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3361,7 +3529,8 @@ public static CompletableFuture getSecurityProfilePlai * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3383,19 +3552,21 @@ public static CompletableFuture getSecurityProfilePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `user_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3417,13 +3588,14 @@ public static CompletableFuture getSecurityProfilePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3438,7 +3610,8 @@ public static Output getUser(GetUserArgs args) { * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3460,19 +3633,21 @@ public static Output getUser(GetUserArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `user_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3494,13 +3669,14 @@ public static Output getUser(GetUserArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3515,7 +3691,8 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3537,19 +3714,21 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `user_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3571,13 +3750,14 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3592,7 +3772,8 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3614,19 +3795,21 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `user_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3648,13 +3831,14 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUser(GetUserArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .userId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3669,7 +3853,8 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3691,19 +3876,21 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hierarchy_group_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3725,13 +3912,14 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3746,7 +3934,8 @@ public static Output getUserHierarchyGroup(GetUserH * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3768,19 +3957,21 @@ public static Output getUserHierarchyGroup(GetUserH
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hierarchy_group_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3802,13 +3993,14 @@ public static Output getUserHierarchyGroup(GetUserH
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3823,7 +4015,8 @@ public static CompletableFuture getUserHierarchyGro * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3845,19 +4038,21 @@ public static CompletableFuture getUserHierarchyGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hierarchy_group_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3879,13 +4074,14 @@ public static CompletableFuture getUserHierarchyGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3900,7 +4096,8 @@ public static Output getUserHierarchyGroup(GetUserH * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3922,19 +4119,21 @@ public static Output getUserHierarchyGroup(GetUserH
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `hierarchy_group_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3956,13 +4155,14 @@ public static Output getUserHierarchyGroup(GetUserH
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getUserHierarchyGroup(GetUserHierarchyGroupArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .hierarchyGroupId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3975,7 +4175,8 @@ public static CompletableFuture getUserHierarchyGro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4002,7 +4203,8 @@ public static CompletableFuture getUserHierarchyGro
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4015,7 +4217,8 @@ public static Output getUserHierarchyStructure( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4042,7 +4245,8 @@ public static Output getUserHierarchyStructure(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4055,7 +4259,8 @@ public static CompletableFuture getUserHierarch * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4082,7 +4287,8 @@ public static CompletableFuture getUserHierarch
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4095,7 +4301,8 @@ public static Output getUserHierarchyStructure( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4122,7 +4329,8 @@ public static Output getUserHierarchyStructure(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4137,7 +4345,8 @@ public static CompletableFuture getUserHierarch * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4159,19 +4368,21 @@ public static CompletableFuture getUserHierarch
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `vocabulary_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4193,13 +4404,14 @@ public static CompletableFuture getUserHierarch
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4214,7 +4426,8 @@ public static Output getVocabulary(GetVocabularyArgs args) * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4236,19 +4449,21 @@ public static Output getVocabulary(GetVocabularyArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `vocabulary_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4270,13 +4485,14 @@ public static Output getVocabulary(GetVocabularyArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4291,7 +4507,8 @@ public static CompletableFuture getVocabularyPlain(GetVocab * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4313,19 +4530,21 @@ public static CompletableFuture getVocabularyPlain(GetVocab
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `vocabulary_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4347,13 +4566,14 @@ public static CompletableFuture getVocabularyPlain(GetVocab
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4368,7 +4588,8 @@ public static Output getVocabulary(GetVocabularyArgs args, * By `name` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4390,19 +4611,21 @@ public static Output getVocabulary(GetVocabularyArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .name("Example")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .name("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * By `vocabulary_id` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4424,13 +4647,14 @@ public static Output getVocabulary(GetVocabularyArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ConnectFunctions.getVocabulary(GetVocabularyArgs.builder()
-     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
-     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
+     *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+     *             .vocabularyId("cccccccc-bbbb-cccc-dddd-111111111111")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlow.java b/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlow.java index 3e5d5c24639..7e06ac8dc0b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlow.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlow.java @@ -30,7 +30,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,52 +53,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ContactFlow("test", ContactFlowArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Test")
- *             .description("Test Contact Flow Description")
- *             .type("CONTACT_FLOW")
+ *         var test = new ContactFlow("test", ContactFlowArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Test")
+ *             .description("Test Contact Flow Description")
+ *             .type("CONTACT_FLOW")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2019-10-30"),
- *                     jsonProperty("StartAction", "12345678-1234-1234-1234-123456789012"),
- *                     jsonProperty("Actions", jsonArray(
+ *                     jsonProperty("Version", "2019-10-30"),
+ *                     jsonProperty("StartAction", "12345678-1234-1234-1234-123456789012"),
+ *                     jsonProperty("Actions", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("Identifier", "12345678-1234-1234-1234-123456789012"),
- *                             jsonProperty("Type", "MessageParticipant"),
- *                             jsonProperty("Transitions", jsonObject(
- *                                 jsonProperty("NextAction", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
- *                                 jsonProperty("Errors", jsonArray(
+ *                             jsonProperty("Identifier", "12345678-1234-1234-1234-123456789012"),
+ *                             jsonProperty("Type", "MessageParticipant"),
+ *                             jsonProperty("Transitions", jsonObject(
+ *                                 jsonProperty("NextAction", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
+ *                                 jsonProperty("Errors", jsonArray(
  *                                 )),
- *                                 jsonProperty("Conditions", jsonArray(
+ *                                 jsonProperty("Conditions", jsonArray(
  *                                 ))
  *                             )),
- *                             jsonProperty("Parameters", jsonObject(
- *                                 jsonProperty("Text", "Thanks for calling the sample flow!")
+ *                             jsonProperty("Parameters", jsonObject(
+ *                                 jsonProperty("Text", "Thanks for calling the sample flow!")
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Identifier", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
- *                             jsonProperty("Type", "DisconnectParticipant"),
- *                             jsonProperty("Transitions", jsonObject(
+ *                             jsonProperty("Identifier", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
+ *                             jsonProperty("Type", "DisconnectParticipant"),
+ *                             jsonProperty("Transitions", jsonObject(
  * 
  *                             )),
- *                             jsonProperty("Parameters", jsonObject(
+ *                             jsonProperty("Parameters", jsonObject(
  * 
  *                             ))
  *                         )
  *                     ))
  *                 )))
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "Test Contact Flow"),
- *                 Map.entry("Application", "Example"),
- *                 Map.entry("Method", "Create")
+ *                 Map.entry("Name", "Test Contact Flow"),
+ *                 Map.entry("Application", "Example"),
+ *                 Map.entry("Method", "Create")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With External Content @@ -107,7 +109,8 @@ * Use the generated file as input: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -128,25 +131,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ContactFlow("test", ContactFlowArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Test")
- *             .description("Test Contact Flow Description")
- *             .type("CONTACT_FLOW")
- *             .filename("contact_flow.json")
+ *         var test = new ContactFlow("test", ContactFlowArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Test")
+ *             .description("Test Contact Flow Description")
+ *             .type("CONTACT_FLOW")
+ *             .filename("contact_flow.json")
  *             .contentHash(StdFunctions.filebase64sha256(Filebase64sha256Args.builder()
- *                 .input("contact_flow.json")
+ *                 .input("contact_flow.json")
  *                 .build()).result())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "Test Contact Flow"),
- *                 Map.entry("Application", "Example"),
- *                 Map.entry("Method", "Create")
+ *                 Map.entry("Name", "Test Contact Flow"),
+ *                 Map.entry("Application", "Example"),
+ *                 Map.entry("Method", "Create")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlowModule.java b/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlowModule.java index 4889c178a66..eb8dfdb0804 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlowModule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/ContactFlowModule.java @@ -30,7 +30,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,69 +53,70 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactFlowModule("example", ContactFlowModuleArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Example")
- *             .description("Example Contact Flow Module Description")
+ *         var example = new ContactFlowModule("example", ContactFlowModuleArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Example")
+ *             .description("Example Contact Flow Module Description")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2019-10-30"),
- *                     jsonProperty("StartAction", "12345678-1234-1234-1234-123456789012"),
- *                     jsonProperty("Actions", jsonArray(
+ *                     jsonProperty("Version", "2019-10-30"),
+ *                     jsonProperty("StartAction", "12345678-1234-1234-1234-123456789012"),
+ *                     jsonProperty("Actions", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("Identifier", "12345678-1234-1234-1234-123456789012"),
- *                             jsonProperty("Parameters", jsonObject(
- *                                 jsonProperty("Text", "Hello contact flow module")
+ *                             jsonProperty("Identifier", "12345678-1234-1234-1234-123456789012"),
+ *                             jsonProperty("Parameters", jsonObject(
+ *                                 jsonProperty("Text", "Hello contact flow module")
  *                             )),
- *                             jsonProperty("Transitions", jsonObject(
- *                                 jsonProperty("NextAction", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
- *                                 jsonProperty("Errors", jsonArray(
+ *                             jsonProperty("Transitions", jsonObject(
+ *                                 jsonProperty("NextAction", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
+ *                                 jsonProperty("Errors", jsonArray(
  *                                 )),
- *                                 jsonProperty("Conditions", jsonArray(
+ *                                 jsonProperty("Conditions", jsonArray(
  *                                 ))
  *                             )),
- *                             jsonProperty("Type", "MessageParticipant")
+ *                             jsonProperty("Type", "MessageParticipant")
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Identifier", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
- *                             jsonProperty("Type", "DisconnectParticipant"),
- *                             jsonProperty("Parameters", jsonObject(
+ *                             jsonProperty("Identifier", "abcdef-abcd-abcd-abcd-abcdefghijkl"),
+ *                             jsonProperty("Type", "DisconnectParticipant"),
+ *                             jsonProperty("Parameters", jsonObject(
  * 
  *                             )),
- *                             jsonProperty("Transitions", jsonObject(
+ *                             jsonProperty("Transitions", jsonObject(
  * 
  *                             ))
  *                         )
  *                     )),
- *                     jsonProperty("Settings", jsonObject(
- *                         jsonProperty("InputParameters", jsonArray(
+ *                     jsonProperty("Settings", jsonObject(
+ *                         jsonProperty("InputParameters", jsonArray(
  *                         )),
- *                         jsonProperty("OutputParameters", jsonArray(
+ *                         jsonProperty("OutputParameters", jsonArray(
  *                         )),
- *                         jsonProperty("Transitions", jsonArray(
+ *                         jsonProperty("Transitions", jsonArray(
  *                             jsonObject(
- *                                 jsonProperty("DisplayName", "Success"),
- *                                 jsonProperty("ReferenceName", "Success"),
- *                                 jsonProperty("Description", "")
+ *                                 jsonProperty("DisplayName", "Success"),
+ *                                 jsonProperty("ReferenceName", "Success"),
+ *                                 jsonProperty("Description", "")
  *                             ), 
  *                             jsonObject(
- *                                 jsonProperty("DisplayName", "Error"),
- *                                 jsonProperty("ReferenceName", "Error"),
- *                                 jsonProperty("Description", "")
+ *                                 jsonProperty("DisplayName", "Error"),
+ *                                 jsonProperty("ReferenceName", "Error"),
+ *                                 jsonProperty("Description", "")
  *                             )
  *                         ))
  *                     ))
  *                 )))
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "Example Contact Flow Module"),
- *                 Map.entry("Application", "Example"),
- *                 Map.entry("Method", "Create")
+ *                 Map.entry("Name", "Example Contact Flow Module"),
+ *                 Map.entry("Application", "Example"),
+ *                 Map.entry("Method", "Create")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With External Content @@ -124,7 +126,8 @@ * Use the generated file as input: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -145,24 +148,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactFlowModule("example", ContactFlowModuleArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Example")
- *             .description("Example Contact Flow Module Description")
- *             .filename("contact_flow_module.json")
+ *         var example = new ContactFlowModule("example", ContactFlowModuleArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Example")
+ *             .description("Example Contact Flow Module Description")
+ *             .filename("contact_flow_module.json")
  *             .contentHash(StdFunctions.filebase64sha256(Filebase64sha256Args.builder()
- *                 .input("contact_flow_module.json")
+ *                 .input("contact_flow_module.json")
  *                 .build()).result())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "Example Contact Flow Module"),
- *                 Map.entry("Application", "Example"),
- *                 Map.entry("Method", "Create")
+ *                 Map.entry("Name", "Example Contact Flow Module"),
+ *                 Map.entry("Application", "Example"),
+ *                 Map.entry("Method", "Create")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/HoursOfOperation.java b/sdk/java/src/main/java/com/pulumi/aws/connect/HoursOfOperation.java index 76e9f2d71c9..f08a416854a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/HoursOfOperation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/HoursOfOperation.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new HoursOfOperation("test", HoursOfOperationArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Office Hours")
- *             .description("Monday office hours")
- *             .timeZone("EST")
+ *         var test = new HoursOfOperation("test", HoursOfOperationArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Office Hours")
+ *             .description("Monday office hours")
+ *             .timeZone("EST")
  *             .configs(            
  *                 HoursOfOperationConfigArgs.builder()
- *                     .day("MONDAY")
+ *                     .day("MONDAY")
  *                     .endTime(HoursOfOperationConfigEndTimeArgs.builder()
  *                         .hours(23)
  *                         .minutes(8)
@@ -66,7 +67,7 @@
  *                         .build())
  *                     .build(),
  *                 HoursOfOperationConfigArgs.builder()
- *                     .day("TUESDAY")
+ *                     .day("TUESDAY")
  *                     .endTime(HoursOfOperationConfigEndTimeArgs.builder()
  *                         .hours(21)
  *                         .minutes(0)
@@ -76,12 +77,13 @@
  *                         .minutes(0)
  *                         .build())
  *                     .build())
- *             .tags(Map.of("Name", "Example Hours of Operation"))
+ *             .tags(Map.of("Name", "Example Hours of Operation"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/connect/Instance.java index 1863c047356..e4d8ba4e2e2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/Instance.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Instance("test", InstanceArgs.builder()        
- *             .identityManagementType("CONNECT_MANAGED")
+ *         var test = new Instance("test", InstanceArgs.builder()        
+ *             .identityManagementType("CONNECT_MANAGED")
  *             .inboundCallsEnabled(true)
- *             .instanceAlias("friendly-name-connect")
+ *             .instanceAlias("friendly-name-connect")
  *             .outboundCallsEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Existing Active Directory * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,23 +84,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Instance("test", InstanceArgs.builder()        
+ *         var test = new Instance("test", InstanceArgs.builder()        
  *             .directoryId(testAwsDirectoryServiceDirectory.id())
- *             .identityManagementType("EXISTING_DIRECTORY")
+ *             .identityManagementType("EXISTING_DIRECTORY")
  *             .inboundCallsEnabled(true)
- *             .instanceAlias("friendly-name-connect")
+ *             .instanceAlias("friendly-name-connect")
  *             .outboundCallsEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With SAML * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -118,16 +123,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Instance("test", InstanceArgs.builder()        
- *             .identityManagementType("SAML")
+ *         var test = new Instance("test", InstanceArgs.builder()        
+ *             .identityManagementType("SAML")
  *             .inboundCallsEnabled(true)
- *             .instanceAlias("friendly-name-connect")
+ *             .instanceAlias("friendly-name-connect")
  *             .outboundCallsEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/InstanceStorageConfig.java b/sdk/java/src/main/java/com/pulumi/aws/connect/InstanceStorageConfig.java index 018e1da9131..b8d4823ae9e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/InstanceStorageConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/InstanceStorageConfig.java @@ -23,7 +23,8 @@ * ### Storage Config Kinesis Firehose Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,26 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
+ *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .resourceType("CONTACT_TRACE_RECORDS")
+ *             .resourceType("CONTACT_TRACE_RECORDS")
  *             .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
  *                 .kinesisFirehoseConfig(InstanceStorageConfigStorageConfigKinesisFirehoseConfigArgs.builder()
  *                     .firehoseArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *                     .build())
- *                 .storageType("KINESIS_FIREHOSE")
+ *                 .storageType("KINESIS_FIREHOSE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Storage Config Kinesis Stream Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,26 +91,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
+ *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .resourceType("CONTACT_TRACE_RECORDS")
+ *             .resourceType("CONTACT_TRACE_RECORDS")
  *             .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
  *                 .kinesisStreamConfig(InstanceStorageConfigStorageConfigKinesisStreamConfigArgs.builder()
  *                     .streamArn(exampleAwsKinesisStream.arn())
  *                     .build())
- *                 .storageType("KINESIS_STREAM")
+ *                 .storageType("KINESIS_STREAM")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Storage Config Kinesis Video Stream Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -131,31 +136,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
+ *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .resourceType("MEDIA_STREAMS")
+ *             .resourceType("MEDIA_STREAMS")
  *             .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
  *                 .kinesisVideoStreamConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigArgs.builder()
- *                     .prefix("example")
+ *                     .prefix("example")
  *                     .retentionPeriodHours(3)
  *                     .encryptionConfig(InstanceStorageConfigStorageConfigKinesisVideoStreamConfigEncryptionConfigArgs.builder()
- *                         .encryptionType("KMS")
+ *                         .encryptionType("KMS")
  *                         .keyId(exampleAwsKmsKey.arn())
  *                         .build())
  *                     .build())
- *                 .storageType("KINESIS_VIDEO_STREAM")
+ *                 .storageType("KINESIS_VIDEO_STREAM")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Storage Config S3 Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -178,27 +185,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
+ *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .resourceType("CHAT_TRANSCRIPTS")
+ *             .resourceType("CHAT_TRANSCRIPTS")
  *             .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
  *                 .s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
  *                     .bucketName(exampleAwsS3Bucket.id())
- *                     .bucketPrefix("example")
+ *                     .bucketPrefix("example")
  *                     .build())
- *                 .storageType("S3")
+ *                 .storageType("S3")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Storage Config S3 Config with Encryption Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -222,25 +231,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
+ *         var example = new InstanceStorageConfig("example", InstanceStorageConfigArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .resourceType("CHAT_TRANSCRIPTS")
+ *             .resourceType("CHAT_TRANSCRIPTS")
  *             .storageConfig(InstanceStorageConfigStorageConfigArgs.builder()
  *                 .s3Config(InstanceStorageConfigStorageConfigS3ConfigArgs.builder()
  *                     .bucketName(exampleAwsS3Bucket.id())
- *                     .bucketPrefix("example")
+ *                     .bucketPrefix("example")
  *                     .encryptionConfig(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfigArgs.builder()
- *                         .encryptionType("KMS")
+ *                         .encryptionType("KMS")
  *                         .keyId(exampleAwsKmsKey.arn())
  *                         .build())
  *                     .build())
- *                 .storageType("S3")
+ *                 .storageType("S3")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/LambdaFunctionAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/connect/LambdaFunctionAssociation.java index f0d2d7a4e3d..b5636b10fb1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/LambdaFunctionAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/LambdaFunctionAssociation.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,14 +42,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LambdaFunctionAssociation("example", LambdaFunctionAssociationArgs.builder()        
+ *         var example = new LambdaFunctionAssociation("example", LambdaFunctionAssociationArgs.builder()        
  *             .functionArn(exampleAwsLambdaFunction.arn())
  *             .instanceId(exampleAwsConnectInstance.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/PhoneNumber.java b/sdk/java/src/main/java/com/pulumi/aws/connect/PhoneNumber.java index 98f49e82da1..8885a2bb980 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/PhoneNumber.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/PhoneNumber.java @@ -26,7 +26,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,22 +48,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PhoneNumber("example", PhoneNumberArgs.builder()        
+ *         var example = new PhoneNumber("example", PhoneNumberArgs.builder()        
  *             .targetArn(exampleAwsConnectInstance.arn())
- *             .countryCode("US")
- *             .type("DID")
- *             .tags(Map.of("hello", "world"))
+ *             .countryCode("US")
+ *             .type("DID")
+ *             .tags(Map.of("hello", "world"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Description * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,22 +86,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PhoneNumber("example", PhoneNumberArgs.builder()        
+ *         var example = new PhoneNumber("example", PhoneNumberArgs.builder()        
  *             .targetArn(exampleAwsConnectInstance.arn())
- *             .countryCode("US")
- *             .type("DID")
- *             .description("example description")
+ *             .countryCode("US")
+ *             .type("DID")
+ *             .description("example description")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Prefix to filter phone numbers * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -119,16 +124,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PhoneNumber("example", PhoneNumberArgs.builder()        
+ *         var example = new PhoneNumber("example", PhoneNumberArgs.builder()        
  *             .targetArn(exampleAwsConnectInstance.arn())
- *             .countryCode("US")
- *             .type("DID")
- *             .prefix("+18005")
+ *             .countryCode("US")
+ *             .type("DID")
+ *             .prefix("+18005")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/Queue.java b/sdk/java/src/main/java/com/pulumi/aws/connect/Queue.java index 288c1ed4f49..26804332276 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/Queue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/Queue.java @@ -27,7 +27,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Queue("test", QueueArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Example Name")
- *             .description("Example Description")
- *             .hoursOfOperationId("12345678-1234-1234-1234-123456789012")
- *             .tags(Map.of("Name", "Example Queue"))
+ *         var test = new Queue("test", QueueArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Example Name")
+ *             .description("Example Description")
+ *             .hoursOfOperationId("12345678-1234-1234-1234-123456789012")
+ *             .tags(Map.of("Name", "Example Queue"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Quick Connect IDs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,24 +88,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Queue("test", QueueArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Example Name")
- *             .description("Example Description")
- *             .hoursOfOperationId("12345678-1234-1234-1234-123456789012")
- *             .quickConnectIds("12345678-abcd-1234-abcd-123456789012")
- *             .tags(Map.of("Name", "Example Queue with Quick Connect IDs"))
+ *         var test = new Queue("test", QueueArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Example Name")
+ *             .description("Example Description")
+ *             .hoursOfOperationId("12345678-1234-1234-1234-123456789012")
+ *             .quickConnectIds("12345678-abcd-1234-abcd-123456789012")
+ *             .tags(Map.of("Name", "Example Queue with Quick Connect IDs"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Outbound Caller Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -124,22 +129,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Queue("test", QueueArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Example Name")
- *             .description("Example Description")
- *             .hoursOfOperationId("12345678-1234-1234-1234-123456789012")
+ *         var test = new Queue("test", QueueArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Example Name")
+ *             .description("Example Description")
+ *             .hoursOfOperationId("12345678-1234-1234-1234-123456789012")
  *             .outboundCallerConfig(QueueOutboundCallerConfigArgs.builder()
- *                 .outboundCallerIdName("example")
- *                 .outboundCallerIdNumberId("12345678-abcd-1234-abcd-123456789012")
- *                 .outboundFlowId("87654321-defg-1234-defg-987654321234")
+ *                 .outboundCallerIdName("example")
+ *                 .outboundCallerIdNumberId("12345678-abcd-1234-abcd-123456789012")
+ *                 .outboundFlowId("87654321-defg-1234-defg-987654321234")
  *                 .build())
- *             .tags(Map.of("Name", "Example Queue with Outbound Caller Config"))
+ *             .tags(Map.of("Name", "Example Queue with Outbound Caller Config"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/QuickConnect.java b/sdk/java/src/main/java/com/pulumi/aws/connect/QuickConnect.java index fd87066a0e7..bf796c38061 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/QuickConnect.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/QuickConnect.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new QuickConnect("test", QuickConnectArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("Example Name")
- *             .description("quick connect phone number")
+ *         var test = new QuickConnect("test", QuickConnectArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("Example Name")
+ *             .description("quick connect phone number")
  *             .quickConnectConfig(QuickConnectQuickConnectConfigArgs.builder()
- *                 .quickConnectType("PHONE_NUMBER")
+ *                 .quickConnectType("PHONE_NUMBER")
  *                 .phoneConfigs(QuickConnectQuickConnectConfigPhoneConfigArgs.builder()
- *                     .phoneNumber("+12345678912")
+ *                     .phoneNumber("+12345678912")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Name", "Example Quick Connect"))
+ *             .tags(Map.of("Name", "Example Quick Connect"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/RoutingProfile.java b/sdk/java/src/main/java/com/pulumi/aws/connect/RoutingProfile.java index d4b5aecc1be..ff00ee0e403 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/RoutingProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/RoutingProfile.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,27 +49,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RoutingProfile("example", RoutingProfileArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("example")
- *             .defaultOutboundQueueId("12345678-1234-1234-1234-123456789012")
- *             .description("example description")
+ *         var example = new RoutingProfile("example", RoutingProfileArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("example")
+ *             .defaultOutboundQueueId("12345678-1234-1234-1234-123456789012")
+ *             .description("example description")
  *             .mediaConcurrencies(RoutingProfileMediaConcurrencyArgs.builder()
- *                 .channel("VOICE")
+ *                 .channel("VOICE")
  *                 .concurrency(1)
  *                 .build())
  *             .queueConfigs(RoutingProfileQueueConfigArgs.builder()
- *                 .channel("VOICE")
+ *                 .channel("VOICE")
  *                 .delay(2)
  *                 .priority(1)
- *                 .queueId("12345678-1234-1234-1234-123456789012")
+ *                 .queueId("12345678-1234-1234-1234-123456789012")
  *                 .build())
- *             .tags(Map.of("Name", "Example Routing Profile"))
+ *             .tags(Map.of("Name", "Example Routing Profile"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/SecurityProfile.java b/sdk/java/src/main/java/com/pulumi/aws/connect/SecurityProfile.java index 64e218526e8..0960f70cd3a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/SecurityProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/SecurityProfile.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityProfile("example", SecurityProfileArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("example")
- *             .description("example description")
+ *         var example = new SecurityProfile("example", SecurityProfileArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("example")
+ *             .description("example description")
  *             .permissions(            
- *                 "BasicAgentAccess",
- *                 "OutboundCallAccess")
- *             .tags(Map.of("Name", "Example Security Profile"))
+ *                 "BasicAgentAccess",
+ *                 "OutboundCallAccess")
+ *             .tags(Map.of("Name", "Example Security Profile"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/User.java b/sdk/java/src/main/java/com/pulumi/aws/connect/User.java index 32e066f2e9d..8001c75f9af 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/User.java @@ -27,7 +27,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,31 +51,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
+ *         var example = new User("example", UserArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .name("example")
- *             .password("Password123")
+ *             .name("example")
+ *             .password("Password123")
  *             .routingProfileId(exampleAwsConnectRoutingProfile.routingProfileId())
  *             .securityProfileIds(exampleAwsConnectSecurityProfile.securityProfileId())
  *             .identityInfo(UserIdentityInfoArgs.builder()
- *                 .firstName("example")
- *                 .lastName("example2")
+ *                 .firstName("example")
+ *                 .lastName("example2")
  *                 .build())
  *             .phoneConfig(UserPhoneConfigArgs.builder()
  *                 .afterContactWorkTimeLimit(0)
- *                 .phoneType("SOFT_PHONE")
+ *                 .phoneType("SOFT_PHONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With hierarchy_group_id * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,32 +100,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
+ *         var example = new User("example", UserArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .name("example")
- *             .password("Password123")
+ *             .name("example")
+ *             .password("Password123")
  *             .routingProfileId(exampleAwsConnectRoutingProfile.routingProfileId())
  *             .hierarchyGroupId(exampleAwsConnectUserHierarchyGroup.hierarchyGroupId())
  *             .securityProfileIds(exampleAwsConnectSecurityProfile.securityProfileId())
  *             .identityInfo(UserIdentityInfoArgs.builder()
- *                 .firstName("example")
- *                 .lastName("example2")
+ *                 .firstName("example")
+ *                 .lastName("example2")
  *                 .build())
  *             .phoneConfig(UserPhoneConfigArgs.builder()
  *                 .afterContactWorkTimeLimit(0)
- *                 .phoneType("SOFT_PHONE")
+ *                 .phoneType("SOFT_PHONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With identity_info filled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -145,32 +150,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
+ *         var example = new User("example", UserArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .name("example")
- *             .password("Password123")
+ *             .name("example")
+ *             .password("Password123")
  *             .routingProfileId(exampleAwsConnectRoutingProfile.routingProfileId())
  *             .securityProfileIds(exampleAwsConnectSecurityProfile.securityProfileId())
  *             .identityInfo(UserIdentityInfoArgs.builder()
- *                 .email("example@example.com")
- *                 .firstName("example")
- *                 .lastName("example2")
+ *                 .email("example{@literal @}example.com")
+ *                 .firstName("example")
+ *                 .lastName("example2")
  *                 .build())
  *             .phoneConfig(UserPhoneConfigArgs.builder()
  *                 .afterContactWorkTimeLimit(0)
- *                 .phoneType("SOFT_PHONE")
+ *                 .phoneType("SOFT_PHONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With phone_config phone type as desk phone * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -192,27 +199,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
+ *         var example = new User("example", UserArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .name("example")
- *             .password("Password123")
+ *             .name("example")
+ *             .password("Password123")
  *             .routingProfileId(exampleAwsConnectRoutingProfile.routingProfileId())
  *             .securityProfileIds(exampleAwsConnectSecurityProfile.securityProfileId())
  *             .phoneConfig(UserPhoneConfigArgs.builder()
  *                 .afterContactWorkTimeLimit(0)
- *                 .phoneType("SOFT_PHONE")
+ *                 .phoneType("SOFT_PHONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With multiple Security profile ids specified in security_profile_ids * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -234,10 +243,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
+ *         var example = new User("example", UserArgs.builder()        
  *             .instanceId(exampleAwsConnectInstance.id())
- *             .name("example")
- *             .password("Password123")
+ *             .name("example")
+ *             .password("Password123")
  *             .routingProfileId(exampleAwsConnectRoutingProfile.routingProfileId())
  *             .securityProfileIds(            
  *                 exampleAwsConnectSecurityProfile.securityProfileId(),
@@ -245,14 +254,15 @@
  *             .phoneConfig(UserPhoneConfigArgs.builder()
  *                 .afterContactWorkTimeLimit(0)
  *                 .autoAccept(false)
- *                 .deskPhoneNumber("+112345678912")
- *                 .phoneType("DESK_PHONE")
+ *                 .deskPhoneNumber("+112345678912")
+ *                 .phoneType("DESK_PHONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -337,14 +347,14 @@ public Output instanceId() { return this.instanceId; } /** - * The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @return The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/UserArgs.java b/sdk/java/src/main/java/com/pulumi/aws/connect/UserArgs.java index d8e056728af..7fa3f516445 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/UserArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/UserArgs.java @@ -81,14 +81,14 @@ public Output instanceId() { } /** - * The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * */ @Import(name="name") private @Nullable Output name; /** - * @return The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @return The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * */ public Optional> name() { @@ -290,7 +290,7 @@ public Builder instanceId(String instanceId) { } /** - * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * * @return builder * @@ -301,7 +301,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyGroup.java b/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyGroup.java index 196109535fa..a4107c2f85a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyGroup.java @@ -28,7 +28,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,21 +50,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserHierarchyGroup("example", UserHierarchyGroupArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("example")
- *             .tags(Map.of("Name", "Example User Hierarchy Group"))
+ *         var example = new UserHierarchyGroup("example", UserHierarchyGroupArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("example")
+ *             .tags(Map.of("Name", "Example User Hierarchy Group"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With a parent group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -84,22 +87,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var parent = new UserHierarchyGroup("parent", UserHierarchyGroupArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("parent")
- *             .tags(Map.of("Name", "Example User Hierarchy Group Parent"))
+ *         var parent = new UserHierarchyGroup("parent", UserHierarchyGroupArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("parent")
+ *             .tags(Map.of("Name", "Example User Hierarchy Group Parent"))
  *             .build());
  * 
- *         var child = new UserHierarchyGroup("child", UserHierarchyGroupArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("child")
+ *         var child = new UserHierarchyGroup("child", UserHierarchyGroupArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("child")
  *             .parentGroupId(parent.hierarchyGroupId())
- *             .tags(Map.of("Name", "Example User Hierarchy Group Child"))
+ *             .tags(Map.of("Name", "Example User Hierarchy Group Child"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyStructure.java b/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyStructure.java index 11fe060aeaf..0828153801f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyStructure.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/UserHierarchyStructure.java @@ -23,7 +23,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserHierarchyStructure("example", UserHierarchyStructureArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *         var example = new UserHierarchyStructure("example", UserHierarchyStructureArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
  *             .hierarchyStructure(UserHierarchyStructureHierarchyStructureArgs.builder()
  *                 .levelOne(UserHierarchyStructureHierarchyStructureLevelOneArgs.builder()
- *                     .name("levelone")
+ *                     .name("levelone")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Five Levels * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,30 +93,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserHierarchyStructure("example", UserHierarchyStructureArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *         var example = new UserHierarchyStructure("example", UserHierarchyStructureArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
  *             .hierarchyStructure(UserHierarchyStructureHierarchyStructureArgs.builder()
  *                 .levelOne(UserHierarchyStructureHierarchyStructureLevelOneArgs.builder()
- *                     .name("levelone")
+ *                     .name("levelone")
  *                     .build())
  *                 .levelTwo(UserHierarchyStructureHierarchyStructureLevelTwoArgs.builder()
- *                     .name("leveltwo")
+ *                     .name("leveltwo")
  *                     .build())
  *                 .levelThree(UserHierarchyStructureHierarchyStructureLevelThreeArgs.builder()
- *                     .name("levelthree")
+ *                     .name("levelthree")
  *                     .build())
  *                 .levelFour(UserHierarchyStructureHierarchyStructureLevelFourArgs.builder()
- *                     .name("levelfour")
+ *                     .name("levelfour")
  *                     .build())
  *                 .levelFive(UserHierarchyStructureHierarchyStructureLevelFiveArgs.builder()
- *                     .name("levelfive")
+ *                     .name("levelfive")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/Vocabulary.java b/sdk/java/src/main/java/com/pulumi/aws/connect/Vocabulary.java index 837cbbfd301..afed9554260 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/Vocabulary.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/Vocabulary.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,21 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vocabulary("example", VocabularyArgs.builder()        
- *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
- *             .name("example")
- *             .content("""
+ *         var example = new Vocabulary("example", VocabularyArgs.builder()        
+ *             .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
+ *             .name("example")
+ *             .content("""
  * Phrase	IPA	SoundsLike	DisplayAs
  * Los-Angeles			Los Angeles
  * F.B.I.	ɛ f b i aɪ		FBI
- * Etienne		eh-tee-en	            """)
- *             .languageCode("en-US")
- *             .tags(Map.of("Key1", "Value1"))
+ * Etienne		eh-tee-en	            """)
+ *             .languageCode("en-US")
+ *             .tags(Map.of("Key1", "Value1"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/connect/inputs/UserState.java b/sdk/java/src/main/java/com/pulumi/aws/connect/inputs/UserState.java index ee0b6d2302a..d5339bd59cb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/connect/inputs/UserState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/connect/inputs/UserState.java @@ -95,14 +95,14 @@ public Optional> instanceId() { } /** - * The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * */ @Import(name="name") private @Nullable Output name; /** - * @return The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @return The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * */ public Optional> name() { @@ -366,7 +366,7 @@ public Builder instanceId(String instanceId) { } /** - * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * * @return builder * @@ -377,7 +377,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. + * @param name The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\{@literal @}]+`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalyMonitor.java b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalyMonitor.java index a0165459120..fd9093dbeb5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalyMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalyMonitor.java @@ -25,7 +25,8 @@ * ### Dimensional Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var serviceMonitor = new AnomalyMonitor("serviceMonitor", AnomalyMonitorArgs.builder()        
- *             .name("AWSServiceMonitor")
- *             .monitorType("DIMENSIONAL")
- *             .monitorDimension("SERVICE")
+ *         var serviceMonitor = new AnomalyMonitor("serviceMonitor", AnomalyMonitorArgs.builder()        
+ *             .name("AWSServiceMonitor")
+ *             .monitorType("DIMENSIONAL")
+ *             .monitorDimension("SERVICE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,27 +85,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AnomalyMonitor("test", AnomalyMonitorArgs.builder()        
- *             .name("AWSCustomAnomalyMonitor")
- *             .monitorType("CUSTOM")
+ *         var test = new AnomalyMonitor("test", AnomalyMonitorArgs.builder()        
+ *             .name("AWSCustomAnomalyMonitor")
+ *             .monitorType("CUSTOM")
  *             .monitorSpecification(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("And", null),
- *                     jsonProperty("CostCategories", null),
- *                     jsonProperty("Dimensions", null),
- *                     jsonProperty("Not", null),
- *                     jsonProperty("Or", null),
- *                     jsonProperty("Tags", jsonObject(
- *                         jsonProperty("Key", "CostCenter"),
- *                         jsonProperty("MatchOptions", null),
- *                         jsonProperty("Values", jsonArray("10000"))
+ *                     jsonProperty("And", null),
+ *                     jsonProperty("CostCategories", null),
+ *                     jsonProperty("Dimensions", null),
+ *                     jsonProperty("Not", null),
+ *                     jsonProperty("Or", null),
+ *                     jsonProperty("Tags", jsonObject(
+ *                         jsonProperty("Key", "CostCenter"),
+ *                         jsonProperty("MatchOptions", null),
+ *                         jsonProperty("Values", jsonArray("10000"))
  *                     ))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalySubscription.java b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalySubscription.java index 7d42f417128..ab6b404b65a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalySubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/AnomalySubscription.java @@ -26,7 +26,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,32 +53,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AnomalyMonitor("test", AnomalyMonitorArgs.builder()        
- *             .name("AWSServiceMonitor")
- *             .monitorType("DIMENSIONAL")
- *             .monitorDimension("SERVICE")
+ *         var test = new AnomalyMonitor("test", AnomalyMonitorArgs.builder()        
+ *             .name("AWSServiceMonitor")
+ *             .monitorType("DIMENSIONAL")
+ *             .monitorDimension("SERVICE")
  *             .build());
  * 
- *         var testAnomalySubscription = new AnomalySubscription("testAnomalySubscription", AnomalySubscriptionArgs.builder()        
- *             .name("DAILYSUBSCRIPTION")
- *             .frequency("DAILY")
+ *         var testAnomalySubscription = new AnomalySubscription("testAnomalySubscription", AnomalySubscriptionArgs.builder()        
+ *             .name("DAILYSUBSCRIPTION")
+ *             .frequency("DAILY")
  *             .monitorArnLists(test.arn())
  *             .subscribers(AnomalySubscriptionSubscriberArgs.builder()
- *                 .type("EMAIL")
- *                 .address("abc@example.com")
+ *                 .type("EMAIL")
+ *                 .address("abc{@literal @}example.com")
  *                 .build())
  *             .thresholdExpression(AnomalySubscriptionThresholdExpressionArgs.builder()
  *                 .dimension(AnomalySubscriptionThresholdExpressionDimensionArgs.builder()
- *                     .key("ANOMALY_TOTAL_IMPACT_ABSOLUTE")
- *                     .matchOptions("GREATER_THAN_OR_EQUAL")
- *                     .values("100")
+ *                     .key("ANOMALY_TOTAL_IMPACT_ABSOLUTE")
+ *                     .matchOptions("GREATER_THAN_OR_EQUAL")
+ *                     .values("100")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Threshold Expression Example @@ -85,7 +87,8 @@ * ### Using a Percentage Threshold * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -109,32 +112,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AnomalySubscription("test", AnomalySubscriptionArgs.builder()        
- *             .name("AWSServiceMonitor")
- *             .frequency("DAILY")
+ *         var test = new AnomalySubscription("test", AnomalySubscriptionArgs.builder()        
+ *             .name("AWSServiceMonitor")
+ *             .frequency("DAILY")
  *             .monitorArnLists(testAwsCeAnomalyMonitor.arn())
  *             .subscribers(AnomalySubscriptionSubscriberArgs.builder()
- *                 .type("EMAIL")
- *                 .address("abc@example.com")
+ *                 .type("EMAIL")
+ *                 .address("abc{@literal @}example.com")
  *                 .build())
  *             .thresholdExpression(AnomalySubscriptionThresholdExpressionArgs.builder()
  *                 .dimension(AnomalySubscriptionThresholdExpressionDimensionArgs.builder()
- *                     .key("ANOMALY_TOTAL_IMPACT_PERCENTAGE")
- *                     .matchOptions("GREATER_THAN_OR_EQUAL")
- *                     .values("100")
+ *                     .key("ANOMALY_TOTAL_IMPACT_PERCENTAGE")
+ *                     .matchOptions("GREATER_THAN_OR_EQUAL")
+ *                     .values("100")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using an `and` Expression * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -157,28 +162,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AnomalySubscription("test", AnomalySubscriptionArgs.builder()        
- *             .name("AWSServiceMonitor")
- *             .frequency("DAILY")
+ *         var test = new AnomalySubscription("test", AnomalySubscriptionArgs.builder()        
+ *             .name("AWSServiceMonitor")
+ *             .frequency("DAILY")
  *             .monitorArnLists(testAwsCeAnomalyMonitor.arn())
  *             .subscribers(AnomalySubscriptionSubscriberArgs.builder()
- *                 .type("EMAIL")
- *                 .address("abc@example.com")
+ *                 .type("EMAIL")
+ *                 .address("abc{@literal @}example.com")
  *                 .build())
  *             .thresholdExpression(AnomalySubscriptionThresholdExpressionArgs.builder()
  *                 .ands(                
  *                     AnomalySubscriptionThresholdExpressionAndArgs.builder()
  *                         .dimension(AnomalySubscriptionThresholdExpressionAndDimensionArgs.builder()
- *                             .key("ANOMALY_TOTAL_IMPACT_ABSOLUTE")
- *                             .matchOptions("GREATER_THAN_OR_EQUAL")
- *                             .values("100")
+ *                             .key("ANOMALY_TOTAL_IMPACT_ABSOLUTE")
+ *                             .matchOptions("GREATER_THAN_OR_EQUAL")
+ *                             .values("100")
  *                             .build())
  *                         .build(),
  *                     AnomalySubscriptionThresholdExpressionAndArgs.builder()
  *                         .dimension(AnomalySubscriptionThresholdExpressionAndDimensionArgs.builder()
- *                             .key("ANOMALY_TOTAL_IMPACT_PERCENTAGE")
- *                             .matchOptions("GREATER_THAN_OR_EQUAL")
- *                             .values("50")
+ *                             .key("ANOMALY_TOTAL_IMPACT_PERCENTAGE")
+ *                             .matchOptions("GREATER_THAN_OR_EQUAL")
+ *                             .values("50")
  *                             .build())
  *                         .build())
  *                 .build())
@@ -186,13 +191,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SNS Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -223,66 +230,66 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var costAnomalyUpdates = new Topic("costAnomalyUpdates", TopicArgs.builder()        
- *             .name("CostAnomalyUpdates")
+ *         var costAnomalyUpdates = new Topic("costAnomalyUpdates", TopicArgs.builder()        
+ *             .name("CostAnomalyUpdates")
  *             .build());
  * 
  *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .policyId("__default_policy_ID")
+ *             .policyId("__default_policy_ID")
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("AWSAnomalyDetectionSNSPublishingPermissions")
- *                     .actions("SNS:Publish")
- *                     .effect("Allow")
+ *                     .sid("AWSAnomalyDetectionSNSPublishingPermissions")
+ *                     .actions("SNS:Publish")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("costalerts.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("costalerts.amazonaws.com")
  *                         .build())
  *                     .resources(costAnomalyUpdates.arn())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("__default_statement_ID")
+ *                     .sid("__default_statement_ID")
  *                     .actions(                    
- *                         "SNS:Subscribe",
- *                         "SNS:SetTopicAttributes",
- *                         "SNS:RemovePermission",
- *                         "SNS:Receive",
- *                         "SNS:Publish",
- *                         "SNS:ListSubscriptionsByTopic",
- *                         "SNS:GetTopicAttributes",
- *                         "SNS:DeleteTopic",
- *                         "SNS:AddPermission")
+ *                         "SNS:Subscribe",
+ *                         "SNS:SetTopicAttributes",
+ *                         "SNS:RemovePermission",
+ *                         "SNS:Receive",
+ *                         "SNS:Publish",
+ *                         "SNS:ListSubscriptionsByTopic",
+ *                         "SNS:GetTopicAttributes",
+ *                         "SNS:DeleteTopic",
+ *                         "SNS:AddPermission")
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("AWS:SourceOwner")
+ *                         .test("StringEquals")
+ *                         .variable("AWS:SourceOwner")
  *                         .values(accountId)
  *                         .build())
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
- *                         .identifiers("*")
+ *                         .type("AWS")
+ *                         .identifiers("*")
  *                         .build())
  *                     .resources(costAnomalyUpdates.arn())
  *                     .build())
  *             .build());
  * 
- *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
+ *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
  *             .arn(costAnomalyUpdates.arn())
- *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var anomalyMonitor = new AnomalyMonitor("anomalyMonitor", AnomalyMonitorArgs.builder()        
- *             .name("AWSServiceMonitor")
- *             .monitorType("DIMENSIONAL")
- *             .monitorDimension("SERVICE")
+ *         var anomalyMonitor = new AnomalyMonitor("anomalyMonitor", AnomalyMonitorArgs.builder()        
+ *             .name("AWSServiceMonitor")
+ *             .monitorType("DIMENSIONAL")
+ *             .monitorDimension("SERVICE")
  *             .build());
  * 
- *         var realtimeSubscription = new AnomalySubscription("realtimeSubscription", AnomalySubscriptionArgs.builder()        
- *             .name("RealtimeAnomalySubscription")
- *             .frequency("IMMEDIATE")
+ *         var realtimeSubscription = new AnomalySubscription("realtimeSubscription", AnomalySubscriptionArgs.builder()        
+ *             .name("RealtimeAnomalySubscription")
+ *             .frequency("IMMEDIATE")
  *             .monitorArnLists(anomalyMonitor.arn())
  *             .subscribers(AnomalySubscriptionSubscriberArgs.builder()
- *                 .type("SNS")
+ *                 .type("SNS")
  *                 .address(costAnomalyUpdates.arn())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -291,7 +298,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostAllocationTag.java b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostAllocationTag.java index 0e6c710d9c9..602c02ae3bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostAllocationTag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostAllocationTag.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CostAllocationTag("example", CostAllocationTagArgs.builder()        
- *             .tagKey("example")
- *             .status("Active")
+ *         var example = new CostAllocationTag("example", CostAllocationTagArgs.builder()        
+ *             .tagKey("example")
+ *             .status("Active")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostCategory.java b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostCategory.java index 3f997d22a10..4ed0a9272af 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostCategory.java +++ b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostCategory.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,37 +49,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new CostCategory("test", CostCategoryArgs.builder()        
- *             .name("NAME")
- *             .ruleVersion("CostCategoryExpression.v1")
+ *         var test = new CostCategory("test", CostCategoryArgs.builder()        
+ *             .name("NAME")
+ *             .ruleVersion("CostCategoryExpression.v1")
  *             .rules(            
  *                 CostCategoryRuleArgs.builder()
- *                     .value("production")
+ *                     .value("production")
  *                     .rule(CostCategoryRuleRuleArgs.builder()
  *                         .dimension(CostCategoryRuleRuleDimensionArgs.builder()
- *                             .key("LINKED_ACCOUNT_NAME")
- *                             .values("-prod")
- *                             .matchOptions("ENDS_WITH")
+ *                             .key("LINKED_ACCOUNT_NAME")
+ *                             .values("-prod")
+ *                             .matchOptions("ENDS_WITH")
  *                             .build())
  *                         .build())
  *                     .build(),
  *                 CostCategoryRuleArgs.builder()
- *                     .value("staging")
+ *                     .value("staging")
  *                     .rule(CostCategoryRuleRuleArgs.builder()
  *                         .dimension(CostCategoryRuleRuleDimensionArgs.builder()
- *                             .key("LINKED_ACCOUNT_NAME")
- *                             .values("-stg")
- *                             .matchOptions("ENDS_WITH")
+ *                             .key("LINKED_ACCOUNT_NAME")
+ *                             .values("-stg")
+ *                             .matchOptions("ENDS_WITH")
  *                             .build())
  *                         .build())
  *                     .build(),
  *                 CostCategoryRuleArgs.builder()
- *                     .value("testing")
+ *                     .value("testing")
  *                     .rule(CostCategoryRuleRuleArgs.builder()
  *                         .dimension(CostCategoryRuleRuleDimensionArgs.builder()
- *                             .key("LINKED_ACCOUNT_NAME")
- *                             .values("-dev")
- *                             .matchOptions("ENDS_WITH")
+ *                             .key("LINKED_ACCOUNT_NAME")
+ *                             .values("-dev")
+ *                             .matchOptions("ENDS_WITH")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -86,7 +87,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostexplorerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostexplorerFunctions.java index 9ce786c5751..b041d81776f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostexplorerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/costexplorer/CostexplorerFunctions.java @@ -23,7 +23,8 @@ public final class CostexplorerFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,12 +46,13 @@ public final class CostexplorerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CostexplorerFunctions.getCostCategory(GetCostCategoryArgs.builder()
-     *             .costCategoryArn("costCategoryARN")
+     *             .costCategoryArn("costCategoryARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getCostCategory(GetCostCategoryArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -85,12 +88,13 @@ public static Output getCostCategory(GetCostCategoryArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CostexplorerFunctions.getCostCategory(GetCostCategoryArgs.builder()
-     *             .costCategoryArn("costCategoryARN")
+     *             .costCategoryArn("costCategoryARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getCostCategoryPlain(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getCostCategoryPlain(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CostexplorerFunctions.getCostCategory(GetCostCategoryArgs.builder()
-     *             .costCategoryArn("costCategoryARN")
+     *             .costCategoryArn("costCategoryARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getCostCategory(GetCostCategoryArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,12 +172,13 @@ public static Output getCostCategory(GetCostCategoryArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = CostexplorerFunctions.getCostCategory(GetCostCategoryArgs.builder()
-     *             .costCategoryArn("costCategoryARN")
+     *             .costCategoryArn("costCategoryARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getCostCategoryPlain(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -207,14 +216,15 @@ public static CompletableFuture getCostCategoryPlain(GetC
      *     public static void stack(Context ctx) {
      *         final var test = CostexplorerFunctions.getTags(GetTagsArgs.builder()
      *             .timePeriod(GetTagsTimePeriodArgs.builder()
-     *                 .start("2021-01-01")
-     *                 .end("2022-12-01")
+     *                 .start("2021-01-01")
+     *                 .end("2022-12-01")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -227,7 +237,8 @@ public static Output getTags(GetTagsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,14 +262,15 @@ public static Output getTags(GetTagsArgs args) {
      *     public static void stack(Context ctx) {
      *         final var test = CostexplorerFunctions.getTags(GetTagsArgs.builder()
      *             .timePeriod(GetTagsTimePeriodArgs.builder()
-     *                 .start("2021-01-01")
-     *                 .end("2022-12-01")
+     *                 .start("2021-01-01")
+     *                 .end("2022-12-01")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -271,7 +283,8 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -295,14 +308,15 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg
      *     public static void stack(Context ctx) {
      *         final var test = CostexplorerFunctions.getTags(GetTagsArgs.builder()
      *             .timePeriod(GetTagsTimePeriodArgs.builder()
-     *                 .start("2021-01-01")
-     *                 .end("2022-12-01")
+     *                 .start("2021-01-01")
+     *                 .end("2022-12-01")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -315,7 +329,8 @@ public static Output getTags(GetTagsArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -339,14 +354,15 @@ public static Output getTags(GetTagsArgs args, InvokeOptions opti
      *     public static void stack(Context ctx) {
      *         final var test = CostexplorerFunctions.getTags(GetTagsArgs.builder()
      *             .timePeriod(GetTagsTimePeriodArgs.builder()
-     *                 .start("2021-01-01")
-     *                 .end("2022-12-01")
+     *                 .start("2021-01-01")
+     *                 .end("2022-12-01")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cur/CurFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/cur/CurFunctions.java index d513000501e..a5fc70d5499 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cur/CurFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cur/CurFunctions.java @@ -24,7 +24,8 @@ public final class CurFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -46,12 +47,13 @@ public final class CurFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var reportDefinition = CurFunctions.getReportDefinition(GetReportDefinitionArgs.builder()
-     *             .reportName("example")
+     *             .reportName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -68,7 +70,8 @@ public static Output getReportDefinition(GetReportDef * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,12 +93,13 @@ public static Output getReportDefinition(GetReportDef
      * 
      *     public static void stack(Context ctx) {
      *         final var reportDefinition = CurFunctions.getReportDefinition(GetReportDefinitionArgs.builder()
-     *             .reportName("example")
+     *             .reportName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getReportDefinitionPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getReportDefinitionPl
      * 
      *     public static void stack(Context ctx) {
      *         final var reportDefinition = CurFunctions.getReportDefinition(GetReportDefinitionArgs.builder()
-     *             .reportName("example")
+     *             .reportName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -156,7 +162,8 @@ public static Output getReportDefinition(GetReportDef * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -178,12 +185,13 @@ public static Output getReportDefinition(GetReportDef
      * 
      *     public static void stack(Context ctx) {
      *         final var reportDefinition = CurFunctions.getReportDefinition(GetReportDefinitionArgs.builder()
-     *             .reportName("example")
+     *             .reportName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/cur/ReportDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/cur/ReportDefinition.java index d268f268d7e..61866b9e128 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cur/ReportDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cur/ReportDefinition.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,24 +46,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCurReportDefinition = new ReportDefinition("exampleCurReportDefinition", ReportDefinitionArgs.builder()        
- *             .reportName("example-cur-report-definition")
- *             .timeUnit("HOURLY")
- *             .format("textORcsv")
- *             .compression("GZIP")
+ *         var exampleCurReportDefinition = new ReportDefinition("exampleCurReportDefinition", ReportDefinitionArgs.builder()        
+ *             .reportName("example-cur-report-definition")
+ *             .timeUnit("HOURLY")
+ *             .format("textORcsv")
+ *             .compression("GZIP")
  *             .additionalSchemaElements(            
- *                 "RESOURCES",
- *                 "SPLIT_COST_ALLOCATION_DATA")
- *             .s3Bucket("example-bucket-name")
- *             .s3Region("us-east-1")
+ *                 "RESOURCES",
+ *                 "SPLIT_COST_ALLOCATION_DATA")
+ *             .s3Bucket("example-bucket-name")
+ *             .s3Region("us-east-1")
  *             .additionalArtifacts(            
- *                 "REDSHIFT",
- *                 "QUICKSIGHT")
+ *                 "REDSHIFT",
+ *                 "QUICKSIGHT")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Domain.java index 5ea857fbec9..98dbb29f2ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Domain.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("example")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With SQS DLQ and KMS set * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,62 +91,62 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Queue("example", QueueArgs.builder()        
- *             .name("example")
+ *         var example = new Queue("example", QueueArgs.builder()        
+ *             .name("example")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", "Customer Profiles SQS policy"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", jsonArray("sqs:SendMessage")),
- *                         jsonProperty("Resource", "*"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "profile.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", "Customer Profiles SQS policy"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", jsonArray("sqs:SendMessage")),
+ *                         jsonProperty("Resource", "*"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "profile.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
- *             .description("example")
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *             .description("example")
  *             .deletionWindowInDays(10)
  *             .build());
  * 
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
+ *         var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
+ *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
  *                 var exampleBucketV2Arn = values.t1;
  *                 var exampleBucketV2Arn1 = values.t2;
  *                 return serializeJson(
  *                     jsonObject(
- *                         jsonProperty("Version", "2012-10-17"),
- *                         jsonProperty("Statement", jsonArray(jsonObject(
- *                             jsonProperty("Sid", "Customer Profiles S3 policy"),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Action", jsonArray(
- *                                 "s3:GetObject", 
- *                                 "s3:PutObject", 
- *                                 "s3:ListBucket"
+ *                         jsonProperty("Version", "2012-10-17"),
+ *                         jsonProperty("Statement", jsonArray(jsonObject(
+ *                             jsonProperty("Sid", "Customer Profiles S3 policy"),
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Action", jsonArray(
+ *                                 "s3:GetObject", 
+ *                                 "s3:PutObject", 
+ *                                 "s3:ListBucket"
  *                             )),
- *                             jsonProperty("Resource", jsonArray(
+ *                             jsonProperty("Resource", jsonArray(
  *                                 exampleBucketV2Arn, 
- *                                 String.format("%s/*", exampleBucketV2Arn1)
+ *                                 String.format("%s/*", exampleBucketV2Arn1)
  *                             )),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("Service", "profile.amazonaws.com")
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("Service", "profile.amazonaws.com")
  *                             ))
  *                         )))
  *                     ));
  *             }))
  *             .build());
  * 
- *         var test = new Domain("test", DomainArgs.builder()        
+ *         var test = new Domain("test", DomainArgs.builder()        
  *             .domainName(example)
  *             .deadLetterQueueUrl(example.id())
  *             .defaultEncryptionKey(exampleKey.arn())
@@ -152,7 +155,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Profile.java b/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Profile.java index 985127ae023..f3fdf11d810 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Profile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/customerprofiles/Profile.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,17 +50,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("example")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("example")
  *             .build());
  * 
- *         var exampleProfile = new Profile("exampleProfile", ProfileArgs.builder()        
+ *         var exampleProfile = new Profile("exampleProfile", ProfileArgs.builder()        
  *             .domainName(example.domainName())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dataexchange/DataSet.java b/sdk/java/src/main/java/com/pulumi/aws/dataexchange/DataSet.java index 17920f1bf51..1811b4d2f08 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dataexchange/DataSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dataexchange/DataSet.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSet("example", DataSetArgs.builder()        
- *             .assetType("S3_SNAPSHOT")
- *             .description("example")
- *             .name("example")
+ *         var example = new DataSet("example", DataSetArgs.builder()        
+ *             .assetType("S3_SNAPSHOT")
+ *             .description("example")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dataexchange/Revision.java b/sdk/java/src/main/java/com/pulumi/aws/dataexchange/Revision.java index 0ffe6c70bd4..a3bfffaf007 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dataexchange/Revision.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dataexchange/Revision.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Revision("example", RevisionArgs.builder()        
+ *         var example = new Revision("example", RevisionArgs.builder()        
  *             .dataSetId(exampleAwsDataexchangeDataSet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datapipeline/DatapipelineFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/datapipeline/DatapipelineFunctions.java index 5e9c913089e..c2ff92ee9aa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datapipeline/DatapipelineFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datapipeline/DatapipelineFunctions.java @@ -23,7 +23,8 @@ public final class DatapipelineFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,12 +46,13 @@ public final class DatapipelineFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipeline(GetPipelineArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getPipeline(GetPipelineArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -85,12 +88,13 @@ public static Output getPipeline(GetPipelineArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipeline(GetPipelineArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getPipelinePlain(GetPipelineP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getPipelinePlain(GetPipelineP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipeline(GetPipelineArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getPipeline(GetPipelineArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,12 +172,13 @@ public static Output getPipeline(GetPipelineArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipeline(GetPipelineArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getPipelinePlain(GetPipelineP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -205,12 +214,13 @@ public static CompletableFuture getPipelinePlain(GetPipelineP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipelineDefinition(GetPipelineDefinitionArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -223,7 +233,8 @@ public static Output getPipelineDefinition(GetPipel * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -245,12 +256,13 @@ public static Output getPipelineDefinition(GetPipel
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipelineDefinition(GetPipelineDefinitionArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -263,7 +275,8 @@ public static CompletableFuture getPipelineDefiniti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -285,12 +298,13 @@ public static CompletableFuture getPipelineDefiniti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipelineDefinition(GetPipelineDefinitionArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -303,7 +317,8 @@ public static Output getPipelineDefinition(GetPipel * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -325,12 +340,13 @@ public static Output getPipelineDefinition(GetPipel
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DatapipelineFunctions.getPipelineDefinition(GetPipelineDefinitionArgs.builder()
-     *             .pipelineId("pipelineID")
+     *             .pipelineId("pipelineID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/datapipeline/Pipeline.java b/sdk/java/src/main/java/com/pulumi/aws/datapipeline/Pipeline.java index 0fb8864f04c..d62dcb51fbb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datapipeline/Pipeline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datapipeline/Pipeline.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Pipeline("default", PipelineArgs.builder()        
- *             .name("tf-pipeline-default")
+ *         var default_ = new Pipeline("default", PipelineArgs.builder()        
+ *             .name("tf-pipeline-default")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datapipeline/PipelineDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/datapipeline/PipelineDefinition.java index d045e26c9c1..2f7230838de 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datapipeline/PipelineDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datapipeline/PipelineDefinition.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,68 +49,69 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Pipeline("default", PipelineArgs.builder()        
- *             .name("tf-pipeline-default")
+ *         var default_ = new Pipeline("default", PipelineArgs.builder()        
+ *             .name("tf-pipeline-default")
  *             .build());
  * 
- *         var example = new PipelineDefinition("example", PipelineDefinitionArgs.builder()        
+ *         var example = new PipelineDefinition("example", PipelineDefinitionArgs.builder()        
  *             .pipelineId(default_.id())
  *             .pipelineObjects(            
  *                 PipelineDefinitionPipelineObjectArgs.builder()
- *                     .id("Default")
- *                     .name("Default")
+ *                     .id("Default")
+ *                     .name("Default")
  *                     .fields(PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                         .key("workerGroup")
- *                         .stringValue("workerGroup")
+ *                         .key("workerGroup")
+ *                         .stringValue("workerGroup")
  *                         .build())
  *                     .build(),
  *                 PipelineDefinitionPipelineObjectArgs.builder()
- *                     .id("Schedule")
- *                     .name("Schedule")
+ *                     .id("Schedule")
+ *                     .name("Schedule")
  *                     .fields(                    
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("startDateTime")
- *                             .stringValue("2012-12-12T00:00:00")
+ *                             .key("startDateTime")
+ *                             .stringValue("2012-12-12T00:00:00")
  *                             .build(),
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("type")
- *                             .stringValue("Schedule")
+ *                             .key("type")
+ *                             .stringValue("Schedule")
  *                             .build(),
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("period")
- *                             .stringValue("1 hour")
+ *                             .key("period")
+ *                             .stringValue("1 hour")
  *                             .build(),
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("endDateTime")
- *                             .stringValue("2012-12-21T18:00:00")
+ *                             .key("endDateTime")
+ *                             .stringValue("2012-12-21T18:00:00")
  *                             .build())
  *                     .build(),
  *                 PipelineDefinitionPipelineObjectArgs.builder()
- *                     .id("SayHello")
- *                     .name("SayHello")
+ *                     .id("SayHello")
+ *                     .name("SayHello")
  *                     .fields(                    
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("type")
- *                             .stringValue("ShellCommandActivity")
+ *                             .key("type")
+ *                             .stringValue("ShellCommandActivity")
  *                             .build(),
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("command")
- *                             .stringValue("echo hello")
+ *                             .key("command")
+ *                             .stringValue("echo hello")
  *                             .build(),
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("parent")
- *                             .stringValue("Default")
+ *                             .key("parent")
+ *                             .stringValue("Default")
  *                             .build(),
  *                         PipelineDefinitionPipelineObjectFieldArgs.builder()
- *                             .key("schedule")
- *                             .stringValue("Schedule")
+ *                             .key("schedule")
+ *                             .stringValue("Schedule")
  *                             .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/Agent.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/Agent.java index e2d2586b149..3b7a121010f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/Agent.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/Agent.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Agent("example", AgentArgs.builder()        
- *             .ipAddress("1.2.3.4")
- *             .name("example")
+ *         var example = new Agent("example", AgentArgs.builder()        
+ *             .ipAddress("1.2.3.4")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/EfsLocation.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/EfsLocation.java index 779ea23d960..f4f04a974bd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/EfsLocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/EfsLocation.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,7 +47,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EfsLocation("example", EfsLocationArgs.builder()        
+ *         var example = new EfsLocation("example", EfsLocationArgs.builder()        
  *             .efsFileSystemArn(exampleAwsEfsMountTarget.fileSystemArn())
  *             .ec2Config(EfsLocationEc2ConfigArgs.builder()
  *                 .securityGroupArns(exampleAwsSecurityGroup.arn())
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/FsxOpenZfsFileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/FsxOpenZfsFileSystem.java index d49b0b61f3a..912da91fdca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/FsxOpenZfsFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/FsxOpenZfsFileSystem.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,13 +48,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FsxOpenZfsFileSystem("example", FsxOpenZfsFileSystemArgs.builder()        
+ *         var example = new FsxOpenZfsFileSystem("example", FsxOpenZfsFileSystemArgs.builder()        
  *             .fsxFilesystemArn(exampleAwsFsxOpenzfsFileSystem.arn())
  *             .securityGroupArns(exampleAwsSecurityGroup.arn())
  *             .protocol(FsxOpenZfsFileSystemProtocolArgs.builder()
  *                 .nfs(FsxOpenZfsFileSystemProtocolNfsArgs.builder()
  *                     .mountOptions(FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs.builder()
- *                         .version("AUTOMATIC")
+ *                         .version("AUTOMATIC")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -61,7 +62,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationAzureBlob.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationAzureBlob.java index b0f034f9e54..07b40642d2e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationAzureBlob.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationAzureBlob.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationAzureBlob("example", LocationAzureBlobArgs.builder()        
+ *         var example = new LocationAzureBlob("example", LocationAzureBlobArgs.builder()        
  *             .agentArns(exampleAwsDatasyncAgent.arn())
- *             .authenticationType("SAS")
- *             .containerUrl("https://myaccount.blob.core.windows.net/mycontainer")
+ *             .authenticationType("SAS")
+ *             .containerUrl("https://myaccount.blob.core.windows.net/mycontainer")
  *             .sasConfiguration(LocationAzureBlobSasConfigurationArgs.builder()
- *                 .token("sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D")
+ *                 .token("sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxLustre.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxLustre.java index 74678e77829..80c52ad777b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxLustre.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxLustre.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationFsxLustre("example", LocationFsxLustreArgs.builder()        
+ *         var example = new LocationFsxLustre("example", LocationFsxLustreArgs.builder()        
  *             .fsxFilesystemArn(exampleAwsFsxLustreFileSystem.arn())
  *             .securityGroupArns(exampleAwsSecurityGroup.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxOntapFileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxOntapFileSystem.java index afde91b45c4..15c5fffecb1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxOntapFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxOntapFileSystem.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,14 +50,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new LocationFsxOntapFileSystem("test", LocationFsxOntapFileSystemArgs.builder()        
+ *         var test = new LocationFsxOntapFileSystem("test", LocationFsxOntapFileSystemArgs.builder()        
  *             .fsxFilesystemArn(testAwsFsxOntapFileSystem.arn())
  *             .securityGroupArns(testAwsSecurityGroup.arn())
  *             .storageVirtualMachineArn(testAwsFsxOntapStorageVirtualMachine.arn())
  *             .protocol(LocationFsxOntapFileSystemProtocolArgs.builder()
  *                 .nfs(LocationFsxOntapFileSystemProtocolNfsArgs.builder()
  *                     .mountOptions(LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs.builder()
- *                         .version("NFS3")
+ *                         .version("NFS3")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -64,7 +65,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxWindows.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxWindows.java index 396c83a8f6d..0dff53a619c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxWindows.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationFsxWindows.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,16 +44,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationFsxWindows("example", LocationFsxWindowsArgs.builder()        
+ *         var example = new LocationFsxWindows("example", LocationFsxWindowsArgs.builder()        
  *             .fsxFilesystemArn(exampleAwsFsxWindowsFileSystem.arn())
- *             .user("SomeUser")
- *             .password("SuperSecretPassw0rd")
+ *             .user("SomeUser")
+ *             .password("SuperSecretPassw0rd")
  *             .securityGroupArns(exampleAwsSecurityGroup.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationHdfs.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationHdfs.java index aa7123e020b..cd820d091e1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationHdfs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationHdfs.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,10 +50,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationHdfs("example", LocationHdfsArgs.builder()        
+ *         var example = new LocationHdfs("example", LocationHdfsArgs.builder()        
  *             .agentArns(exampleAwsDatasyncAgent.arn())
- *             .authenticationType("SIMPLE")
- *             .simpleUser("example")
+ *             .authenticationType("SIMPLE")
+ *             .simpleUser("example")
  *             .nameNodes(LocationHdfsNameNodeArgs.builder()
  *                 .hostname(exampleAwsInstance.privateDns())
  *                 .port(80)
@@ -61,13 +62,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Kerberos Authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,25 +92,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationHdfs("example", LocationHdfsArgs.builder()        
+ *         var example = new LocationHdfs("example", LocationHdfsArgs.builder()        
  *             .agentArns(exampleAwsDatasyncAgent.arn())
- *             .authenticationType("KERBEROS")
+ *             .authenticationType("KERBEROS")
  *             .nameNodes(LocationHdfsNameNodeArgs.builder()
  *                 .hostname(exampleAwsInstance.privateDns())
  *                 .port(80)
  *                 .build())
- *             .kerberosPrincipal("user@example.com")
+ *             .kerberosPrincipal("user{@literal @}example.com")
  *             .kerberosKeytabBase64(StdFunctions.filebase64(Filebase64Args.builder()
- *                 .input("user.keytab")
+ *                 .input("user.keytab")
  *                 .build()).result())
  *             .kerberosKrb5Conf(StdFunctions.file(FileArgs.builder()
- *                 .input("krb5.conf")
+ *                 .input("krb5.conf")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationObjectStorage.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationObjectStorage.java index bd31f18530c..15bd044fcc2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationObjectStorage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationObjectStorage.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,15 +47,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationObjectStorage("example", LocationObjectStorageArgs.builder()        
+ *         var example = new LocationObjectStorage("example", LocationObjectStorageArgs.builder()        
  *             .agentArns(exampleAwsDatasyncAgent.arn())
- *             .serverHostname("example")
- *             .bucketName("example")
+ *             .serverHostname("example")
+ *             .bucketName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationSmb.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationSmb.java index 77d83bca1ad..ab3f269d8a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationSmb.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/LocationSmb.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,17 +47,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocationSmb("example", LocationSmbArgs.builder()        
- *             .serverHostname("smb.example.com")
- *             .subdirectory("/exported/path")
- *             .user("Guest")
- *             .password("ANotGreatPassword")
+ *         var example = new LocationSmb("example", LocationSmbArgs.builder()        
+ *             .serverHostname("smb.example.com")
+ *             .subdirectory("/exported/path")
+ *             .user("Guest")
+ *             .password("ANotGreatPassword")
  *             .agentArns(exampleAwsDatasyncAgent.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/NfsLocation.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/NfsLocation.java index ba71e8fc2b1..bff2ccb2474 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/NfsLocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/NfsLocation.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,9 +48,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NfsLocation("example", NfsLocationArgs.builder()        
- *             .serverHostname("nfs.example.com")
- *             .subdirectory("/exported/path")
+ *         var example = new NfsLocation("example", NfsLocationArgs.builder()        
+ *             .serverHostname("nfs.example.com")
+ *             .subdirectory("/exported/path")
  *             .onPremConfig(NfsLocationOnPremConfigArgs.builder()
  *                 .agentArns(exampleAwsDatasyncAgent.arn())
  *                 .build())
@@ -57,7 +58,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/S3Location.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/S3Location.java index 3abb67ecef9..0567025dec7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/S3Location.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/S3Location.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,9 +46,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new S3Location("example", S3LocationArgs.builder()        
+ *         var example = new S3Location("example", S3LocationArgs.builder()        
  *             .s3BucketArn(exampleAwsS3Bucket.arn())
- *             .subdirectory("/example/prefix")
+ *             .subdirectory("/example/prefix")
  *             .s3Config(S3LocationS3ConfigArgs.builder()
  *                 .bucketAccessRoleArn(exampleAwsIamRole.arn())
  *                 .build())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/datasync/Task.java b/sdk/java/src/main/java/com/pulumi/aws/datasync/Task.java index 6064d6fcadd..1f657bf9e0d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/datasync/Task.java +++ b/sdk/java/src/main/java/com/pulumi/aws/datasync/Task.java @@ -31,7 +31,8 @@ * ### With Scheduling * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,24 +54,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Task("example", TaskArgs.builder()        
+ *         var example = new Task("example", TaskArgs.builder()        
  *             .destinationLocationArn(destination.arn())
- *             .name("example")
+ *             .name("example")
  *             .sourceLocationArn(source.arn())
  *             .schedule(TaskScheduleArgs.builder()
- *                 .scheduleExpression("cron(0 12 ? * SUN,WED *)")
+ *                 .scheduleExpression("cron(0 12 ? * SUN,WED *)")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Filtering * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,23 +96,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Task("example", TaskArgs.builder()        
+ *         var example = new Task("example", TaskArgs.builder()        
  *             .destinationLocationArn(destination.arn())
- *             .name("example")
+ *             .name("example")
  *             .sourceLocationArn(source.arn())
  *             .excludes(TaskExcludesArgs.builder()
- *                 .filterType("SIMPLE_PATTERN")
- *                 .value("/folder1|/folder2")
+ *                 .filterType("SIMPLE_PATTERN")
+ *                 .value("/folder1|/folder2")
  *                 .build())
  *             .includes(TaskIncludesArgs.builder()
- *                 .filterType("SIMPLE_PATTERN")
- *                 .value("/folder1|/folder2")
+ *                 .filterType("SIMPLE_PATTERN")
+ *                 .value("/folder1|/folder2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dax/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/dax/Cluster.java index f4ef03b261c..23d0621ccde 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dax/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dax/Cluster.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Cluster("bar", ClusterArgs.builder()        
- *             .clusterName("cluster-example")
+ *         var bar = new Cluster("bar", ClusterArgs.builder()        
+ *             .clusterName("cluster-example")
  *             .iamRoleArn(example.arn())
- *             .nodeType("dax.r4.large")
+ *             .nodeType("dax.r4.large")
  *             .replicationFactor(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dax/ParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/dax/ParameterGroup.java index a69a7724bdf..a498d55efb4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dax/ParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dax/ParameterGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ParameterGroup("example", ParameterGroupArgs.builder()        
- *             .name("example")
+ *         var example = new ParameterGroup("example", ParameterGroupArgs.builder()        
+ *             .name("example")
  *             .parameters(            
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("query-ttl-millis")
- *                     .value("100000")
+ *                     .name("query-ttl-millis")
+ *                     .value("100000")
  *                     .build(),
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("record-ttl-millis")
- *                     .value("100000")
+ *                     .name("record-ttl-millis")
+ *                     .value("100000")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dax/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/dax/SubnetGroup.java index 779ba80ee7b..b2802092bb7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dax/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dax/SubnetGroup.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,8 +43,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SubnetGroup("example", SubnetGroupArgs.builder()        
- *             .name("example")
+ *         var example = new SubnetGroup("example", SubnetGroupArgs.builder()        
+ *             .name("example")
  *             .subnetIds(            
  *                 example1.id(),
  *                 example2.id())
@@ -51,7 +52,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/detective/Graph.java b/sdk/java/src/main/java/com/pulumi/aws/detective/Graph.java index 0d401200641..35d1c2220eb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/detective/Graph.java +++ b/sdk/java/src/main/java/com/pulumi/aws/detective/Graph.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Graph("example", GraphArgs.builder()        
- *             .tags(Map.of("Name", "example-detective-graph"))
+ *         var example = new Graph("example", GraphArgs.builder()        
+ *             .tags(Map.of("Name", "example-detective-graph"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/detective/InvitationAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/detective/InvitationAccepter.java index a701bc74a67..25453d464a0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/detective/InvitationAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/detective/InvitationAccepter.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Graph("primary");
+ *         var primary = new Graph("primary");
  * 
- *         var primaryMember = new Member("primaryMember", MemberArgs.builder()        
- *             .accountId("ACCOUNT ID")
- *             .emailAddress("EMAIL")
+ *         var primaryMember = new Member("primaryMember", MemberArgs.builder()        
+ *             .accountId("ACCOUNT ID")
+ *             .emailAddress("EMAIL")
  *             .graphArn(primary.id())
- *             .message("Message of the invite")
+ *             .message("Message of the invite")
  *             .build());
  * 
- *         var member = new InvitationAccepter("member", InvitationAccepterArgs.builder()        
+ *         var member = new InvitationAccepter("member", InvitationAccepterArgs.builder()        
  *             .graphArn(primary.graphArn())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primaryMember)
@@ -61,7 +62,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/detective/Member.java b/sdk/java/src/main/java/com/pulumi/aws/detective/Member.java index b3dabb41413..e30b6124a5c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/detective/Member.java +++ b/sdk/java/src/main/java/com/pulumi/aws/detective/Member.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,19 +44,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Graph("example");
+ *         var example = new Graph("example");
  * 
- *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
- *             .accountId("AWS ACCOUNT ID")
- *             .emailAddress("EMAIL")
+ *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
+ *             .accountId("AWS ACCOUNT ID")
+ *             .emailAddress("EMAIL")
  *             .graphArn(example.id())
- *             .message("Message of the invitation")
+ *             .message("Message of the invitation")
  *             .disableEmailNotification(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationAdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationAdminAccount.java index 9935427aeff..a4dc179c10b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationAdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationAdminAccount.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,20 +44,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Organization("example", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("detective.amazonaws.com")
- *             .featureSet("ALL")
+ *         var example = new Organization("example", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("detective.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
- *             .accountId("123456789012")
+ *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
+ *             .accountId("123456789012")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationConfiguration.java index c2f01bab64f..3c360f349ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/detective/OrganizationConfiguration.java @@ -18,7 +18,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,18 +42,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Graph("example", GraphArgs.builder()        
+ *         var example = new Graph("example", GraphArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(true)
  *             .graphArn(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/DevicePool.java b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/DevicePool.java index 53ea4fe7db6..471089b3038 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/DevicePool.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/DevicePool.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DevicePool("example", DevicePoolArgs.builder()        
- *             .name("example")
+ *         var example = new DevicePool("example", DevicePoolArgs.builder()        
+ *             .name("example")
  *             .projectArn(exampleAwsDevicefarmProject.arn())
  *             .rules(DevicePoolRuleArgs.builder()
- *                 .attribute("OS_VERSION")
- *                 .operator("EQUALS")
- *                 .value("\"AVAILABLE\"")
+ *                 .attribute("OS_VERSION")
+ *                 .operator("EQUALS")
+ *                 .value("\"AVAILABLE\"")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/InstanceProfile.java b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/InstanceProfile.java index f84a9629d4b..ad40f94f2a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/InstanceProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/InstanceProfile.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceProfile("example", InstanceProfileArgs.builder()        
- *             .name("example")
+ *         var example = new InstanceProfile("example", InstanceProfileArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/NetworkProfile.java b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/NetworkProfile.java index 4f6c50c01e5..fa306b778c6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/NetworkProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/NetworkProfile.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .name("example")
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleNetworkProfile = new NetworkProfile("exampleNetworkProfile", NetworkProfileArgs.builder()        
- *             .name("example")
+ *         var exampleNetworkProfile = new NetworkProfile("exampleNetworkProfile", NetworkProfileArgs.builder()        
+ *             .name("example")
  *             .projectArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Project.java b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Project.java index 75b4fe07c9b..52c9ea542d8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Project.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Project.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var awesomeDevices = new Project("awesomeDevices", ProjectArgs.builder()        
- *             .name("my-device-farm")
+ *         var awesomeDevices = new Project("awesomeDevices", ProjectArgs.builder()        
+ *             .name("my-device-farm")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/TestGridProject.java b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/TestGridProject.java index 898ec20c72b..46ad530917d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/TestGridProject.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/TestGridProject.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TestGridProject("example", TestGridProjectArgs.builder()        
- *             .name("example")
+ *         var example = new TestGridProject("example", TestGridProjectArgs.builder()        
+ *             .name("example")
  *             .vpcConfig(TestGridProjectVpcConfigArgs.builder()
  *                 .vpcId(exampleAwsVpc.id())
- *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
- *                 .securityGroupIds(exampleAwsSecurityGroup.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .securityGroupIds(exampleAwsSecurityGroup.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Upload.java b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Upload.java index 72c02619bd4..6358d6d42fa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Upload.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devicefarm/Upload.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .name("example")
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleUpload = new Upload("exampleUpload", UploadArgs.builder()        
- *             .name("example")
+ *         var exampleUpload = new Upload("exampleUpload", UploadArgs.builder()        
+ *             .name("example")
  *             .projectArn(example.arn())
- *             .type("APPIUM_JAVA_TESTNG_TEST_SPEC")
+ *             .type("APPIUM_JAVA_TESTNG_TEST_SPEC")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/DevopsguruFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/DevopsguruFunctions.java index 1babea9dec6..138efd1b1b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/DevopsguruFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/DevopsguruFunctions.java @@ -25,7 +25,8 @@ public final class DevopsguruFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,12 +48,13 @@ public final class DevopsguruFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getNotificationChannel(GetNotificationChannelArgs.builder()
-     *             .id("channel-1234")
+     *             .id("channel-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getNotificationChannel(GetNot * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,12 +92,13 @@ public static Output getNotificationChannel(GetNot
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getNotificationChannel(GetNotificationChannelArgs.builder()
-     *             .id("channel-1234")
+     *             .id("channel-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getNotificationCha * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getNotificationCha
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getNotificationChannel(GetNotificationChannelArgs.builder()
-     *             .id("channel-1234")
+     *             .id("channel-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -151,7 +157,8 @@ public static Output getNotificationChannel(GetNot * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -173,12 +180,13 @@ public static Output getNotificationChannel(GetNot
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getNotificationChannel(GetNotificationChannelArgs.builder()
-     *             .id("channel-1234")
+     *             .id("channel-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getNotificationCha * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -215,12 +224,13 @@ public static CompletableFuture getNotificationCha
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getResourceCollection(GetResourceCollectionArgs.builder()
-     *             .type("AWS_SERVICE")
+     *             .type("AWS_SERVICE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -235,7 +245,8 @@ public static Output getResourceCollection(GetResou * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -257,12 +268,13 @@ public static Output getResourceCollection(GetResou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getResourceCollection(GetResourceCollectionArgs.builder()
-     *             .type("AWS_SERVICE")
+     *             .type("AWS_SERVICE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -277,7 +289,8 @@ public static CompletableFuture getResourceCollecti * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -299,12 +312,13 @@ public static CompletableFuture getResourceCollecti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getResourceCollection(GetResourceCollectionArgs.builder()
-     *             .type("AWS_SERVICE")
+     *             .type("AWS_SERVICE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -319,7 +333,8 @@ public static Output getResourceCollection(GetResou * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -341,12 +356,13 @@ public static Output getResourceCollection(GetResou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DevopsguruFunctions.getResourceCollection(GetResourceCollectionArgs.builder()
-     *             .type("AWS_SERVICE")
+     *             .type("AWS_SERVICE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/EventSourcesConfig.java b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/EventSourcesConfig.java index d06c2c0cb63..3b00e89dbb2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/EventSourcesConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/EventSourcesConfig.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourcesConfig("example", EventSourcesConfigArgs.builder()        
+ *         var example = new EventSourcesConfig("example", EventSourcesConfigArgs.builder()        
  *             .eventSources(EventSourcesConfigEventSourceArgs.builder()
  *                 .amazonCodeGuruProfilers(EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs.builder()
- *                     .status("ENABLED")
+ *                     .status("ENABLED")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/NotificationChannel.java b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/NotificationChannel.java index 0183a21d455..336d8df7c9a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/NotificationChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/NotificationChannel.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,7 +46,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NotificationChannel("example", NotificationChannelArgs.builder()        
+ *         var example = new NotificationChannel("example", NotificationChannelArgs.builder()        
  *             .sns(NotificationChannelSnsArgs.builder()
  *                 .topicArn(exampleAwsSnsTopic.arn())
  *                 .build())
@@ -53,13 +54,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,19 +85,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NotificationChannel("example", NotificationChannelArgs.builder()        
+ *         var example = new NotificationChannel("example", NotificationChannelArgs.builder()        
  *             .sns(NotificationChannelSnsArgs.builder()
  *                 .topicArn(exampleAwsSnsTopic.arn())
  *                 .build())
  *             .filters(NotificationChannelFiltersArgs.builder()
- *                 .messageTypes("NEW_INSIGHT")
- *                 .severities("HIGH")
+ *                 .messageTypes("NEW_INSIGHT")
+ *                 .severities("HIGH")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ResourceCollection.java b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ResourceCollection.java index 39ebe7d23f2..9955b8674bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ResourceCollection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ResourceCollection.java @@ -26,7 +26,8 @@ * ### All Account Resources * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
- *             .type("AWS_SERVICE")
+ *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
+ *             .type("AWS_SERVICE")
  *             .cloudformation(ResourceCollectionCloudformationArgs.builder()
- *                 .stackNames("*")
+ *                 .stackNames("*")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### CloudFormation Stacks * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,22 +88,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
- *             .type("AWS_CLOUD_FORMATION")
+ *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
+ *             .type("AWS_CLOUD_FORMATION")
  *             .cloudformation(ResourceCollectionCloudformationArgs.builder()
- *                 .stackNames("ExampleStack")
+ *                 .stackNames("ExampleStack")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -122,17 +127,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
- *             .type("AWS_TAGS")
+ *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
+ *             .type("AWS_TAGS")
  *             .tags(ResourceCollectionTagsArgs.builder()
- *                 .appBoundaryKey("DevOps-Guru-Example")
- *                 .tagValues("Example-Value")
+ *                 .appBoundaryKey("DevOps-Guru-Example")
+ *                 .tagValues("Example-Value")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Tags All Resources @@ -140,7 +146,8 @@ * To analyze all resources with the `app_boundary_key` regardless of the corresponding tag value, set `tag_values` to `["*"]`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -162,17 +169,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
- *             .type("AWS_TAGS")
+ *         var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
+ *             .type("AWS_TAGS")
  *             .tags(ResourceCollectionTagsArgs.builder()
- *                 .appBoundaryKey("DevOps-Guru-Example")
- *                 .tagValues("*")
+ *                 .appBoundaryKey("DevOps-Guru-Example")
+ *                 .tagValues("*")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ServiceIntegration.java b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ServiceIntegration.java index ba309ddfac3..8d1b028d593 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ServiceIntegration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/devopsguru/ServiceIntegration.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,28 +47,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServiceIntegration("example", ServiceIntegrationArgs.builder()        
+ *         var example = new ServiceIntegration("example", ServiceIntegrationArgs.builder()        
  *             .kmsServerSideEncryption(ServiceIntegrationKmsServerSideEncryptionArgs.builder()
- *                 .optInStatus("ENABLED")
- *                 .type("AWS_OWNED_KMS_KEY")
+ *                 .optInStatus("ENABLED")
+ *                 .type("AWS_OWNED_KMS_KEY")
  *                 .build())
  *             .logsAnomalyDetection(ServiceIntegrationLogsAnomalyDetectionArgs.builder()
- *                 .optInStatus("ENABLED")
+ *                 .optInStatus("ENABLED")
  *                 .build())
  *             .opsCenter(ServiceIntegrationOpsCenterArgs.builder()
- *                 .optInStatus("ENABLED")
+ *                 .optInStatus("ENABLED")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Customer Managed KMS Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,25 +95,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example");
+ *         var example = new Key("example");
  * 
- *         var exampleServiceIntegration = new ServiceIntegration("exampleServiceIntegration", ServiceIntegrationArgs.builder()        
+ *         var exampleServiceIntegration = new ServiceIntegration("exampleServiceIntegration", ServiceIntegrationArgs.builder()        
  *             .kmsServerSideEncryption(ServiceIntegrationKmsServerSideEncryptionArgs.builder()
  *                 .kmsKeyId(test.arn())
- *                 .optInStatus("ENABLED")
- *                 .type("CUSTOMER_MANAGED_KEY")
+ *                 .optInStatus("ENABLED")
+ *                 .type("CUSTOMER_MANAGED_KEY")
  *                 .build())
  *             .logsAnomalyDetection(ServiceIntegrationLogsAnomalyDetectionArgs.builder()
- *                 .optInStatus("DISABLED")
+ *                 .optInStatus("DISABLED")
  *                 .build())
  *             .opsCenter(ServiceIntegrationOpsCenterArgs.builder()
- *                 .optInStatus("DISABLED")
+ *                 .optInStatus("DISABLED")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/BgpPeer.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/BgpPeer.java index 7da7f55e19b..bd828b95850 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/BgpPeer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/BgpPeer.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,15 +42,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var peer = new BgpPeer("peer", BgpPeerArgs.builder()        
+ *         var peer = new BgpPeer("peer", BgpPeerArgs.builder()        
  *             .virtualInterfaceId(foo.id())
- *             .addressFamily("ipv6")
+ *             .addressFamily("ipv6")
  *             .bgpAsn(65351)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/Connection.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/Connection.java index e96d80a213d..53f98335769 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/Connection.java @@ -25,7 +25,8 @@ * ### Create a connection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var hoge = new Connection("hoge", ConnectionArgs.builder()        
- *             .name("tf-dx-connection")
- *             .bandwidth("1Gbps")
- *             .location("EqDC2")
+ *         var hoge = new Connection("hoge", ConnectionArgs.builder()        
+ *             .name("tf-dx-connection")
+ *             .bandwidth("1Gbps")
+ *             .location("EqDC2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Request a MACsec-capable connection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,16 +84,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
- *             .name("tf-dx-connection")
- *             .bandwidth("10Gbps")
- *             .location("EqDA2")
+ *         var example = new Connection("example", ConnectionArgs.builder()        
+ *             .name("tf-dx-connection")
+ *             .bandwidth("10Gbps")
+ *             .location("EqDA2")
  *             .requestMacsec(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Configure encryption mode for MACsec-capable connections @@ -98,7 +102,8 @@ * > **NOTE:** You can only specify the `encryption_mode` argument once the connection is in an `Available` state. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -119,17 +124,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
- *             .name("tf-dx-connection")
- *             .bandwidth("10Gbps")
- *             .location("EqDC2")
+ *         var example = new Connection("example", ConnectionArgs.builder()        
+ *             .name("tf-dx-connection")
+ *             .bandwidth("10Gbps")
+ *             .location("EqDC2")
  *             .requestMacsec(true)
- *             .encryptionMode("must_encrypt")
+ *             .encryptionMode("must_encrypt")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionAssociation.java index 79d7c82dc1c..84a4f98e38e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,26 +45,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
- *             .name("example")
- *             .bandwidth("1Gbps")
- *             .location("EqSe2-EQ")
+ *         var example = new Connection("example", ConnectionArgs.builder()        
+ *             .name("example")
+ *             .bandwidth("1Gbps")
+ *             .location("EqSe2-EQ")
  *             .build());
  * 
- *         var exampleLinkAggregationGroup = new LinkAggregationGroup("exampleLinkAggregationGroup", LinkAggregationGroupArgs.builder()        
- *             .name("example")
- *             .connectionsBandwidth("1Gbps")
- *             .location("EqSe2-EQ")
+ *         var exampleLinkAggregationGroup = new LinkAggregationGroup("exampleLinkAggregationGroup", LinkAggregationGroupArgs.builder()        
+ *             .name("example")
+ *             .connectionsBandwidth("1Gbps")
+ *             .location("EqSe2-EQ")
  *             .build());
  * 
- *         var exampleConnectionAssociation = new ConnectionAssociation("exampleConnectionAssociation", ConnectionAssociationArgs.builder()        
+ *         var exampleConnectionAssociation = new ConnectionAssociation("exampleConnectionAssociation", ConnectionAssociationArgs.builder()        
  *             .connectionId(example.id())
  *             .lagId(exampleLinkAggregationGroup.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionConfirmation.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionConfirmation.java index 5268aa5fd5e..c85d967c8c3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionConfirmation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/ConnectionConfirmation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,13 +41,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var confirmation = new ConnectionConfirmation("confirmation", ConnectionConfirmationArgs.builder()        
- *             .connectionId("dxcon-ffabc123")
+ *         var confirmation = new ConnectionConfirmation("confirmation", ConnectionConfirmationArgs.builder()        
+ *             .connectionId("dxcon-ffabc123")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/DirectconnectFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/DirectconnectFunctions.java index c7fdd428a24..ce86c7084b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/DirectconnectFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/DirectconnectFunctions.java @@ -31,7 +31,8 @@ public final class DirectconnectFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,12 +54,13 @@ public final class DirectconnectFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getConnection(GetConnectionArgs.builder()
-     *             .name("tf-dx-connection")
+     *             .name("tf-dx-connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -71,7 +73,8 @@ public static Output getConnection(GetConnectionArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -93,12 +96,13 @@ public static Output getConnection(GetConnectionArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getConnection(GetConnectionArgs.builder()
-     *             .name("tf-dx-connection")
+     *             .name("tf-dx-connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,12 +138,13 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getConnection(GetConnectionArgs.builder()
-     *             .name("tf-dx-connection")
+     *             .name("tf-dx-connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -151,7 +157,8 @@ public static Output getConnection(GetConnectionArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -173,12 +180,13 @@ public static Output getConnection(GetConnectionArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getConnection(GetConnectionArgs.builder()
-     *             .name("tf-dx-connection")
+     *             .name("tf-dx-connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -191,7 +199,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -213,12 +222,13 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getGateway(GetGatewayArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -231,7 +241,8 @@ public static Output getGateway(GetGatewayArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -253,12 +264,13 @@ public static Output getGateway(GetGatewayArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getGateway(GetGatewayArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -271,7 +283,8 @@ public static CompletableFuture getGatewayPlain(GetGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -293,12 +306,13 @@ public static CompletableFuture getGatewayPlain(GetGatewayPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getGateway(GetGatewayArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -311,7 +325,8 @@ public static Output getGateway(GetGatewayArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -333,12 +348,13 @@ public static Output getGateway(GetGatewayArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getGateway(GetGatewayArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -354,7 +370,8 @@ public static CompletableFuture getGatewayPlain(GetGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -376,12 +393,13 @@ public static CompletableFuture getGatewayPlain(GetGatewayPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getLocation(GetLocationArgs.builder()
-     *             .locationCode("CS32A-24FL")
+     *             .locationCode("CS32A-24FL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -397,7 +415,8 @@ public static Output getLocation(GetLocationArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -419,12 +438,13 @@ public static Output getLocation(GetLocationArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getLocation(GetLocationArgs.builder()
-     *             .locationCode("CS32A-24FL")
+     *             .locationCode("CS32A-24FL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -440,7 +460,8 @@ public static CompletableFuture getLocationPlain(GetLocationP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -462,12 +483,13 @@ public static CompletableFuture getLocationPlain(GetLocationP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getLocation(GetLocationArgs.builder()
-     *             .locationCode("CS32A-24FL")
+     *             .locationCode("CS32A-24FL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -483,7 +505,8 @@ public static Output getLocation(GetLocationArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -505,12 +528,13 @@ public static Output getLocation(GetLocationArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getLocation(GetLocationArgs.builder()
-     *             .locationCode("CS32A-24FL")
+     *             .locationCode("CS32A-24FL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -526,7 +550,8 @@ public static CompletableFuture getLocationPlain(GetLocationP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -550,7 +575,8 @@ public static CompletableFuture getLocationPlain(GetLocationP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -566,7 +592,8 @@ public static Output getLocations() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -590,7 +617,8 @@ public static Output getLocations() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -606,7 +634,8 @@ public static CompletableFuture getLocationsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -630,7 +659,8 @@ public static CompletableFuture getLocationsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -646,7 +676,8 @@ public static Output getLocations(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -670,7 +701,8 @@ public static Output getLocations(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -686,7 +718,8 @@ public static CompletableFuture getLocationsPlain(InvokeArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -710,7 +743,8 @@ public static CompletableFuture getLocationsPlain(InvokeArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -726,7 +760,8 @@ public static Output getLocations(InvokeArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -750,7 +785,8 @@ public static Output getLocations(InvokeArgs args, InvokeOpt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -765,7 +801,8 @@ public static CompletableFuture getLocationsPlain(InvokeArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -787,13 +824,14 @@ public static CompletableFuture getLocationsPlain(InvokeArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getRouterConfiguration(GetRouterConfigurationArgs.builder()
-     *             .virtualInterfaceId("dxvif-abcde123")
-     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
+     *             .virtualInterfaceId("dxvif-abcde123")
+     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -808,7 +846,8 @@ public static Output getRouterConfiguration(GetRou * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -830,13 +869,14 @@ public static Output getRouterConfiguration(GetRou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getRouterConfiguration(GetRouterConfigurationArgs.builder()
-     *             .virtualInterfaceId("dxvif-abcde123")
-     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
+     *             .virtualInterfaceId("dxvif-abcde123")
+     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -851,7 +891,8 @@ public static CompletableFuture getRouterConfigura * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -873,13 +914,14 @@ public static CompletableFuture getRouterConfigura
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getRouterConfiguration(GetRouterConfigurationArgs.builder()
-     *             .virtualInterfaceId("dxvif-abcde123")
-     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
+     *             .virtualInterfaceId("dxvif-abcde123")
+     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -894,7 +936,8 @@ public static Output getRouterConfiguration(GetRou * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -916,13 +959,14 @@ public static Output getRouterConfiguration(GetRou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = DirectconnectFunctions.getRouterConfiguration(GetRouterConfigurationArgs.builder()
-     *             .virtualInterfaceId("dxvif-abcde123")
-     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
+     *             .virtualInterfaceId("dxvif-abcde123")
+     *             .routerTypeIdentifier("CiscoSystemsInc-2900SeriesRouters-IOS124")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/Gateway.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/Gateway.java index 26605cc185e..f880fae15ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/Gateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/Gateway.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .name("tf-dxg-example")
- *             .amazonSideAsn("64512")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .name("tf-dxg-example")
+ *             .amazonSideAsn("64512")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociation.java index 1f1507d8415..ecc8842c590 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociation.java @@ -27,7 +27,8 @@ * ### VPN Gateway Association * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,33 +55,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .name("example")
- *             .amazonSideAsn("64512")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .name("example")
+ *             .amazonSideAsn("64512")
  *             .build());
  * 
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.255.255.0/28")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.255.255.0/28")
  *             .build());
  * 
- *         var exampleVpnGateway = new VpnGateway("exampleVpnGateway", VpnGatewayArgs.builder()        
+ *         var exampleVpnGateway = new VpnGateway("exampleVpnGateway", VpnGatewayArgs.builder()        
  *             .vpcId(exampleVpc.id())
  *             .build());
  * 
- *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
+ *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
  *             .dxGatewayId(example.id())
  *             .associatedGatewayId(exampleVpnGateway.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Transit Gateway Association * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -104,30 +107,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .name("example")
- *             .amazonSideAsn("64512")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .name("example")
+ *             .amazonSideAsn("64512")
  *             .build());
  * 
- *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway");
+ *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway");
  * 
- *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
+ *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
  *             .dxGatewayId(example.id())
  *             .associatedGatewayId(exampleTransitGateway.id())
  *             .allowedPrefixes(            
- *                 "10.255.255.0/30",
- *                 "10.255.255.8/30")
+ *                 "10.255.255.0/30",
+ *                 "10.255.255.8/30")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Allowed Prefixes * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -154,30 +159,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .name("example")
- *             .amazonSideAsn("64512")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .name("example")
+ *             .amazonSideAsn("64512")
  *             .build());
  * 
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.255.255.0/28")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.255.255.0/28")
  *             .build());
  * 
- *         var exampleVpnGateway = new VpnGateway("exampleVpnGateway", VpnGatewayArgs.builder()        
+ *         var exampleVpnGateway = new VpnGateway("exampleVpnGateway", VpnGatewayArgs.builder()        
  *             .vpcId(exampleVpc.id())
  *             .build());
  * 
- *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
+ *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
  *             .dxGatewayId(example.id())
  *             .associatedGatewayId(exampleVpnGateway.id())
  *             .allowedPrefixes(            
- *                 "210.52.109.0/24",
- *                 "175.45.176.0/22")
+ *                 "210.52.109.0/24",
+ *                 "175.45.176.0/22")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociationProposal.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociationProposal.java index c76818a8e08..9858aee24ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociationProposal.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/GatewayAssociationProposal.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,7 +42,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GatewayAssociationProposal("example", GatewayAssociationProposalArgs.builder()        
+ *         var example = new GatewayAssociationProposal("example", GatewayAssociationProposalArgs.builder()        
  *             .dxGatewayId(exampleAwsDxGateway.id())
  *             .dxGatewayOwnerAccountId(exampleAwsDxGateway.ownerAccountId())
  *             .associatedGatewayId(exampleAwsVpnGateway.id())
@@ -49,7 +50,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedConnection.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedConnection.java index 0e4fb193870..7f610f1c728 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedConnection.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,17 +43,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var hosted = new HostedConnection("hosted", HostedConnectionArgs.builder()        
- *             .connectionId("dxcon-ffabc123")
- *             .bandwidth("100Mbps")
- *             .name("tf-dx-hosted-connection")
- *             .ownerAccountId("123456789012")
+ *         var hosted = new HostedConnection("hosted", HostedConnectionArgs.builder()        
+ *             .connectionId("dxcon-ffabc123")
+ *             .bandwidth("100Mbps")
+ *             .name("tf-dx-hosted-connection")
+ *             .ownerAccountId("123456789012")
  *             .vlan(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterface.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterface.java index fd6ec1c1f4c..854ad06aa88 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterface.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new HostedPrivateVirtualInterface("foo", HostedPrivateVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .name("vif-foo")
+ *         var foo = new HostedPrivateVirtualInterface("foo", HostedPrivateVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .name("vif-foo")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterfaceAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterfaceAccepter.java index fa5ad77dd48..0d79c9db779 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterfaceAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPrivateVirtualInterfaceAccepter.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,30 +52,31 @@
  *     public static void stack(Context ctx) {
  *         final var accepter = AwsFunctions.getCallerIdentity();
  * 
- *         // Accepter's side of the VIF.
- *         var vpnGw = new VpnGateway("vpnGw");
+ *         // Accepter's side of the VIF.
+ *         var vpnGw = new VpnGateway("vpnGw");
  * 
- *         // Creator's side of the VIF
- *         var creator = new HostedPrivateVirtualInterface("creator", HostedPrivateVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .ownerAccountId(accepter.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *             .name("vif-foo")
+ *         // Creator's side of the VIF
+ *         var creator = new HostedPrivateVirtualInterface("creator", HostedPrivateVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .ownerAccountId(accepter.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *             .name("vif-foo")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(vpnGw)
  *                 .build());
  * 
- *         var accepterHostedPrivateVirtualInterfaceAccepter = new HostedPrivateVirtualInterfaceAccepter("accepterHostedPrivateVirtualInterfaceAccepter", HostedPrivateVirtualInterfaceAccepterArgs.builder()        
+ *         var accepterHostedPrivateVirtualInterfaceAccepter = new HostedPrivateVirtualInterfaceAccepter("accepterHostedPrivateVirtualInterfaceAccepter", HostedPrivateVirtualInterfaceAccepterArgs.builder()        
  *             .virtualInterfaceId(creator.id())
  *             .vpnGatewayId(vpnGw.id())
- *             .tags(Map.of("Side", "Accepter"))
+ *             .tags(Map.of("Side", "Accepter"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterface.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterface.java index bfb0e4867a4..bf89b87dfb3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterface.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,22 +44,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new HostedPublicVirtualInterface("foo", HostedPublicVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .name("vif-foo")
+ *         var foo = new HostedPublicVirtualInterface("foo", HostedPublicVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .name("vif-foo")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
- *             .customerAddress("175.45.176.1/30")
- *             .amazonAddress("175.45.176.2/30")
+ *             .customerAddress("175.45.176.1/30")
+ *             .amazonAddress("175.45.176.2/30")
  *             .routeFilterPrefixes(            
- *                 "210.52.109.0/24",
- *                 "175.45.176.0/22")
+ *                 "210.52.109.0/24",
+ *                 "175.45.176.0/22")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterfaceAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterfaceAccepter.java index 0616d7bb5fe..19b47e2d7db 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterfaceAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedPublicVirtualInterfaceAccepter.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,30 +50,31 @@
  *     public static void stack(Context ctx) {
  *         final var accepter = AwsFunctions.getCallerIdentity();
  * 
- *         // Creator's side of the VIF
- *         var creator = new HostedPublicVirtualInterface("creator", HostedPublicVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .ownerAccountId(accepter.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *             .name("vif-foo")
+ *         // Creator's side of the VIF
+ *         var creator = new HostedPublicVirtualInterface("creator", HostedPublicVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .ownerAccountId(accepter.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *             .name("vif-foo")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
- *             .customerAddress("175.45.176.1/30")
- *             .amazonAddress("175.45.176.2/30")
+ *             .customerAddress("175.45.176.1/30")
+ *             .amazonAddress("175.45.176.2/30")
  *             .routeFilterPrefixes(            
- *                 "210.52.109.0/24",
- *                 "175.45.176.0/22")
+ *                 "210.52.109.0/24",
+ *                 "175.45.176.0/22")
  *             .build());
  * 
- *         // Accepter's side of the VIF.
- *         var accepterHostedPublicVirtualInterfaceAccepter = new HostedPublicVirtualInterfaceAccepter("accepterHostedPublicVirtualInterfaceAccepter", HostedPublicVirtualInterfaceAccepterArgs.builder()        
+ *         // Accepter's side of the VIF.
+ *         var accepterHostedPublicVirtualInterfaceAccepter = new HostedPublicVirtualInterfaceAccepter("accepterHostedPublicVirtualInterfaceAccepter", HostedPublicVirtualInterfaceAccepterArgs.builder()        
  *             .virtualInterfaceId(creator.id())
- *             .tags(Map.of("Side", "Accepter"))
+ *             .tags(Map.of("Side", "Accepter"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterface.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterface.java index aaf85cf97ee..abf630c994d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterface.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,17 +46,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HostedTransitVirtualInterface("example", HostedTransitVirtualInterfaceArgs.builder()        
+ *         var example = new HostedTransitVirtualInterface("example", HostedTransitVirtualInterfaceArgs.builder()        
  *             .connectionId(exampleAwsDxConnection.id())
- *             .name("tf-transit-vif-example")
+ *             .name("tf-transit-vif-example")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterfaceAcceptor.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterfaceAcceptor.java index fe323d8bd71..1178d36f6f9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterfaceAcceptor.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/HostedTransitVirtualInterfaceAcceptor.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,33 +55,34 @@
  *     public static void stack(Context ctx) {
  *         final var accepter = AwsFunctions.getCallerIdentity();
  * 
- *         // Accepter's side of the VIF.
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .name("tf-dxg-example")
+ *         // Accepter's side of the VIF.
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .name("tf-dxg-example")
  *             .amazonSideAsn(64512)
  *             .build());
  * 
- *         // Creator's side of the VIF
- *         var creator = new HostedTransitVirtualInterface("creator", HostedTransitVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .ownerAccountId(accepter.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *             .name("tf-transit-vif-example")
+ *         // Creator's side of the VIF
+ *         var creator = new HostedTransitVirtualInterface("creator", HostedTransitVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .ownerAccountId(accepter.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *             .name("tf-transit-vif-example")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var accepterHostedTransitVirtualInterfaceAcceptor = new HostedTransitVirtualInterfaceAcceptor("accepterHostedTransitVirtualInterfaceAcceptor", HostedTransitVirtualInterfaceAcceptorArgs.builder()        
+ *         var accepterHostedTransitVirtualInterfaceAcceptor = new HostedTransitVirtualInterfaceAcceptor("accepterHostedTransitVirtualInterfaceAcceptor", HostedTransitVirtualInterfaceAcceptorArgs.builder()        
  *             .virtualInterfaceId(creator.id())
  *             .dxGatewayId(example.id())
- *             .tags(Map.of("Side", "Accepter"))
+ *             .tags(Map.of("Side", "Accepter"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/LinkAggregationGroup.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/LinkAggregationGroup.java index 50fd71a88bc..6494817a383 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/LinkAggregationGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/LinkAggregationGroup.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var hoge = new LinkAggregationGroup("hoge", LinkAggregationGroupArgs.builder()        
- *             .name("tf-dx-lag")
- *             .connectionsBandwidth("1Gbps")
- *             .location("EqDC2")
+ *         var hoge = new LinkAggregationGroup("hoge", LinkAggregationGroupArgs.builder()        
+ *             .name("tf-dx-lag")
+ *             .connectionsBandwidth("1Gbps")
+ *             .location("EqDC2")
  *             .forceDestroy(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/MacsecKeyAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/MacsecKeyAssociation.java index b2b19429250..84aaa2826e2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/MacsecKeyAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/MacsecKeyAssociation.java @@ -27,7 +27,8 @@ * ### Create MACSec key with CKN and CAK * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,24 +52,26 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = DirectconnectFunctions.getConnection(GetConnectionArgs.builder()
- *             .name("tf-dx-connection")
+ *             .name("tf-dx-connection")
  *             .build());
  * 
- *         var test = new MacsecKeyAssociation("test", MacsecKeyAssociationArgs.builder()        
- *             .connectionId(example.applyValue(getConnectionResult -> getConnectionResult.id()))
- *             .ckn("0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef")
- *             .cak("abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789")
+ *         var test = new MacsecKeyAssociation("test", MacsecKeyAssociationArgs.builder()        
+ *             .connectionId(example.applyValue(getConnectionResult -> getConnectionResult.id()))
+ *             .ckn("0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef")
+ *             .cak("abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create MACSec key with existing Secrets Manager secret * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,21 +97,22 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = DirectconnectFunctions.getConnection(GetConnectionArgs.builder()
- *             .name("tf-dx-connection")
+ *             .name("tf-dx-connection")
  *             .build());
  * 
  *         final var exampleGetSecret = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
- *             .name("directconnect!prod/us-east-1/directconnect/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef")
+ *             .name("directconnect!prod/us-east-1/directconnect/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef")
  *             .build());
  * 
- *         var test = new MacsecKeyAssociation("test", MacsecKeyAssociationArgs.builder()        
- *             .connectionId(example.applyValue(getConnectionResult -> getConnectionResult.id()))
- *             .secretArn(exampleGetSecret.applyValue(getSecretResult -> getSecretResult.arn()))
+ *         var test = new MacsecKeyAssociation("test", MacsecKeyAssociationArgs.builder()        
+ *             .connectionId(example.applyValue(getConnectionResult -> getConnectionResult.id()))
+ *             .secretArn(exampleGetSecret.applyValue(getSecretResult -> getSecretResult.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/PrivateVirtualInterface.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/PrivateVirtualInterface.java index 105ba6f55b5..8249c9b317d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/PrivateVirtualInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/PrivateVirtualInterface.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new PrivateVirtualInterface("foo", PrivateVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .name("vif-foo")
+ *         var foo = new PrivateVirtualInterface("foo", PrivateVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .name("vif-foo")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/PublicVirtualInterface.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/PublicVirtualInterface.java index 1b1c23fce1a..0d4b98547b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/PublicVirtualInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/PublicVirtualInterface.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new PublicVirtualInterface("foo", PublicVirtualInterfaceArgs.builder()        
- *             .connectionId("dxcon-zzzzzzzz")
- *             .name("vif-foo")
+ *         var foo = new PublicVirtualInterface("foo", PublicVirtualInterfaceArgs.builder()        
+ *             .connectionId("dxcon-zzzzzzzz")
+ *             .name("vif-foo")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
- *             .customerAddress("175.45.176.1/30")
- *             .amazonAddress("175.45.176.2/30")
+ *             .customerAddress("175.45.176.1/30")
+ *             .amazonAddress("175.45.176.2/30")
  *             .routeFilterPrefixes(            
- *                 "210.52.109.0/24",
- *                 "175.45.176.0/22")
+ *                 "210.52.109.0/24",
+ *                 "175.45.176.0/22")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directconnect/TransitVirtualInterface.java b/sdk/java/src/main/java/com/pulumi/aws/directconnect/TransitVirtualInterface.java index 1f6bae590fc..911c90a2a4e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directconnect/TransitVirtualInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directconnect/TransitVirtualInterface.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .name("tf-dxg-example")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .name("tf-dxg-example")
  *             .amazonSideAsn(64512)
  *             .build());
  * 
- *         var exampleTransitVirtualInterface = new TransitVirtualInterface("exampleTransitVirtualInterface", TransitVirtualInterfaceArgs.builder()        
+ *         var exampleTransitVirtualInterface = new TransitVirtualInterface("exampleTransitVirtualInterface", TransitVirtualInterfaceArgs.builder()        
  *             .connectionId(exampleAwsDxConnection.id())
  *             .dxGatewayId(example.id())
- *             .name("tf-transit-vif-example")
+ *             .name("tf-transit-vif-example")
  *             .vlan(4094)
- *             .addressFamily("ipv4")
+ *             .addressFamily("ipv4")
  *             .bgpAsn(65352)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ConditionalForwader.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ConditionalForwader.java index c6046841525..68c2517859d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ConditionalForwader.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ConditionalForwader.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,17 +42,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConditionalForwader("example", ConditionalForwaderArgs.builder()        
+ *         var example = new ConditionalForwader("example", ConditionalForwaderArgs.builder()        
  *             .directoryId(ad.id())
- *             .remoteDomainName("example.com")
+ *             .remoteDomainName("example.com")
  *             .dnsIps(            
- *                 "8.8.8.8",
- *                 "8.8.4.4")
+ *                 "8.8.8.8",
+ *                 "8.8.4.4")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Directory.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Directory.java index 7a1a46baf5f..9f43d2ccc8b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Directory.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Directory.java @@ -28,7 +28,8 @@ * ### SimpleAD * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,44 +55,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var foo = new Subnet("foo", SubnetArgs.builder()        
+ *         var foo = new Subnet("foo", SubnetArgs.builder()        
  *             .vpcId(main.id())
- *             .availabilityZone("us-west-2a")
- *             .cidrBlock("10.0.1.0/24")
+ *             .availabilityZone("us-west-2a")
+ *             .cidrBlock("10.0.1.0/24")
  *             .build());
  * 
- *         var barSubnet = new Subnet("barSubnet", SubnetArgs.builder()        
+ *         var barSubnet = new Subnet("barSubnet", SubnetArgs.builder()        
  *             .vpcId(main.id())
- *             .availabilityZone("us-west-2b")
- *             .cidrBlock("10.0.2.0/24")
+ *             .availabilityZone("us-west-2b")
+ *             .cidrBlock("10.0.2.0/24")
  *             .build());
  * 
- *         var bar = new Directory("bar", DirectoryArgs.builder()        
- *             .name("corp.notexample.com")
- *             .password("SuperSecretPassw0rd")
- *             .size("Small")
+ *         var bar = new Directory("bar", DirectoryArgs.builder()        
+ *             .name("corp.notexample.com")
+ *             .password("SuperSecretPassw0rd")
+ *             .size("Small")
  *             .vpcSettings(DirectoryVpcSettingsArgs.builder()
  *                 .vpcId(main.id())
  *                 .subnetIds(                
  *                     foo.id(),
  *                     barSubnet.id())
  *                 .build())
- *             .tags(Map.of("Project", "foo"))
+ *             .tags(Map.of("Project", "foo"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Microsoft Active Directory (MicrosoftAD) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,45 +120,47 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var foo = new Subnet("foo", SubnetArgs.builder()        
+ *         var foo = new Subnet("foo", SubnetArgs.builder()        
  *             .vpcId(main.id())
- *             .availabilityZone("us-west-2a")
- *             .cidrBlock("10.0.1.0/24")
+ *             .availabilityZone("us-west-2a")
+ *             .cidrBlock("10.0.1.0/24")
  *             .build());
  * 
- *         var barSubnet = new Subnet("barSubnet", SubnetArgs.builder()        
+ *         var barSubnet = new Subnet("barSubnet", SubnetArgs.builder()        
  *             .vpcId(main.id())
- *             .availabilityZone("us-west-2b")
- *             .cidrBlock("10.0.2.0/24")
+ *             .availabilityZone("us-west-2b")
+ *             .cidrBlock("10.0.2.0/24")
  *             .build());
  * 
- *         var bar = new Directory("bar", DirectoryArgs.builder()        
- *             .name("corp.notexample.com")
- *             .password("SuperSecretPassw0rd")
- *             .edition("Standard")
- *             .type("MicrosoftAD")
+ *         var bar = new Directory("bar", DirectoryArgs.builder()        
+ *             .name("corp.notexample.com")
+ *             .password("SuperSecretPassw0rd")
+ *             .edition("Standard")
+ *             .type("MicrosoftAD")
  *             .vpcSettings(DirectoryVpcSettingsArgs.builder()
  *                 .vpcId(main.id())
  *                 .subnetIds(                
  *                     foo.id(),
  *                     barSubnet.id())
  *                 .build())
- *             .tags(Map.of("Project", "foo"))
+ *             .tags(Map.of("Project", "foo"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Microsoft Active Directory Connector (ADConnector) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -181,30 +186,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var foo = new Subnet("foo", SubnetArgs.builder()        
+ *         var foo = new Subnet("foo", SubnetArgs.builder()        
  *             .vpcId(main.id())
- *             .availabilityZone("us-west-2a")
- *             .cidrBlock("10.0.1.0/24")
+ *             .availabilityZone("us-west-2a")
+ *             .cidrBlock("10.0.1.0/24")
  *             .build());
  * 
- *         var bar = new Subnet("bar", SubnetArgs.builder()        
+ *         var bar = new Subnet("bar", SubnetArgs.builder()        
  *             .vpcId(main.id())
- *             .availabilityZone("us-west-2b")
- *             .cidrBlock("10.0.2.0/24")
+ *             .availabilityZone("us-west-2b")
+ *             .cidrBlock("10.0.2.0/24")
  *             .build());
  * 
- *         var connector = new Directory("connector", DirectoryArgs.builder()        
- *             .name("corp.notexample.com")
- *             .password("SuperSecretPassw0rd")
- *             .size("Small")
- *             .type("ADConnector")
+ *         var connector = new Directory("connector", DirectoryArgs.builder()        
+ *             .name("corp.notexample.com")
+ *             .password("SuperSecretPassw0rd")
+ *             .size("Small")
+ *             .type("ADConnector")
  *             .connectSettings(DirectoryConnectSettingsArgs.builder()
- *                 .customerDnsIps("A.B.C.D")
- *                 .customerUsername("Admin")
+ *                 .customerDnsIps("A.B.C.D")
+ *                 .customerUsername("Admin")
  *                 .subnetIds(                
  *                     foo.id(),
  *                     bar.id())
@@ -214,7 +219,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/DirectoryserviceFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/DirectoryserviceFunctions.java index 05be806f1a5..0ce23541105 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/DirectoryserviceFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/DirectoryserviceFunctions.java @@ -20,7 +20,8 @@ public final class DirectoryserviceFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,7 +48,8 @@ public final class DirectoryserviceFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getDirectory(GetDirectoryArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -87,7 +90,8 @@ public static Output getDirectory(GetDirectoryArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getDirectoryPlain(GetDirecto * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -127,7 +132,8 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getDirectory(GetDirectoryArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -167,7 +174,8 @@ public static Output getDirectory(GetDirectoryArgs args, Inv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/LogService.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/LogService.java index 3cad0d84e2a..50e42799a2e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/LogService.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/LogService.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,38 +47,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name(String.format("/aws/directoryservice/%s", exampleAwsDirectoryServiceDirectory.id()))
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name(String.format("/aws/directoryservice/%s", exampleAwsDirectoryServiceDirectory.id()))
  *             .retentionInDays(14)
  *             .build());
  * 
  *         final var ad-log-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "logs:CreateLogStream",
- *                     "logs:PutLogEvents")
+ *                     "logs:CreateLogStream",
+ *                     "logs:PutLogEvents")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("ds.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("ds.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
- *                 .resources(example.arn().applyValue(arn -> String.format("%s:*", arn)))
- *                 .effect("Allow")
+ *                 .resources(example.arn().applyValue(arn -> String.format("%s:*", arn)))
+ *                 .effect("Allow")
  *                 .build())
  *             .build());
  * 
- *         var ad_log_policyLogResourcePolicy = new LogResourcePolicy("ad-log-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
- *             .policyDocument(ad_log_policy.applyValue(ad_log_policy -> ad_log_policy.json()))
- *             .policyName("ad-log-policy")
+ *         var ad_log_policyLogResourcePolicy = new LogResourcePolicy("ad-log-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *             .policyDocument(ad_log_policy.applyValue(ad_log_policy -> ad_log_policy.json()))
+ *             .policyName("ad-log-policy")
  *             .build());
  * 
- *         var exampleLogService = new LogService("exampleLogService", LogServiceArgs.builder()        
+ *         var exampleLogService = new LogService("exampleLogService", LogServiceArgs.builder()        
  *             .directoryId(exampleAwsDirectoryServiceDirectory.id())
  *             .logGroupName(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/RadiusSettings.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/RadiusSettings.java index ccfb7387925..cf8026adbf5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/RadiusSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/RadiusSettings.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RadiusSettings("example", RadiusSettingsArgs.builder()        
+ *         var example = new RadiusSettings("example", RadiusSettingsArgs.builder()        
  *             .directoryId(exampleAwsDirectoryServiceDirectory.id())
- *             .authenticationProtocol("PAP")
- *             .displayLabel("example")
+ *             .authenticationProtocol("PAP")
+ *             .displayLabel("example")
  *             .radiusPort(1812)
  *             .radiusRetries(4)
- *             .radiusServers("10.0.1.5")
+ *             .radiusServers("10.0.1.5")
  *             .radiusTimeout(1)
- *             .sharedSecret("12345678")
+ *             .sharedSecret("12345678")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ServiceRegion.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ServiceRegion.java index 0ef8eae6cc9..2f1d154aa66 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ServiceRegion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/ServiceRegion.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,74 +61,75 @@
  *         final var example = AwsFunctions.getRegion();
  * 
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
- *             .tags(Map.of("Name", "Primary"))
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
+ *             .tags(Map.of("Name", "Primary"))
  *             .build());
  * 
- *         for (var i = 0; i < 2; i++) {
- *             new Subnet("exampleSubnet-" + i, SubnetArgs.builder()            
+ *         for (var i = 0; i < 2; i++) {
+ *             new Subnet("exampleSubnet-" + i, SubnetArgs.builder()            
  *                 .vpcId(exampleVpc.id())
- *                 .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names())[range.value()])
- *                 .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
- *                 .tags(Map.of("Name", "Primary"))
+ *                 .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names())[range.value()])
+ *                 .cidrBlock(exampleVpc.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+ *                 .tags(Map.of("Name", "Primary"))
  *                 .build());
  * 
  *         
  * }
- *         var exampleDirectory = new Directory("exampleDirectory", DirectoryArgs.builder()        
- *             .name("example.com")
- *             .password("SuperSecretPassw0rd")
- *             .type("MicrosoftAD")
+ *         var exampleDirectory = new Directory("exampleDirectory", DirectoryArgs.builder()        
+ *             .name("example.com")
+ *             .password("SuperSecretPassw0rd")
+ *             .type("MicrosoftAD")
  *             .vpcSettings(DirectoryVpcSettingsArgs.builder()
  *                 .vpcId(exampleVpc.id())
- *                 .subnetIds(exampleSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(exampleSubnet.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .build());
  * 
  *         final var available-secondary = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var example_secondary = new Vpc("example-secondary", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
- *             .tags(Map.of("Name", "Secondary"))
+ *         var example_secondary = new Vpc("example-secondary", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
+ *             .tags(Map.of("Name", "Secondary"))
  *             .build());
  * 
- *         for (var i = 0; i < 2; i++) {
- *             new Subnet("example-secondarySubnet-" + i, SubnetArgs.builder()            
+ *         for (var i = 0; i < 2; i++) {
+ *             new Subnet("example-secondarySubnet-" + i, SubnetArgs.builder()            
  *                 .vpcId(example_secondary.id())
  *                 .availabilityZone(available_secondary.names()[range.value()])
- *                 .cidrBlock(example_secondary.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
- *                 .tags(Map.of("Name", "Secondary"))
+ *                 .cidrBlock(example_secondary.cidrBlock().applyValue(cidrBlock -> StdFunctions.cidrsubnet()).applyValue(invoke -> invoke.result()))
+ *                 .tags(Map.of("Name", "Secondary"))
  *                 .build());
  * 
  *         
  * }
- *         var exampleServiceRegion = new ServiceRegion("exampleServiceRegion", ServiceRegionArgs.builder()        
+ *         var exampleServiceRegion = new ServiceRegion("exampleServiceRegion", ServiceRegionArgs.builder()        
  *             .directoryId(exampleDirectory.id())
- *             .regionName(example.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .regionName(example.applyValue(getRegionResult -> getRegionResult.name()))
  *             .vpcSettings(ServiceRegionVpcSettingsArgs.builder()
  *                 .vpcId(example_secondary.id())
- *                 .subnetIds(example_secondarySubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(example_secondarySubnet.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
- *             .tags(Map.of("Name", "Secondary"))
+ *             .tags(Map.of("Name", "Secondary"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectory.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectory.java index 93ac265ee31..f4636d31bb7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectory.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectory.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Directory("example", DirectoryArgs.builder()        
- *             .name("tf-example")
- *             .password("SuperSecretPassw0rd")
- *             .type("MicrosoftAD")
- *             .edition("Standard")
+ *         var example = new Directory("example", DirectoryArgs.builder()        
+ *             .name("tf-example")
+ *             .password("SuperSecretPassw0rd")
+ *             .type("MicrosoftAD")
+ *             .edition("Standard")
  *             .vpcSettings(DirectoryVpcSettingsArgs.builder()
  *                 .vpcId(exampleAwsVpc.id())
- *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .build());
  * 
- *         var exampleSharedDirectory = new SharedDirectory("exampleSharedDirectory", SharedDirectoryArgs.builder()        
+ *         var exampleSharedDirectory = new SharedDirectory("exampleSharedDirectory", SharedDirectoryArgs.builder()        
  *             .directoryId(example.id())
- *             .notes("You wanna have a catch?")
+ *             .notes("You wanna have a catch?")
  *             .target(SharedDirectoryTargetArgs.builder()
  *                 .id(receiver.accountId())
  *                 .build())
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectoryAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectoryAccepter.java index 7e37f0a2985..16794ad0a43 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectoryAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/SharedDirectoryAccepter.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SharedDirectory("example", SharedDirectoryArgs.builder()        
+ *         var example = new SharedDirectory("example", SharedDirectoryArgs.builder()        
  *             .directoryId(exampleAwsDirectoryServiceDirectory.id())
- *             .notes("example")
+ *             .notes("example")
  *             .target(SharedDirectoryTargetArgs.builder()
  *                 .id(receiver.accountId())
  *                 .build())
  *             .build());
  * 
- *         var exampleSharedDirectoryAccepter = new SharedDirectoryAccepter("exampleSharedDirectoryAccepter", SharedDirectoryAccepterArgs.builder()        
+ *         var exampleSharedDirectoryAccepter = new SharedDirectoryAccepter("exampleSharedDirectoryAccepter", SharedDirectoryAccepterArgs.builder()        
  *             .sharedDirectoryId(example.sharedDirectoryId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Trust.java b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Trust.java index bb5d742b302..b946a789c29 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Trust.java +++ b/sdk/java/src/main/java/com/pulumi/aws/directoryservice/Trust.java @@ -30,7 +30,8 @@ * ### Two-Way Trust * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,41 +54,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var oneDirectory = new Directory("oneDirectory", DirectoryArgs.builder()        
- *             .name("one.example.com")
- *             .type("MicrosoftAD")
+ *         var oneDirectory = new Directory("oneDirectory", DirectoryArgs.builder()        
+ *             .name("one.example.com")
+ *             .type("MicrosoftAD")
  *             .build());
  * 
- *         var twoDirectory = new Directory("twoDirectory", DirectoryArgs.builder()        
- *             .name("two.example.com")
- *             .type("MicrosoftAD")
+ *         var twoDirectory = new Directory("twoDirectory", DirectoryArgs.builder()        
+ *             .name("two.example.com")
+ *             .type("MicrosoftAD")
  *             .build());
  * 
- *         var one = new Trust("one", TrustArgs.builder()        
+ *         var one = new Trust("one", TrustArgs.builder()        
  *             .directoryId(oneDirectory.id())
  *             .remoteDomainName(twoDirectory.name())
- *             .trustDirection("Two-Way")
- *             .trustPassword("Some0therPassword")
+ *             .trustDirection("Two-Way")
+ *             .trustPassword("Some0therPassword")
  *             .conditionalForwarderIpAddrs(twoDirectory.dnsIpAddresses())
  *             .build());
  * 
- *         var two = new Trust("two", TrustArgs.builder()        
+ *         var two = new Trust("two", TrustArgs.builder()        
  *             .directoryId(twoDirectory.id())
  *             .remoteDomainName(oneDirectory.name())
- *             .trustDirection("Two-Way")
- *             .trustPassword("Some0therPassword")
+ *             .trustDirection("Two-Way")
+ *             .trustPassword("Some0therPassword")
  *             .conditionalForwarderIpAddrs(oneDirectory.dnsIpAddresses())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### One-Way Trust * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -110,35 +113,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var oneDirectory = new Directory("oneDirectory", DirectoryArgs.builder()        
- *             .name("one.example.com")
- *             .type("MicrosoftAD")
+ *         var oneDirectory = new Directory("oneDirectory", DirectoryArgs.builder()        
+ *             .name("one.example.com")
+ *             .type("MicrosoftAD")
  *             .build());
  * 
- *         var twoDirectory = new Directory("twoDirectory", DirectoryArgs.builder()        
- *             .name("two.example.com")
- *             .type("MicrosoftAD")
+ *         var twoDirectory = new Directory("twoDirectory", DirectoryArgs.builder()        
+ *             .name("two.example.com")
+ *             .type("MicrosoftAD")
  *             .build());
  * 
- *         var one = new Trust("one", TrustArgs.builder()        
+ *         var one = new Trust("one", TrustArgs.builder()        
  *             .directoryId(oneDirectory.id())
  *             .remoteDomainName(twoDirectory.name())
- *             .trustDirection("One-Way: Incoming")
- *             .trustPassword("Some0therPassword")
+ *             .trustDirection("One-Way: Incoming")
+ *             .trustPassword("Some0therPassword")
  *             .conditionalForwarderIpAddrs(twoDirectory.dnsIpAddresses())
  *             .build());
  * 
- *         var two = new Trust("two", TrustArgs.builder()        
+ *         var two = new Trust("two", TrustArgs.builder()        
  *             .directoryId(twoDirectory.id())
  *             .remoteDomainName(oneDirectory.name())
- *             .trustDirection("One-Way: Outgoing")
- *             .trustPassword("Some0therPassword")
+ *             .trustDirection("One-Way: Outgoing")
+ *             .trustPassword("Some0therPassword")
  *             .conditionalForwarderIpAddrs(oneDirectory.dnsIpAddresses())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dlm/LifecyclePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/dlm/LifecyclePolicy.java index 5ba92d569d1..fc09c477f44 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dlm/LifecyclePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dlm/LifecyclePolicy.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,78 +55,80 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("dlm.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("dlm.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var dlmLifecycleRole = new Role("dlmLifecycleRole", RoleArgs.builder()        
- *             .name("dlm-lifecycle-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var dlmLifecycleRole = new Role("dlmLifecycleRole", RoleArgs.builder()        
+ *             .name("dlm-lifecycle-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var dlmLifecycle = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "ec2:CreateSnapshot",
- *                         "ec2:CreateSnapshots",
- *                         "ec2:DeleteSnapshot",
- *                         "ec2:DescribeInstances",
- *                         "ec2:DescribeVolumes",
- *                         "ec2:DescribeSnapshots")
- *                     .resources("*")
+ *                         "ec2:CreateSnapshot",
+ *                         "ec2:CreateSnapshots",
+ *                         "ec2:DeleteSnapshot",
+ *                         "ec2:DescribeInstances",
+ *                         "ec2:DescribeVolumes",
+ *                         "ec2:DescribeSnapshots")
+ *                     .resources("*")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("ec2:CreateTags")
- *                     .resources("arn:aws:ec2:*::snapshot/*")
+ *                     .effect("Allow")
+ *                     .actions("ec2:CreateTags")
+ *                     .resources("arn:aws:ec2:*::snapshot/*")
  *                     .build())
  *             .build());
  * 
- *         var dlmLifecycleRolePolicy = new RolePolicy("dlmLifecycleRolePolicy", RolePolicyArgs.builder()        
- *             .name("dlm-lifecycle-policy")
+ *         var dlmLifecycleRolePolicy = new RolePolicy("dlmLifecycleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("dlm-lifecycle-policy")
  *             .role(dlmLifecycleRole.id())
- *             .policy(dlmLifecycle.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(dlmLifecycle.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var example = new LifecyclePolicy("example", LifecyclePolicyArgs.builder()        
- *             .description("example DLM lifecycle policy")
+ *         var example = new LifecyclePolicy("example", LifecyclePolicyArgs.builder()        
+ *             .description("example DLM lifecycle policy")
  *             .executionRoleArn(dlmLifecycleRole.arn())
- *             .state("ENABLED")
+ *             .state("ENABLED")
  *             .policyDetails(LifecyclePolicyPolicyDetailsArgs.builder()
- *                 .resourceTypes("VOLUME")
+ *                 .resourceTypes("VOLUME")
  *                 .schedules(LifecyclePolicyPolicyDetailsScheduleArgs.builder()
- *                     .name("2 weeks of daily snapshots")
+ *                     .name("2 weeks of daily snapshots")
  *                     .createRule(LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs.builder()
  *                         .interval(24)
- *                         .intervalUnit("HOURS")
- *                         .times("23:45")
+ *                         .intervalUnit("HOURS")
+ *                         .times("23:45")
  *                         .build())
  *                     .retainRule(LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs.builder()
  *                         .count(14)
  *                         .build())
- *                     .tagsToAdd(Map.of("SnapshotCreator", "DLM"))
+ *                     .tagsToAdd(Map.of("SnapshotCreator", "DLM"))
  *                     .copyTags(false)
  *                     .build())
- *                 .targetTags(Map.of("Snapshot", "true"))
+ *                 .targetTags(Map.of("Snapshot", "true"))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Cross-Region Snapshot Copy Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -158,64 +161,66 @@
  * 
  *         final var key = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("Enable IAM User Permissions")
- *                 .effect("Allow")
+ *                 .sid("Enable IAM User Permissions")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     .type("AWS")
+ *                     .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                     .build())
- *                 .actions("kms:*")
- *                 .resources("*")
+ *                 .actions("kms:*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var dlmCrossRegionCopyCmk = new Key("dlmCrossRegionCopyCmk", KeyArgs.builder()        
- *             .description("Example Alternate Region KMS Key")
- *             .policy(key.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var dlmCrossRegionCopyCmk = new Key("dlmCrossRegionCopyCmk", KeyArgs.builder()        
+ *             .description("Example Alternate Region KMS Key")
+ *             .policy(key.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var example = new LifecyclePolicy("example", LifecyclePolicyArgs.builder()        
- *             .description("example DLM lifecycle policy")
+ *         var example = new LifecyclePolicy("example", LifecyclePolicyArgs.builder()        
+ *             .description("example DLM lifecycle policy")
  *             .executionRoleArn(dlmLifecycleRole.arn())
- *             .state("ENABLED")
+ *             .state("ENABLED")
  *             .policyDetails(LifecyclePolicyPolicyDetailsArgs.builder()
- *                 .resourceTypes("VOLUME")
+ *                 .resourceTypes("VOLUME")
  *                 .schedules(LifecyclePolicyPolicyDetailsScheduleArgs.builder()
- *                     .name("2 weeks of daily snapshots")
+ *                     .name("2 weeks of daily snapshots")
  *                     .createRule(LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs.builder()
  *                         .interval(24)
- *                         .intervalUnit("HOURS")
- *                         .times("23:45")
+ *                         .intervalUnit("HOURS")
+ *                         .times("23:45")
  *                         .build())
  *                     .retainRule(LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs.builder()
  *                         .count(14)
  *                         .build())
- *                     .tagsToAdd(Map.of("SnapshotCreator", "DLM"))
+ *                     .tagsToAdd(Map.of("SnapshotCreator", "DLM"))
  *                     .copyTags(false)
  *                     .crossRegionCopyRules(LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleArgs.builder()
- *                         .target("us-west-2")
+ *                         .target("us-west-2")
  *                         .encrypted(true)
  *                         .cmkArn(dlmCrossRegionCopyCmk.arn())
  *                         .copyTags(true)
  *                         .retainRule(LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleRetainRuleArgs.builder()
  *                             .interval(30)
- *                             .intervalUnit("DAYS")
+ *                             .intervalUnit("DAYS")
  *                             .build())
  *                         .build())
  *                     .build())
- *                 .targetTags(Map.of("Snapshot", "true"))
+ *                 .targetTags(Map.of("Snapshot", "true"))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Event Based Policy Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -248,45 +253,46 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
- *             .description("tf-acc-basic")
+ *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+ *             .description("tf-acc-basic")
  *             .executionRoleArn(exampleAwsIamRole.arn())
  *             .policyDetails(LifecyclePolicyPolicyDetailsArgs.builder()
- *                 .policyType("EVENT_BASED_POLICY")
+ *                 .policyType("EVENT_BASED_POLICY")
  *                 .action(LifecyclePolicyPolicyDetailsActionArgs.builder()
- *                     .name("tf-acc-basic")
+ *                     .name("tf-acc-basic")
  *                     .crossRegionCopies(LifecyclePolicyPolicyDetailsActionCrossRegionCopyArgs.builder()
  *                         .encryptionConfiguration()
  *                         .retainRule(LifecyclePolicyPolicyDetailsActionCrossRegionCopyRetainRuleArgs.builder()
  *                             .interval(15)
- *                             .intervalUnit("MONTHS")
+ *                             .intervalUnit("MONTHS")
  *                             .build())
- *                         .target("us-east-1")
+ *                         .target("us-east-1")
  *                         .build())
  *                     .build())
  *                 .eventSource(LifecyclePolicyPolicyDetailsEventSourceArgs.builder()
- *                     .type("MANAGED_CWE")
+ *                     .type("MANAGED_CWE")
  *                     .parameters(LifecyclePolicyPolicyDetailsEventSourceParametersArgs.builder()
- *                         .descriptionRegex("^.*Created for policy: policy-1234567890abcdef0.*$")
- *                         .eventType("shareSnapshot")
- *                         .snapshotOwners(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         .descriptionRegex("^.*Created for policy: policy-1234567890abcdef0.*$")
+ *                         .eventType("shareSnapshot")
+ *                         .snapshotOwners(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                         .build())
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
- *             .name("AWSDataLifecycleManagerServiceRole")
+ *             .name("AWSDataLifecycleManagerServiceRole")
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(exampleAwsIamRole.id())
- *             .policyArn(example.applyValue(getPolicyResult -> getPolicyResult.arn()))
+ *             .policyArn(example.applyValue(getPolicyResult -> getPolicyResult.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/Certificate.java b/sdk/java/src/main/java/com/pulumi/aws/dms/Certificate.java index 399181f0246..755c39a309e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/Certificate.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new certificate
- *         var test = new Certificate("test", CertificateArgs.builder()        
- *             .certificateId("test-dms-certificate-tf")
- *             .certificatePem("...")
- *             .tags(Map.of("Name", "test"))
+ *         var test = new Certificate("test", CertificateArgs.builder()        
+ *             .certificateId("test-dms-certificate-tf")
+ *             .certificatePem("...")
+ *             .tags(Map.of("Name", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/DmsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/dms/DmsFunctions.java index a094537481f..4a9a7e8712c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/DmsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/DmsFunctions.java @@ -34,7 +34,8 @@ public final class DmsFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -61,7 +62,8 @@ public final class DmsFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -76,7 +78,8 @@ public static Output getCertificate(GetCertificateArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -103,7 +106,8 @@ public static Output getCertificate(GetCertificateArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -118,7 +122,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -145,7 +150,8 @@ public static CompletableFuture getCertificatePlain(GetCer
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -160,7 +166,8 @@ public static Output getCertificate(GetCertificateArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -187,7 +194,8 @@ public static Output getCertificate(GetCertificateArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -202,7 +210,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -224,12 +233,13 @@ public static CompletableFuture getCertificatePlain(GetCer
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DmsFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .endpointId("test_id")
+     *             .endpointId("test_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -244,7 +254,8 @@ public static Output getEndpoint(GetEndpointArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -266,12 +277,13 @@ public static Output getEndpoint(GetEndpointArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DmsFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .endpointId("test_id")
+     *             .endpointId("test_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -286,7 +298,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -308,12 +321,13 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DmsFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .endpointId("test_id")
+     *             .endpointId("test_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -328,7 +342,8 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -350,12 +365,13 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DmsFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .endpointId("test_id")
+     *             .endpointId("test_id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -368,7 +384,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -395,7 +412,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -408,7 +426,8 @@ public static Output getReplicationInstance(GetRep * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -435,7 +454,8 @@ public static Output getReplicationInstance(GetRep
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -448,7 +468,8 @@ public static CompletableFuture getReplicationInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -475,7 +496,8 @@ public static CompletableFuture getReplicationInst
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -488,7 +510,8 @@ public static Output getReplicationInstance(GetRep * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -515,7 +538,8 @@ public static Output getReplicationInstance(GetRep
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -530,7 +554,8 @@ public static CompletableFuture getReplicationInst * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -557,7 +582,8 @@ public static CompletableFuture getReplicationInst
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -572,7 +598,8 @@ public static Output getReplicationSubnetGroup( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -599,7 +626,8 @@ public static Output getReplicationSubnetGroup(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -614,7 +642,8 @@ public static CompletableFuture getReplicationS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -641,7 +670,8 @@ public static CompletableFuture getReplicationS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -656,7 +686,8 @@ public static Output getReplicationSubnetGroup( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -683,7 +714,8 @@ public static Output getReplicationSubnetGroup(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -698,7 +730,8 @@ public static CompletableFuture getReplicationS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -725,7 +758,8 @@ public static CompletableFuture getReplicationS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -740,7 +774,8 @@ public static Output getReplicationTask(GetReplication * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -767,7 +802,8 @@ public static Output getReplicationTask(GetReplication
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -782,7 +818,8 @@ public static CompletableFuture getReplicationTaskPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -809,7 +846,8 @@ public static CompletableFuture getReplicationTaskPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -824,7 +862,8 @@ public static Output getReplicationTask(GetReplication * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -851,7 +890,8 @@ public static Output getReplicationTask(GetReplication
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/Endpoint.java b/sdk/java/src/main/java/com/pulumi/aws/dms/Endpoint.java index 9ca6c8d7386..58d095970bd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/Endpoint.java @@ -34,7 +34,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,25 +57,26 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new endpoint
- *         var test = new Endpoint("test", EndpointArgs.builder()        
- *             .certificateArn("arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012")
- *             .databaseName("test")
- *             .endpointId("test-dms-endpoint-tf")
- *             .endpointType("source")
- *             .engineName("aurora")
- *             .extraConnectionAttributes("")
- *             .kmsKeyArn("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
- *             .password("test")
+ *         var test = new Endpoint("test", EndpointArgs.builder()        
+ *             .certificateArn("arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012")
+ *             .databaseName("test")
+ *             .endpointId("test-dms-endpoint-tf")
+ *             .endpointType("source")
+ *             .engineName("aurora")
+ *             .extraConnectionAttributes("")
+ *             .kmsKeyArn("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
+ *             .password("test")
  *             .port(3306)
- *             .serverName("test")
- *             .sslMode("none")
- *             .tags(Map.of("Name", "test"))
- *             .username("test")
+ *             .serverName("test")
+ *             .sslMode("none")
+ *             .tags(Map.of("Name", "test"))
+ *             .username("test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/EventSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/dms/EventSubscription.java index cba8e8fb1dc..962fe446507 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/EventSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/EventSubscription.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,21 +45,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSubscription("example", EventSubscriptionArgs.builder()        
+ *         var example = new EventSubscription("example", EventSubscriptionArgs.builder()        
  *             .enabled(true)
  *             .eventCategories(            
- *                 "creation",
- *                 "failure")
- *             .name("my-favorite-event-subscription")
+ *                 "creation",
+ *                 "failure")
+ *             .name("my-favorite-event-subscription")
  *             .snsTopicArn(exampleAwsSnsTopic.arn())
  *             .sourceIds(exampleAwsDmsReplicationTask.replicationTaskId())
- *             .sourceType("replication-task")
- *             .tags(Map.of("Name", "example"))
+ *             .sourceType("replication-task")
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationConfig.java b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationConfig.java index 6277a5f176a..803a56ecf85 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationConfig.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,29 +48,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var name = new ReplicationConfig("name", ReplicationConfigArgs.builder()        
- *             .replicationConfigIdentifier("test-dms-serverless-replication-tf")
- *             .resourceIdentifier("test-dms-serverless-replication-tf")
- *             .replicationType("cdc")
+ *         var name = new ReplicationConfig("name", ReplicationConfigArgs.builder()        
+ *             .replicationConfigIdentifier("test-dms-serverless-replication-tf")
+ *             .resourceIdentifier("test-dms-serverless-replication-tf")
+ *             .replicationType("cdc")
  *             .sourceEndpointArn(source.endpointArn())
  *             .targetEndpointArn(target.endpointArn())
- *             .tableMappings("""
+ *             .tableMappings("""
  *   {
- *     "rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
+ *     "rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
  *   }
- *             """)
+ *             """)
  *             .startReplication(true)
  *             .computeConfig(ReplicationConfigComputeConfigArgs.builder()
  *                 .replicationSubnetGroupId(default_.replicationSubnetGroupId())
- *                 .maxCapacityUnits("64")
- *                 .minCapacityUnits("2")
- *                 .preferredMaintenanceWindow("sun:23:45-mon:00:30")
+ *                 .maxCapacityUnits("64")
+ *                 .minCapacityUnits("2")
+ *                 .preferredMaintenanceWindow("sun:23:45-mon:00:30")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationInstance.java b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationInstance.java index ffc5a9b7158..f66e165d6ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationInstance.java @@ -26,7 +26,8 @@ * Create required roles and then create a DMS instance, setting the depends_on to the required role policy attachments. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -62,60 +63,60 @@
  *         //  * dms-access-for-endpoint
  *         final var dmsAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("dms.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("dms.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var dms_access_for_endpoint = new Role("dms-access-for-endpoint", RoleArgs.builder()        
- *             .assumeRolePolicy(dmsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .name("dms-access-for-endpoint")
+ *         var dms_access_for_endpoint = new Role("dms-access-for-endpoint", RoleArgs.builder()        
+ *             .assumeRolePolicy(dmsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .name("dms-access-for-endpoint")
  *             .build());
  * 
- *         var dms_access_for_endpoint_AmazonDMSRedshiftS3Role = new RolePolicyAttachment("dms-access-for-endpoint-AmazonDMSRedshiftS3Role", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSRedshiftS3Role")
+ *         var dms_access_for_endpoint_AmazonDMSRedshiftS3Role = new RolePolicyAttachment("dms-access-for-endpoint-AmazonDMSRedshiftS3Role", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSRedshiftS3Role")
  *             .role(dms_access_for_endpoint.name())
  *             .build());
  * 
- *         var dms_cloudwatch_logs_role = new Role("dms-cloudwatch-logs-role", RoleArgs.builder()        
- *             .assumeRolePolicy(dmsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .name("dms-cloudwatch-logs-role")
+ *         var dms_cloudwatch_logs_role = new Role("dms-cloudwatch-logs-role", RoleArgs.builder()        
+ *             .assumeRolePolicy(dmsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .name("dms-cloudwatch-logs-role")
  *             .build());
  * 
- *         var dms_cloudwatch_logs_role_AmazonDMSCloudWatchLogsRole = new RolePolicyAttachment("dms-cloudwatch-logs-role-AmazonDMSCloudWatchLogsRole", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSCloudWatchLogsRole")
+ *         var dms_cloudwatch_logs_role_AmazonDMSCloudWatchLogsRole = new RolePolicyAttachment("dms-cloudwatch-logs-role-AmazonDMSCloudWatchLogsRole", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSCloudWatchLogsRole")
  *             .role(dms_cloudwatch_logs_role.name())
  *             .build());
  * 
- *         var dms_vpc_role = new Role("dms-vpc-role", RoleArgs.builder()        
- *             .assumeRolePolicy(dmsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .name("dms-vpc-role")
+ *         var dms_vpc_role = new Role("dms-vpc-role", RoleArgs.builder()        
+ *             .assumeRolePolicy(dmsAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .name("dms-vpc-role")
  *             .build());
  * 
- *         var dms_vpc_role_AmazonDMSVPCManagementRole = new RolePolicyAttachment("dms-vpc-role-AmazonDMSVPCManagementRole", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSVPCManagementRole")
+ *         var dms_vpc_role_AmazonDMSVPCManagementRole = new RolePolicyAttachment("dms-vpc-role-AmazonDMSVPCManagementRole", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSVPCManagementRole")
  *             .role(dms_vpc_role.name())
  *             .build());
  * 
  *         // Create a new replication instance
- *         var test = new ReplicationInstance("test", ReplicationInstanceArgs.builder()        
+ *         var test = new ReplicationInstance("test", ReplicationInstanceArgs.builder()        
  *             .allocatedStorage(20)
  *             .applyImmediately(true)
  *             .autoMinorVersionUpgrade(true)
- *             .availabilityZone("us-west-2c")
- *             .engineVersion("3.1.4")
- *             .kmsKeyArn("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
+ *             .availabilityZone("us-west-2c")
+ *             .engineVersion("3.1.4")
+ *             .kmsKeyArn("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
  *             .multiAz(false)
- *             .preferredMaintenanceWindow("sun:10:30-sun:14:30")
+ *             .preferredMaintenanceWindow("sun:10:30-sun:14:30")
  *             .publiclyAccessible(true)
- *             .replicationInstanceClass("dms.t2.micro")
- *             .replicationInstanceId("test-dms-replication-instance-tf")
+ *             .replicationInstanceClass("dms.t2.micro")
+ *             .replicationInstanceId("test-dms-replication-instance-tf")
  *             .replicationSubnetGroupId(test_dms_replication_subnet_group_tf.id())
- *             .tags(Map.of("Name", "test"))
- *             .vpcSecurityGroupIds("sg-12345678")
+ *             .tags(Map.of("Name", "test"))
+ *             .vpcSecurityGroupIds("sg-12345678")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
  *                     dms_access_for_endpoint_AmazonDMSRedshiftS3Role,
@@ -125,7 +126,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationSubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationSubnetGroup.java index b7c4c59908d..6dd8df2d045 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationSubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationSubnetGroup.java @@ -26,7 +26,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,18 +49,19 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new replication subnet group
- *         var example = new ReplicationSubnetGroup("example", ReplicationSubnetGroupArgs.builder()        
- *             .replicationSubnetGroupDescription("Example replication subnet group")
- *             .replicationSubnetGroupId("example-dms-replication-subnet-group-tf")
+ *         var example = new ReplicationSubnetGroup("example", ReplicationSubnetGroupArgs.builder()        
+ *             .replicationSubnetGroupDescription("Example replication subnet group")
+ *             .replicationSubnetGroupId("example-dms-replication-subnet-group-tf")
  *             .subnetIds(            
- *                 "subnet-12345678",
- *                 "subnet-12345679")
- *             .tags(Map.of("Name", "example"))
+ *                 "subnet-12345678",
+ *                 "subnet-12345679")
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Creating special IAM role @@ -67,7 +69,8 @@ * If your account does not already include the `dms-vpc-role` IAM role, you will need to create it to allow DMS to manage subnets in the VPC. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,41 +97,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dms_vpc_role = new Role("dms-vpc-role", RoleArgs.builder()        
- *             .name("dms-vpc-role")
- *             .description("Allows DMS to manage VPC")
+ *         var dms_vpc_role = new Role("dms-vpc-role", RoleArgs.builder()        
+ *             .name("dms-vpc-role")
+ *             .description("Allows DMS to manage VPC")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "dms.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "dms.amazonaws.com")
  *                         )),
- *                         jsonProperty("Action", "sts:AssumeRole")
+ *                         jsonProperty("Action", "sts:AssumeRole")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var example = new RolePolicyAttachment("example", RolePolicyAttachmentArgs.builder()        
+ *         var example = new RolePolicyAttachment("example", RolePolicyAttachmentArgs.builder()        
  *             .role(dms_vpc_role.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSVPCManagementRole")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AmazonDMSVPCManagementRole")
  *             .build());
  * 
- *         var exampleReplicationSubnetGroup = new ReplicationSubnetGroup("exampleReplicationSubnetGroup", ReplicationSubnetGroupArgs.builder()        
- *             .replicationSubnetGroupDescription("Example")
- *             .replicationSubnetGroupId("example-id")
+ *         var exampleReplicationSubnetGroup = new ReplicationSubnetGroup("exampleReplicationSubnetGroup", ReplicationSubnetGroupArgs.builder()        
+ *             .replicationSubnetGroupDescription("Example")
+ *             .replicationSubnetGroupId("example-id")
  *             .subnetIds(            
- *                 "subnet-12345678",
- *                 "subnet-12345679")
- *             .tags(Map.of("Name", "example-id"))
+ *                 "subnet-12345678",
+ *                 "subnet-12345679")
+ *             .tags(Map.of("Name", "example-id"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationTask.java b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationTask.java index ed118943689..0191ef189a2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationTask.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/ReplicationTask.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,22 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new replication task
- *         var test = new ReplicationTask("test", ReplicationTaskArgs.builder()        
- *             .cdcStartTime("1993-05-21T05:50:00Z")
- *             .migrationType("full-load")
+ *         var test = new ReplicationTask("test", ReplicationTaskArgs.builder()        
+ *             .cdcStartTime("1993-05-21T05:50:00Z")
+ *             .migrationType("full-load")
  *             .replicationInstanceArn(test_dms_replication_instance_tf.replicationInstanceArn())
- *             .replicationTaskId("test-dms-replication-task-tf")
- *             .replicationTaskSettings("...")
+ *             .replicationTaskId("test-dms-replication-task-tf")
+ *             .replicationTaskSettings("...")
  *             .sourceEndpointArn(test_dms_source_endpoint_tf.endpointArn())
- *             .tableMappings("{\"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"object-locator\":{\"schema-name\":\"%\",\"table-name\":\"%\"},\"rule-action\":\"include\"}]}")
- *             .tags(Map.of("Name", "test"))
+ *             .tableMappings("{\"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"object-locator\":{\"schema-name\":\"%\",\"table-name\":\"%\"},\"rule-action\":\"include\"}]}")
+ *             .tags(Map.of("Name", "test"))
  *             .targetEndpointArn(test_dms_target_endpoint_tf.endpointArn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dms/S3Endpoint.java b/sdk/java/src/main/java/com/pulumi/aws/dms/S3Endpoint.java index ef701b2a9f1..7d6d6cd6316 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dms/S3Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dms/S3Endpoint.java @@ -31,7 +31,8 @@ * This is the minimal configuration for an `aws.dms.S3Endpoint`. This endpoint will rely on the AWS Provider and AWS defaults. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,10 +54,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new S3Endpoint("example", S3EndpointArgs.builder()        
- *             .endpointId("donnedtipi")
- *             .endpointType("target")
- *             .bucketName("beckut_name")
+ *         var example = new S3Endpoint("example", S3EndpointArgs.builder()        
+ *             .endpointId("donnedtipi")
+ *             .endpointType("target")
+ *             .bucketName("beckut_name")
  *             .serviceAccessRoleArn(exampleAwsIamRole.arn())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsIamRolePolicy)
@@ -64,13 +65,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Complete Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,53 +95,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new S3Endpoint("example", S3EndpointArgs.builder()        
- *             .endpointId("donnedtipi")
- *             .endpointType("target")
- *             .sslMode("none")
+ *         var example = new S3Endpoint("example", S3EndpointArgs.builder()        
+ *             .endpointId("donnedtipi")
+ *             .endpointType("target")
+ *             .sslMode("none")
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "donnedtipi"),
- *                 Map.entry("Update", "to-update"),
- *                 Map.entry("Remove", "to-remove")
+ *                 Map.entry("Name", "donnedtipi"),
+ *                 Map.entry("Update", "to-update"),
+ *                 Map.entry("Remove", "to-remove")
  *             ))
  *             .addColumnName(true)
  *             .addTrailingPaddingCharacter(false)
- *             .bucketFolder("folder")
- *             .bucketName("bucket_name")
- *             .cannedAclForObjects("private")
+ *             .bucketFolder("folder")
+ *             .bucketName("bucket_name")
+ *             .cannedAclForObjects("private")
  *             .cdcInsertsAndUpdates(true)
  *             .cdcInsertsOnly(false)
  *             .cdcMaxBatchInterval(100)
  *             .cdcMinFileSize(16)
- *             .cdcPath("cdc/path")
- *             .compressionType("GZIP")
- *             .csvDelimiter(";")
- *             .csvNoSupValue("x")
- *             .csvNullValue("?")
- *             .csvRowDelimiter("\\r\\n")
- *             .dataFormat("parquet")
+ *             .cdcPath("cdc/path")
+ *             .compressionType("GZIP")
+ *             .csvDelimiter(";")
+ *             .csvNoSupValue("x")
+ *             .csvNullValue("?")
+ *             .csvRowDelimiter("\\r\\n")
+ *             .dataFormat("parquet")
  *             .dataPageSize(1100000)
- *             .datePartitionDelimiter("UNDERSCORE")
+ *             .datePartitionDelimiter("UNDERSCORE")
  *             .datePartitionEnabled(true)
- *             .datePartitionSequence("yyyymmddhh")
- *             .datePartitionTimezone("Asia/Seoul")
+ *             .datePartitionSequence("yyyymmddhh")
+ *             .datePartitionTimezone("Asia/Seoul")
  *             .dictPageSizeLimit(1000000)
  *             .enableStatistics(false)
- *             .encodingType("plain")
- *             .encryptionMode("SSE_S3")
+ *             .encodingType("plain")
+ *             .encryptionMode("SSE_S3")
  *             .expectedBucketOwner(current.accountId())
- *             .externalTableDefinition("etd")
+ *             .externalTableDefinition("etd")
  *             .ignoreHeaderRows(1)
  *             .includeOpForFullLoad(true)
  *             .maxFileSize(1000000)
  *             .parquetTimestampInMillisecond(true)
- *             .parquetVersion("parquet-2-0")
+ *             .parquetVersion("parquet-2-0")
  *             .preserveTransactions(false)
  *             .rfc4180(false)
  *             .rowGroupLength(11000)
  *             .serverSideEncryptionKmsKeyId(exampleAwsKmsKey.arn())
  *             .serviceAccessRoleArn(exampleAwsIamRole.arn())
- *             .timestampColumnName("tx_commit_time")
+ *             .timestampColumnName("tx_commit_time")
  *             .useCsvNoSupValue(false)
  *             .useTaskStartTimeForFullLoadTimestamp(true)
  *             .glueCatalogGeneration(true)
@@ -148,7 +151,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/Cluster.java index b43e464be75..1d6108e2a0b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/Cluster.java @@ -33,7 +33,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,19 +55,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var docdb = new Cluster("docdb", ClusterArgs.builder()        
- *             .clusterIdentifier("my-docdb-cluster")
- *             .engine("docdb")
- *             .masterUsername("foo")
- *             .masterPassword("mustbeeightchars")
+ *         var docdb = new Cluster("docdb", ClusterArgs.builder()        
+ *             .clusterIdentifier("my-docdb-cluster")
+ *             .engine("docdb")
+ *             .masterUsername("foo")
+ *             .masterPassword("mustbeeightchars")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .skipFinalSnapshot(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterInstance.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterInstance.java index 64db18d8e85..f5343878160 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterInstance.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,28 +55,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("docdb-cluster-demo")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("docdb-cluster-demo")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .masterUsername("foo")
- *             .masterPassword("barbut8chars")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .masterUsername("foo")
+ *             .masterPassword("barbut8chars")
  *             .build());
  * 
- *         for (var i = 0; i < 2; i++) {
- *             new ClusterInstance("clusterInstances-" + i, ClusterInstanceArgs.builder()            
- *                 .identifier(String.format("docdb-cluster-demo-%s", range.value()))
+ *         for (var i = 0; i < 2; i++) {
+ *             new ClusterInstance("clusterInstances-" + i, ClusterInstanceArgs.builder()            
+ *                 .identifier(String.format("docdb-cluster-demo-%s", range.value()))
  *                 .clusterIdentifier(default_.id())
- *                 .instanceClass("db.r5.large")
+ *                 .instanceClass("db.r5.large")
  *                 .build());
  * 
  *         
  * }
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterParameterGroup.java index 88cae63a184..ba4b790ec4b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterParameterGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterParameterGroup("example", ClusterParameterGroupArgs.builder()        
- *             .family("docdb3.6")
- *             .name("example")
- *             .description("docdb cluster parameter group")
+ *         var example = new ClusterParameterGroup("example", ClusterParameterGroupArgs.builder()        
+ *             .family("docdb3.6")
+ *             .name("example")
+ *             .description("docdb cluster parameter group")
  *             .parameters(ClusterParameterGroupParameterArgs.builder()
- *                 .name("tls")
- *                 .value("enabled")
+ *                 .name("tls")
+ *                 .value("enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterSnapshot.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterSnapshot.java index c80888d4cda..5578ce41f73 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/ClusterSnapshot.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
+ *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
  *             .dbClusterIdentifier(exampleAwsDocdbCluster.id())
- *             .dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
+ *             .dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/DocdbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/DocdbFunctions.java index 2d26d0ddd58..4658f153dd2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/DocdbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/DocdbFunctions.java @@ -23,7 +23,8 @@ public final class DocdbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,12 +46,13 @@ public final class DocdbFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .version("3.6.0")
+     *             .version("3.6.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getEngineVersion() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -85,12 +88,13 @@ public static Output getEngineVersion() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .version("3.6.0")
+     *             .version("3.6.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getEngineVersionPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getEngineVersionPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .version("3.6.0")
+     *             .version("3.6.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getEngineVersion(GetEngineVersionAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,12 +172,13 @@ public static Output getEngineVersion(GetEngineVersionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .version("3.6.0")
+     *             .version("3.6.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getEngineVersionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -205,12 +214,13 @@ public static CompletableFuture getEngineVersionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .version("3.6.0")
+     *             .version("3.6.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -223,7 +233,8 @@ public static Output getEngineVersion(GetEngineVersionAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -245,12 +256,13 @@ public static Output getEngineVersion(GetEngineVersionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .version("3.6.0")
+     *             .version("3.6.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -263,7 +275,8 @@ public static CompletableFuture getEngineVersionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -285,18 +298,19 @@ public static CompletableFuture getEngineVersionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("docdb")
-     *             .engineVersion("3.6.0")
-     *             .licenseModel("na")
+     *             .engine("docdb")
+     *             .engineVersion("3.6.0")
+     *             .licenseModel("na")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -309,7 +323,8 @@ public static Output getOrderableDbInstance() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -331,18 +346,19 @@ public static Output getOrderableDbInstance() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("docdb")
-     *             .engineVersion("3.6.0")
-     *             .licenseModel("na")
+     *             .engine("docdb")
+     *             .engineVersion("3.6.0")
+     *             .licenseModel("na")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -355,7 +371,8 @@ public static CompletableFuture getOrderableDbInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -377,18 +394,19 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("docdb")
-     *             .engineVersion("3.6.0")
-     *             .licenseModel("na")
+     *             .engine("docdb")
+     *             .engineVersion("3.6.0")
+     *             .licenseModel("na")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -401,7 +419,8 @@ public static Output getOrderableDbInstance(GetOrd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -423,18 +442,19 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("docdb")
-     *             .engineVersion("3.6.0")
-     *             .licenseModel("na")
+     *             .engine("docdb")
+     *             .engineVersion("3.6.0")
+     *             .licenseModel("na")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -447,7 +467,8 @@ public static CompletableFuture getOrderableDbInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -469,18 +490,19 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("docdb")
-     *             .engineVersion("3.6.0")
-     *             .licenseModel("na")
+     *             .engine("docdb")
+     *             .engineVersion("3.6.0")
+     *             .licenseModel("na")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -493,7 +515,8 @@ public static Output getOrderableDbInstance(GetOrd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -515,18 +538,19 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = DocdbFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("docdb")
-     *             .engineVersion("3.6.0")
-     *             .licenseModel("na")
+     *             .engine("docdb")
+     *             .engineVersion("3.6.0")
+     *             .licenseModel("na")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/ElasticCluster.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/ElasticCluster.java index a93c3da8185..72f333442b2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/ElasticCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/ElasticCluster.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ElasticCluster("example", ElasticClusterArgs.builder()        
- *             .name("my-docdb-cluster")
- *             .adminUserName("foo")
- *             .adminUserPassword("mustbeeightchars")
- *             .authType("PLAIN_TEXT")
+ *         var example = new ElasticCluster("example", ElasticClusterArgs.builder()        
+ *             .name("my-docdb-cluster")
+ *             .adminUserName("foo")
+ *             .adminUserPassword("mustbeeightchars")
+ *             .authType("PLAIN_TEXT")
  *             .shardCapacity(2)
  *             .shardCount(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/EventSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/EventSubscription.java index e06d39e920a..8c29ee542ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/EventSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/EventSubscription.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,35 +49,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterIdentifier("example")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterIdentifier("example")
  *             .availabilityZones(            
  *                 available.names()[0],
  *                 available.names()[1],
  *                 available.names()[2])
- *             .masterUsername("foo")
- *             .masterPassword("mustbeeightcharaters")
+ *             .masterUsername("foo")
+ *             .masterPassword("mustbeeightcharaters")
  *             .skipFinalSnapshot(true)
  *             .build());
  * 
- *         var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
- *             .name("example-events")
+ *         var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
+ *             .name("example-events")
  *             .build());
  * 
- *         var exampleEventSubscription = new EventSubscription("exampleEventSubscription", EventSubscriptionArgs.builder()        
- *             .name("example")
+ *         var exampleEventSubscription = new EventSubscription("exampleEventSubscription", EventSubscriptionArgs.builder()        
+ *             .name("example")
  *             .enabled(true)
  *             .eventCategories(            
- *                 "creation",
- *                 "failure")
- *             .sourceType("db-cluster")
+ *                 "creation",
+ *                 "failure")
+ *             .sourceType("db-cluster")
  *             .sourceIds(example.id())
  *             .snsTopicArn(exampleTopic.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/GlobalCluster.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/GlobalCluster.java index bc155a80ba8..f9ce8fb3f51 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/GlobalCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/GlobalCluster.java @@ -27,7 +27,8 @@ * ### New DocumentDB Global Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,57 +54,59 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("global-test")
- *             .engine("docdb")
- *             .engineVersion("4.0.0")
+ *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("global-test")
+ *             .engine("docdb")
+ *             .engineVersion("4.0.0")
  *             .build());
  * 
- *         var primary = new Cluster("primary", ClusterArgs.builder()        
+ *         var primary = new Cluster("primary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-primary-cluster")
- *             .masterUsername("username")
- *             .masterPassword("somepass123")
+ *             .clusterIdentifier("test-primary-cluster")
+ *             .masterUsername("username")
+ *             .masterPassword("somepass123")
  *             .globalClusterIdentifier(example.id())
- *             .dbSubnetGroupName("default")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
- *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
- *             .identifier("test-primary-cluster-instance")
+ *             .identifier("test-primary-cluster-instance")
  *             .clusterIdentifier(primary.id())
- *             .instanceClass("db.r5.large")
+ *             .instanceClass("db.r5.large")
  *             .build());
  * 
- *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
+ *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-secondary-cluster")
+ *             .clusterIdentifier("test-secondary-cluster")
  *             .globalClusterIdentifier(example.id())
- *             .dbSubnetGroupName("default")
+ *             .dbSubnetGroupName("default")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primary)
  *                 .build());
  * 
- *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
- *             .identifier("test-secondary-cluster-instance")
+ *             .identifier("test-secondary-cluster-instance")
  *             .clusterIdentifier(secondary.id())
- *             .instanceClass("db.r5.large")
+ *             .instanceClass("db.r5.large")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primaryClusterInstance)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### New Global Cluster From Existing DB Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,16 +128,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example");
+ *         var example = new Cluster("example");
  * 
- *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("example")
+ *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("example")
  *             .sourceDbClusterIdentifier(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/docdb/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/docdb/SubnetGroup.java index 8ec672e0573..25d0a08401b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/docdb/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/docdb/SubnetGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new SubnetGroup("default", SubnetGroupArgs.builder()        
- *             .name("main")
+ *         var default_ = new SubnetGroup("default", SubnetGroupArgs.builder()        
+ *             .name("main")
  *             .subnetIds(            
  *                 frontend.id(),
  *                 backend.id())
- *             .tags(Map.of("Name", "My docdb subnet group"))
+ *             .tags(Map.of("Name", "My docdb subnet group"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ContributorInsights.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ContributorInsights.java index ea9449b9414..e0a6b6d0177 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ContributorInsights.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ContributorInsights.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,13 +42,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ContributorInsights("test", ContributorInsightsArgs.builder()        
- *             .tableName("ExampleTableName")
+ *         var test = new ContributorInsights("test", ContributorInsightsArgs.builder()        
+ *             .tableName("ExampleTableName")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/DynamodbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/DynamodbFunctions.java index 8990e98fb26..f36ffee7ee4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/DynamodbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/DynamodbFunctions.java @@ -23,7 +23,8 @@ public final class DynamodbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,12 +46,13 @@ public final class DynamodbFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var tableName = DynamodbFunctions.getTable(GetTableArgs.builder()
-     *             .name("tableName")
+     *             .name("tableName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getTable(GetTableArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -85,12 +88,13 @@ public static Output getTable(GetTableArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var tableName = DynamodbFunctions.getTable(GetTableArgs.builder()
-     *             .name("tableName")
+     *             .name("tableName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getTablePlain(GetTablePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getTablePlain(GetTablePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var tableName = DynamodbFunctions.getTable(GetTableArgs.builder()
-     *             .name("tableName")
+     *             .name("tableName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getTable(GetTableArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,12 +172,13 @@ public static Output getTable(GetTableArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var tableName = DynamodbFunctions.getTable(GetTableArgs.builder()
-     *             .name("tableName")
+     *             .name("tableName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -185,7 +193,8 @@ public static CompletableFuture getTablePlain(GetTablePlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -208,18 +217,19 @@ public static CompletableFuture getTablePlain(GetTablePlainArgs
      *     public static void stack(Context ctx) {
      *         final var test = DynamodbFunctions.getTableItem(GetTableItemArgs.builder()
      *             .tableName(example.name())
-     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
-     *             .projectionExpression("#P")
-     *             .key("""
+     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
+     *             .projectionExpression("#P")
+     *             .key("""
      * {
-     * 	"hashKey": {"S": "example"}
+     * 	"hashKey": {"S": "example"}
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -234,7 +244,8 @@ public static Output getTableItem(GetTableItemArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -257,18 +268,19 @@ public static Output getTableItem(GetTableItemArgs args) {
      *     public static void stack(Context ctx) {
      *         final var test = DynamodbFunctions.getTableItem(GetTableItemArgs.builder()
      *             .tableName(example.name())
-     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
-     *             .projectionExpression("#P")
-     *             .key("""
+     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
+     *             .projectionExpression("#P")
+     *             .key("""
      * {
-     * 	"hashKey": {"S": "example"}
+     * 	"hashKey": {"S": "example"}
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -283,7 +295,8 @@ public static CompletableFuture getTableItemPlain(GetTableIt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -306,18 +319,19 @@ public static CompletableFuture getTableItemPlain(GetTableIt
      *     public static void stack(Context ctx) {
      *         final var test = DynamodbFunctions.getTableItem(GetTableItemArgs.builder()
      *             .tableName(example.name())
-     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
-     *             .projectionExpression("#P")
-     *             .key("""
+     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
+     *             .projectionExpression("#P")
+     *             .key("""
      * {
-     * 	"hashKey": {"S": "example"}
+     * 	"hashKey": {"S": "example"}
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -332,7 +346,8 @@ public static Output getTableItem(GetTableItemArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -355,18 +370,19 @@ public static Output getTableItem(GetTableItemArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var test = DynamodbFunctions.getTableItem(GetTableItemArgs.builder()
      *             .tableName(example.name())
-     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
-     *             .projectionExpression("#P")
-     *             .key("""
+     *             .expressionAttributeNames(Map.of("#P", "Percentile"))
+     *             .projectionExpression("#P")
+     *             .key("""
      * {
-     * 	"hashKey": {"S": "example"}
+     * 	"hashKey": {"S": "example"}
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/GlobalTable.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/GlobalTable.java index 2c7c939b897..61f2bb75a6d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/GlobalTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/GlobalTable.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,40 +52,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var us_east_1 = new Table("us-east-1", TableArgs.builder()        
- *             .hashKey("myAttribute")
- *             .name("myTable")
+ *         var us_east_1 = new Table("us-east-1", TableArgs.builder()        
+ *             .hashKey("myAttribute")
+ *             .name("myTable")
  *             .streamEnabled(true)
- *             .streamViewType("NEW_AND_OLD_IMAGES")
+ *             .streamViewType("NEW_AND_OLD_IMAGES")
  *             .readCapacity(1)
  *             .writeCapacity(1)
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("myAttribute")
- *                 .type("S")
+ *                 .name("myAttribute")
+ *                 .type("S")
  *                 .build())
  *             .build());
  * 
- *         var us_west_2 = new Table("us-west-2", TableArgs.builder()        
- *             .hashKey("myAttribute")
- *             .name("myTable")
+ *         var us_west_2 = new Table("us-west-2", TableArgs.builder()        
+ *             .hashKey("myAttribute")
+ *             .name("myTable")
  *             .streamEnabled(true)
- *             .streamViewType("NEW_AND_OLD_IMAGES")
+ *             .streamViewType("NEW_AND_OLD_IMAGES")
  *             .readCapacity(1)
  *             .writeCapacity(1)
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("myAttribute")
- *                 .type("S")
+ *                 .name("myAttribute")
+ *                 .type("S")
  *                 .build())
  *             .build());
  * 
- *         var myTable = new GlobalTable("myTable", GlobalTableArgs.builder()        
- *             .name("myTable")
+ *         var myTable = new GlobalTable("myTable", GlobalTableArgs.builder()        
+ *             .name("myTable")
  *             .replicas(            
  *                 GlobalTableReplicaArgs.builder()
- *                     .regionName("us-east-1")
+ *                     .regionName("us-east-1")
  *                     .build(),
  *                 GlobalTableReplicaArgs.builder()
- *                     .regionName("us-west-2")
+ *                     .regionName("us-west-2")
  *                     .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
@@ -94,7 +95,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/KinesisStreamingDestination.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/KinesisStreamingDestination.java index 40915737bb3..33849023fdd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/KinesisStreamingDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/KinesisStreamingDestination.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,28 +46,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
- *             .name("orders")
- *             .hashKey("id")
+ *         var example = new Table("example", TableArgs.builder()        
+ *             .name("orders")
+ *             .hashKey("id")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("id")
- *                 .type("S")
+ *                 .name("id")
+ *                 .type("S")
  *                 .build())
  *             .build());
  * 
- *         var exampleStream = new Stream("exampleStream", StreamArgs.builder()        
- *             .name("order_item_changes")
+ *         var exampleStream = new Stream("exampleStream", StreamArgs.builder()        
+ *             .name("order_item_changes")
  *             .shardCount(1)
  *             .build());
  * 
- *         var exampleKinesisStreamingDestination = new KinesisStreamingDestination("exampleKinesisStreamingDestination", KinesisStreamingDestinationArgs.builder()        
+ *         var exampleKinesisStreamingDestination = new KinesisStreamingDestination("exampleKinesisStreamingDestination", KinesisStreamingDestinationArgs.builder()        
  *             .streamArn(exampleStream.arn())
  *             .tableName(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ResourcePolicy.java index db5a4943bd5..33a1e14f2a0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/ResourcePolicy.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .resourceArn(exampleAwsDynamodbTable.arn())
  *             .policy(test.json())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Table.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Table.java index 03cd4ce3b34..0398d7595a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Table.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Table.java @@ -49,7 +49,8 @@ * The following dynamodb table description models the table and GSI shown in the [AWS SDK example documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -73,48 +74,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var basic_dynamodb_table = new Table("basic-dynamodb-table", TableArgs.builder()        
- *             .name("GameScores")
- *             .billingMode("PROVISIONED")
+ *         var basic_dynamodb_table = new Table("basic-dynamodb-table", TableArgs.builder()        
+ *             .name("GameScores")
+ *             .billingMode("PROVISIONED")
  *             .readCapacity(20)
  *             .writeCapacity(20)
- *             .hashKey("UserId")
- *             .rangeKey("GameTitle")
+ *             .hashKey("UserId")
+ *             .rangeKey("GameTitle")
  *             .attributes(            
  *                 TableAttributeArgs.builder()
- *                     .name("UserId")
- *                     .type("S")
+ *                     .name("UserId")
+ *                     .type("S")
  *                     .build(),
  *                 TableAttributeArgs.builder()
- *                     .name("GameTitle")
- *                     .type("S")
+ *                     .name("GameTitle")
+ *                     .type("S")
  *                     .build(),
  *                 TableAttributeArgs.builder()
- *                     .name("TopScore")
- *                     .type("N")
+ *                     .name("TopScore")
+ *                     .type("N")
  *                     .build())
  *             .ttl(TableTtlArgs.builder()
- *                 .attributeName("TimeToExist")
+ *                 .attributeName("TimeToExist")
  *                 .enabled(false)
  *                 .build())
  *             .globalSecondaryIndexes(TableGlobalSecondaryIndexArgs.builder()
- *                 .name("GameTitleIndex")
- *                 .hashKey("GameTitle")
- *                 .rangeKey("TopScore")
+ *                 .name("GameTitleIndex")
+ *                 .hashKey("GameTitle")
+ *                 .rangeKey("TopScore")
  *                 .writeCapacity(10)
  *                 .readCapacity(10)
- *                 .projectionType("INCLUDE")
- *                 .nonKeyAttributes("UserId")
+ *                 .projectionType("INCLUDE")
+ *                 .nonKeyAttributes("UserId")
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "dynamodb-table-1"),
- *                 Map.entry("Environment", "production")
+ *                 Map.entry("Name", "dynamodb-table-1"),
+ *                 Map.entry("Environment", "production")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Global Tables @@ -124,7 +126,8 @@ * > **Note:** aws.dynamodb.TableReplica is an alternate way of configuring Global Tables. Do not use `replica` configuration blocks of `aws.dynamodb.Table` together with aws_dynamodb_table_replica. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -147,28 +150,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
- *             .name("example")
- *             .hashKey("TestTableHashKey")
- *             .billingMode("PAY_PER_REQUEST")
+ *         var example = new Table("example", TableArgs.builder()        
+ *             .name("example")
+ *             .hashKey("TestTableHashKey")
+ *             .billingMode("PAY_PER_REQUEST")
  *             .streamEnabled(true)
- *             .streamViewType("NEW_AND_OLD_IMAGES")
+ *             .streamViewType("NEW_AND_OLD_IMAGES")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("TestTableHashKey")
- *                 .type("S")
+ *                 .name("TestTableHashKey")
+ *                 .type("S")
  *                 .build())
  *             .replicas(            
  *                 TableReplicaArgs.builder()
- *                     .regionName("us-east-2")
+ *                     .regionName("us-east-2")
  *                     .build(),
  *                 TableReplicaArgs.builder()
- *                     .regionName("us-west-2")
+ *                     .regionName("us-west-2")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Replica Tagging @@ -176,7 +180,8 @@ * You can manage global table replicas' tags in various ways. This example shows using `replica.*.propagate_tags` for the first replica and the `aws.dynamodb.Tag` resource for the other. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -209,39 +214,40 @@
  * 
  *         final var third = AwsFunctions.getRegion();
  * 
- *         var example = new Table("example", TableArgs.builder()        
- *             .billingMode("PAY_PER_REQUEST")
- *             .hashKey("TestTableHashKey")
- *             .name("example-13281")
+ *         var example = new Table("example", TableArgs.builder()        
+ *             .billingMode("PAY_PER_REQUEST")
+ *             .hashKey("TestTableHashKey")
+ *             .name("example-13281")
  *             .streamEnabled(true)
- *             .streamViewType("NEW_AND_OLD_IMAGES")
+ *             .streamViewType("NEW_AND_OLD_IMAGES")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("TestTableHashKey")
- *                 .type("S")
+ *                 .name("TestTableHashKey")
+ *                 .type("S")
  *                 .build())
  *             .replicas(            
  *                 TableReplicaArgs.builder()
- *                     .regionName(alternate.applyValue(getRegionResult -> getRegionResult.name()))
+ *                     .regionName(alternate.applyValue(getRegionResult -> getRegionResult.name()))
  *                     .build(),
  *                 TableReplicaArgs.builder()
- *                     .regionName(third.applyValue(getRegionResult -> getRegionResult.name()))
+ *                     .regionName(third.applyValue(getRegionResult -> getRegionResult.name()))
  *                     .propagateTags(true)
  *                     .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Architect", "Eleanor"),
- *                 Map.entry("Zone", "SW")
+ *                 Map.entry("Architect", "Eleanor"),
+ *                 Map.entry("Zone", "SW")
  *             ))
  *             .build());
  * 
- *         var exampleTag = new Tag("exampleTag", TagArgs.builder()        
- *             .resourceArn(example.arn().applyValue(arn -> StdFunctions.replace()).applyValue(invoke -> invoke.result()))
- *             .key("Architect")
- *             .value("Gigi")
+ *         var exampleTag = new Tag("exampleTag", TagArgs.builder()        
+ *             .resourceArn(example.arn().applyValue(arn -> StdFunctions.replace()).applyValue(invoke -> invoke.result()))
+ *             .key("Architect")
+ *             .value("Gigi")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableExport.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableExport.java index e36e37098f0..0a75ab0cc0c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableExport.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableExport.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,38 +49,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucketPrefix("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucketPrefix("example")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var exampleTable = new Table("exampleTable", TableArgs.builder()        
- *             .name("example-table-1")
- *             .billingMode("PAY_PER_REQUEST")
- *             .hashKey("user_id")
+ *         var exampleTable = new Table("exampleTable", TableArgs.builder()        
+ *             .name("example-table-1")
+ *             .billingMode("PAY_PER_REQUEST")
+ *             .hashKey("user_id")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("user_id")
- *                 .type("S")
+ *                 .name("user_id")
+ *                 .type("S")
  *                 .build())
  *             .pointInTimeRecovery(TablePointInTimeRecoveryArgs.builder()
  *                 .enabled(true)
  *                 .build())
  *             .build());
  * 
- *         var exampleTableExport = new TableExport("exampleTableExport", TableExportArgs.builder()        
+ *         var exampleTableExport = new TableExport("exampleTableExport", TableExportArgs.builder()        
  *             .tableArn(exampleTable.arn())
  *             .s3Bucket(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with export time * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,15 +103,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TableExport("example", TableExportArgs.builder()        
- *             .exportTime("2023-04-02T11:30:13+01:00")
+ *         var example = new TableExport("example", TableExportArgs.builder()        
+ *             .exportTime("2023-04-02T11:30:13+01:00")
  *             .s3Bucket(exampleAwsS3Bucket.id())
  *             .tableArn(exampleAwsDynamodbTable.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableItem.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableItem.java index 9ab1ee86ef8..1563b403826 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableItem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableItem.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,34 +48,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleTable = new Table("exampleTable", TableArgs.builder()        
- *             .name("example-name")
+ *         var exampleTable = new Table("exampleTable", TableArgs.builder()        
+ *             .name("example-name")
  *             .readCapacity(10)
  *             .writeCapacity(10)
- *             .hashKey("exampleHashKey")
+ *             .hashKey("exampleHashKey")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("exampleHashKey")
- *                 .type("S")
+ *                 .name("exampleHashKey")
+ *                 .type("S")
  *                 .build())
  *             .build());
  * 
- *         var example = new TableItem("example", TableItemArgs.builder()        
+ *         var example = new TableItem("example", TableItemArgs.builder()        
  *             .tableName(exampleTable.name())
  *             .hashKey(exampleTable.hashKey())
- *             .item("""
+ *             .item("""
  * {
- *   "exampleHashKey": {"S": "something"},
- *   "one": {"N": "11111"},
- *   "two": {"N": "22222"},
- *   "three": {"N": "33333"},
- *   "four": {"N": "44444"}
+ *   "exampleHashKey": {"S": "something"},
+ *   "one": {"N": "11111"},
+ *   "two": {"N": "22222"},
+ *   "three": {"N": "33333"},
+ *   "four": {"N": "44444"}
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableReplica.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableReplica.java index e0799df265a..16e1ae1ac1a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableReplica.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/TableReplica.java @@ -28,7 +28,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,29 +53,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
- *             .name("TestTable")
- *             .hashKey("BrodoBaggins")
- *             .billingMode("PAY_PER_REQUEST")
+ *         var example = new Table("example", TableArgs.builder()        
+ *             .name("TestTable")
+ *             .hashKey("BrodoBaggins")
+ *             .billingMode("PAY_PER_REQUEST")
  *             .streamEnabled(true)
- *             .streamViewType("NEW_AND_OLD_IMAGES")
+ *             .streamViewType("NEW_AND_OLD_IMAGES")
  *             .attributes(TableAttributeArgs.builder()
- *                 .name("BrodoBaggins")
- *                 .type("S")
+ *                 .name("BrodoBaggins")
+ *                 .type("S")
  *                 .build())
  *             .build());
  * 
- *         var exampleTableReplica = new TableReplica("exampleTableReplica", TableReplicaArgs.builder()        
+ *         var exampleTableReplica = new TableReplica("exampleTableReplica", TableReplicaArgs.builder()        
  *             .globalTableArn(example.arn())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "IZPAWS"),
- *                 Map.entry("Pozo", "Amargo")
+ *                 Map.entry("Name", "IZPAWS"),
+ *                 Map.entry("Pozo", "Amargo")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Tag.java b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Tag.java index 46d5ceb9d00..52c4c4d613c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Tag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/dynamodb/Tag.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,21 +54,22 @@
  * 
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new Table("example", TableArgs.builder()        
+ *         var example = new Table("example", TableArgs.builder()        
  *             .replicas(TableReplicaArgs.builder()
- *                 .regionName(replica.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(replica.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var test = new Tag("test", TagArgs.builder()        
- *             .resourceArn(example.arn().applyValue(arn -> StdFunctions.replace()).applyValue(invoke -> invoke.result()))
- *             .key("testkey")
- *             .value("testvalue")
+ *         var test = new Tag("test", TagArgs.builder()        
+ *             .resourceArn(example.arn().applyValue(arn -> StdFunctions.replace()).applyValue(invoke -> invoke.result()))
+ *             .key("testkey")
+ *             .value("testvalue")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/DefaultKmsKey.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/DefaultKmsKey.java index 4d5cf816886..79f641db6ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/DefaultKmsKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/DefaultKmsKey.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,13 +48,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DefaultKmsKey("example", DefaultKmsKeyArgs.builder()        
+ *         var example = new DefaultKmsKey("example", DefaultKmsKeyArgs.builder()        
  *             .keyArn(exampleAwsKmsKey.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/EbsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/EbsFunctions.java index a99efa7d6c2..b55b1f82de5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/EbsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/EbsFunctions.java @@ -32,7 +32,8 @@ public final class EbsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -56,15 +57,16 @@ public final class EbsFunctions {
      *     public static void stack(Context ctx) {
      *         final var current = EbsFunctions.getDefaultKmsKey();
      * 
-     *         var example = new Volume("example", VolumeArgs.builder()        
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Volume("example", VolumeArgs.builder()        
+     *             .availabilityZone("us-west-2a")
      *             .encrypted(true)
-     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
+     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -77,7 +79,8 @@ public static Output getDefaultKmsKey() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -101,15 +104,16 @@ public static Output getDefaultKmsKey() {
      *     public static void stack(Context ctx) {
      *         final var current = EbsFunctions.getDefaultKmsKey();
      * 
-     *         var example = new Volume("example", VolumeArgs.builder()        
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Volume("example", VolumeArgs.builder()        
+     *             .availabilityZone("us-west-2a")
      *             .encrypted(true)
-     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
+     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -122,7 +126,8 @@ public static CompletableFuture getDefaultKmsKeyPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -146,15 +151,16 @@ public static CompletableFuture getDefaultKmsKeyPlain()
      *     public static void stack(Context ctx) {
      *         final var current = EbsFunctions.getDefaultKmsKey();
      * 
-     *         var example = new Volume("example", VolumeArgs.builder()        
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Volume("example", VolumeArgs.builder()        
+     *             .availabilityZone("us-west-2a")
      *             .encrypted(true)
-     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
+     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -167,7 +173,8 @@ public static Output getDefaultKmsKey(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -191,15 +198,16 @@ public static Output getDefaultKmsKey(InvokeArgs args) {
      *     public static void stack(Context ctx) {
      *         final var current = EbsFunctions.getDefaultKmsKey();
      * 
-     *         var example = new Volume("example", VolumeArgs.builder()        
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Volume("example", VolumeArgs.builder()        
+     *             .availabilityZone("us-west-2a")
      *             .encrypted(true)
-     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
+     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -212,7 +220,8 @@ public static CompletableFuture getDefaultKmsKeyPlain(In * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -236,15 +245,16 @@ public static CompletableFuture getDefaultKmsKeyPlain(In
      *     public static void stack(Context ctx) {
      *         final var current = EbsFunctions.getDefaultKmsKey();
      * 
-     *         var example = new Volume("example", VolumeArgs.builder()        
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Volume("example", VolumeArgs.builder()        
+     *             .availabilityZone("us-west-2a")
      *             .encrypted(true)
-     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
+     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -257,7 +267,8 @@ public static Output getDefaultKmsKey(InvokeArgs args, I * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -281,15 +292,16 @@ public static Output getDefaultKmsKey(InvokeArgs args, I
      *     public static void stack(Context ctx) {
      *         final var current = EbsFunctions.getDefaultKmsKey();
      * 
-     *         var example = new Volume("example", VolumeArgs.builder()        
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Volume("example", VolumeArgs.builder()        
+     *             .availabilityZone("us-west-2a")
      *             .encrypted(true)
-     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
+     *             .kmsKeyId(current.applyValue(getDefaultKmsKeyResult -> getDefaultKmsKeyResult.keyArn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -398,7 +410,8 @@ public static CompletableFuture getEbsVolumesPlain(GetEbsVo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -422,7 +435,8 @@ public static CompletableFuture getEbsVolumesPlain(GetEbsVo
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -435,7 +449,8 @@ public static Output getEncryptionByDefault() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -459,7 +474,8 @@ public static Output getEncryptionByDefault() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -472,7 +488,8 @@ public static CompletableFuture getEncryptionByDef * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -496,7 +513,8 @@ public static CompletableFuture getEncryptionByDef
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -509,7 +527,8 @@ public static Output getEncryptionByDefault(Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -533,7 +552,8 @@ public static Output getEncryptionByDefault(Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -546,7 +566,8 @@ public static CompletableFuture getEncryptionByDef * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -570,7 +591,8 @@ public static CompletableFuture getEncryptionByDef
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -583,7 +605,8 @@ public static Output getEncryptionByDefault(Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -607,7 +630,8 @@ public static Output getEncryptionByDefault(Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -620,7 +644,8 @@ public static CompletableFuture getEncryptionByDef * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -643,21 +668,22 @@ public static CompletableFuture getEncryptionByDef
      *     public static void stack(Context ctx) {
      *         final var ebsVolume = EbsFunctions.getSnapshot(GetSnapshotArgs.builder()
      *             .mostRecent(true)
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -670,7 +696,8 @@ public static Output getSnapshot() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -693,21 +720,22 @@ public static Output getSnapshot() {
      *     public static void stack(Context ctx) {
      *         final var ebsVolume = EbsFunctions.getSnapshot(GetSnapshotArgs.builder()
      *             .mostRecent(true)
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -720,7 +748,8 @@ public static CompletableFuture getSnapshotPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -743,21 +772,22 @@ public static CompletableFuture getSnapshotPlain() {
      *     public static void stack(Context ctx) {
      *         final var ebsVolume = EbsFunctions.getSnapshot(GetSnapshotArgs.builder()
      *             .mostRecent(true)
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -770,7 +800,8 @@ public static Output getSnapshot(GetSnapshotArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -793,21 +824,22 @@ public static Output getSnapshot(GetSnapshotArgs args) {
      *     public static void stack(Context ctx) {
      *         final var ebsVolume = EbsFunctions.getSnapshot(GetSnapshotArgs.builder()
      *             .mostRecent(true)
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -820,7 +852,8 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -843,21 +876,22 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      *     public static void stack(Context ctx) {
      *         final var ebsVolume = EbsFunctions.getSnapshot(GetSnapshotArgs.builder()
      *             .mostRecent(true)
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -870,7 +904,8 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -893,21 +928,22 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var ebsVolume = EbsFunctions.getSnapshot(GetSnapshotArgs.builder()
      *             .mostRecent(true)
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -921,7 +957,8 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -943,21 +980,22 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      * 
      *     public static void stack(Context ctx) {
      *         final var ebsVolumes = EbsFunctions.getSnapshotIds(GetSnapshotIdsArgs.builder()
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -971,7 +1009,8 @@ public static Output getSnapshotIds() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -993,21 +1032,22 @@ public static Output getSnapshotIds() {
      * 
      *     public static void stack(Context ctx) {
      *         final var ebsVolumes = EbsFunctions.getSnapshotIds(GetSnapshotIdsArgs.builder()
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1021,7 +1061,8 @@ public static CompletableFuture getSnapshotIdsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1043,21 +1084,22 @@ public static CompletableFuture getSnapshotIdsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var ebsVolumes = EbsFunctions.getSnapshotIds(GetSnapshotIdsArgs.builder()
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1071,7 +1113,8 @@ public static Output getSnapshotIds(GetSnapshotIdsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1093,21 +1136,22 @@ public static Output getSnapshotIds(GetSnapshotIdsArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var ebsVolumes = EbsFunctions.getSnapshotIds(GetSnapshotIdsArgs.builder()
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1121,7 +1165,8 @@ public static CompletableFuture getSnapshotIdsPlain(GetSna * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1143,21 +1188,22 @@ public static CompletableFuture getSnapshotIdsPlain(GetSna
      * 
      *     public static void stack(Context ctx) {
      *         final var ebsVolumes = EbsFunctions.getSnapshotIds(GetSnapshotIdsArgs.builder()
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1171,7 +1217,8 @@ public static Output getSnapshotIds(GetSnapshotIdsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1193,21 +1240,22 @@ public static Output getSnapshotIds(GetSnapshotIdsArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var ebsVolumes = EbsFunctions.getSnapshotIds(GetSnapshotIdsArgs.builder()
-     *             .owners("self")
+     *             .owners("self")
      *             .filters(            
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("volume-size")
-     *                     .values("40")
+     *                     .name("volume-size")
+     *                     .values("40")
      *                     .build(),
      *                 GetSnapshotIdsFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1221,7 +1269,8 @@ public static CompletableFuture getSnapshotIdsPlain(GetSna * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1246,18 +1295,19 @@ public static CompletableFuture getSnapshotIdsPlain(GetSna
      *             .mostRecent(true)
      *             .filters(            
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("volume-type")
-     *                     .values("gp2")
+     *                     .name("volume-type")
+     *                     .values("gp2")
      *                     .build(),
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1271,7 +1321,8 @@ public static Output getVolume() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1296,18 +1347,19 @@ public static Output getVolume() {
      *             .mostRecent(true)
      *             .filters(            
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("volume-type")
-     *                     .values("gp2")
+     *                     .name("volume-type")
+     *                     .values("gp2")
      *                     .build(),
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1321,7 +1373,8 @@ public static CompletableFuture getVolumePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1346,18 +1399,19 @@ public static CompletableFuture getVolumePlain() {
      *             .mostRecent(true)
      *             .filters(            
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("volume-type")
-     *                     .values("gp2")
+     *                     .name("volume-type")
+     *                     .values("gp2")
      *                     .build(),
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1371,7 +1425,8 @@ public static Output getVolume(GetVolumeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1396,18 +1451,19 @@ public static Output getVolume(GetVolumeArgs args) {
      *             .mostRecent(true)
      *             .filters(            
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("volume-type")
-     *                     .values("gp2")
+     *                     .name("volume-type")
+     *                     .values("gp2")
      *                     .build(),
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1421,7 +1477,8 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1446,18 +1503,19 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr
      *             .mostRecent(true)
      *             .filters(            
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("volume-type")
-     *                     .values("gp2")
+     *                     .name("volume-type")
+     *                     .values("gp2")
      *                     .build(),
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1471,7 +1529,8 @@ public static Output getVolume(GetVolumeArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1496,18 +1555,19 @@ public static Output getVolume(GetVolumeArgs args, InvokeOption
      *             .mostRecent(true)
      *             .filters(            
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("volume-type")
-     *                     .values("gp2")
+     *                     .name("volume-type")
+     *                     .values("gp2")
      *                     .build(),
      *                 GetVolumeFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("Example")
+     *                     .name("tag:Name")
+     *                     .values("Example")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/EncryptionByDefault.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/EncryptionByDefault.java index 1dd8b82eaeb..7ab4b3d5876 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/EncryptionByDefault.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/EncryptionByDefault.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EncryptionByDefault("example", EncryptionByDefaultArgs.builder()        
+ *         var example = new EncryptionByDefault("example", EncryptionByDefaultArgs.builder()        
  *             .enabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/FastSnapshotRestore.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/FastSnapshotRestore.java index 2b53d525c67..b91bb61cf80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/FastSnapshotRestore.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/FastSnapshotRestore.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FastSnapshotRestore("example", FastSnapshotRestoreArgs.builder()        
- *             .availabilityZone("us-west-2a")
+ *         var example = new FastSnapshotRestore("example", FastSnapshotRestoreArgs.builder()        
+ *             .availabilityZone("us-west-2a")
  *             .snapshotId(exampleAwsEbsSnapshot.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/Snapshot.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/Snapshot.java index d6208227bfd..7659825abcb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/Snapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/Snapshot.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Volume("example", VolumeArgs.builder()        
- *             .availabilityZone("us-west-2a")
+ *         var example = new Volume("example", VolumeArgs.builder()        
+ *             .availabilityZone("us-west-2a")
  *             .size(40)
- *             .tags(Map.of("Name", "HelloWorld"))
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
- *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
+ *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
  *             .volumeId(example.id())
- *             .tags(Map.of("Name", "HelloWorld_snap"))
+ *             .tags(Map.of("Name", "HelloWorld_snap"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotCopy.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotCopy.java index 6e723df4259..ead01d3bd4a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotCopy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotCopy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,26 +49,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Volume("example", VolumeArgs.builder()        
- *             .availabilityZone("us-west-2a")
+ *         var example = new Volume("example", VolumeArgs.builder()        
+ *             .availabilityZone("us-west-2a")
  *             .size(40)
- *             .tags(Map.of("Name", "HelloWorld"))
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
- *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
+ *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
  *             .volumeId(example.id())
- *             .tags(Map.of("Name", "HelloWorld_snap"))
+ *             .tags(Map.of("Name", "HelloWorld_snap"))
  *             .build());
  * 
- *         var exampleCopy = new SnapshotCopy("exampleCopy", SnapshotCopyArgs.builder()        
+ *         var exampleCopy = new SnapshotCopy("exampleCopy", SnapshotCopyArgs.builder()        
  *             .sourceSnapshotId(exampleSnapshot.id())
- *             .sourceRegion("us-west-2")
- *             .tags(Map.of("Name", "HelloWorld_copy_snap"))
+ *             .sourceRegion("us-west-2")
+ *             .tags(Map.of("Name", "HelloWorld_copy_snap"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotImport.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotImport.java index f661d73ea60..873b3f6961c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotImport.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/SnapshotImport.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,21 +49,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SnapshotImport("example", SnapshotImportArgs.builder()        
+ *         var example = new SnapshotImport("example", SnapshotImportArgs.builder()        
  *             .diskContainer(SnapshotImportDiskContainerArgs.builder()
- *                 .format("VHD")
+ *                 .format("VHD")
  *                 .userBucket(SnapshotImportDiskContainerUserBucketArgs.builder()
- *                     .s3Bucket("disk-images")
- *                     .s3Key("source.vhd")
+ *                     .s3Bucket("disk-images")
+ *                     .s3Key("source.vhd")
  *                     .build())
  *                 .build())
- *             .roleName("disk-image-import")
- *             .tags(Map.of("Name", "HelloWorld"))
+ *             .roleName("disk-image-import")
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/Volume.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/Volume.java index d7b5ad082fe..011497fdf1c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/Volume.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/Volume.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Volume("example", VolumeArgs.builder()        
- *             .availabilityZone("us-west-2a")
+ *         var example = new Volume("example", VolumeArgs.builder()        
+ *             .availabilityZone("us-west-2a")
  *             .size(40)
- *             .tags(Map.of("Name", "HelloWorld"))
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **NOTE:** At least one of `size` or `snapshot_id` is required when specifying an EBS volume diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilter.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilter.java index b873a534b03..a9170069363 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilter.java @@ -20,7 +20,8 @@ public final class GetEbsVolumesFilter extends com.pulumi.resources.InvokeArgs { * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -43,16 +44,17 @@ public final class GetEbsVolumesFilter extends com.pulumi.resources.InvokeArgs {
      *     public static void stack(Context ctx) {
      *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
      *             .filters(GetEbsVolumesFilterArgs.builder()
-     *                 .name("size")
+     *                 .name("size")
      *                 .values(                
-     *                     "10",
-     *                     "20")
+     *                     "10",
+     *                     "20")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -65,7 +67,8 @@ public final class GetEbsVolumesFilter extends com.pulumi.resources.InvokeArgs { * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -88,16 +91,17 @@ public final class GetEbsVolumesFilter extends com.pulumi.resources.InvokeArgs {
      *     public static void stack(Context ctx) {
      *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
      *             .filters(GetEbsVolumesFilterArgs.builder()
-     *                 .name("size")
+     *                 .name("size")
      *                 .values(                
-     *                     "10",
-     *                     "20")
+     *                     "10",
+     *                     "20")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -153,7 +157,8 @@ public Builder(GetEbsVolumesFilter defaults) { * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -176,16 +181,17 @@ public Builder(GetEbsVolumesFilter defaults) {
          *     public static void stack(Context ctx) {
          *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
          *             .filters(GetEbsVolumesFilterArgs.builder()
-         *                 .name("size")
+         *                 .name("size")
          *                 .values(                
-         *                     "10",
-         *                     "20")
+         *                     "10",
+         *                     "20")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilterArgs.java index d19008aad4c..5a49e00be4d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/inputs/GetEbsVolumesFilterArgs.java @@ -21,7 +21,8 @@ public final class GetEbsVolumesFilterArgs extends com.pulumi.resources.Resource * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,16 +45,17 @@ public final class GetEbsVolumesFilterArgs extends com.pulumi.resources.Resource
      *     public static void stack(Context ctx) {
      *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
      *             .filters(GetEbsVolumesFilterArgs.builder()
-     *                 .name("size")
+     *                 .name("size")
      *                 .values(                
-     *                     "10",
-     *                     "20")
+     *                     "10",
+     *                     "20")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ public final class GetEbsVolumesFilterArgs extends com.pulumi.resources.Resource * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,16 +92,17 @@ public final class GetEbsVolumesFilterArgs extends com.pulumi.resources.Resource
      *     public static void stack(Context ctx) {
      *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
      *             .filters(GetEbsVolumesFilterArgs.builder()
-     *                 .name("size")
+     *                 .name("size")
      *                 .values(                
-     *                     "10",
-     *                     "20")
+     *                     "10",
+     *                     "20")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -154,7 +158,8 @@ public Builder(GetEbsVolumesFilterArgs defaults) { * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -177,16 +182,17 @@ public Builder(GetEbsVolumesFilterArgs defaults) {
          *     public static void stack(Context ctx) {
          *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
          *             .filters(GetEbsVolumesFilterArgs.builder()
-         *                 .name("size")
+         *                 .name("size")
          *                 .values(                
-         *                     "10",
-         *                     "20")
+         *                     "10",
+         *                     "20")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -203,7 +209,8 @@ public Builder name(Output name) { * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -226,16 +233,17 @@ public Builder name(Output name) {
          *     public static void stack(Context ctx) {
          *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
          *             .filters(GetEbsVolumesFilterArgs.builder()
-         *                 .name("size")
+         *                 .name("size")
          *                 .values(                
-         *                     "10",
-         *                     "20")
+         *                     "10",
+         *                     "20")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/ebs/outputs/GetEbsVolumesFilter.java b/sdk/java/src/main/java/com/pulumi/aws/ebs/outputs/GetEbsVolumesFilter.java index 4c09cc3a53c..7da46eadf8a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ebs/outputs/GetEbsVolumesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ebs/outputs/GetEbsVolumesFilter.java @@ -17,7 +17,8 @@ public final class GetEbsVolumesFilter { * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -40,16 +41,17 @@ public final class GetEbsVolumesFilter {
      *     public static void stack(Context ctx) {
      *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
      *             .filters(GetEbsVolumesFilterArgs.builder()
-     *                 .name("size")
+     *                 .name("size")
      *                 .values(                
-     *                     "10",
-     *                     "20")
+     *                     "10",
+     *                     "20")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -68,7 +70,8 @@ private GetEbsVolumesFilter() {} * For example, if matching against the `size` filter, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,16 +94,17 @@ private GetEbsVolumesFilter() {}
      *     public static void stack(Context ctx) {
      *         final var tenOrTwentyGbVolumes = EbsFunctions.getEbsVolumes(GetEbsVolumesArgs.builder()
      *             .filters(GetEbsVolumesFilterArgs.builder()
-     *                 .name("size")
+     *                 .name("size")
      *                 .values(                
-     *                     "10",
-     *                     "20")
+     *                     "10",
+     *                     "20")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Ami.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Ami.java index 00b9e321ecb..a2d9664e365 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Ami.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Ami.java @@ -32,7 +32,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,22 +57,23 @@
  *     public static void stack(Context ctx) {
  *         // Create an AMI that will start a machine whose root device is backed by
  *         // an EBS volume populated from a snapshot. We assume that such a snapshot
- *         // already exists with the id "snap-xxxxxxxx".
- *         var example = new Ami("example", AmiArgs.builder()        
- *             .name("example")
- *             .virtualizationType("hvm")
- *             .rootDeviceName("/dev/xvda")
- *             .imdsSupport("v2.0")
+ *         // already exists with the id "snap-xxxxxxxx".
+ *         var example = new Ami("example", AmiArgs.builder()        
+ *             .name("example")
+ *             .virtualizationType("hvm")
+ *             .rootDeviceName("/dev/xvda")
+ *             .imdsSupport("v2.0")
  *             .ebsBlockDevices(AmiEbsBlockDeviceArgs.builder()
- *                 .deviceName("/dev/xvda")
- *                 .snapshotId("snap-xxxxxxxx")
+ *                 .deviceName("/dev/xvda")
+ *                 .snapshotId("snap-xxxxxxxx")
  *                 .volumeSize(8)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiCopy.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiCopy.java index a460eb952c1..806bb93f8c2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiCopy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiCopy.java @@ -35,7 +35,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,17 +57,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AmiCopy("example", AmiCopyArgs.builder()        
- *             .name("example")
- *             .description("A copy of ami-xxxxxxxx")
- *             .sourceAmiId("ami-xxxxxxxx")
- *             .sourceAmiRegion("us-west-1")
- *             .tags(Map.of("Name", "HelloWorld"))
+ *         var example = new AmiCopy("example", AmiCopyArgs.builder()        
+ *             .name("example")
+ *             .description("A copy of ami-xxxxxxxx")
+ *             .sourceAmiId("ami-xxxxxxxx")
+ *             .sourceAmiRegion("us-west-1")
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiFromInstance.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiFromInstance.java index 17c79dba7a3..63c8924b3be 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiFromInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiFromInstance.java @@ -41,7 +41,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -62,14 +63,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AmiFromInstance("example", AmiFromInstanceArgs.builder()        
- *             .name("example")
- *             .sourceInstanceId("i-xxxxxxxx")
+ *         var example = new AmiFromInstance("example", AmiFromInstanceArgs.builder()        
+ *             .name("example")
+ *             .sourceInstanceId("i-xxxxxxxx")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiLaunchPermission.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiLaunchPermission.java index 1f40e27e70e..bbbf79c696c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiLaunchPermission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/AmiLaunchPermission.java @@ -22,7 +22,8 @@ * ### AWS Account ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,20 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AmiLaunchPermission("example", AmiLaunchPermissionArgs.builder()        
- *             .imageId("ami-12345678")
- *             .accountId("123456789012")
+ *         var example = new AmiLaunchPermission("example", AmiLaunchPermissionArgs.builder()        
+ *             .imageId("ami-12345678")
+ *             .accountId("123456789012")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Public Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,20 +80,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AmiLaunchPermission("example", AmiLaunchPermissionArgs.builder()        
- *             .imageId("ami-12345678")
- *             .group("all")
+ *         var example = new AmiLaunchPermission("example", AmiLaunchPermissionArgs.builder()        
+ *             .imageId("ami-12345678")
+ *             .group("all")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -114,14 +119,15 @@
  *     public static void stack(Context ctx) {
  *         final var current = OrganizationsFunctions.getOrganization();
  * 
- *         var example = new AmiLaunchPermission("example", AmiLaunchPermissionArgs.builder()        
- *             .imageId("ami-12345678")
- *             .organizationArn(current.applyValue(getOrganizationResult -> getOrganizationResult.arn()))
+ *         var example = new AmiLaunchPermission("example", AmiLaunchPermissionArgs.builder()        
+ *             .imageId("ami-12345678")
+ *             .organizationArn(current.applyValue(getOrganizationResult -> getOrganizationResult.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/AvailabilityZoneGroup.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/AvailabilityZoneGroup.java index 870fa69123c..5ee0ca27ed5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/AvailabilityZoneGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/AvailabilityZoneGroup.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AvailabilityZoneGroup("example", AvailabilityZoneGroupArgs.builder()        
- *             .groupName("us-west-2-lax-1")
- *             .optInStatus("opted-in")
+ *         var example = new AvailabilityZoneGroup("example", AvailabilityZoneGroupArgs.builder()        
+ *             .groupName("us-west-2-lax-1")
+ *             .optInStatus("opted-in")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/CapacityReservation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/CapacityReservation.java index 126ff134fbe..5a434aa3f7e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/CapacityReservation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/CapacityReservation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new CapacityReservation("default", CapacityReservationArgs.builder()        
- *             .instanceType("t2.micro")
- *             .instancePlatform("Linux/UNIX")
- *             .availabilityZone("eu-west-1a")
+ *         var default_ = new CapacityReservation("default", CapacityReservationArgs.builder()        
+ *             .instanceType("t2.micro")
+ *             .instancePlatform("Linux/UNIX")
+ *             .availabilityZone("eu-west-1a")
  *             .instanceCount(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/CarrierGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/CarrierGateway.java index 0a916dbeaae..eac97738d4b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/CarrierGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/CarrierGateway.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CarrierGateway("example", CarrierGatewayArgs.builder()        
+ *         var example = new CarrierGateway("example", CarrierGatewayArgs.builder()        
  *             .vpcId(exampleAwsVpc.id())
- *             .tags(Map.of("Name", "example-carrier-gateway"))
+ *             .tags(Map.of("Name", "example-carrier-gateway"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/CustomerGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/CustomerGateway.java index 2f067a8ddd4..ab38bf55f8b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/CustomerGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/CustomerGateway.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new CustomerGateway("main", CustomerGatewayArgs.builder()        
+ *         var main = new CustomerGateway("main", CustomerGatewayArgs.builder()        
  *             .bgpAsn(65000)
- *             .ipAddress("172.83.124.10")
- *             .type("ipsec.1")
- *             .tags(Map.of("Name", "main-customer-gateway"))
+ *             .ipAddress("172.83.124.10")
+ *             .type("ipsec.1")
+ *             .tags(Map.of("Name", "main-customer-gateway"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/DedicatedHost.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/DedicatedHost.java index 928a35ee58c..7b0f06f150b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/DedicatedHost.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/DedicatedHost.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     public static void stack(Context ctx) {
  *         // Create a new host with instance type of c5.18xlarge with Auto Placement
  *         // and Host Recovery enabled.
- *         var test = new DedicatedHost("test", DedicatedHostArgs.builder()        
- *             .instanceType("c5.18xlarge")
- *             .availabilityZone("us-west-2a")
- *             .hostRecovery("on")
- *             .autoPlacement("on")
+ *         var test = new DedicatedHost("test", DedicatedHostArgs.builder()        
+ *             .instanceType("c5.18xlarge")
+ *             .availabilityZone("us-west-2a")
+ *             .hostRecovery("on")
+ *             .autoPlacement("on")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultNetworkAcl.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultNetworkAcl.java index 297dbb2232e..34725fe916d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultNetworkAcl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultNetworkAcl.java @@ -50,7 +50,8 @@ * This config denies all traffic in the Default ACL. This can be useful if you want to lock down the VPC to force all resources to assign a non-default ACL. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -73,17 +74,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mainvpc = new Vpc("mainvpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var mainvpc = new Vpc("mainvpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var default_ = new DefaultNetworkAcl("default", DefaultNetworkAclArgs.builder()        
+ *         var default_ = new DefaultNetworkAcl("default", DefaultNetworkAclArgs.builder()        
  *             .defaultNetworkAclId(mainvpc.defaultNetworkAclId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Managing Subnets In A Default Network ACL @@ -97,7 +99,8 @@ * As an alternative to the above, you can also specify the following lifecycle configuration in your `aws.ec2.DefaultNetworkAcl` resource: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,11 +120,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new DefaultNetworkAcl("default");
+ *         var default_ = new DefaultNetworkAcl("default");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Removing `aws.ec2.DefaultNetworkAcl` From Your Configuration diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultRouteTable.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultRouteTable.java index dc70030b0fc..58344d983e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultRouteTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultRouteTable.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,29 +52,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DefaultRouteTable("example", DefaultRouteTableArgs.builder()        
+ *         var example = new DefaultRouteTable("example", DefaultRouteTableArgs.builder()        
  *             .defaultRouteTableId(exampleAwsVpc.defaultRouteTableId())
  *             .routes(            
  *                 DefaultRouteTableRouteArgs.builder()
- *                     .cidrBlock("10.0.1.0/24")
+ *                     .cidrBlock("10.0.1.0/24")
  *                     .gatewayId(exampleAwsInternetGateway.id())
  *                     .build(),
  *                 DefaultRouteTableRouteArgs.builder()
- *                     .ipv6CidrBlock("::/0")
+ *                     .ipv6CidrBlock("::/0")
  *                     .egressOnlyGatewayId(exampleAwsEgressOnlyInternetGateway.id())
  *                     .build())
- *             .tags(Map.of("Name", "example"))
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * To subsequently remove all managed routes: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,15 +97,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DefaultRouteTable("example", DefaultRouteTableArgs.builder()        
+ *         var example = new DefaultRouteTable("example", DefaultRouteTableArgs.builder()        
  *             .defaultRouteTableId(exampleAwsVpc.defaultRouteTableId())
  *             .routes()
- *             .tags(Map.of("Name", "example"))
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultSubnet.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultSubnet.java index 1002a61d882..9f039049f33 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultSubnet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultSubnet.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,14 +52,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var defaultAz1 = new DefaultSubnet("defaultAz1", DefaultSubnetArgs.builder()        
- *             .availabilityZone("us-west-2a")
- *             .tags(Map.of("Name", "Default subnet for us-west-2a"))
+ *         var defaultAz1 = new DefaultSubnet("defaultAz1", DefaultSubnetArgs.builder()        
+ *             .availabilityZone("us-west-2a")
+ *             .tags(Map.of("Name", "Default subnet for us-west-2a"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpc.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpc.java index af577267bc1..0b61914e101 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpc.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpc.java @@ -35,7 +35,8 @@ * Basic usage with tags: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,13 +57,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new DefaultVpc("default", DefaultVpcArgs.builder()        
- *             .tags(Map.of("Name", "Default VPC"))
+ *         var default_ = new DefaultVpc("default", DefaultVpcArgs.builder()        
+ *             .tags(Map.of("Name", "Default VPC"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpcDhcpOptions.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpcDhcpOptions.java index 2c6ebbfc6aa..facfa2d0306 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpcDhcpOptions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/DefaultVpcDhcpOptions.java @@ -32,7 +32,8 @@ * Basic usage with tags: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,13 +54,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new DefaultVpcDhcpOptions("default", DefaultVpcDhcpOptionsArgs.builder()        
- *             .tags(Map.of("Name", "Default DHCP Option Set"))
+ *         var default_ = new DefaultVpcDhcpOptions("default", DefaultVpcDhcpOptionsArgs.builder()        
+ *             .tags(Map.of("Name", "Default DHCP Option Set"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Ec2Functions.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Ec2Functions.java index 28d05c18ba0..837caecd9a0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Ec2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Ec2Functions.java @@ -203,7 +203,8 @@ public final class Ec2Functions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -225,28 +226,29 @@ public final class Ec2Functions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
-     *             .executableUsers("self")
+     *             .executableUsers("self")
      *             .mostRecent(true)
-     *             .nameRegex("^myami-\\d{3}")
-     *             .owners("self")
+     *             .nameRegex("^myami-\\d{3}")
+     *             .owners("self")
      *             .filters(            
      *                 GetAmiFilterArgs.builder()
-     *                     .name("name")
-     *                     .values("myami-*")
+     *                     .name("name")
+     *                     .values("myami-*")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("root-device-type")
-     *                     .values("ebs")
+     *                     .name("root-device-type")
+     *                     .values("ebs")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("virtualization-type")
-     *                     .values("hvm")
+     *                     .name("virtualization-type")
+     *                     .values("hvm")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -260,7 +262,8 @@ public static Output getAmi() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -282,28 +285,29 @@ public static Output getAmi() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
-     *             .executableUsers("self")
+     *             .executableUsers("self")
      *             .mostRecent(true)
-     *             .nameRegex("^myami-\\d{3}")
-     *             .owners("self")
+     *             .nameRegex("^myami-\\d{3}")
+     *             .owners("self")
      *             .filters(            
      *                 GetAmiFilterArgs.builder()
-     *                     .name("name")
-     *                     .values("myami-*")
+     *                     .name("name")
+     *                     .values("myami-*")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("root-device-type")
-     *                     .values("ebs")
+     *                     .name("root-device-type")
+     *                     .values("ebs")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("virtualization-type")
-     *                     .values("hvm")
+     *                     .name("virtualization-type")
+     *                     .values("hvm")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -317,7 +321,8 @@ public static CompletableFuture getAmiPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -339,28 +344,29 @@ public static CompletableFuture getAmiPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
-     *             .executableUsers("self")
+     *             .executableUsers("self")
      *             .mostRecent(true)
-     *             .nameRegex("^myami-\\d{3}")
-     *             .owners("self")
+     *             .nameRegex("^myami-\\d{3}")
+     *             .owners("self")
      *             .filters(            
      *                 GetAmiFilterArgs.builder()
-     *                     .name("name")
-     *                     .values("myami-*")
+     *                     .name("name")
+     *                     .values("myami-*")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("root-device-type")
-     *                     .values("ebs")
+     *                     .name("root-device-type")
+     *                     .values("ebs")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("virtualization-type")
-     *                     .values("hvm")
+     *                     .name("virtualization-type")
+     *                     .values("hvm")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -374,7 +380,8 @@ public static Output getAmi(GetAmiArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -396,28 +403,29 @@ public static Output getAmi(GetAmiArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
-     *             .executableUsers("self")
+     *             .executableUsers("self")
      *             .mostRecent(true)
-     *             .nameRegex("^myami-\\d{3}")
-     *             .owners("self")
+     *             .nameRegex("^myami-\\d{3}")
+     *             .owners("self")
      *             .filters(            
      *                 GetAmiFilterArgs.builder()
-     *                     .name("name")
-     *                     .values("myami-*")
+     *                     .name("name")
+     *                     .values("myami-*")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("root-device-type")
-     *                     .values("ebs")
+     *                     .name("root-device-type")
+     *                     .values("ebs")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("virtualization-type")
-     *                     .values("hvm")
+     *                     .name("virtualization-type")
+     *                     .values("hvm")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -431,7 +439,8 @@ public static CompletableFuture getAmiPlain(GetAmiPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -453,28 +462,29 @@ public static CompletableFuture getAmiPlain(GetAmiPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
-     *             .executableUsers("self")
+     *             .executableUsers("self")
      *             .mostRecent(true)
-     *             .nameRegex("^myami-\\d{3}")
-     *             .owners("self")
+     *             .nameRegex("^myami-\\d{3}")
+     *             .owners("self")
      *             .filters(            
      *                 GetAmiFilterArgs.builder()
-     *                     .name("name")
-     *                     .values("myami-*")
+     *                     .name("name")
+     *                     .values("myami-*")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("root-device-type")
-     *                     .values("ebs")
+     *                     .name("root-device-type")
+     *                     .values("ebs")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("virtualization-type")
-     *                     .values("hvm")
+     *                     .name("virtualization-type")
+     *                     .values("hvm")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -488,7 +498,8 @@ public static Output getAmi(GetAmiArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -510,28 +521,29 @@ public static Output getAmi(GetAmiArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
-     *             .executableUsers("self")
+     *             .executableUsers("self")
      *             .mostRecent(true)
-     *             .nameRegex("^myami-\\d{3}")
-     *             .owners("self")
+     *             .nameRegex("^myami-\\d{3}")
+     *             .owners("self")
      *             .filters(            
      *                 GetAmiFilterArgs.builder()
-     *                     .name("name")
-     *                     .values("myami-*")
+     *                     .name("name")
+     *                     .values("myami-*")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("root-device-type")
-     *                     .values("ebs")
+     *                     .name("root-device-type")
+     *                     .values("ebs")
      *                     .build(),
      *                 GetAmiFilterArgs.builder()
-     *                     .name("virtualization-type")
-     *                     .values("hvm")
+     *                     .name("virtualization-type")
+     *                     .values("hvm")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -544,7 +556,8 @@ public static CompletableFuture getAmiPlain(GetAmiPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -566,16 +579,17 @@ public static CompletableFuture getAmiPlain(GetAmiPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getAmiIds(GetAmiIdsArgs.builder()
-     *             .owners("099720109477")
+     *             .owners("099720109477")
      *             .filters(GetAmiIdsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
+     *                 .name("name")
+     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -588,7 +602,8 @@ public static Output getAmiIds(GetAmiIdsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -610,16 +625,17 @@ public static Output getAmiIds(GetAmiIdsArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getAmiIds(GetAmiIdsArgs.builder()
-     *             .owners("099720109477")
+     *             .owners("099720109477")
      *             .filters(GetAmiIdsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
+     *                 .name("name")
+     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -632,7 +648,8 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -654,16 +671,17 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getAmiIds(GetAmiIdsArgs.builder()
-     *             .owners("099720109477")
+     *             .owners("099720109477")
      *             .filters(GetAmiIdsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
+     *                 .name("name")
+     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -676,7 +694,8 @@ public static Output getAmiIds(GetAmiIdsArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -698,16 +717,17 @@ public static Output getAmiIds(GetAmiIdsArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getAmiIds(GetAmiIdsArgs.builder()
-     *             .owners("099720109477")
+     *             .owners("099720109477")
      *             .filters(GetAmiIdsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
+     *                 .name("name")
+     *                 .values("ubuntu/images/ubuntu-*-*-amd64-server-*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -726,7 +746,8 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr * The following example returns a specific coip pool ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -748,14 +769,15 @@ public static CompletableFuture getAmiIdsPlain(GetAmiIdsPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var coipPoolId = config.get("coipPoolId");
+     *         final var coipPoolId = config.get("coipPoolId");
      *         final var selected = Ec2Functions.getCoipPool(GetCoipPoolArgs.builder()
      *             .id(coipPoolId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -774,7 +796,8 @@ public static Output getCoipPool() { * The following example returns a specific coip pool ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -796,14 +819,15 @@ public static Output getCoipPool() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var coipPoolId = config.get("coipPoolId");
+     *         final var coipPoolId = config.get("coipPoolId");
      *         final var selected = Ec2Functions.getCoipPool(GetCoipPoolArgs.builder()
      *             .id(coipPoolId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -822,7 +846,8 @@ public static CompletableFuture getCoipPoolPlain() { * The following example returns a specific coip pool ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -844,14 +869,15 @@ public static CompletableFuture getCoipPoolPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var coipPoolId = config.get("coipPoolId");
+     *         final var coipPoolId = config.get("coipPoolId");
      *         final var selected = Ec2Functions.getCoipPool(GetCoipPoolArgs.builder()
      *             .id(coipPoolId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -870,7 +896,8 @@ public static Output getCoipPool(GetCoipPoolArgs args) { * The following example returns a specific coip pool ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -892,14 +919,15 @@ public static Output getCoipPool(GetCoipPoolArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var coipPoolId = config.get("coipPoolId");
+     *         final var coipPoolId = config.get("coipPoolId");
      *         final var selected = Ec2Functions.getCoipPool(GetCoipPoolArgs.builder()
      *             .id(coipPoolId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -918,7 +946,8 @@ public static CompletableFuture getCoipPoolPlain(GetCoipPoolP * The following example returns a specific coip pool ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -940,14 +969,15 @@ public static CompletableFuture getCoipPoolPlain(GetCoipPoolP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var coipPoolId = config.get("coipPoolId");
+     *         final var coipPoolId = config.get("coipPoolId");
      *         final var selected = Ec2Functions.getCoipPool(GetCoipPoolArgs.builder()
      *             .id(coipPoolId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -966,7 +996,8 @@ public static Output getCoipPool(GetCoipPoolArgs args, Invoke * The following example returns a specific coip pool ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -988,14 +1019,15 @@ public static Output getCoipPool(GetCoipPoolArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var coipPoolId = config.get("coipPoolId");
+     *         final var coipPoolId = config.get("coipPoolId");
      *         final var selected = Ec2Functions.getCoipPool(GetCoipPoolArgs.builder()
      *             .id(coipPoolId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1050,7 +1082,8 @@ public static CompletableFuture getCoipPoolsPlain(GetCoipPoo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1077,26 +1110,27 @@ public static CompletableFuture getCoipPoolsPlain(GetCoipPoo
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getCustomerGateway(GetCustomerGatewayArgs.builder()
      *             .filters(GetCustomerGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("foo-prod")
+     *                 .name("tag:Name")
+     *                 .values("foo-prod")
      *                 .build())
      *             .build());
      * 
-     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
+     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
      *             .vpcId(mainAwsVpc.id())
      *             .amazonSideAsn(7224)
      *             .build());
      * 
-     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
+     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
      *             .vpnGatewayId(main.id())
-     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
-     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
+     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
+     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
      *             .staticRoutesOnly(false)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1109,7 +1143,8 @@ public static Output getCustomerGateway() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1136,26 +1171,27 @@ public static Output getCustomerGateway() {
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getCustomerGateway(GetCustomerGatewayArgs.builder()
      *             .filters(GetCustomerGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("foo-prod")
+     *                 .name("tag:Name")
+     *                 .values("foo-prod")
      *                 .build())
      *             .build());
      * 
-     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
+     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
      *             .vpcId(mainAwsVpc.id())
      *             .amazonSideAsn(7224)
      *             .build());
      * 
-     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
+     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
      *             .vpnGatewayId(main.id())
-     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
-     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
+     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
+     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
      *             .staticRoutesOnly(false)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1168,7 +1204,8 @@ public static CompletableFuture getCustomerGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1195,26 +1232,27 @@ public static CompletableFuture getCustomerGatewayPlai
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getCustomerGateway(GetCustomerGatewayArgs.builder()
      *             .filters(GetCustomerGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("foo-prod")
+     *                 .name("tag:Name")
+     *                 .values("foo-prod")
      *                 .build())
      *             .build());
      * 
-     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
+     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
      *             .vpcId(mainAwsVpc.id())
      *             .amazonSideAsn(7224)
      *             .build());
      * 
-     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
+     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
      *             .vpnGatewayId(main.id())
-     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
-     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
+     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
+     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
      *             .staticRoutesOnly(false)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1227,7 +1265,8 @@ public static Output getCustomerGateway(GetCustomerGat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1254,26 +1293,27 @@ public static Output getCustomerGateway(GetCustomerGat
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getCustomerGateway(GetCustomerGatewayArgs.builder()
      *             .filters(GetCustomerGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("foo-prod")
+     *                 .name("tag:Name")
+     *                 .values("foo-prod")
      *                 .build())
      *             .build());
      * 
-     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
+     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
      *             .vpcId(mainAwsVpc.id())
      *             .amazonSideAsn(7224)
      *             .build());
      * 
-     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
+     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
      *             .vpnGatewayId(main.id())
-     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
-     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
+     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
+     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
      *             .staticRoutesOnly(false)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1286,7 +1326,8 @@ public static CompletableFuture getCustomerGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1313,26 +1354,27 @@ public static CompletableFuture getCustomerGatewayPlai
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getCustomerGateway(GetCustomerGatewayArgs.builder()
      *             .filters(GetCustomerGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("foo-prod")
+     *                 .name("tag:Name")
+     *                 .values("foo-prod")
      *                 .build())
      *             .build());
      * 
-     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
+     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
      *             .vpcId(mainAwsVpc.id())
      *             .amazonSideAsn(7224)
      *             .build());
      * 
-     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
+     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
      *             .vpnGatewayId(main.id())
-     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
-     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
+     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
+     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
      *             .staticRoutesOnly(false)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1345,7 +1387,8 @@ public static Output getCustomerGateway(GetCustomerGat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1372,26 +1415,27 @@ public static Output getCustomerGateway(GetCustomerGat
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getCustomerGateway(GetCustomerGatewayArgs.builder()
      *             .filters(GetCustomerGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("foo-prod")
+     *                 .name("tag:Name")
+     *                 .values("foo-prod")
      *                 .build())
      *             .build());
      * 
-     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
+     *         var main = new VpnGateway("main", VpnGatewayArgs.builder()        
      *             .vpcId(mainAwsVpc.id())
      *             .amazonSideAsn(7224)
      *             .build());
      * 
-     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
+     *         var transit = new VpnConnection("transit", VpnConnectionArgs.builder()        
      *             .vpnGatewayId(main.id())
-     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
-     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
+     *             .customerGatewayId(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.id()))
+     *             .type(foo.applyValue(getCustomerGatewayResult -> getCustomerGatewayResult.type()))
      *             .staticRoutesOnly(false)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1404,7 +1448,8 @@ public static CompletableFuture getCustomerGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1427,9 +1472,9 @@ public static CompletableFuture getCustomerGatewayPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
-     *             .instanceType("c5.18xlarge")
-     *             .availabilityZone("us-west-2a")
+     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
+     *             .instanceType("c5.18xlarge")
+     *             .availabilityZone("us-west-2a")
      *             .build());
      * 
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
@@ -1438,13 +1483,15 @@ public static CompletableFuture getCustomerGatewayPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1467,14 +1514,15 @@ public static CompletableFuture getCustomerGatewayPlai
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
      *             .filters(GetDedicatedHostFilterArgs.builder()
-     *                 .name("instance-type")
-     *                 .values("c5.18xlarge")
+     *                 .name("instance-type")
+     *                 .values("c5.18xlarge")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1487,7 +1535,8 @@ public static Output getDedicatedHost() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1510,9 +1559,9 @@ public static Output getDedicatedHost() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
-     *             .instanceType("c5.18xlarge")
-     *             .availabilityZone("us-west-2a")
+     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
+     *             .instanceType("c5.18xlarge")
+     *             .availabilityZone("us-west-2a")
      *             .build());
      * 
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
@@ -1521,13 +1570,15 @@ public static Output getDedicatedHost() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1550,14 +1601,15 @@ public static Output getDedicatedHost() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
      *             .filters(GetDedicatedHostFilterArgs.builder()
-     *                 .name("instance-type")
-     *                 .values("c5.18xlarge")
+     *                 .name("instance-type")
+     *                 .values("c5.18xlarge")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1570,7 +1622,8 @@ public static CompletableFuture getDedicatedHostPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1593,9 +1646,9 @@ public static CompletableFuture getDedicatedHostPlain()
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
-     *             .instanceType("c5.18xlarge")
-     *             .availabilityZone("us-west-2a")
+     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
+     *             .instanceType("c5.18xlarge")
+     *             .availabilityZone("us-west-2a")
      *             .build());
      * 
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
@@ -1604,13 +1657,15 @@ public static CompletableFuture getDedicatedHostPlain()
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1633,14 +1688,15 @@ public static CompletableFuture getDedicatedHostPlain()
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
      *             .filters(GetDedicatedHostFilterArgs.builder()
-     *                 .name("instance-type")
-     *                 .values("c5.18xlarge")
+     *                 .name("instance-type")
+     *                 .values("c5.18xlarge")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1653,7 +1709,8 @@ public static Output getDedicatedHost(GetDedicatedHostAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1676,9 +1733,9 @@ public static Output getDedicatedHost(GetDedicatedHostAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
-     *             .instanceType("c5.18xlarge")
-     *             .availabilityZone("us-west-2a")
+     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
+     *             .instanceType("c5.18xlarge")
+     *             .availabilityZone("us-west-2a")
      *             .build());
      * 
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
@@ -1687,13 +1744,15 @@ public static Output getDedicatedHost(GetDedicatedHostAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1716,14 +1775,15 @@ public static Output getDedicatedHost(GetDedicatedHostAr
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
      *             .filters(GetDedicatedHostFilterArgs.builder()
-     *                 .name("instance-type")
-     *                 .values("c5.18xlarge")
+     *                 .name("instance-type")
+     *                 .values("c5.18xlarge")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1736,7 +1796,8 @@ public static CompletableFuture getDedicatedHostPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1759,9 +1820,9 @@ public static CompletableFuture getDedicatedHostPlain(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
-     *             .instanceType("c5.18xlarge")
-     *             .availabilityZone("us-west-2a")
+     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
+     *             .instanceType("c5.18xlarge")
+     *             .availabilityZone("us-west-2a")
      *             .build());
      * 
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
@@ -1770,13 +1831,15 @@ public static CompletableFuture getDedicatedHostPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1799,14 +1862,15 @@ public static CompletableFuture getDedicatedHostPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
      *             .filters(GetDedicatedHostFilterArgs.builder()
-     *                 .name("instance-type")
-     *                 .values("c5.18xlarge")
+     *                 .name("instance-type")
+     *                 .values("c5.18xlarge")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1819,7 +1883,8 @@ public static Output getDedicatedHost(GetDedicatedHostAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1842,9 +1907,9 @@ public static Output getDedicatedHost(GetDedicatedHostAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
-     *             .instanceType("c5.18xlarge")
-     *             .availabilityZone("us-west-2a")
+     *         var testDedicatedHost = new DedicatedHost("testDedicatedHost", DedicatedHostArgs.builder()        
+     *             .instanceType("c5.18xlarge")
+     *             .availabilityZone("us-west-2a")
      *             .build());
      * 
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
@@ -1853,13 +1918,15 @@ public static Output getDedicatedHost(GetDedicatedHostAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1882,14 +1949,15 @@ public static Output getDedicatedHost(GetDedicatedHostAr
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getDedicatedHost(GetDedicatedHostArgs.builder()
      *             .filters(GetDedicatedHostFilterArgs.builder()
-     *                 .name("instance-type")
-     *                 .values("c5.18xlarge")
+     *                 .name("instance-type")
+     *                 .values("c5.18xlarge")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1904,7 +1972,8 @@ public static CompletableFuture getDedicatedHostPlain(Ge * The following shows outputting all Elastic IPs with the a specific tag value. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1926,14 +1995,15 @@ public static CompletableFuture getDedicatedHostPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getEips(GetEipsArgs.builder()
-     *             .tags(Map.of("Env", "dev"))
+     *             .tags(Map.of("Env", "dev"))
      *             .build());
      * 
-     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
-     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
+     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
+     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1948,7 +2018,8 @@ public static Output getEips() { * The following shows outputting all Elastic IPs with the a specific tag value. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1970,14 +2041,15 @@ public static Output getEips() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getEips(GetEipsArgs.builder()
-     *             .tags(Map.of("Env", "dev"))
+     *             .tags(Map.of("Env", "dev"))
      *             .build());
      * 
-     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
-     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
+     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
+     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1992,7 +2064,8 @@ public static CompletableFuture getEipsPlain() { * The following shows outputting all Elastic IPs with the a specific tag value. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2014,14 +2087,15 @@ public static CompletableFuture getEipsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getEips(GetEipsArgs.builder()
-     *             .tags(Map.of("Env", "dev"))
+     *             .tags(Map.of("Env", "dev"))
      *             .build());
      * 
-     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
-     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
+     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
+     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2036,7 +2110,8 @@ public static Output getEips(GetEipsArgs args) { * The following shows outputting all Elastic IPs with the a specific tag value. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2058,14 +2133,15 @@ public static Output getEips(GetEipsArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getEips(GetEipsArgs.builder()
-     *             .tags(Map.of("Env", "dev"))
+     *             .tags(Map.of("Env", "dev"))
      *             .build());
      * 
-     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
-     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
+     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
+     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2080,7 +2156,8 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg * The following shows outputting all Elastic IPs with the a specific tag value. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2102,14 +2179,15 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getEips(GetEipsArgs.builder()
-     *             .tags(Map.of("Env", "dev"))
+     *             .tags(Map.of("Env", "dev"))
      *             .build());
      * 
-     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
-     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
+     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
+     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2124,7 +2202,8 @@ public static Output getEips(GetEipsArgs args, InvokeOptions opti * The following shows outputting all Elastic IPs with the a specific tag value. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2146,14 +2225,15 @@ public static Output getEips(GetEipsArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getEips(GetEipsArgs.builder()
-     *             .tags(Map.of("Env", "dev"))
+     *             .tags(Map.of("Env", "dev"))
      *             .build());
      * 
-     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
-     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
+     *         ctx.export("allocationIds", example.applyValue(getEipsResult -> getEipsResult.allocationIds()));
+     *         ctx.export("publicIps", example.applyValue(getEipsResult -> getEipsResult.publicIps()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2168,7 +2248,8 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg * ### Search By Allocation ID (VPC only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2190,18 +2271,20 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var byAllocationId = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .id("eipalloc-12345678")
+     *             .id("eipalloc-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Filters (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2224,20 +2307,22 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg
      *     public static void stack(Context ctx) {
      *         final var byFilter = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
      *             .filters(GetElasticIpFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("exampleNameTagValue")
+     *                 .name("tag:Name")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Public IP (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2259,18 +2344,20 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var byPublicIp = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .publicIp("1.2.3.4")
+     *             .publicIp("1.2.3.4")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Tags (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2292,12 +2379,13 @@ public static CompletableFuture getEipsPlain(GetEipsPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var byTags = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .tags(Map.of("Name", "exampleNameTagValue"))
+     *             .tags(Map.of("Name", "exampleNameTagValue"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2312,7 +2400,8 @@ public static Output getElasticIp() { * ### Search By Allocation ID (VPC only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2334,18 +2423,20 @@ public static Output getElasticIp() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byAllocationId = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .id("eipalloc-12345678")
+     *             .id("eipalloc-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Filters (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2368,20 +2459,22 @@ public static Output getElasticIp() {
      *     public static void stack(Context ctx) {
      *         final var byFilter = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
      *             .filters(GetElasticIpFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("exampleNameTagValue")
+     *                 .name("tag:Name")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Public IP (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2403,18 +2496,20 @@ public static Output getElasticIp() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byPublicIp = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .publicIp("1.2.3.4")
+     *             .publicIp("1.2.3.4")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Tags (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2436,12 +2531,13 @@ public static Output getElasticIp() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byTags = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .tags(Map.of("Name", "exampleNameTagValue"))
+     *             .tags(Map.of("Name", "exampleNameTagValue"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2456,7 +2552,8 @@ public static CompletableFuture getElasticIpPlain() { * ### Search By Allocation ID (VPC only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2478,18 +2575,20 @@ public static CompletableFuture getElasticIpPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byAllocationId = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .id("eipalloc-12345678")
+     *             .id("eipalloc-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Filters (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2512,20 +2611,22 @@ public static CompletableFuture getElasticIpPlain() {
      *     public static void stack(Context ctx) {
      *         final var byFilter = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
      *             .filters(GetElasticIpFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("exampleNameTagValue")
+     *                 .name("tag:Name")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Public IP (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2547,18 +2648,20 @@ public static CompletableFuture getElasticIpPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byPublicIp = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .publicIp("1.2.3.4")
+     *             .publicIp("1.2.3.4")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Tags (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2580,12 +2683,13 @@ public static CompletableFuture getElasticIpPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byTags = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .tags(Map.of("Name", "exampleNameTagValue"))
+     *             .tags(Map.of("Name", "exampleNameTagValue"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2600,7 +2704,8 @@ public static Output getElasticIp(GetElasticIpArgs args) { * ### Search By Allocation ID (VPC only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2622,18 +2727,20 @@ public static Output getElasticIp(GetElasticIpArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var byAllocationId = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .id("eipalloc-12345678")
+     *             .id("eipalloc-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Filters (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2656,20 +2763,22 @@ public static Output getElasticIp(GetElasticIpArgs args) {
      *     public static void stack(Context ctx) {
      *         final var byFilter = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
      *             .filters(GetElasticIpFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("exampleNameTagValue")
+     *                 .name("tag:Name")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Public IP (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2691,18 +2800,20 @@ public static Output getElasticIp(GetElasticIpArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var byPublicIp = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .publicIp("1.2.3.4")
+     *             .publicIp("1.2.3.4")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Tags (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2724,12 +2835,13 @@ public static Output getElasticIp(GetElasticIpArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var byTags = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .tags(Map.of("Name", "exampleNameTagValue"))
+     *             .tags(Map.of("Name", "exampleNameTagValue"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2744,7 +2856,8 @@ public static CompletableFuture getElasticIpPlain(GetElastic * ### Search By Allocation ID (VPC only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2766,18 +2879,20 @@ public static CompletableFuture getElasticIpPlain(GetElastic
      * 
      *     public static void stack(Context ctx) {
      *         final var byAllocationId = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .id("eipalloc-12345678")
+     *             .id("eipalloc-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Filters (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2800,20 +2915,22 @@ public static CompletableFuture getElasticIpPlain(GetElastic
      *     public static void stack(Context ctx) {
      *         final var byFilter = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
      *             .filters(GetElasticIpFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("exampleNameTagValue")
+     *                 .name("tag:Name")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Public IP (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2835,18 +2952,20 @@ public static CompletableFuture getElasticIpPlain(GetElastic
      * 
      *     public static void stack(Context ctx) {
      *         final var byPublicIp = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .publicIp("1.2.3.4")
+     *             .publicIp("1.2.3.4")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Tags (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2868,12 +2987,13 @@ public static CompletableFuture getElasticIpPlain(GetElastic
      * 
      *     public static void stack(Context ctx) {
      *         final var byTags = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .tags(Map.of("Name", "exampleNameTagValue"))
+     *             .tags(Map.of("Name", "exampleNameTagValue"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2888,7 +3008,8 @@ public static Output getElasticIp(GetElasticIpArgs args, Inv * ### Search By Allocation ID (VPC only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2910,18 +3031,20 @@ public static Output getElasticIp(GetElasticIpArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var byAllocationId = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .id("eipalloc-12345678")
+     *             .id("eipalloc-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Filters (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2944,20 +3067,22 @@ public static Output getElasticIp(GetElasticIpArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var byFilter = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
      *             .filters(GetElasticIpFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("exampleNameTagValue")
+     *                 .name("tag:Name")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Public IP (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2979,18 +3104,20 @@ public static Output getElasticIp(GetElasticIpArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var byPublicIp = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .publicIp("1.2.3.4")
+     *             .publicIp("1.2.3.4")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Search By Tags (EC2-Classic or VPC) * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3012,12 +3139,13 @@ public static Output getElasticIp(GetElasticIpArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var byTags = Ec2Functions.getElasticIp(GetElasticIpArgs.builder()
-     *             .tags(Map.of("Name", "exampleNameTagValue"))
+     *             .tags(Map.of("Name", "exampleNameTagValue"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3030,7 +3158,8 @@ public static CompletableFuture getElasticIpPlain(GetElastic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3052,21 +3181,22 @@ public static CompletableFuture getElasticIpPlain(GetElastic
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("i-instanceid")
+     *             .instanceId("i-instanceid")
      *             .filters(            
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("image-id")
-     *                     .values("ami-xxxxxxxx")
+     *                     .name("image-id")
+     *                     .values("ami-xxxxxxxx")
      *                     .build(),
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("instance-name-tag")
+     *                     .name("tag:Name")
+     *                     .values("instance-name-tag")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3079,7 +3209,8 @@ public static Output getInstance() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3101,21 +3232,22 @@ public static Output getInstance() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("i-instanceid")
+     *             .instanceId("i-instanceid")
      *             .filters(            
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("image-id")
-     *                     .values("ami-xxxxxxxx")
+     *                     .name("image-id")
+     *                     .values("ami-xxxxxxxx")
      *                     .build(),
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("instance-name-tag")
+     *                     .name("tag:Name")
+     *                     .values("instance-name-tag")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3128,7 +3260,8 @@ public static CompletableFuture getInstancePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3150,21 +3283,22 @@ public static CompletableFuture getInstancePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("i-instanceid")
+     *             .instanceId("i-instanceid")
      *             .filters(            
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("image-id")
-     *                     .values("ami-xxxxxxxx")
+     *                     .name("image-id")
+     *                     .values("ami-xxxxxxxx")
      *                     .build(),
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("instance-name-tag")
+     *                     .name("tag:Name")
+     *                     .values("instance-name-tag")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3177,7 +3311,8 @@ public static Output getInstance(GetInstanceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3199,21 +3334,22 @@ public static Output getInstance(GetInstanceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("i-instanceid")
+     *             .instanceId("i-instanceid")
      *             .filters(            
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("image-id")
-     *                     .values("ami-xxxxxxxx")
+     *                     .name("image-id")
+     *                     .values("ami-xxxxxxxx")
      *                     .build(),
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("instance-name-tag")
+     *                     .name("tag:Name")
+     *                     .values("instance-name-tag")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3226,7 +3362,8 @@ public static CompletableFuture getInstancePlain(GetInstanceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3248,21 +3385,22 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("i-instanceid")
+     *             .instanceId("i-instanceid")
      *             .filters(            
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("image-id")
-     *                     .values("ami-xxxxxxxx")
+     *                     .name("image-id")
+     *                     .values("ami-xxxxxxxx")
      *                     .build(),
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("instance-name-tag")
+     *                     .name("tag:Name")
+     *                     .values("instance-name-tag")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3275,7 +3413,8 @@ public static Output getInstance(GetInstanceArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3297,21 +3436,22 @@ public static Output getInstance(GetInstanceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
-     *             .instanceId("i-instanceid")
+     *             .instanceId("i-instanceid")
      *             .filters(            
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("image-id")
-     *                     .values("ami-xxxxxxxx")
+     *                     .name("image-id")
+     *                     .values("ami-xxxxxxxx")
      *                     .build(),
      *                 GetInstanceFilterArgs.builder()
-     *                     .name("tag:Name")
-     *                     .values("instance-name-tag")
+     *                     .name("tag:Name")
+     *                     .values("instance-name-tag")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3324,7 +3464,8 @@ public static CompletableFuture getInstancePlain(GetInstanceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3346,12 +3487,13 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceType(GetInstanceTypeArgs.builder()
-     *             .instanceType("t2.micro")
+     *             .instanceType("t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3364,7 +3506,8 @@ public static Output getInstanceType(GetInstanceTypeArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3386,12 +3529,13 @@ public static Output getInstanceType(GetInstanceTypeArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceType(GetInstanceTypeArgs.builder()
-     *             .instanceType("t2.micro")
+     *             .instanceType("t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3404,7 +3548,8 @@ public static CompletableFuture getInstanceTypePlain(GetI * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3426,12 +3571,13 @@ public static CompletableFuture getInstanceTypePlain(GetI
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceType(GetInstanceTypeArgs.builder()
-     *             .instanceType("t2.micro")
+     *             .instanceType("t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3444,7 +3590,8 @@ public static Output getInstanceType(GetInstanceTypeArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3466,12 +3613,13 @@ public static Output getInstanceType(GetInstanceTypeArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceType(GetInstanceTypeArgs.builder()
-     *             .instanceType("t2.micro")
+     *             .instanceType("t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3484,7 +3632,8 @@ public static CompletableFuture getInstanceTypePlain(GetI * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3507,19 +3656,20 @@ public static CompletableFuture getInstanceTypePlain(GetI
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceTypeOffering(GetInstanceTypeOfferingArgs.builder()
      *             .filters(GetInstanceTypeOfferingFilterArgs.builder()
-     *                 .name("instance-type")
+     *                 .name("instance-type")
      *                 .values(                
-     *                     "t2.micro",
-     *                     "t3.micro")
+     *                     "t2.micro",
+     *                     "t3.micro")
      *                 .build())
      *             .preferredInstanceTypes(            
-     *                 "t3.micro",
-     *                 "t2.micro")
+     *                 "t3.micro",
+     *                 "t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3532,7 +3682,8 @@ public static Output getInstanceTypeOffering() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3555,19 +3706,20 @@ public static Output getInstanceTypeOffering() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceTypeOffering(GetInstanceTypeOfferingArgs.builder()
      *             .filters(GetInstanceTypeOfferingFilterArgs.builder()
-     *                 .name("instance-type")
+     *                 .name("instance-type")
      *                 .values(                
-     *                     "t2.micro",
-     *                     "t3.micro")
+     *                     "t2.micro",
+     *                     "t3.micro")
      *                 .build())
      *             .preferredInstanceTypes(            
-     *                 "t3.micro",
-     *                 "t2.micro")
+     *                 "t3.micro",
+     *                 "t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3580,7 +3732,8 @@ public static CompletableFuture getInstanceTypeOf * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3603,19 +3756,20 @@ public static CompletableFuture getInstanceTypeOf
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceTypeOffering(GetInstanceTypeOfferingArgs.builder()
      *             .filters(GetInstanceTypeOfferingFilterArgs.builder()
-     *                 .name("instance-type")
+     *                 .name("instance-type")
      *                 .values(                
-     *                     "t2.micro",
-     *                     "t3.micro")
+     *                     "t2.micro",
+     *                     "t3.micro")
      *                 .build())
      *             .preferredInstanceTypes(            
-     *                 "t3.micro",
-     *                 "t2.micro")
+     *                 "t3.micro",
+     *                 "t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3628,7 +3782,8 @@ public static Output getInstanceTypeOffering(GetI * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3651,19 +3806,20 @@ public static Output getInstanceTypeOffering(GetI
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceTypeOffering(GetInstanceTypeOfferingArgs.builder()
      *             .filters(GetInstanceTypeOfferingFilterArgs.builder()
-     *                 .name("instance-type")
+     *                 .name("instance-type")
      *                 .values(                
-     *                     "t2.micro",
-     *                     "t3.micro")
+     *                     "t2.micro",
+     *                     "t3.micro")
      *                 .build())
      *             .preferredInstanceTypes(            
-     *                 "t3.micro",
-     *                 "t2.micro")
+     *                 "t3.micro",
+     *                 "t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3676,7 +3832,8 @@ public static CompletableFuture getInstanceTypeOf * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3699,19 +3856,20 @@ public static CompletableFuture getInstanceTypeOf
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceTypeOffering(GetInstanceTypeOfferingArgs.builder()
      *             .filters(GetInstanceTypeOfferingFilterArgs.builder()
-     *                 .name("instance-type")
+     *                 .name("instance-type")
      *                 .values(                
-     *                     "t2.micro",
-     *                     "t3.micro")
+     *                     "t2.micro",
+     *                     "t3.micro")
      *                 .build())
      *             .preferredInstanceTypes(            
-     *                 "t3.micro",
-     *                 "t2.micro")
+     *                 "t3.micro",
+     *                 "t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3724,7 +3882,8 @@ public static Output getInstanceTypeOffering(GetI * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3747,19 +3906,20 @@ public static Output getInstanceTypeOffering(GetI
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getInstanceTypeOffering(GetInstanceTypeOfferingArgs.builder()
      *             .filters(GetInstanceTypeOfferingFilterArgs.builder()
-     *                 .name("instance-type")
+     *                 .name("instance-type")
      *                 .values(                
-     *                     "t2.micro",
-     *                     "t3.micro")
+     *                     "t2.micro",
+     *                     "t3.micro")
      *                 .build())
      *             .preferredInstanceTypes(            
-     *                 "t3.micro",
-     *                 "t2.micro")
+     *                 "t3.micro",
+     *                 "t2.micro")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3772,7 +3932,8 @@ public static CompletableFuture getInstanceTypeOf * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3796,21 +3957,22 @@ public static CompletableFuture getInstanceTypeOf
      *         final var example = Ec2Functions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
      *             .filters(            
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "t2.micro",
-     *                         "t3.micro")
+     *                         "t2.micro",
+     *                         "t3.micro")
      *                     .build(),
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("location")
-     *                     .values("usw2-az4")
+     *                     .name("location")
+     *                     .values("usw2-az4")
      *                     .build())
-     *             .locationType("availability-zone-id")
+     *             .locationType("availability-zone-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3823,7 +3985,8 @@ public static Output getInstanceTypeOfferings() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3847,21 +4010,22 @@ public static Output getInstanceTypeOfferings()
      *         final var example = Ec2Functions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
      *             .filters(            
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "t2.micro",
-     *                         "t3.micro")
+     *                         "t2.micro",
+     *                         "t3.micro")
      *                     .build(),
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("location")
-     *                     .values("usw2-az4")
+     *                     .name("location")
+     *                     .values("usw2-az4")
      *                     .build())
-     *             .locationType("availability-zone-id")
+     *             .locationType("availability-zone-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3874,7 +4038,8 @@ public static CompletableFuture getInstanceTypeO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3898,21 +4063,22 @@ public static CompletableFuture getInstanceTypeO
      *         final var example = Ec2Functions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
      *             .filters(            
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "t2.micro",
-     *                         "t3.micro")
+     *                         "t2.micro",
+     *                         "t3.micro")
      *                     .build(),
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("location")
-     *                     .values("usw2-az4")
+     *                     .name("location")
+     *                     .values("usw2-az4")
      *                     .build())
-     *             .locationType("availability-zone-id")
+     *             .locationType("availability-zone-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3925,7 +4091,8 @@ public static Output getInstanceTypeOfferings(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3949,21 +4116,22 @@ public static Output getInstanceTypeOfferings(Ge
      *         final var example = Ec2Functions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
      *             .filters(            
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "t2.micro",
-     *                         "t3.micro")
+     *                         "t2.micro",
+     *                         "t3.micro")
      *                     .build(),
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("location")
-     *                     .values("usw2-az4")
+     *                     .name("location")
+     *                     .values("usw2-az4")
      *                     .build())
-     *             .locationType("availability-zone-id")
+     *             .locationType("availability-zone-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3976,7 +4144,8 @@ public static CompletableFuture getInstanceTypeO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4000,21 +4169,22 @@ public static CompletableFuture getInstanceTypeO
      *         final var example = Ec2Functions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
      *             .filters(            
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "t2.micro",
-     *                         "t3.micro")
+     *                         "t2.micro",
+     *                         "t3.micro")
      *                     .build(),
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("location")
-     *                     .values("usw2-az4")
+     *                     .name("location")
+     *                     .values("usw2-az4")
      *                     .build())
-     *             .locationType("availability-zone-id")
+     *             .locationType("availability-zone-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4027,7 +4197,8 @@ public static Output getInstanceTypeOfferings(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4051,21 +4222,22 @@ public static Output getInstanceTypeOfferings(Ge
      *         final var example = Ec2Functions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
      *             .filters(            
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "t2.micro",
-     *                         "t3.micro")
+     *                         "t2.micro",
+     *                         "t3.micro")
      *                     .build(),
      *                 GetInstanceTypeOfferingsFilterArgs.builder()
-     *                     .name("location")
-     *                     .values("usw2-az4")
+     *                     .name("location")
+     *                     .values("usw2-az4")
      *                     .build())
-     *             .locationType("availability-zone-id")
+     *             .locationType("availability-zone-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4078,7 +4250,8 @@ public static CompletableFuture getInstanceTypeO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4102,28 +4275,29 @@ public static CompletableFuture getInstanceTypeO
      *         final var test = Ec2Functions.getInstanceTypes(GetInstanceTypesArgs.builder()
      *             .filters(            
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("auto-recovery-supported")
-     *                     .values("true")
+     *                     .name("auto-recovery-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("network-info.encryption-in-transit-supported")
-     *                     .values("true")
+     *                     .name("network-info.encryption-in-transit-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-storage-supported")
-     *                     .values("true")
+     *                     .name("instance-storage-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "g5.2xlarge",
-     *                         "g5.4xlarge")
+     *                         "g5.2xlarge",
+     *                         "g5.4xlarge")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4136,7 +4310,8 @@ public static Output getInstanceTypes() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4160,28 +4335,29 @@ public static Output getInstanceTypes() {
      *         final var test = Ec2Functions.getInstanceTypes(GetInstanceTypesArgs.builder()
      *             .filters(            
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("auto-recovery-supported")
-     *                     .values("true")
+     *                     .name("auto-recovery-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("network-info.encryption-in-transit-supported")
-     *                     .values("true")
+     *                     .name("network-info.encryption-in-transit-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-storage-supported")
-     *                     .values("true")
+     *                     .name("instance-storage-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "g5.2xlarge",
-     *                         "g5.4xlarge")
+     *                         "g5.2xlarge",
+     *                         "g5.4xlarge")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4194,7 +4370,8 @@ public static CompletableFuture getInstanceTypesPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4218,28 +4395,29 @@ public static CompletableFuture getInstanceTypesPlain()
      *         final var test = Ec2Functions.getInstanceTypes(GetInstanceTypesArgs.builder()
      *             .filters(            
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("auto-recovery-supported")
-     *                     .values("true")
+     *                     .name("auto-recovery-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("network-info.encryption-in-transit-supported")
-     *                     .values("true")
+     *                     .name("network-info.encryption-in-transit-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-storage-supported")
-     *                     .values("true")
+     *                     .name("instance-storage-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "g5.2xlarge",
-     *                         "g5.4xlarge")
+     *                         "g5.2xlarge",
+     *                         "g5.4xlarge")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4252,7 +4430,8 @@ public static Output getInstanceTypes(GetInstanceTypesAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4276,28 +4455,29 @@ public static Output getInstanceTypes(GetInstanceTypesAr
      *         final var test = Ec2Functions.getInstanceTypes(GetInstanceTypesArgs.builder()
      *             .filters(            
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("auto-recovery-supported")
-     *                     .values("true")
+     *                     .name("auto-recovery-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("network-info.encryption-in-transit-supported")
-     *                     .values("true")
+     *                     .name("network-info.encryption-in-transit-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-storage-supported")
-     *                     .values("true")
+     *                     .name("instance-storage-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "g5.2xlarge",
-     *                         "g5.4xlarge")
+     *                         "g5.2xlarge",
+     *                         "g5.4xlarge")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4310,7 +4490,8 @@ public static CompletableFuture getInstanceTypesPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4334,28 +4515,29 @@ public static CompletableFuture getInstanceTypesPlain(Ge
      *         final var test = Ec2Functions.getInstanceTypes(GetInstanceTypesArgs.builder()
      *             .filters(            
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("auto-recovery-supported")
-     *                     .values("true")
+     *                     .name("auto-recovery-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("network-info.encryption-in-transit-supported")
-     *                     .values("true")
+     *                     .name("network-info.encryption-in-transit-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-storage-supported")
-     *                     .values("true")
+     *                     .name("instance-storage-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "g5.2xlarge",
-     *                         "g5.4xlarge")
+     *                         "g5.2xlarge",
+     *                         "g5.4xlarge")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4368,7 +4550,8 @@ public static Output getInstanceTypes(GetInstanceTypesAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4392,28 +4575,29 @@ public static Output getInstanceTypes(GetInstanceTypesAr
      *         final var test = Ec2Functions.getInstanceTypes(GetInstanceTypesArgs.builder()
      *             .filters(            
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("auto-recovery-supported")
-     *                     .values("true")
+     *                     .name("auto-recovery-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("network-info.encryption-in-transit-supported")
-     *                     .values("true")
+     *                     .name("network-info.encryption-in-transit-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-storage-supported")
-     *                     .values("true")
+     *                     .name("instance-storage-supported")
+     *                     .values("true")
      *                     .build(),
      *                 GetInstanceTypesFilterArgs.builder()
-     *                     .name("instance-type")
+     *                     .name("instance-type")
      *                     .values(                    
-     *                         "g5.2xlarge",
-     *                         "g5.4xlarge")
+     *                         "g5.2xlarge",
+     *                         "g5.4xlarge")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4432,7 +4616,8 @@ public static CompletableFuture getInstanceTypesPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4457,26 +4642,27 @@ public static CompletableFuture getInstanceTypesPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getInstances(GetInstancesArgs.builder()
-     *             .instanceTags(Map.of("Role", "HardWorker"))
+     *             .instanceTags(Map.of("Role", "HardWorker"))
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("instance.group-id")
-     *                 .values("sg-12345678")
+     *                 .name("instance.group-id")
+     *                 .values("sg-12345678")
      *                 .build())
      *             .instanceStateNames(            
-     *                 "running",
-     *                 "stopped")
+     *                 "running",
+     *                 "stopped")
      *             .build());
      * 
-     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
-     *             new Eip("testEip-" + i, EipArgs.builder()            
-     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
+     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
+     *             new Eip("testEip-" + i, EipArgs.builder()            
+     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
      *                 .build());
      * 
      *         
      * }
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4495,7 +4681,8 @@ public static Output getInstances() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4520,26 +4707,27 @@ public static Output getInstances() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getInstances(GetInstancesArgs.builder()
-     *             .instanceTags(Map.of("Role", "HardWorker"))
+     *             .instanceTags(Map.of("Role", "HardWorker"))
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("instance.group-id")
-     *                 .values("sg-12345678")
+     *                 .name("instance.group-id")
+     *                 .values("sg-12345678")
      *                 .build())
      *             .instanceStateNames(            
-     *                 "running",
-     *                 "stopped")
+     *                 "running",
+     *                 "stopped")
      *             .build());
      * 
-     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
-     *             new Eip("testEip-" + i, EipArgs.builder()            
-     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
+     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
+     *             new Eip("testEip-" + i, EipArgs.builder()            
+     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
      *                 .build());
      * 
      *         
      * }
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4558,7 +4746,8 @@ public static CompletableFuture getInstancesPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4583,26 +4772,27 @@ public static CompletableFuture getInstancesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getInstances(GetInstancesArgs.builder()
-     *             .instanceTags(Map.of("Role", "HardWorker"))
+     *             .instanceTags(Map.of("Role", "HardWorker"))
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("instance.group-id")
-     *                 .values("sg-12345678")
+     *                 .name("instance.group-id")
+     *                 .values("sg-12345678")
      *                 .build())
      *             .instanceStateNames(            
-     *                 "running",
-     *                 "stopped")
+     *                 "running",
+     *                 "stopped")
      *             .build());
      * 
-     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
-     *             new Eip("testEip-" + i, EipArgs.builder()            
-     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
+     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
+     *             new Eip("testEip-" + i, EipArgs.builder()            
+     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
      *                 .build());
      * 
      *         
      * }
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4621,7 +4811,8 @@ public static Output getInstances(GetInstancesArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4646,26 +4837,27 @@ public static Output getInstances(GetInstancesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getInstances(GetInstancesArgs.builder()
-     *             .instanceTags(Map.of("Role", "HardWorker"))
+     *             .instanceTags(Map.of("Role", "HardWorker"))
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("instance.group-id")
-     *                 .values("sg-12345678")
+     *                 .name("instance.group-id")
+     *                 .values("sg-12345678")
      *                 .build())
      *             .instanceStateNames(            
-     *                 "running",
-     *                 "stopped")
+     *                 "running",
+     *                 "stopped")
      *             .build());
      * 
-     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
-     *             new Eip("testEip-" + i, EipArgs.builder()            
-     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
+     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
+     *             new Eip("testEip-" + i, EipArgs.builder()            
+     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
      *                 .build());
      * 
      *         
      * }
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4684,7 +4876,8 @@ public static CompletableFuture getInstancesPlain(GetInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4709,26 +4902,27 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      * 
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getInstances(GetInstancesArgs.builder()
-     *             .instanceTags(Map.of("Role", "HardWorker"))
+     *             .instanceTags(Map.of("Role", "HardWorker"))
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("instance.group-id")
-     *                 .values("sg-12345678")
+     *                 .name("instance.group-id")
+     *                 .values("sg-12345678")
      *                 .build())
      *             .instanceStateNames(            
-     *                 "running",
-     *                 "stopped")
+     *                 "running",
+     *                 "stopped")
      *             .build());
      * 
-     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
-     *             new Eip("testEip-" + i, EipArgs.builder()            
-     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
+     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
+     *             new Eip("testEip-" + i, EipArgs.builder()            
+     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
      *                 .build());
      * 
      *         
      * }
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4747,7 +4941,8 @@ public static Output getInstances(GetInstancesArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4772,26 +4967,27 @@ public static Output getInstances(GetInstancesArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getInstances(GetInstancesArgs.builder()
-     *             .instanceTags(Map.of("Role", "HardWorker"))
+     *             .instanceTags(Map.of("Role", "HardWorker"))
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("instance.group-id")
-     *                 .values("sg-12345678")
+     *                 .name("instance.group-id")
+     *                 .values("sg-12345678")
      *                 .build())
      *             .instanceStateNames(            
-     *                 "running",
-     *                 "stopped")
+     *                 "running",
+     *                 "stopped")
      *             .build());
      * 
-     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
-     *             new Eip("testEip-" + i, EipArgs.builder()            
-     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
+     *         for (var i = 0; i < test.applyValue(getInstancesResult -> getInstancesResult.ids()).length(); i++) {
+     *             new Eip("testEip-" + i, EipArgs.builder()            
+     *                 .instance(test.applyValue(getInstancesResult -> getInstancesResult.ids())[range.value()])
      *                 .build());
      * 
      *         
      * }
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4804,7 +5000,8 @@ public static CompletableFuture getInstancesPlain(GetInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4826,17 +5023,18 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var default = Ec2Functions.getInternetGateway(GetInternetGatewayArgs.builder()
      *             .filters(GetInternetGatewayFilterArgs.builder()
-     *                 .name("attachment.vpc-id")
+     *                 .name("attachment.vpc-id")
      *                 .values(vpcId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4849,7 +5047,8 @@ public static Output getInternetGateway() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4871,17 +5070,18 @@ public static Output getInternetGateway() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var default = Ec2Functions.getInternetGateway(GetInternetGatewayArgs.builder()
      *             .filters(GetInternetGatewayFilterArgs.builder()
-     *                 .name("attachment.vpc-id")
+     *                 .name("attachment.vpc-id")
      *                 .values(vpcId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4894,7 +5094,8 @@ public static CompletableFuture getInternetGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4916,17 +5117,18 @@ public static CompletableFuture getInternetGatewayPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var default = Ec2Functions.getInternetGateway(GetInternetGatewayArgs.builder()
      *             .filters(GetInternetGatewayFilterArgs.builder()
-     *                 .name("attachment.vpc-id")
+     *                 .name("attachment.vpc-id")
      *                 .values(vpcId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4939,7 +5141,8 @@ public static Output getInternetGateway(GetInternetGat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4961,17 +5164,18 @@ public static Output getInternetGateway(GetInternetGat
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var default = Ec2Functions.getInternetGateway(GetInternetGatewayArgs.builder()
      *             .filters(GetInternetGatewayFilterArgs.builder()
-     *                 .name("attachment.vpc-id")
+     *                 .name("attachment.vpc-id")
      *                 .values(vpcId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4984,7 +5188,8 @@ public static CompletableFuture getInternetGatewayPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5006,17 +5211,18 @@ public static CompletableFuture getInternetGatewayPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var default = Ec2Functions.getInternetGateway(GetInternetGatewayArgs.builder()
      *             .filters(GetInternetGatewayFilterArgs.builder()
-     *                 .name("attachment.vpc-id")
+     *                 .name("attachment.vpc-id")
      *                 .values(vpcId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5029,7 +5235,8 @@ public static Output getInternetGateway(GetInternetGat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5051,17 +5258,18 @@ public static Output getInternetGateway(GetInternetGat
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var default = Ec2Functions.getInternetGateway(GetInternetGatewayArgs.builder()
      *             .filters(GetInternetGatewayFilterArgs.builder()
-     *                 .name("attachment.vpc-id")
+     *                 .name("attachment.vpc-id")
      *                 .values(vpcId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5078,7 +5286,8 @@ public static CompletableFuture getInternetGatewayPlai * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5106,14 +5315,15 @@ public static CompletableFuture getInternetGatewayPlai
      *             .netmaskLength(28)
      *             .build());
      * 
-     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
+     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
      *             .ipamPoolId(testAwsVpcIpamPool.id())
-     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
+     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5130,7 +5340,8 @@ public static Output getIpamPreviewNextCidr(GetIpa * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5158,14 +5369,15 @@ public static Output getIpamPreviewNextCidr(GetIpa
      *             .netmaskLength(28)
      *             .build());
      * 
-     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
+     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
      *             .ipamPoolId(testAwsVpcIpamPool.id())
-     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
+     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5182,7 +5394,8 @@ public static CompletableFuture getIpamPreviewNext * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5210,14 +5423,15 @@ public static CompletableFuture getIpamPreviewNext
      *             .netmaskLength(28)
      *             .build());
      * 
-     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
+     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
      *             .ipamPoolId(testAwsVpcIpamPool.id())
-     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
+     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5234,7 +5448,8 @@ public static Output getIpamPreviewNextCidr(GetIpa * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5262,14 +5477,15 @@ public static Output getIpamPreviewNextCidr(GetIpa
      *             .netmaskLength(28)
      *             .build());
      * 
-     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
+     *         var testVpcIpamPoolCidrAllocation = new VpcIpamPoolCidrAllocation("testVpcIpamPoolCidrAllocation", VpcIpamPoolCidrAllocationArgs.builder()        
      *             .ipamPoolId(testAwsVpcIpamPool.id())
-     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
+     *             .cidr(test.applyValue(getIpamPreviewNextCidrResult -> getIpamPreviewNextCidrResult.cidr()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5284,7 +5500,8 @@ public static CompletableFuture getIpamPreviewNext * The following example shows how to get a EC2 Key Pair including the public key material from its name. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5306,20 +5523,21 @@ public static CompletableFuture getIpamPreviewNext
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getKeyPair(GetKeyPairArgs.builder()
-     *             .keyName("test")
+     *             .keyName("test")
      *             .includePublicKey(true)
      *             .filters(GetKeyPairFilterArgs.builder()
-     *                 .name("tag:Component")
-     *                 .values("web")
+     *                 .name("tag:Component")
+     *                 .values("web")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
-     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
-     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
+     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
+     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
+     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5334,7 +5552,8 @@ public static Output getKeyPair() { * The following example shows how to get a EC2 Key Pair including the public key material from its name. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5356,20 +5575,21 @@ public static Output getKeyPair() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getKeyPair(GetKeyPairArgs.builder()
-     *             .keyName("test")
+     *             .keyName("test")
      *             .includePublicKey(true)
      *             .filters(GetKeyPairFilterArgs.builder()
-     *                 .name("tag:Component")
-     *                 .values("web")
+     *                 .name("tag:Component")
+     *                 .values("web")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
-     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
-     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
+     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
+     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
+     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5384,7 +5604,8 @@ public static CompletableFuture getKeyPairPlain() { * The following example shows how to get a EC2 Key Pair including the public key material from its name. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5406,20 +5627,21 @@ public static CompletableFuture getKeyPairPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getKeyPair(GetKeyPairArgs.builder()
-     *             .keyName("test")
+     *             .keyName("test")
      *             .includePublicKey(true)
      *             .filters(GetKeyPairFilterArgs.builder()
-     *                 .name("tag:Component")
-     *                 .values("web")
+     *                 .name("tag:Component")
+     *                 .values("web")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
-     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
-     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
+     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
+     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
+     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5434,7 +5656,8 @@ public static Output getKeyPair(GetKeyPairArgs args) { * The following example shows how to get a EC2 Key Pair including the public key material from its name. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5456,20 +5679,21 @@ public static Output getKeyPair(GetKeyPairArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getKeyPair(GetKeyPairArgs.builder()
-     *             .keyName("test")
+     *             .keyName("test")
      *             .includePublicKey(true)
      *             .filters(GetKeyPairFilterArgs.builder()
-     *                 .name("tag:Component")
-     *                 .values("web")
+     *                 .name("tag:Component")
+     *                 .values("web")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
-     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
-     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
+     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
+     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
+     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5484,7 +5708,8 @@ public static CompletableFuture getKeyPairPlain(GetKeyPairPlai * The following example shows how to get a EC2 Key Pair including the public key material from its name. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5506,20 +5731,21 @@ public static CompletableFuture getKeyPairPlain(GetKeyPairPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getKeyPair(GetKeyPairArgs.builder()
-     *             .keyName("test")
+     *             .keyName("test")
      *             .includePublicKey(true)
      *             .filters(GetKeyPairFilterArgs.builder()
-     *                 .name("tag:Component")
-     *                 .values("web")
+     *                 .name("tag:Component")
+     *                 .values("web")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
-     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
-     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
+     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
+     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
+     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5534,7 +5760,8 @@ public static Output getKeyPair(GetKeyPairArgs args, InvokeOpt * The following example shows how to get a EC2 Key Pair including the public key material from its name. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5556,20 +5783,21 @@ public static Output getKeyPair(GetKeyPairArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getKeyPair(GetKeyPairArgs.builder()
-     *             .keyName("test")
+     *             .keyName("test")
      *             .includePublicKey(true)
      *             .filters(GetKeyPairFilterArgs.builder()
-     *                 .name("tag:Component")
-     *                 .values("web")
+     *                 .name("tag:Component")
+     *                 .values("web")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
-     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
-     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
+     *         ctx.export("fingerprint", example.applyValue(getKeyPairResult -> getKeyPairResult.fingerprint()));
+     *         ctx.export("name", example.applyValue(getKeyPairResult -> getKeyPairResult.keyName()));
+     *         ctx.export("id", example.applyValue(getKeyPairResult -> getKeyPairResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5582,7 +5810,8 @@ public static CompletableFuture getKeyPairPlain(GetKeyPairPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5604,12 +5833,13 @@ public static CompletableFuture getKeyPairPlain(GetKeyPairPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getLaunchConfiguration(GetLaunchConfigurationArgs.builder()
-     *             .name("test-launch-config")
+     *             .name("test-launch-config")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5622,7 +5852,8 @@ public static Output getLaunchConfiguration(GetLau * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5644,12 +5875,13 @@ public static Output getLaunchConfiguration(GetLau
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getLaunchConfiguration(GetLaunchConfigurationArgs.builder()
-     *             .name("test-launch-config")
+     *             .name("test-launch-config")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5662,7 +5894,8 @@ public static CompletableFuture getLaunchConfigura * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5684,12 +5917,13 @@ public static CompletableFuture getLaunchConfigura
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getLaunchConfiguration(GetLaunchConfigurationArgs.builder()
-     *             .name("test-launch-config")
+     *             .name("test-launch-config")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5702,7 +5936,8 @@ public static Output getLaunchConfiguration(GetLau * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5724,12 +5959,13 @@ public static Output getLaunchConfiguration(GetLau
      * 
      *     public static void stack(Context ctx) {
      *         final var ubuntu = Ec2Functions.getLaunchConfiguration(GetLaunchConfigurationArgs.builder()
-     *             .name("test-launch-config")
+     *             .name("test-launch-config")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5742,7 +5978,8 @@ public static CompletableFuture getLaunchConfigura * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5764,18 +6001,20 @@ public static CompletableFuture getLaunchConfigura
      * 
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
-     *             .name("my-launch-template")
+     *             .name("my-launch-template")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5798,14 +6037,15 @@ public static CompletableFuture getLaunchConfigura
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
      *             .filters(GetLaunchTemplateFilterArgs.builder()
-     *                 .name("launch-template-name")
-     *                 .values("some-template")
+     *                 .name("launch-template-name")
+     *                 .values("some-template")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5818,7 +6058,8 @@ public static Output getLaunchTemplate() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5840,18 +6081,20 @@ public static Output getLaunchTemplate() {
      * 
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
-     *             .name("my-launch-template")
+     *             .name("my-launch-template")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5874,14 +6117,15 @@ public static Output getLaunchTemplate() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
      *             .filters(GetLaunchTemplateFilterArgs.builder()
-     *                 .name("launch-template-name")
-     *                 .values("some-template")
+     *                 .name("launch-template-name")
+     *                 .values("some-template")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5894,7 +6138,8 @@ public static CompletableFuture getLaunchTemplatePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5916,18 +6161,20 @@ public static CompletableFuture getLaunchTemplatePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
-     *             .name("my-launch-template")
+     *             .name("my-launch-template")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5950,14 +6197,15 @@ public static CompletableFuture getLaunchTemplatePlain(
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
      *             .filters(GetLaunchTemplateFilterArgs.builder()
-     *                 .name("launch-template-name")
-     *                 .values("some-template")
+     *                 .name("launch-template-name")
+     *                 .values("some-template")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5970,7 +6218,8 @@ public static Output getLaunchTemplate(GetLaunchTemplat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5992,18 +6241,20 @@ public static Output getLaunchTemplate(GetLaunchTemplat
      * 
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
-     *             .name("my-launch-template")
+     *             .name("my-launch-template")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6026,14 +6277,15 @@ public static Output getLaunchTemplate(GetLaunchTemplat
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
      *             .filters(GetLaunchTemplateFilterArgs.builder()
-     *                 .name("launch-template-name")
-     *                 .values("some-template")
+     *                 .name("launch-template-name")
+     *                 .values("some-template")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6046,7 +6298,8 @@ public static CompletableFuture getLaunchTemplatePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6068,18 +6321,20 @@ public static CompletableFuture getLaunchTemplatePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
-     *             .name("my-launch-template")
+     *             .name("my-launch-template")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6102,14 +6357,15 @@ public static CompletableFuture getLaunchTemplatePlain(
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
      *             .filters(GetLaunchTemplateFilterArgs.builder()
-     *                 .name("launch-template-name")
-     *                 .values("some-template")
+     *                 .name("launch-template-name")
+     *                 .values("some-template")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6122,7 +6378,8 @@ public static Output getLaunchTemplate(GetLaunchTemplat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6144,18 +6401,20 @@ public static Output getLaunchTemplate(GetLaunchTemplat
      * 
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
-     *             .name("my-launch-template")
+     *             .name("my-launch-template")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6178,14 +6437,15 @@ public static Output getLaunchTemplate(GetLaunchTemplat
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
      *             .filters(GetLaunchTemplateFilterArgs.builder()
-     *                 .name("launch-template-name")
-     *                 .values("some-template")
+     *                 .name("launch-template-name")
+     *                 .values("some-template")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6200,7 +6460,8 @@ public static CompletableFuture getLaunchTemplatePlain( * The following example shows how one might accept a local gateway id as a variable. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6222,14 +6483,15 @@ public static CompletableFuture getLaunchTemplatePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var localGatewayId = config.get("localGatewayId");
+     *         final var localGatewayId = config.get("localGatewayId");
      *         final var selected = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
      *             .id(localGatewayId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6244,7 +6506,8 @@ public static Output getLocalGateway() { * The following example shows how one might accept a local gateway id as a variable. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6266,14 +6529,15 @@ public static Output getLocalGateway() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var localGatewayId = config.get("localGatewayId");
+     *         final var localGatewayId = config.get("localGatewayId");
      *         final var selected = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
      *             .id(localGatewayId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6288,7 +6552,8 @@ public static CompletableFuture getLocalGatewayPlain() { * The following example shows how one might accept a local gateway id as a variable. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6310,14 +6575,15 @@ public static CompletableFuture getLocalGatewayPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var localGatewayId = config.get("localGatewayId");
+     *         final var localGatewayId = config.get("localGatewayId");
      *         final var selected = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
      *             .id(localGatewayId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6332,7 +6598,8 @@ public static Output getLocalGateway(GetLocalGatewayArgs * The following example shows how one might accept a local gateway id as a variable. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6354,14 +6621,15 @@ public static Output getLocalGateway(GetLocalGatewayArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var localGatewayId = config.get("localGatewayId");
+     *         final var localGatewayId = config.get("localGatewayId");
      *         final var selected = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
      *             .id(localGatewayId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6376,7 +6644,8 @@ public static CompletableFuture getLocalGatewayPlain(GetL * The following example shows how one might accept a local gateway id as a variable. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6398,14 +6667,15 @@ public static CompletableFuture getLocalGatewayPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var localGatewayId = config.get("localGatewayId");
+     *         final var localGatewayId = config.get("localGatewayId");
      *         final var selected = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
      *             .id(localGatewayId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6420,7 +6690,8 @@ public static Output getLocalGateway(GetLocalGatewayArgs * The following example shows how one might accept a local gateway id as a variable. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6442,14 +6713,15 @@ public static Output getLocalGateway(GetLocalGatewayArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var localGatewayId = config.get("localGatewayId");
+     *         final var localGatewayId = config.get("localGatewayId");
      *         final var selected = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
      *             .id(localGatewayId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6467,7 +6739,8 @@ public static CompletableFuture getLocalGatewayPlain(GetL * The following example returns a specific local gateway route table ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6489,14 +6762,15 @@ public static CompletableFuture getLocalGatewayPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
+     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
      *         final var selected = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
      *             .localGatewayRouteTableId(awsEc2LocalGatewayRouteTable)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6514,7 +6788,8 @@ public static Output getLocalGatewayRouteTable( * The following example returns a specific local gateway route table ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6536,14 +6811,15 @@ public static Output getLocalGatewayRouteTable(
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
+     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
      *         final var selected = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
      *             .localGatewayRouteTableId(awsEc2LocalGatewayRouteTable)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6561,7 +6837,8 @@ public static CompletableFuture getLocalGateway * The following example returns a specific local gateway route table ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6583,14 +6860,15 @@ public static CompletableFuture getLocalGateway
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
+     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
      *         final var selected = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
      *             .localGatewayRouteTableId(awsEc2LocalGatewayRouteTable)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6608,7 +6886,8 @@ public static Output getLocalGatewayRouteTable( * The following example returns a specific local gateway route table ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6630,14 +6909,15 @@ public static Output getLocalGatewayRouteTable(
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
+     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
      *         final var selected = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
      *             .localGatewayRouteTableId(awsEc2LocalGatewayRouteTable)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6655,7 +6935,8 @@ public static CompletableFuture getLocalGateway * The following example returns a specific local gateway route table ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6677,14 +6958,15 @@ public static CompletableFuture getLocalGateway
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
+     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
      *         final var selected = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
      *             .localGatewayRouteTableId(awsEc2LocalGatewayRouteTable)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6702,7 +6984,8 @@ public static Output getLocalGatewayRouteTable( * The following example returns a specific local gateway route table ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6724,14 +7007,15 @@ public static Output getLocalGatewayRouteTable(
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
+     *         final var awsEc2LocalGatewayRouteTable = config.get("awsEc2LocalGatewayRouteTable");
      *         final var selected = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
      *             .localGatewayRouteTableId(awsEc2LocalGatewayRouteTable)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6746,7 +7030,8 @@ public static CompletableFuture getLocalGateway * The following shows outputting all Local Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6769,10 +7054,11 @@ public static CompletableFuture getLocalGateway
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGatewayRouteTables();
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6787,7 +7073,8 @@ public static Output getLocalGatewayRouteTable * The following shows outputting all Local Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6810,10 +7097,11 @@ public static Output getLocalGatewayRouteTable
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGatewayRouteTables();
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6828,7 +7116,8 @@ public static CompletableFuture getLocalGatewa * The following shows outputting all Local Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6851,10 +7140,11 @@ public static CompletableFuture getLocalGatewa
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGatewayRouteTables();
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6869,7 +7159,8 @@ public static Output getLocalGatewayRouteTable * The following shows outputting all Local Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6892,10 +7183,11 @@ public static Output getLocalGatewayRouteTable
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGatewayRouteTables();
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6910,7 +7202,8 @@ public static CompletableFuture getLocalGatewa * The following shows outputting all Local Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6933,10 +7226,11 @@ public static CompletableFuture getLocalGatewa
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGatewayRouteTables();
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6951,7 +7245,8 @@ public static Output getLocalGatewayRouteTable * The following shows outputting all Local Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6974,10 +7269,11 @@ public static Output getLocalGatewayRouteTable
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGatewayRouteTables();
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7062,7 +7358,8 @@ public static CompletableFuture getLocalG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7089,7 +7386,8 @@ public static CompletableFuture getLocalG
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7102,7 +7400,8 @@ public static Output getLocalGateway * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7129,7 +7428,8 @@ public static Output getLocalGateway
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7142,7 +7442,8 @@ public static CompletableFuture getL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7169,7 +7470,8 @@ public static CompletableFuture getL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7182,7 +7484,8 @@ public static Output getLocalGateway * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7209,7 +7512,8 @@ public static Output getLocalGateway
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7222,7 +7526,8 @@ public static CompletableFuture getL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7249,7 +7554,8 @@ public static CompletableFuture getL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7262,7 +7568,8 @@ public static Output getLocalGateway * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7289,7 +7596,8 @@ public static Output getLocalGateway
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7302,7 +7610,8 @@ public static CompletableFuture getL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7327,7 +7636,8 @@ public static CompletableFuture getL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7340,7 +7650,8 @@ public static Output getLocalGatewa * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7365,7 +7676,8 @@ public static Output getLocalGatewa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7378,7 +7690,8 @@ public static CompletableFuture get * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7403,7 +7716,8 @@ public static CompletableFuture get
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7416,7 +7730,8 @@ public static Output getLocalGatewa * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7441,7 +7756,8 @@ public static Output getLocalGatewa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7454,7 +7770,8 @@ public static CompletableFuture get * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7479,7 +7796,8 @@ public static CompletableFuture get
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7492,7 +7810,8 @@ public static Output getLocalGatewa * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7517,7 +7836,8 @@ public static Output getLocalGatewa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7532,7 +7852,8 @@ public static CompletableFuture get * The following example retrieves Local Gateways with a resource tag of `service` set to `production`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7554,13 +7875,14 @@ public static CompletableFuture get
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGateways(GetLocalGatewaysArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7575,7 +7897,8 @@ public static Output getLocalGateways() { * The following example retrieves Local Gateways with a resource tag of `service` set to `production`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7597,13 +7920,14 @@ public static Output getLocalGateways() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGateways(GetLocalGatewaysArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7618,7 +7942,8 @@ public static CompletableFuture getLocalGatewaysPlain() * The following example retrieves Local Gateways with a resource tag of `service` set to `production`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7640,13 +7965,14 @@ public static CompletableFuture getLocalGatewaysPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGateways(GetLocalGatewaysArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7661,7 +7987,8 @@ public static Output getLocalGateways(GetLocalGatewaysAr * The following example retrieves Local Gateways with a resource tag of `service` set to `production`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7683,13 +8010,14 @@ public static Output getLocalGateways(GetLocalGatewaysAr
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGateways(GetLocalGatewaysArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7704,7 +8032,8 @@ public static CompletableFuture getLocalGatewaysPlain(Ge * The following example retrieves Local Gateways with a resource tag of `service` set to `production`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7726,13 +8055,14 @@ public static CompletableFuture getLocalGatewaysPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGateways(GetLocalGatewaysArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7747,7 +8077,8 @@ public static Output getLocalGateways(GetLocalGatewaysAr * The following example retrieves Local Gateways with a resource tag of `service` set to `production`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7769,13 +8100,14 @@ public static Output getLocalGateways(GetLocalGatewaysAr
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getLocalGateways(GetLocalGatewaysArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getLocalGatewaysResult -> getLocalGatewaysResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7791,7 +8123,8 @@ public static CompletableFuture getLocalGatewaysPlain(Ge * ### Find the regional DynamoDB prefix list * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7817,18 +8150,20 @@ public static CompletableFuture getLocalGatewaysPlain(Ge
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
-     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find a managed prefix list using filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7851,14 +8186,15 @@ public static CompletableFuture getLocalGatewaysPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
      *             .filters(GetManagedPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-name")
-     *                 .values("my-prefix-list")
+     *                 .name("prefix-list-name")
+     *                 .values("my-prefix-list")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7874,7 +8210,8 @@ public static Output getManagedPrefixList() { * ### Find the regional DynamoDB prefix list * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7900,18 +8237,20 @@ public static Output getManagedPrefixList() {
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
-     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find a managed prefix list using filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7934,14 +8273,15 @@ public static Output getManagedPrefixList() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
      *             .filters(GetManagedPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-name")
-     *                 .values("my-prefix-list")
+     *                 .name("prefix-list-name")
+     *                 .values("my-prefix-list")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7957,7 +8297,8 @@ public static CompletableFuture getManagedPrefixList * ### Find the regional DynamoDB prefix list * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7983,18 +8324,20 @@ public static CompletableFuture getManagedPrefixList
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
-     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find a managed prefix list using filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8017,14 +8360,15 @@ public static CompletableFuture getManagedPrefixList
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
      *             .filters(GetManagedPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-name")
-     *                 .values("my-prefix-list")
+     *                 .name("prefix-list-name")
+     *                 .values("my-prefix-list")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8040,7 +8384,8 @@ public static Output getManagedPrefixList(GetManaged * ### Find the regional DynamoDB prefix list * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8066,18 +8411,20 @@ public static Output getManagedPrefixList(GetManaged
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
-     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find a managed prefix list using filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8100,14 +8447,15 @@ public static Output getManagedPrefixList(GetManaged
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
      *             .filters(GetManagedPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-name")
-     *                 .values("my-prefix-list")
+     *                 .name("prefix-list-name")
+     *                 .values("my-prefix-list")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8123,7 +8471,8 @@ public static CompletableFuture getManagedPrefixList * ### Find the regional DynamoDB prefix list * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8149,18 +8498,20 @@ public static CompletableFuture getManagedPrefixList
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
-     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find a managed prefix list using filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8183,14 +8534,15 @@ public static CompletableFuture getManagedPrefixList
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
      *             .filters(GetManagedPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-name")
-     *                 .values("my-prefix-list")
+     *                 .name("prefix-list-name")
+     *                 .values("my-prefix-list")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8206,7 +8558,8 @@ public static Output getManagedPrefixList(GetManaged * ### Find the regional DynamoDB prefix list * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8232,18 +8585,20 @@ public static Output getManagedPrefixList(GetManaged
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
-     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *             .name(String.format("com.amazonaws.%s.dynamodb", current.applyValue(getRegionResult -> getRegionResult.name())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find a managed prefix list using filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8266,14 +8621,15 @@ public static Output getManagedPrefixList(GetManaged
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getManagedPrefixList(GetManagedPrefixListArgs.builder()
      *             .filters(GetManagedPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-name")
-     *                 .values("my-prefix-list")
+     *                 .name("prefix-list-name")
+     *                 .values("my-prefix-list")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8328,7 +8684,8 @@ public static CompletableFuture getManagedPrefixLis * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8355,13 +8712,15 @@ public static CompletableFuture getManagedPrefixLis
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8384,12 +8743,13 @@ public static CompletableFuture getManagedPrefixLis
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
      *             .subnetId(public_.id())
-     *             .tags(Map.of("Name", "gw NAT"))
+     *             .tags(Map.of("Name", "gw NAT"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8402,7 +8762,8 @@ public static Output getNatGateway() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8429,13 +8790,15 @@ public static Output getNatGateway() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8458,12 +8821,13 @@ public static Output getNatGateway() {
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
      *             .subnetId(public_.id())
-     *             .tags(Map.of("Name", "gw NAT"))
+     *             .tags(Map.of("Name", "gw NAT"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8476,7 +8840,8 @@ public static CompletableFuture getNatGatewayPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8503,13 +8868,15 @@ public static CompletableFuture getNatGatewayPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8532,12 +8899,13 @@ public static CompletableFuture getNatGatewayPlain() {
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
      *             .subnetId(public_.id())
-     *             .tags(Map.of("Name", "gw NAT"))
+     *             .tags(Map.of("Name", "gw NAT"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8550,7 +8918,8 @@ public static Output getNatGateway(GetNatGatewayArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8577,13 +8946,15 @@ public static Output getNatGateway(GetNatGatewayArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8606,12 +8977,13 @@ public static Output getNatGateway(GetNatGatewayArgs args)
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
      *             .subnetId(public_.id())
-     *             .tags(Map.of("Name", "gw NAT"))
+     *             .tags(Map.of("Name", "gw NAT"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8624,7 +8996,8 @@ public static CompletableFuture getNatGatewayPlain(GetNatGa * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8651,13 +9024,15 @@ public static CompletableFuture getNatGatewayPlain(GetNatGa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8680,12 +9055,13 @@ public static CompletableFuture getNatGatewayPlain(GetNatGa
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
      *             .subnetId(public_.id())
-     *             .tags(Map.of("Name", "gw NAT"))
+     *             .tags(Map.of("Name", "gw NAT"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8698,7 +9074,8 @@ public static Output getNatGateway(GetNatGatewayArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8725,13 +9102,15 @@ public static Output getNatGateway(GetNatGatewayArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8754,12 +9133,13 @@ public static Output getNatGateway(GetNatGatewayArgs args,
      *     public static void stack(Context ctx) {
      *         final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
      *             .subnetId(public_.id())
-     *             .tags(Map.of("Name", "gw NAT"))
+     *             .tags(Map.of("Name", "gw NAT"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8814,7 +9194,8 @@ public static CompletableFuture getNatGatewaysPlain(GetNat * The following shows outputting all network ACL ids in a vpc. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8839,17 +9220,19 @@ public static CompletableFuture getNatGatewaysPlain(GetNat
      *             .vpcId(vpcId)
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network ACL ids in a VPC with a custom * tag of `Tier` set to a value of "Private". * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8872,19 +9255,21 @@ public static CompletableFuture getNatGatewaysPlain(GetNat
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
-     *             .tags(Map.of("Tier", "Private"))
+     *             .tags(Map.of("Tier", "Private"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network ACL id in a VPC which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8908,14 +9293,15 @@ public static CompletableFuture getNatGatewaysPlain(GetNat
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
      *             .filters(GetNetworkAclsFilterArgs.builder()
-     *                 .name("association.subnet-id")
+     *                 .name("association.subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8928,7 +9314,8 @@ public static Output getNetworkAcls() { * The following shows outputting all network ACL ids in a vpc. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8953,17 +9340,19 @@ public static Output getNetworkAcls() {
      *             .vpcId(vpcId)
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network ACL ids in a VPC with a custom * tag of `Tier` set to a value of "Private". * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8986,19 +9375,21 @@ public static Output getNetworkAcls() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
-     *             .tags(Map.of("Tier", "Private"))
+     *             .tags(Map.of("Tier", "Private"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network ACL id in a VPC which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9022,14 +9413,15 @@ public static Output getNetworkAcls() {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
      *             .filters(GetNetworkAclsFilterArgs.builder()
-     *                 .name("association.subnet-id")
+     *                 .name("association.subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9042,7 +9434,8 @@ public static CompletableFuture getNetworkAclsPlain() { * The following shows outputting all network ACL ids in a vpc. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9067,17 +9460,19 @@ public static CompletableFuture getNetworkAclsPlain() {
      *             .vpcId(vpcId)
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network ACL ids in a VPC with a custom * tag of `Tier` set to a value of "Private". * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9100,19 +9495,21 @@ public static CompletableFuture getNetworkAclsPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
-     *             .tags(Map.of("Tier", "Private"))
+     *             .tags(Map.of("Tier", "Private"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network ACL id in a VPC which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9136,14 +9533,15 @@ public static CompletableFuture getNetworkAclsPlain() {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
      *             .filters(GetNetworkAclsFilterArgs.builder()
-     *                 .name("association.subnet-id")
+     *                 .name("association.subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9156,7 +9554,8 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg * The following shows outputting all network ACL ids in a vpc. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9181,17 +9580,19 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg
      *             .vpcId(vpcId)
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network ACL ids in a VPC with a custom * tag of `Tier` set to a value of "Private". * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9214,19 +9615,21 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
-     *             .tags(Map.of("Tier", "Private"))
+     *             .tags(Map.of("Tier", "Private"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network ACL id in a VPC which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9250,14 +9653,15 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
      *             .filters(GetNetworkAclsFilterArgs.builder()
-     *                 .name("association.subnet-id")
+     *                 .name("association.subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9270,7 +9674,8 @@ public static CompletableFuture getNetworkAclsPlain(GetNet * The following shows outputting all network ACL ids in a vpc. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9295,17 +9700,19 @@ public static CompletableFuture getNetworkAclsPlain(GetNet
      *             .vpcId(vpcId)
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network ACL ids in a VPC with a custom * tag of `Tier` set to a value of "Private". * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9328,19 +9735,21 @@ public static CompletableFuture getNetworkAclsPlain(GetNet
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
-     *             .tags(Map.of("Tier", "Private"))
+     *             .tags(Map.of("Tier", "Private"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network ACL id in a VPC which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9364,14 +9773,15 @@ public static CompletableFuture getNetworkAclsPlain(GetNet
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
      *             .filters(GetNetworkAclsFilterArgs.builder()
-     *                 .name("association.subnet-id")
+     *                 .name("association.subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9384,7 +9794,8 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg * The following shows outputting all network ACL ids in a vpc. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9409,17 +9820,19 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg
      *             .vpcId(vpcId)
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkAclsResult -> getNetworkAclsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network ACL ids in a VPC with a custom * tag of `Tier` set to a value of "Private". * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9442,19 +9855,21 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
-     *             .tags(Map.of("Tier", "Private"))
+     *             .tags(Map.of("Tier", "Private"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network ACL id in a VPC which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9478,14 +9893,15 @@ public static Output getNetworkAcls(GetNetworkAclsArgs arg
      *         final var example = Ec2Functions.getNetworkAcls(GetNetworkAclsArgs.builder()
      *             .vpcId(vpcId)
      *             .filters(GetNetworkAclsFilterArgs.builder()
-     *                 .name("association.subnet-id")
+     *                 .name("association.subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9498,7 +9914,8 @@ public static CompletableFuture getNetworkAclsPlain(GetNet * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9525,7 +9942,8 @@ public static CompletableFuture getNetworkAclsPlain(GetNet
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9538,7 +9956,8 @@ public static Output getNetworkInsightsAnalysi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9565,7 +9984,8 @@ public static Output getNetworkInsightsAnalysi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9578,7 +9998,8 @@ public static CompletableFuture getNetworkInsi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9605,7 +10026,8 @@ public static CompletableFuture getNetworkInsi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9618,7 +10040,8 @@ public static Output getNetworkInsightsAnalysi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9645,7 +10068,8 @@ public static Output getNetworkInsightsAnalysi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9658,7 +10082,8 @@ public static CompletableFuture getNetworkInsi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9685,7 +10110,8 @@ public static CompletableFuture getNetworkInsi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9698,7 +10124,8 @@ public static Output getNetworkInsightsAnalysi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9725,7 +10152,8 @@ public static Output getNetworkInsightsAnalysi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9738,7 +10166,8 @@ public static CompletableFuture getNetworkInsi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9765,7 +10194,8 @@ public static CompletableFuture getNetworkInsi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9778,7 +10208,8 @@ public static Output getNetworkInsightsPath() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9805,7 +10236,8 @@ public static Output getNetworkInsightsPath() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9818,7 +10250,8 @@ public static CompletableFuture getNetworkInsights * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9845,7 +10278,8 @@ public static CompletableFuture getNetworkInsights
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9858,7 +10292,8 @@ public static Output getNetworkInsightsPath(GetNet * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9885,7 +10320,8 @@ public static Output getNetworkInsightsPath(GetNet
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9898,7 +10334,8 @@ public static CompletableFuture getNetworkInsights * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9925,7 +10362,8 @@ public static CompletableFuture getNetworkInsights
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9938,7 +10376,8 @@ public static Output getNetworkInsightsPath(GetNet * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -9965,7 +10404,8 @@ public static Output getNetworkInsightsPath(GetNet
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -9978,7 +10418,8 @@ public static CompletableFuture getNetworkInsights * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10000,12 +10441,13 @@ public static CompletableFuture getNetworkInsights
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id("eni-01234567")
+     *             .id("eni-01234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10018,7 +10460,8 @@ public static Output getNetworkInterface() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10040,12 +10483,13 @@ public static Output getNetworkInterface() {
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id("eni-01234567")
+     *             .id("eni-01234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10058,7 +10502,8 @@ public static CompletableFuture getNetworkInterfacePl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10080,12 +10525,13 @@ public static CompletableFuture getNetworkInterfacePl
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id("eni-01234567")
+     *             .id("eni-01234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10098,7 +10544,8 @@ public static Output getNetworkInterface(GetNetworkIn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10120,12 +10567,13 @@ public static Output getNetworkInterface(GetNetworkIn
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id("eni-01234567")
+     *             .id("eni-01234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10138,7 +10586,8 @@ public static CompletableFuture getNetworkInterfacePl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10160,12 +10609,13 @@ public static CompletableFuture getNetworkInterfacePl
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id("eni-01234567")
+     *             .id("eni-01234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10178,7 +10628,8 @@ public static Output getNetworkInterface(GetNetworkIn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10200,12 +10651,13 @@ public static Output getNetworkInterface(GetNetworkIn
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id("eni-01234567")
+     *             .id("eni-01234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10218,7 +10670,8 @@ public static CompletableFuture getNetworkInterfacePl * The following shows outputting all network interface ids in a region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10241,16 +10694,18 @@ public static CompletableFuture getNetworkInterfacePl
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces();
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network interface ids with a custom tag of `Name` set to a value of `test`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10272,20 +10727,22 @@ public static CompletableFuture getNetworkInterfacePl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
-     *             .tags(Map.of("Name", "test"))
+     *             .tags(Map.of("Name", "test"))
      *             .build());
      * 
-     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network interface ids which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10308,15 +10765,16 @@ public static CompletableFuture getNetworkInterfacePl
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
      *             .filters(GetNetworkInterfacesFilterArgs.builder()
-     *                 .name("subnet-id")
+     *                 .name("subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10329,7 +10787,8 @@ public static Output getNetworkInterfaces() { * The following shows outputting all network interface ids in a region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10352,16 +10811,18 @@ public static Output getNetworkInterfaces() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces();
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network interface ids with a custom tag of `Name` set to a value of `test`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10383,20 +10844,22 @@ public static Output getNetworkInterfaces() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
-     *             .tags(Map.of("Name", "test"))
+     *             .tags(Map.of("Name", "test"))
      *             .build());
      * 
-     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network interface ids which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10419,15 +10882,16 @@ public static Output getNetworkInterfaces() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
      *             .filters(GetNetworkInterfacesFilterArgs.builder()
-     *                 .name("subnet-id")
+     *                 .name("subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10440,7 +10904,8 @@ public static CompletableFuture getNetworkInterfaces * The following shows outputting all network interface ids in a region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10463,16 +10928,18 @@ public static CompletableFuture getNetworkInterfaces
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces();
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network interface ids with a custom tag of `Name` set to a value of `test`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10494,20 +10961,22 @@ public static CompletableFuture getNetworkInterfaces
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
-     *             .tags(Map.of("Name", "test"))
+     *             .tags(Map.of("Name", "test"))
      *             .build());
      * 
-     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network interface ids which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10530,15 +10999,16 @@ public static CompletableFuture getNetworkInterfaces
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
      *             .filters(GetNetworkInterfacesFilterArgs.builder()
-     *                 .name("subnet-id")
+     *                 .name("subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10551,7 +11021,8 @@ public static Output getNetworkInterfaces(GetNetwork * The following shows outputting all network interface ids in a region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10574,16 +11045,18 @@ public static Output getNetworkInterfaces(GetNetwork
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces();
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network interface ids with a custom tag of `Name` set to a value of `test`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10605,20 +11078,22 @@ public static Output getNetworkInterfaces(GetNetwork
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
-     *             .tags(Map.of("Name", "test"))
+     *             .tags(Map.of("Name", "test"))
      *             .build());
      * 
-     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network interface ids which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10641,15 +11116,16 @@ public static Output getNetworkInterfaces(GetNetwork
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
      *             .filters(GetNetworkInterfacesFilterArgs.builder()
-     *                 .name("subnet-id")
+     *                 .name("subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10662,7 +11138,8 @@ public static CompletableFuture getNetworkInterfaces * The following shows outputting all network interface ids in a region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10685,16 +11162,18 @@ public static CompletableFuture getNetworkInterfaces
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces();
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network interface ids with a custom tag of `Name` set to a value of `test`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10716,20 +11195,22 @@ public static CompletableFuture getNetworkInterfaces
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
-     *             .tags(Map.of("Name", "test"))
+     *             .tags(Map.of("Name", "test"))
      *             .build());
      * 
-     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network interface ids which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10752,15 +11233,16 @@ public static CompletableFuture getNetworkInterfaces
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
      *             .filters(GetNetworkInterfacesFilterArgs.builder()
-     *                 .name("subnet-id")
+     *                 .name("subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10773,7 +11255,8 @@ public static Output getNetworkInterfaces(GetNetwork * The following shows outputting all network interface ids in a region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10796,16 +11279,18 @@ public static Output getNetworkInterfaces(GetNetwork
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces();
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a list of all network interface ids with a custom tag of `Name` set to a value of `test`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10827,20 +11312,22 @@ public static Output getNetworkInterfaces(GetNetwork
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
-     *             .tags(Map.of("Name", "test"))
+     *             .tags(Map.of("Name", "test"))
      *             .build());
      * 
-     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example1", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following example retrieves a network interface ids which associated * with specific subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10863,15 +11350,16 @@ public static Output getNetworkInterfaces(GetNetwork
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getNetworkInterfaces(GetNetworkInterfacesArgs.builder()
      *             .filters(GetNetworkInterfacesFilterArgs.builder()
-     *                 .name("subnet-id")
+     *                 .name("subnet-id")
      *                 .values(test.id())
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
+     *         ctx.export("example", example.applyValue(getNetworkInterfacesResult -> getNetworkInterfacesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -10892,7 +11380,8 @@ public static CompletableFuture getNetworkInterfaces * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10919,39 +11408,41 @@ public static CompletableFuture getNetworkInterfaces
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
+     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
      *         final var privateS3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .prefixListId(privateS3VpcEndpoint.prefixListId())
      *             .build());
      * 
-     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
-     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
+     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
      *             .networkAclId(bar.id())
      *             .ruleNumber(200)
      *             .egress(false)
-     *             .protocol("tcp")
-     *             .ruleAction("allow")
-     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
+     *             .protocol("tcp")
+     *             .ruleAction("allow")
+     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
      *             .fromPort(443)
      *             .toPort(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -10974,14 +11465,15 @@ public static CompletableFuture getNetworkInterfaces
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .filters(GetPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-id")
-     *                 .values("pl-68a54001")
+     *                 .name("prefix-list-id")
+     *                 .values("pl-68a54001")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11002,7 +11494,8 @@ public static Output getPrefixList() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11029,39 +11522,41 @@ public static Output getPrefixList() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
+     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
      *         final var privateS3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .prefixListId(privateS3VpcEndpoint.prefixListId())
      *             .build());
      * 
-     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
-     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
+     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
      *             .networkAclId(bar.id())
      *             .ruleNumber(200)
      *             .egress(false)
-     *             .protocol("tcp")
-     *             .ruleAction("allow")
-     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
+     *             .protocol("tcp")
+     *             .ruleAction("allow")
+     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
      *             .fromPort(443)
      *             .toPort(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11084,14 +11579,15 @@ public static Output getPrefixList() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .filters(GetPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-id")
-     *                 .values("pl-68a54001")
+     *                 .name("prefix-list-id")
+     *                 .values("pl-68a54001")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11112,7 +11608,8 @@ public static CompletableFuture getPrefixListPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11139,39 +11636,41 @@ public static CompletableFuture getPrefixListPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
+     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
      *         final var privateS3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .prefixListId(privateS3VpcEndpoint.prefixListId())
      *             .build());
      * 
-     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
-     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
+     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
      *             .networkAclId(bar.id())
      *             .ruleNumber(200)
      *             .egress(false)
-     *             .protocol("tcp")
-     *             .ruleAction("allow")
-     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
+     *             .protocol("tcp")
+     *             .ruleAction("allow")
+     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
      *             .fromPort(443)
      *             .toPort(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11194,14 +11693,15 @@ public static CompletableFuture getPrefixListPlain() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .filters(GetPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-id")
-     *                 .values("pl-68a54001")
+     *                 .name("prefix-list-id")
+     *                 .values("pl-68a54001")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11222,7 +11722,8 @@ public static Output getPrefixList(GetPrefixListArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11249,39 +11750,41 @@ public static Output getPrefixList(GetPrefixListArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
+     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
      *         final var privateS3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .prefixListId(privateS3VpcEndpoint.prefixListId())
      *             .build());
      * 
-     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
-     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
+     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
      *             .networkAclId(bar.id())
      *             .ruleNumber(200)
      *             .egress(false)
-     *             .protocol("tcp")
-     *             .ruleAction("allow")
-     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
+     *             .protocol("tcp")
+     *             .ruleAction("allow")
+     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
      *             .fromPort(443)
      *             .toPort(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11304,14 +11807,15 @@ public static Output getPrefixList(GetPrefixListArgs args)
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .filters(GetPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-id")
-     *                 .values("pl-68a54001")
+     *                 .name("prefix-list-id")
+     *                 .values("pl-68a54001")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11332,7 +11836,8 @@ public static CompletableFuture getPrefixListPlain(GetPrefi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11359,39 +11864,41 @@ public static CompletableFuture getPrefixListPlain(GetPrefi
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
+     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
      *         final var privateS3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .prefixListId(privateS3VpcEndpoint.prefixListId())
      *             .build());
      * 
-     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
-     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
+     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
      *             .networkAclId(bar.id())
      *             .ruleNumber(200)
      *             .egress(false)
-     *             .protocol("tcp")
-     *             .ruleAction("allow")
-     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
+     *             .protocol("tcp")
+     *             .ruleAction("allow")
+     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
      *             .fromPort(443)
      *             .toPort(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11414,14 +11921,15 @@ public static CompletableFuture getPrefixListPlain(GetPrefi
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .filters(GetPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-id")
-     *                 .values("pl-68a54001")
+     *                 .name("prefix-list-id")
+     *                 .values("pl-68a54001")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11442,7 +11950,8 @@ public static Output getPrefixList(GetPrefixListArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11469,39 +11978,41 @@ public static Output getPrefixList(GetPrefixListArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
+     *         var privateS3VpcEndpoint = new VpcEndpoint("privateS3VpcEndpoint", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
      *         final var privateS3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .prefixListId(privateS3VpcEndpoint.prefixListId())
      *             .build());
      * 
-     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+     *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
-     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
+     *         var privateS3NetworkAclRule = new NetworkAclRule("privateS3NetworkAclRule", NetworkAclRuleArgs.builder()        
      *             .networkAclId(bar.id())
      *             .ruleNumber(200)
      *             .egress(false)
-     *             .protocol("tcp")
-     *             .ruleAction("allow")
-     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
+     *             .protocol("tcp")
+     *             .ruleAction("allow")
+     *             .cidrBlock(privateS3.applyValue(getPrefixListResult -> getPrefixListResult).applyValue(privateS3 -> privateS3.applyValue(getPrefixListResult -> getPrefixListResult.cidrBlocks()[0])))
      *             .fromPort(443)
      *             .toPort(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11524,14 +12035,15 @@ public static Output getPrefixList(GetPrefixListArgs args,
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
      *             .filters(GetPrefixListFilterArgs.builder()
-     *                 .name("prefix-list-id")
-     *                 .values("pl-68a54001")
+     *                 .name("prefix-list-id")
+     *                 .values("pl-68a54001")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11546,7 +12058,8 @@ public static CompletableFuture getPrefixListPlain(GetPrefi * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11568,12 +12081,13 @@ public static CompletableFuture getPrefixListPlain(GetPrefi
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pool(GetPublicIpv4PoolArgs.builder()
-     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
+     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11588,7 +12102,8 @@ public static Output getPublicIpv4Pool(GetPublicIpv4Poo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11610,12 +12125,13 @@ public static Output getPublicIpv4Pool(GetPublicIpv4Poo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pool(GetPublicIpv4PoolArgs.builder()
-     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
+     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11630,7 +12146,8 @@ public static CompletableFuture getPublicIpv4PoolPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11652,12 +12169,13 @@ public static CompletableFuture getPublicIpv4PoolPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pool(GetPublicIpv4PoolArgs.builder()
-     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
+     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11672,7 +12190,8 @@ public static Output getPublicIpv4Pool(GetPublicIpv4Poo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11694,12 +12213,13 @@ public static Output getPublicIpv4Pool(GetPublicIpv4Poo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pool(GetPublicIpv4PoolArgs.builder()
-     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
+     *             .poolId("ipv4pool-ec2-000df99cff0c1ec10")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11714,7 +12234,8 @@ public static CompletableFuture getPublicIpv4PoolPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11740,13 +12261,15 @@ public static CompletableFuture getPublicIpv4PoolPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Usage with Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11769,14 +12292,15 @@ public static CompletableFuture getPublicIpv4PoolPlain(
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pools(GetPublicIpv4PoolsArgs.builder()
      *             .filters(GetPublicIpv4PoolsFilterArgs.builder()
-     *                 .name("tag-key")
-     *                 .values("ExampleTagKey")
+     *                 .name("tag-key")
+     *                 .values("ExampleTagKey")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11791,7 +12315,8 @@ public static Output getPublicIpv4Pools() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11817,13 +12342,15 @@ public static Output getPublicIpv4Pools() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Usage with Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11846,14 +12373,15 @@ public static Output getPublicIpv4Pools() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pools(GetPublicIpv4PoolsArgs.builder()
      *             .filters(GetPublicIpv4PoolsFilterArgs.builder()
-     *                 .name("tag-key")
-     *                 .values("ExampleTagKey")
+     *                 .name("tag-key")
+     *                 .values("ExampleTagKey")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11868,7 +12396,8 @@ public static CompletableFuture getPublicIpv4PoolsPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11894,13 +12423,15 @@ public static CompletableFuture getPublicIpv4PoolsPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Usage with Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11923,14 +12454,15 @@ public static CompletableFuture getPublicIpv4PoolsPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pools(GetPublicIpv4PoolsArgs.builder()
      *             .filters(GetPublicIpv4PoolsFilterArgs.builder()
-     *                 .name("tag-key")
-     *                 .values("ExampleTagKey")
+     *                 .name("tag-key")
+     *                 .values("ExampleTagKey")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -11945,7 +12477,8 @@ public static Output getPublicIpv4Pools(GetPublicIpv4P * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -11971,13 +12504,15 @@ public static Output getPublicIpv4Pools(GetPublicIpv4P
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Usage with Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12000,14 +12535,15 @@ public static Output getPublicIpv4Pools(GetPublicIpv4P
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pools(GetPublicIpv4PoolsArgs.builder()
      *             .filters(GetPublicIpv4PoolsFilterArgs.builder()
-     *                 .name("tag-key")
-     *                 .values("ExampleTagKey")
+     *                 .name("tag-key")
+     *                 .values("ExampleTagKey")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12022,7 +12558,8 @@ public static CompletableFuture getPublicIpv4PoolsPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12048,13 +12585,15 @@ public static CompletableFuture getPublicIpv4PoolsPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Usage with Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12077,14 +12616,15 @@ public static CompletableFuture getPublicIpv4PoolsPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pools(GetPublicIpv4PoolsArgs.builder()
      *             .filters(GetPublicIpv4PoolsFilterArgs.builder()
-     *                 .name("tag-key")
-     *                 .values("ExampleTagKey")
+     *                 .name("tag-key")
+     *                 .values("ExampleTagKey")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12099,7 +12639,8 @@ public static Output getPublicIpv4Pools(GetPublicIpv4P * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12125,13 +12666,15 @@ public static Output getPublicIpv4Pools(GetPublicIpv4P
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Usage with Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12154,14 +12697,15 @@ public static Output getPublicIpv4Pools(GetPublicIpv4P
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getPublicIpv4Pools(GetPublicIpv4PoolsArgs.builder()
      *             .filters(GetPublicIpv4PoolsFilterArgs.builder()
-     *                 .name("tag-key")
-     *                 .values("ExampleTagKey")
+     *                 .name("tag-key")
+     *                 .values("ExampleTagKey")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12178,7 +12722,8 @@ public static CompletableFuture getPublicIpv4PoolsPlai * The following example shows how one might use a CIDR value to find a network interface id and use this to create a data source of that network interface. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12202,23 +12747,24 @@ public static CompletableFuture getPublicIpv4PoolsPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
      *         final var route = Ec2Functions.getRoute(GetRouteArgs.builder()
      *             .routeTableId(selectedAwsRouteTable.id())
-     *             .destinationCidrBlock("10.0.1.0/24")
+     *             .destinationCidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *         final var interface = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
+     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12235,7 +12781,8 @@ public static Output getRoute(GetRouteArgs args) { * The following example shows how one might use a CIDR value to find a network interface id and use this to create a data source of that network interface. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12259,23 +12806,24 @@ public static Output getRoute(GetRouteArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
      *         final var route = Ec2Functions.getRoute(GetRouteArgs.builder()
      *             .routeTableId(selectedAwsRouteTable.id())
-     *             .destinationCidrBlock("10.0.1.0/24")
+     *             .destinationCidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *         final var interface = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
+     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12292,7 +12840,8 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs * The following example shows how one might use a CIDR value to find a network interface id and use this to create a data source of that network interface. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12316,23 +12865,24 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
      *         final var route = Ec2Functions.getRoute(GetRouteArgs.builder()
      *             .routeTableId(selectedAwsRouteTable.id())
-     *             .destinationCidrBlock("10.0.1.0/24")
+     *             .destinationCidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *         final var interface = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
+     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12349,7 +12899,8 @@ public static Output getRoute(GetRouteArgs args, InvokeOptions o * The following example shows how one might use a CIDR value to find a network interface id and use this to create a data source of that network interface. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12373,23 +12924,24 @@ public static Output getRoute(GetRouteArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
      *         final var route = Ec2Functions.getRoute(GetRouteArgs.builder()
      *             .routeTableId(selectedAwsRouteTable.id())
-     *             .destinationCidrBlock("10.0.1.0/24")
+     *             .destinationCidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *         final var interface = Ec2Functions.getNetworkInterface(GetNetworkInterfaceArgs.builder()
-     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
+     *             .id(route.applyValue(getRouteResult -> getRouteResult.networkInterfaceId()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12406,7 +12958,8 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs * The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12430,20 +12983,21 @@ public static CompletableFuture getRoutePlain(GetRoutePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
-     *         var route = new Route("route", RouteArgs.builder()        
-     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
-     *             .destinationCidrBlock("10.0.1.0/22")
-     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+     *         var route = new Route("route", RouteArgs.builder()        
+     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
+     *             .destinationCidrBlock("10.0.1.0/22")
+     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12460,7 +13014,8 @@ public static Output getRouteTable() { * The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12484,20 +13039,21 @@ public static Output getRouteTable() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
-     *         var route = new Route("route", RouteArgs.builder()        
-     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
-     *             .destinationCidrBlock("10.0.1.0/22")
-     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+     *         var route = new Route("route", RouteArgs.builder()        
+     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
+     *             .destinationCidrBlock("10.0.1.0/22")
+     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12514,7 +13070,8 @@ public static CompletableFuture getRouteTablePlain() { * The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12538,20 +13095,21 @@ public static CompletableFuture getRouteTablePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
-     *         var route = new Route("route", RouteArgs.builder()        
-     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
-     *             .destinationCidrBlock("10.0.1.0/22")
-     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+     *         var route = new Route("route", RouteArgs.builder()        
+     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
+     *             .destinationCidrBlock("10.0.1.0/22")
+     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12568,7 +13126,8 @@ public static Output getRouteTable(GetRouteTableArgs args) * The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12592,20 +13151,21 @@ public static Output getRouteTable(GetRouteTableArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
-     *         var route = new Route("route", RouteArgs.builder()        
-     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
-     *             .destinationCidrBlock("10.0.1.0/22")
-     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+     *         var route = new Route("route", RouteArgs.builder()        
+     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
+     *             .destinationCidrBlock("10.0.1.0/22")
+     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12622,7 +13182,8 @@ public static CompletableFuture getRouteTablePlain(GetRoute * The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12646,20 +13207,21 @@ public static CompletableFuture getRouteTablePlain(GetRoute
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
-     *         var route = new Route("route", RouteArgs.builder()        
-     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
-     *             .destinationCidrBlock("10.0.1.0/22")
-     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+     *         var route = new Route("route", RouteArgs.builder()        
+     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
+     *             .destinationCidrBlock("10.0.1.0/22")
+     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12676,7 +13238,8 @@ public static Output getRouteTable(GetRouteTableArgs args, * The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12700,20 +13263,21 @@ public static Output getRouteTable(GetRouteTableArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getRouteTable(GetRouteTableArgs.builder()
      *             .subnetId(subnetId)
      *             .build());
      * 
-     *         var route = new Route("route", RouteArgs.builder()        
-     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
-     *             .destinationCidrBlock("10.0.1.0/22")
-     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+     *         var route = new Route("route", RouteArgs.builder()        
+     *             .routeTableId(selected.applyValue(getRouteTableResult -> getRouteTableResult.id()))
+     *             .destinationCidrBlock("10.0.1.0/22")
+     *             .vpcPeeringConnectionId("pcx-45ff3dc1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12775,7 +13339,8 @@ public static CompletableFuture getRouteTablesPlain(GetRou * and use this data source to obtain the data necessary to create a subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12799,19 +13364,20 @@ public static CompletableFuture getRouteTablesPlain(GetRou
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var securityGroupId = config.get("securityGroupId");
+     *         final var securityGroupId = config.get("securityGroupId");
      *         final var selected = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
      *             .id(securityGroupId)
      *             .build());
      * 
-     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
-     *             .cidrBlock("10.0.1.0/24")
+     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
+     *             .cidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12831,7 +13397,8 @@ public static Output getSecurityGroup() { * and use this data source to obtain the data necessary to create a subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12855,19 +13422,20 @@ public static Output getSecurityGroup() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var securityGroupId = config.get("securityGroupId");
+     *         final var securityGroupId = config.get("securityGroupId");
      *         final var selected = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
      *             .id(securityGroupId)
      *             .build());
      * 
-     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
-     *             .cidrBlock("10.0.1.0/24")
+     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
+     *             .cidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12887,7 +13455,8 @@ public static CompletableFuture getSecurityGroupPlain() * and use this data source to obtain the data necessary to create a subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12911,19 +13480,20 @@ public static CompletableFuture getSecurityGroupPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var securityGroupId = config.get("securityGroupId");
+     *         final var securityGroupId = config.get("securityGroupId");
      *         final var selected = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
      *             .id(securityGroupId)
      *             .build());
      * 
-     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
-     *             .cidrBlock("10.0.1.0/24")
+     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
+     *             .cidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12943,7 +13513,8 @@ public static Output getSecurityGroup(GetSecurityGroupAr * and use this data source to obtain the data necessary to create a subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -12967,19 +13538,20 @@ public static Output getSecurityGroup(GetSecurityGroupAr
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var securityGroupId = config.get("securityGroupId");
+     *         final var securityGroupId = config.get("securityGroupId");
      *         final var selected = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
      *             .id(securityGroupId)
      *             .build());
      * 
-     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
-     *             .cidrBlock("10.0.1.0/24")
+     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
+     *             .cidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -12999,7 +13571,8 @@ public static CompletableFuture getSecurityGroupPlain(Ge * and use this data source to obtain the data necessary to create a subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13023,19 +13596,20 @@ public static CompletableFuture getSecurityGroupPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var securityGroupId = config.get("securityGroupId");
+     *         final var securityGroupId = config.get("securityGroupId");
      *         final var selected = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
      *             .id(securityGroupId)
      *             .build());
      * 
-     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
-     *             .cidrBlock("10.0.1.0/24")
+     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
+     *             .cidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13055,7 +13629,8 @@ public static Output getSecurityGroup(GetSecurityGroupAr * and use this data source to obtain the data necessary to create a subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13079,19 +13654,20 @@ public static Output getSecurityGroup(GetSecurityGroupAr
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var securityGroupId = config.get("securityGroupId");
+     *         final var securityGroupId = config.get("securityGroupId");
      *         final var selected = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
      *             .id(securityGroupId)
      *             .build());
      * 
-     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
-     *             .cidrBlock("10.0.1.0/24")
+     *         var subnet = new Subnet("subnet", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getSecurityGroupResult -> getSecurityGroupResult.vpcId()))
+     *             .cidrBlock("10.0.1.0/24")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13104,7 +13680,8 @@ public static CompletableFuture getSecurityGroupPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13127,18 +13704,20 @@ public static CompletableFuture getSecurityGroupPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .tags(Map.ofEntries(
-     *                 Map.entry("Application", "k8s"),
-     *                 Map.entry("Environment", "dev")
+     *                 Map.entry("Application", "k8s"),
+     *                 Map.entry("Environment", "dev")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13162,18 +13741,19 @@ public static CompletableFuture getSecurityGroupPlain(Ge
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .filters(            
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("group-name")
-     *                     .values("*nodes*")
+     *                     .name("group-name")
+     *                     .values("*nodes*")
      *                     .build(),
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("vpc-id")
+     *                     .name("vpc-id")
      *                     .values(vpcId)
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13186,7 +13766,8 @@ public static Output getSecurityGroups() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13209,18 +13790,20 @@ public static Output getSecurityGroups() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .tags(Map.ofEntries(
-     *                 Map.entry("Application", "k8s"),
-     *                 Map.entry("Environment", "dev")
+     *                 Map.entry("Application", "k8s"),
+     *                 Map.entry("Environment", "dev")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13244,18 +13827,19 @@ public static Output getSecurityGroups() {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .filters(            
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("group-name")
-     *                     .values("*nodes*")
+     *                     .name("group-name")
+     *                     .values("*nodes*")
      *                     .build(),
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("vpc-id")
+     *                     .name("vpc-id")
      *                     .values(vpcId)
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13268,7 +13852,8 @@ public static CompletableFuture getSecurityGroupsPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13291,18 +13876,20 @@ public static CompletableFuture getSecurityGroupsPlain(
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .tags(Map.ofEntries(
-     *                 Map.entry("Application", "k8s"),
-     *                 Map.entry("Environment", "dev")
+     *                 Map.entry("Application", "k8s"),
+     *                 Map.entry("Environment", "dev")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13326,18 +13913,19 @@ public static CompletableFuture getSecurityGroupsPlain(
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .filters(            
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("group-name")
-     *                     .values("*nodes*")
+     *                     .name("group-name")
+     *                     .values("*nodes*")
      *                     .build(),
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("vpc-id")
+     *                     .name("vpc-id")
      *                     .values(vpcId)
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13350,7 +13938,8 @@ public static Output getSecurityGroups(GetSecurityGroup * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13373,18 +13962,20 @@ public static Output getSecurityGroups(GetSecurityGroup
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .tags(Map.ofEntries(
-     *                 Map.entry("Application", "k8s"),
-     *                 Map.entry("Environment", "dev")
+     *                 Map.entry("Application", "k8s"),
+     *                 Map.entry("Environment", "dev")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13408,18 +13999,19 @@ public static Output getSecurityGroups(GetSecurityGroup
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .filters(            
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("group-name")
-     *                     .values("*nodes*")
+     *                     .name("group-name")
+     *                     .values("*nodes*")
      *                     .build(),
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("vpc-id")
+     *                     .name("vpc-id")
      *                     .values(vpcId)
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13432,7 +14024,8 @@ public static CompletableFuture getSecurityGroupsPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13455,18 +14048,20 @@ public static CompletableFuture getSecurityGroupsPlain(
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .tags(Map.ofEntries(
-     *                 Map.entry("Application", "k8s"),
-     *                 Map.entry("Environment", "dev")
+     *                 Map.entry("Application", "k8s"),
+     *                 Map.entry("Environment", "dev")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13490,18 +14085,19 @@ public static CompletableFuture getSecurityGroupsPlain(
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .filters(            
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("group-name")
-     *                     .values("*nodes*")
+     *                     .name("group-name")
+     *                     .values("*nodes*")
      *                     .build(),
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("vpc-id")
+     *                     .name("vpc-id")
      *                     .values(vpcId)
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13514,7 +14110,8 @@ public static Output getSecurityGroups(GetSecurityGroup * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13537,18 +14134,20 @@ public static Output getSecurityGroups(GetSecurityGroup
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .tags(Map.ofEntries(
-     *                 Map.entry("Application", "k8s"),
-     *                 Map.entry("Environment", "dev")
+     *                 Map.entry("Application", "k8s"),
+     *                 Map.entry("Environment", "dev")
      *             ))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13572,18 +14171,19 @@ public static Output getSecurityGroups(GetSecurityGroup
      *         final var test = Ec2Functions.getSecurityGroups(GetSecurityGroupsArgs.builder()
      *             .filters(            
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("group-name")
-     *                     .values("*nodes*")
+     *                     .name("group-name")
+     *                     .values("*nodes*")
      *                     .build(),
      *                 GetSecurityGroupsFilterArgs.builder()
-     *                     .name("vpc-id")
+     *                     .name("vpc-id")
      *                     .values(vpcId)
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13596,7 +14196,8 @@ public static CompletableFuture getSecurityGroupsPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13620,7 +14221,8 @@ public static CompletableFuture getSecurityGroupsPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13633,7 +14235,8 @@ public static Output getSerialConsoleAccess() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13657,7 +14260,8 @@ public static Output getSerialConsoleAccess() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13670,7 +14274,8 @@ public static CompletableFuture getSerialConsoleAc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13694,7 +14299,8 @@ public static CompletableFuture getSerialConsoleAc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13707,7 +14313,8 @@ public static Output getSerialConsoleAccess(Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13731,7 +14338,8 @@ public static Output getSerialConsoleAccess(Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13744,7 +14352,8 @@ public static CompletableFuture getSerialConsoleAc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13768,7 +14377,8 @@ public static CompletableFuture getSerialConsoleAc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13781,7 +14391,8 @@ public static Output getSerialConsoleAccess(Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13805,7 +14416,8 @@ public static Output getSerialConsoleAccess(Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13818,7 +14430,8 @@ public static CompletableFuture getSerialConsoleAc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13840,17 +14453,18 @@ public static CompletableFuture getSerialConsoleAc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getSpotPrice(GetSpotPriceArgs.builder()
-     *             .instanceType("t3.medium")
-     *             .availabilityZone("us-west-2a")
+     *             .instanceType("t3.medium")
+     *             .availabilityZone("us-west-2a")
      *             .filters(GetSpotPriceFilterArgs.builder()
-     *                 .name("product-description")
-     *                 .values("Linux/UNIX")
+     *                 .name("product-description")
+     *                 .values("Linux/UNIX")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13863,7 +14477,8 @@ public static Output getSpotPrice() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13885,17 +14500,18 @@ public static Output getSpotPrice() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getSpotPrice(GetSpotPriceArgs.builder()
-     *             .instanceType("t3.medium")
-     *             .availabilityZone("us-west-2a")
+     *             .instanceType("t3.medium")
+     *             .availabilityZone("us-west-2a")
      *             .filters(GetSpotPriceFilterArgs.builder()
-     *                 .name("product-description")
-     *                 .values("Linux/UNIX")
+     *                 .name("product-description")
+     *                 .values("Linux/UNIX")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13908,7 +14524,8 @@ public static CompletableFuture getSpotPricePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13930,17 +14547,18 @@ public static CompletableFuture getSpotPricePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getSpotPrice(GetSpotPriceArgs.builder()
-     *             .instanceType("t3.medium")
-     *             .availabilityZone("us-west-2a")
+     *             .instanceType("t3.medium")
+     *             .availabilityZone("us-west-2a")
      *             .filters(GetSpotPriceFilterArgs.builder()
-     *                 .name("product-description")
-     *                 .values("Linux/UNIX")
+     *                 .name("product-description")
+     *                 .values("Linux/UNIX")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13953,7 +14571,8 @@ public static Output getSpotPrice(GetSpotPriceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -13975,17 +14594,18 @@ public static Output getSpotPrice(GetSpotPriceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getSpotPrice(GetSpotPriceArgs.builder()
-     *             .instanceType("t3.medium")
-     *             .availabilityZone("us-west-2a")
+     *             .instanceType("t3.medium")
+     *             .availabilityZone("us-west-2a")
      *             .filters(GetSpotPriceFilterArgs.builder()
-     *                 .name("product-description")
-     *                 .values("Linux/UNIX")
+     *                 .name("product-description")
+     *                 .values("Linux/UNIX")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -13998,7 +14618,8 @@ public static CompletableFuture getSpotPricePlain(GetSpotPri * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14020,17 +14641,18 @@ public static CompletableFuture getSpotPricePlain(GetSpotPri
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getSpotPrice(GetSpotPriceArgs.builder()
-     *             .instanceType("t3.medium")
-     *             .availabilityZone("us-west-2a")
+     *             .instanceType("t3.medium")
+     *             .availabilityZone("us-west-2a")
      *             .filters(GetSpotPriceFilterArgs.builder()
-     *                 .name("product-description")
-     *                 .values("Linux/UNIX")
+     *                 .name("product-description")
+     *                 .values("Linux/UNIX")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14043,7 +14665,8 @@ public static Output getSpotPrice(GetSpotPriceArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14065,17 +14688,18 @@ public static Output getSpotPrice(GetSpotPriceArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getSpotPrice(GetSpotPriceArgs.builder()
-     *             .instanceType("t3.medium")
-     *             .availabilityZone("us-west-2a")
+     *             .instanceType("t3.medium")
+     *             .availabilityZone("us-west-2a")
      *             .filters(GetSpotPriceFilterArgs.builder()
-     *                 .name("product-description")
-     *                 .values("Linux/UNIX")
+     *                 .name("product-description")
+     *                 .values("Linux/UNIX")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14092,7 +14716,8 @@ public static CompletableFuture getSpotPricePlain(GetSpotPri * The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14117,24 +14742,25 @@ public static CompletableFuture getSpotPricePlain(GetSpotPri
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .id(subnetId)
      *             .build());
      * 
-     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
-     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
+     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
+     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
+     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
      *                 .fromPort(80)
      *                 .toPort(80)
-     *                 .protocol("tcp")
+     *                 .protocol("tcp")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example @@ -14142,7 +14768,8 @@ public static CompletableFuture getSpotPricePlain(GetSpotPri * If you want to match against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14165,14 +14792,15 @@ public static CompletableFuture getSpotPricePlain(GetSpotPri
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .filters(GetSubnetFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("yakdriver")
+     *                 .name("tag:Name")
+     *                 .values("yakdriver")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14189,7 +14817,8 @@ public static Output getSubnet() { * The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14214,24 +14843,25 @@ public static Output getSubnet() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .id(subnetId)
      *             .build());
      * 
-     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
-     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
+     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
+     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
+     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
      *                 .fromPort(80)
      *                 .toPort(80)
-     *                 .protocol("tcp")
+     *                 .protocol("tcp")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example @@ -14239,7 +14869,8 @@ public static Output getSubnet() { * If you want to match against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14262,14 +14893,15 @@ public static Output getSubnet() {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .filters(GetSubnetFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("yakdriver")
+     *                 .name("tag:Name")
+     *                 .values("yakdriver")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14286,7 +14918,8 @@ public static CompletableFuture getSubnetPlain() { * The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14311,24 +14944,25 @@ public static CompletableFuture getSubnetPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .id(subnetId)
      *             .build());
      * 
-     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
-     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
+     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
+     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
+     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
      *                 .fromPort(80)
      *                 .toPort(80)
-     *                 .protocol("tcp")
+     *                 .protocol("tcp")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example @@ -14336,7 +14970,8 @@ public static CompletableFuture getSubnetPlain() { * If you want to match against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14359,14 +14994,15 @@ public static CompletableFuture getSubnetPlain() {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .filters(GetSubnetFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("yakdriver")
+     *                 .name("tag:Name")
+     *                 .values("yakdriver")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14383,7 +15019,8 @@ public static Output getSubnet(GetSubnetArgs args) { * The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14408,24 +15045,25 @@ public static Output getSubnet(GetSubnetArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .id(subnetId)
      *             .build());
      * 
-     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
-     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
+     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
+     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
+     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
      *                 .fromPort(80)
      *                 .toPort(80)
-     *                 .protocol("tcp")
+     *                 .protocol("tcp")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example @@ -14433,7 +15071,8 @@ public static Output getSubnet(GetSubnetArgs args) { * If you want to match against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14456,14 +15095,15 @@ public static Output getSubnet(GetSubnetArgs args) {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .filters(GetSubnetFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("yakdriver")
+     *                 .name("tag:Name")
+     *                 .values("yakdriver")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14480,7 +15120,8 @@ public static CompletableFuture getSubnetPlain(GetSubnetPlainAr * The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14505,24 +15146,25 @@ public static CompletableFuture getSubnetPlain(GetSubnetPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .id(subnetId)
      *             .build());
      * 
-     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
-     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
+     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
+     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
+     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
      *                 .fromPort(80)
      *                 .toPort(80)
-     *                 .protocol("tcp")
+     *                 .protocol("tcp")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example @@ -14530,7 +15172,8 @@ public static CompletableFuture getSubnetPlain(GetSubnetPlainAr * If you want to match against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14553,14 +15196,15 @@ public static CompletableFuture getSubnetPlain(GetSubnetPlainAr
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .filters(GetSubnetFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("yakdriver")
+     *                 .name("tag:Name")
+     *                 .values("yakdriver")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14577,7 +15221,8 @@ public static Output getSubnet(GetSubnetArgs args, InvokeOption * The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14602,24 +15247,25 @@ public static Output getSubnet(GetSubnetArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var subnetId = config.get("subnetId");
+     *         final var subnetId = config.get("subnetId");
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .id(subnetId)
      *             .build());
      * 
-     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
-     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
+     *         var subnet = new SecurityGroup("subnet", SecurityGroupArgs.builder()        
+     *             .vpcId(selected.applyValue(getSubnetResult -> getSubnetResult.vpcId()))
      *             .ingress(SecurityGroupIngressArgs.builder()
-     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
+     *                 .cidrBlocks(selected.applyValue(getSubnetResult -> getSubnetResult.cidrBlock()))
      *                 .fromPort(80)
      *                 .toPort(80)
-     *                 .protocol("tcp")
+     *                 .protocol("tcp")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example @@ -14627,7 +15273,8 @@ public static Output getSubnet(GetSubnetArgs args, InvokeOption * If you want to match against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14650,14 +15297,15 @@ public static Output getSubnet(GetSubnetArgs args, InvokeOption
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnet(GetSubnetArgs.builder()
      *             .filters(GetSubnetFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("yakdriver")
+     *                 .name("tag:Name")
+     *                 .values("yakdriver")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14714,7 +15362,8 @@ public static CompletableFuture getSubnetsPlain(GetSubnetsPlai * The following shows outputting all Transit Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14737,10 +15386,11 @@ public static CompletableFuture getSubnetsPlain(GetSubnetsPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getTransitGatewayRouteTables();
      * 
-     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
+     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14755,7 +15405,8 @@ public static Output getTransitGatewayRouteT * The following shows outputting all Transit Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14778,10 +15429,11 @@ public static Output getTransitGatewayRouteT
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getTransitGatewayRouteTables();
      * 
-     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
+     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14796,7 +15448,8 @@ public static CompletableFuture getTransitGa * The following shows outputting all Transit Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14819,10 +15472,11 @@ public static CompletableFuture getTransitGa
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getTransitGatewayRouteTables();
      * 
-     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
+     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14837,7 +15491,8 @@ public static Output getTransitGatewayRouteT * The following shows outputting all Transit Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14860,10 +15515,11 @@ public static Output getTransitGatewayRouteT
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getTransitGatewayRouteTables();
      * 
-     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
+     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14878,7 +15534,8 @@ public static CompletableFuture getTransitGa * The following shows outputting all Transit Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14901,10 +15558,11 @@ public static CompletableFuture getTransitGa
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getTransitGatewayRouteTables();
      * 
-     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
+     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14919,7 +15577,8 @@ public static Output getTransitGatewayRouteT * The following shows outputting all Transit Gateway Route Table Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14942,10 +15601,11 @@ public static Output getTransitGatewayRouteT
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getTransitGatewayRouteTables();
      * 
-     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
+     *         ctx.export("example", example.applyValue(getTransitGatewayRouteTablesResult -> getTransitGatewayRouteTablesResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -14966,7 +15626,8 @@ public static CompletableFuture getTransitGa * within it. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -14990,16 +15651,16 @@ public static CompletableFuture getTransitGa
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
      *             .id(vpcId)
      *             .build());
      * 
-     *         var example = new Subnet("example", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Subnet("example", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+     *             .availabilityZone("us-west-2a")
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
      *                 .newbits(4)
      *                 .netnum(1)
      *                 .build()).result())
@@ -15007,7 +15668,8 @@ public static CompletableFuture getTransitGa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15028,7 +15690,8 @@ public static Output getVpc() { * within it. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15052,16 +15715,16 @@ public static Output getVpc() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
      *             .id(vpcId)
      *             .build());
      * 
-     *         var example = new Subnet("example", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Subnet("example", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+     *             .availabilityZone("us-west-2a")
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
      *                 .newbits(4)
      *                 .netnum(1)
      *                 .build()).result())
@@ -15069,7 +15732,8 @@ public static Output getVpc() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15090,7 +15754,8 @@ public static CompletableFuture getVpcPlain() { * within it. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15114,16 +15779,16 @@ public static CompletableFuture getVpcPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
      *             .id(vpcId)
      *             .build());
      * 
-     *         var example = new Subnet("example", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Subnet("example", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+     *             .availabilityZone("us-west-2a")
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
      *                 .newbits(4)
      *                 .netnum(1)
      *                 .build()).result())
@@ -15131,7 +15796,8 @@ public static CompletableFuture getVpcPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15152,7 +15818,8 @@ public static Output getVpc(GetVpcArgs args) { * within it. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15176,16 +15843,16 @@ public static Output getVpc(GetVpcArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
      *             .id(vpcId)
      *             .build());
      * 
-     *         var example = new Subnet("example", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Subnet("example", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+     *             .availabilityZone("us-west-2a")
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
      *                 .newbits(4)
      *                 .netnum(1)
      *                 .build()).result())
@@ -15193,7 +15860,8 @@ public static Output getVpc(GetVpcArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15214,7 +15882,8 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args) * within it. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15238,16 +15907,16 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
      *             .id(vpcId)
      *             .build());
      * 
-     *         var example = new Subnet("example", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Subnet("example", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+     *             .availabilityZone("us-west-2a")
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
      *                 .newbits(4)
      *                 .netnum(1)
      *                 .build()).result())
@@ -15255,7 +15924,8 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15276,7 +15946,8 @@ public static Output getVpc(GetVpcArgs args, InvokeOptions options * within it. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15300,16 +15971,16 @@ public static Output getVpc(GetVpcArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var vpcId = config.get("vpcId");
+     *         final var vpcId = config.get("vpcId");
      *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
      *             .id(vpcId)
      *             .build());
      * 
-     *         var example = new Subnet("example", SubnetArgs.builder()        
-     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
-     *             .availabilityZone("us-west-2a")
+     *         var example = new Subnet("example", SubnetArgs.builder()        
+     *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+     *             .availabilityZone("us-west-2a")
      *             .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
-     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+     *                 .input(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
      *                 .newbits(4)
      *                 .netnum(1)
      *                 .build()).result())
@@ -15317,7 +15988,8 @@ public static Output getVpc(GetVpcArgs args, InvokeOptions options
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15332,7 +16004,8 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args, * ### Lookup by DHCP Options ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15354,18 +16027,20 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
-     *             .dhcpOptionsId("dopts-12345678")
+     *             .dhcpOptionsId("dopts-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup by Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15389,18 +16064,19 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args,
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
      *             .filters(            
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("key")
-     *                     .values("domain-name")
+     *                     .name("key")
+     *                     .values("domain-name")
      *                     .build(),
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("value")
-     *                     .values("example.com")
+     *                     .name("value")
+     *                     .values("example.com")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15415,7 +16091,8 @@ public static Output getVpcDhcpOptions() { * ### Lookup by DHCP Options ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15437,18 +16114,20 @@ public static Output getVpcDhcpOptions() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
-     *             .dhcpOptionsId("dopts-12345678")
+     *             .dhcpOptionsId("dopts-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup by Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15472,18 +16151,19 @@ public static Output getVpcDhcpOptions() {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
      *             .filters(            
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("key")
-     *                     .values("domain-name")
+     *                     .name("key")
+     *                     .values("domain-name")
      *                     .build(),
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("value")
-     *                     .values("example.com")
+     *                     .name("value")
+     *                     .values("example.com")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15498,7 +16178,8 @@ public static CompletableFuture getVpcDhcpOptionsPlain( * ### Lookup by DHCP Options ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15520,18 +16201,20 @@ public static CompletableFuture getVpcDhcpOptionsPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
-     *             .dhcpOptionsId("dopts-12345678")
+     *             .dhcpOptionsId("dopts-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup by Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15555,18 +16238,19 @@ public static CompletableFuture getVpcDhcpOptionsPlain(
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
      *             .filters(            
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("key")
-     *                     .values("domain-name")
+     *                     .name("key")
+     *                     .values("domain-name")
      *                     .build(),
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("value")
-     *                     .values("example.com")
+     *                     .name("value")
+     *                     .values("example.com")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15581,7 +16265,8 @@ public static Output getVpcDhcpOptions(GetVpcDhcpOption * ### Lookup by DHCP Options ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15603,18 +16288,20 @@ public static Output getVpcDhcpOptions(GetVpcDhcpOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
-     *             .dhcpOptionsId("dopts-12345678")
+     *             .dhcpOptionsId("dopts-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup by Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15638,18 +16325,19 @@ public static Output getVpcDhcpOptions(GetVpcDhcpOption
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
      *             .filters(            
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("key")
-     *                     .values("domain-name")
+     *                     .name("key")
+     *                     .values("domain-name")
      *                     .build(),
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("value")
-     *                     .values("example.com")
+     *                     .name("value")
+     *                     .values("example.com")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15664,7 +16352,8 @@ public static CompletableFuture getVpcDhcpOptionsPlain( * ### Lookup by DHCP Options ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15686,18 +16375,20 @@ public static CompletableFuture getVpcDhcpOptionsPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
-     *             .dhcpOptionsId("dopts-12345678")
+     *             .dhcpOptionsId("dopts-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup by Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15721,18 +16412,19 @@ public static CompletableFuture getVpcDhcpOptionsPlain(
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
      *             .filters(            
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("key")
-     *                     .values("domain-name")
+     *                     .name("key")
+     *                     .values("domain-name")
      *                     .build(),
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("value")
-     *                     .values("example.com")
+     *                     .name("value")
+     *                     .values("example.com")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15747,7 +16439,8 @@ public static Output getVpcDhcpOptions(GetVpcDhcpOption * ### Lookup by DHCP Options ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15769,18 +16462,20 @@ public static Output getVpcDhcpOptions(GetVpcDhcpOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
-     *             .dhcpOptionsId("dopts-12345678")
+     *             .dhcpOptionsId("dopts-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Lookup by Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15804,18 +16499,19 @@ public static Output getVpcDhcpOptions(GetVpcDhcpOption
      *         final var example = Ec2Functions.getVpcDhcpOptions(GetVpcDhcpOptionsArgs.builder()
      *             .filters(            
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("key")
-     *                     .values("domain-name")
+     *                     .name("key")
+     *                     .values("domain-name")
      *                     .build(),
      *                 GetVpcDhcpOptionsFilterArgs.builder()
-     *                     .name("value")
-     *                     .values("example.com")
+     *                     .name("value")
+     *                     .values("example.com")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15829,7 +16525,8 @@ public static CompletableFuture getVpcDhcpOptionsPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15855,17 +16552,18 @@ public static CompletableFuture getVpcDhcpOptionsPlain(
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpoint(GetVpcEndpointArgs.builder()
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
-     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
-     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
+     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
+     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
      *             .routeTableId(private_.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15879,7 +16577,8 @@ public static Output getVpcEndpoint() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15905,17 +16604,18 @@ public static Output getVpcEndpoint() {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpoint(GetVpcEndpointArgs.builder()
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
-     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
-     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
+     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
+     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
      *             .routeTableId(private_.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15929,7 +16629,8 @@ public static CompletableFuture getVpcEndpointPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -15955,17 +16656,18 @@ public static CompletableFuture getVpcEndpointPlain() {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpoint(GetVpcEndpointArgs.builder()
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
-     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
-     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
+     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
+     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
      *             .routeTableId(private_.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -15979,7 +16681,8 @@ public static Output getVpcEndpoint(GetVpcEndpointArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16005,17 +16708,18 @@ public static Output getVpcEndpoint(GetVpcEndpointArgs arg
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpoint(GetVpcEndpointArgs.builder()
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
-     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
-     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
+     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
+     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
      *             .routeTableId(private_.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16029,7 +16733,8 @@ public static CompletableFuture getVpcEndpointPlain(GetVpc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16055,17 +16760,18 @@ public static CompletableFuture getVpcEndpointPlain(GetVpc
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpoint(GetVpcEndpointArgs.builder()
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
-     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
-     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
+     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
+     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
      *             .routeTableId(private_.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16079,7 +16785,8 @@ public static Output getVpcEndpoint(GetVpcEndpointArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16105,17 +16812,18 @@ public static Output getVpcEndpoint(GetVpcEndpointArgs arg
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpoint(GetVpcEndpointArgs.builder()
      *             .vpcId(foo.id())
-     *             .serviceName("com.amazonaws.us-west-2.s3")
+     *             .serviceName("com.amazonaws.us-west-2.s3")
      *             .build());
      * 
-     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
-     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
+     *         var privateS3 = new VpcEndpointRouteTableAssociation("privateS3", VpcEndpointRouteTableAssociationArgs.builder()        
+     *             .vpcEndpointId(s3.applyValue(getVpcEndpointResult -> getVpcEndpointResult.id()))
      *             .routeTableId(private_.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16131,7 +16839,8 @@ public static CompletableFuture getVpcEndpointPlain(GetVpc * ### AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16158,30 +16867,32 @@ public static CompletableFuture getVpcEndpointPlain(GetVpc
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .service("s3")
-     *             .serviceType("Gateway")
+     *             .service("s3")
+     *             .serviceType("Gateway")
      *             .build());
      * 
      *         // Create a VPC
-     *         var foo = new Vpc("foo", VpcArgs.builder()        
-     *             .cidrBlock("10.0.0.0/16")
+     *         var foo = new Vpc("foo", VpcArgs.builder()        
+     *             .cidrBlock("10.0.0.0/16")
      *             .build());
      * 
      *         // Create a VPC endpoint
-     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
+     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Non-AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16203,18 +16914,20 @@ public static CompletableFuture getVpcEndpointPlain(GetVpc
      * 
      *     public static void stack(Context ctx) {
      *         final var custome = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
+     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16237,14 +16950,15 @@ public static CompletableFuture getVpcEndpointPlain(GetVpc
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
      *             .filters(GetVpcEndpointServiceFilterArgs.builder()
-     *                 .name("service-name")
-     *                 .values("some-service")
+     *                 .name("service-name")
+     *                 .values("some-service")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16260,7 +16974,8 @@ public static Output getVpcEndpointService() { * ### AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16287,30 +17002,32 @@ public static Output getVpcEndpointService() {
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .service("s3")
-     *             .serviceType("Gateway")
+     *             .service("s3")
+     *             .serviceType("Gateway")
      *             .build());
      * 
      *         // Create a VPC
-     *         var foo = new Vpc("foo", VpcArgs.builder()        
-     *             .cidrBlock("10.0.0.0/16")
+     *         var foo = new Vpc("foo", VpcArgs.builder()        
+     *             .cidrBlock("10.0.0.0/16")
      *             .build());
      * 
      *         // Create a VPC endpoint
-     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
+     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Non-AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16332,18 +17049,20 @@ public static Output getVpcEndpointService() {
      * 
      *     public static void stack(Context ctx) {
      *         final var custome = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
+     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16366,14 +17085,15 @@ public static Output getVpcEndpointService() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
      *             .filters(GetVpcEndpointServiceFilterArgs.builder()
-     *                 .name("service-name")
-     *                 .values("some-service")
+     *                 .name("service-name")
+     *                 .values("some-service")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16389,7 +17109,8 @@ public static CompletableFuture getVpcEndpointServi * ### AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16416,30 +17137,32 @@ public static CompletableFuture getVpcEndpointServi
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .service("s3")
-     *             .serviceType("Gateway")
+     *             .service("s3")
+     *             .serviceType("Gateway")
      *             .build());
      * 
      *         // Create a VPC
-     *         var foo = new Vpc("foo", VpcArgs.builder()        
-     *             .cidrBlock("10.0.0.0/16")
+     *         var foo = new Vpc("foo", VpcArgs.builder()        
+     *             .cidrBlock("10.0.0.0/16")
      *             .build());
      * 
      *         // Create a VPC endpoint
-     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
+     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Non-AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16461,18 +17184,20 @@ public static CompletableFuture getVpcEndpointServi
      * 
      *     public static void stack(Context ctx) {
      *         final var custome = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
+     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16495,14 +17220,15 @@ public static CompletableFuture getVpcEndpointServi
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
      *             .filters(GetVpcEndpointServiceFilterArgs.builder()
-     *                 .name("service-name")
-     *                 .values("some-service")
+     *                 .name("service-name")
+     *                 .values("some-service")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16518,7 +17244,8 @@ public static Output getVpcEndpointService(GetVpcEn * ### AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16545,30 +17272,32 @@ public static Output getVpcEndpointService(GetVpcEn
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .service("s3")
-     *             .serviceType("Gateway")
+     *             .service("s3")
+     *             .serviceType("Gateway")
      *             .build());
      * 
      *         // Create a VPC
-     *         var foo = new Vpc("foo", VpcArgs.builder()        
-     *             .cidrBlock("10.0.0.0/16")
+     *         var foo = new Vpc("foo", VpcArgs.builder()        
+     *             .cidrBlock("10.0.0.0/16")
      *             .build());
      * 
      *         // Create a VPC endpoint
-     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
+     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Non-AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16590,18 +17319,20 @@ public static Output getVpcEndpointService(GetVpcEn
      * 
      *     public static void stack(Context ctx) {
      *         final var custome = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
+     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16624,14 +17355,15 @@ public static Output getVpcEndpointService(GetVpcEn
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
      *             .filters(GetVpcEndpointServiceFilterArgs.builder()
-     *                 .name("service-name")
-     *                 .values("some-service")
+     *                 .name("service-name")
+     *                 .values("some-service")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16647,7 +17379,8 @@ public static CompletableFuture getVpcEndpointServi * ### AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16674,30 +17407,32 @@ public static CompletableFuture getVpcEndpointServi
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .service("s3")
-     *             .serviceType("Gateway")
+     *             .service("s3")
+     *             .serviceType("Gateway")
      *             .build());
      * 
      *         // Create a VPC
-     *         var foo = new Vpc("foo", VpcArgs.builder()        
-     *             .cidrBlock("10.0.0.0/16")
+     *         var foo = new Vpc("foo", VpcArgs.builder()        
+     *             .cidrBlock("10.0.0.0/16")
      *             .build());
      * 
      *         // Create a VPC endpoint
-     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
+     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Non-AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16719,18 +17454,20 @@ public static CompletableFuture getVpcEndpointServi
      * 
      *     public static void stack(Context ctx) {
      *         final var custome = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
+     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16753,14 +17490,15 @@ public static CompletableFuture getVpcEndpointServi
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
      *             .filters(GetVpcEndpointServiceFilterArgs.builder()
-     *                 .name("service-name")
-     *                 .values("some-service")
+     *                 .name("service-name")
+     *                 .values("some-service")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16776,7 +17514,8 @@ public static Output getVpcEndpointService(GetVpcEn * ### AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16803,30 +17542,32 @@ public static Output getVpcEndpointService(GetVpcEn
      *     public static void stack(Context ctx) {
      *         // Declare the data source
      *         final var s3 = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .service("s3")
-     *             .serviceType("Gateway")
+     *             .service("s3")
+     *             .serviceType("Gateway")
      *             .build());
      * 
      *         // Create a VPC
-     *         var foo = new Vpc("foo", VpcArgs.builder()        
-     *             .cidrBlock("10.0.0.0/16")
+     *         var foo = new Vpc("foo", VpcArgs.builder()        
+     *             .cidrBlock("10.0.0.0/16")
      *             .build());
      * 
      *         // Create a VPC endpoint
-     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
+     *         var ep = new VpcEndpoint("ep", VpcEndpointArgs.builder()        
      *             .vpcId(foo.id())
-     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+     *             .serviceName(s3.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Non-AWS Service * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16848,18 +17589,20 @@ public static Output getVpcEndpointService(GetVpcEn
      * 
      *     public static void stack(Context ctx) {
      *         final var custome = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
-     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
+     *             .serviceName("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16882,14 +17625,15 @@ public static Output getVpcEndpointService(GetVpcEn
      *     public static void stack(Context ctx) {
      *         final var test = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
      *             .filters(GetVpcEndpointServiceFilterArgs.builder()
-     *                 .name("service-name")
-     *                 .values("some-service")
+     *                 .name("service-name")
+     *                 .values("some-service")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -16910,7 +17654,8 @@ public static CompletableFuture getVpcEndpointServi * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -16936,23 +17681,24 @@ public static CompletableFuture getVpcEndpointServi
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -16977,7 +17723,8 @@ public static Output getVpcIamPool() { * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17003,23 +17750,24 @@ public static Output getVpcIamPool() {
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17044,7 +17792,8 @@ public static CompletableFuture getVpcIamPoolPlain() { * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17070,23 +17819,24 @@ public static CompletableFuture getVpcIamPoolPlain() {
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17111,7 +17861,8 @@ public static Output getVpcIamPool(GetVpcIamPoolArgs args) * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17137,23 +17888,24 @@ public static Output getVpcIamPool(GetVpcIamPoolArgs args)
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17178,7 +17930,8 @@ public static CompletableFuture getVpcIamPoolPlain(GetVpcIa * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17204,23 +17957,24 @@ public static CompletableFuture getVpcIamPoolPlain(GetVpcIa
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17245,7 +17999,8 @@ public static Output getVpcIamPool(GetVpcIamPoolArgs args, * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17271,23 +18026,24 @@ public static Output getVpcIamPool(GetVpcIamPoolArgs args,
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17308,7 +18064,8 @@ public static CompletableFuture getVpcIamPoolPlain(GetVpcIa * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17333,22 +18090,23 @@ public static CompletableFuture getVpcIamPoolPlain(GetVpcIa
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -17374,7 +18132,8 @@ public static Output getVpcIamPoolCidrs(GetVpcIamPoolC * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17399,22 +18158,23 @@ public static Output getVpcIamPoolCidrs(GetVpcIamPoolC
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -17440,7 +18200,8 @@ public static CompletableFuture getVpcIamPoolCidrsPlai * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17465,22 +18226,23 @@ public static CompletableFuture getVpcIamPoolCidrsPlai
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -17506,7 +18268,8 @@ public static Output getVpcIamPoolCidrs(GetVpcIamPoolC * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17531,22 +18294,23 @@ public static Output getVpcIamPoolCidrs(GetVpcIamPoolC
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -17572,7 +18336,8 @@ public static CompletableFuture getVpcIamPoolCidrsPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17596,18 +18361,19 @@ public static CompletableFuture getVpcIamPoolCidrsPlai
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17628,7 +18394,8 @@ public static Output getVpcIamPools() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17652,18 +18419,19 @@ public static Output getVpcIamPools() {
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17684,7 +18452,8 @@ public static CompletableFuture getVpcIamPoolsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17708,18 +18477,19 @@ public static CompletableFuture getVpcIamPoolsPlain() {
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17740,7 +18510,8 @@ public static Output getVpcIamPools(GetVpcIamPoolsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17764,18 +18535,19 @@ public static Output getVpcIamPools(GetVpcIamPoolsArgs arg
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17796,7 +18568,8 @@ public static CompletableFuture getVpcIamPoolsPlain(GetVpc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17820,18 +18593,19 @@ public static CompletableFuture getVpcIamPoolsPlain(GetVpc
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17852,7 +18626,8 @@ public static Output getVpcIamPools(GetVpcIamPoolsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17876,18 +18651,19 @@ public static Output getVpcIamPools(GetVpcIamPoolsArgs arg
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * @deprecated @@ -17912,7 +18688,8 @@ public static CompletableFuture getVpcIamPoolsPlain(GetVpc * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -17938,23 +18715,24 @@ public static CompletableFuture getVpcIamPoolsPlain(GetVpc
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -17975,7 +18753,8 @@ public static Output getVpcIpamPool() { * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18001,23 +18780,24 @@ public static Output getVpcIpamPool() {
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18038,7 +18818,8 @@ public static CompletableFuture getVpcIpamPoolPlain() { * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18064,23 +18845,24 @@ public static CompletableFuture getVpcIpamPoolPlain() {
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18101,7 +18883,8 @@ public static Output getVpcIpamPool(GetVpcIpamPoolArgs arg * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18127,23 +18910,24 @@ public static Output getVpcIpamPool(GetVpcIpamPoolArgs arg
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18164,7 +18948,8 @@ public static CompletableFuture getVpcIpamPoolPlain(GetVpc * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18190,23 +18975,24 @@ public static CompletableFuture getVpcIpamPoolPlain(GetVpc
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18227,7 +19013,8 @@ public static Output getVpcIpamPool(GetVpcIpamPoolArgs arg * AWS IPAM. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18253,23 +19040,24 @@ public static Output getVpcIpamPool(GetVpcIpamPoolArgs arg
      *         final var test = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
-     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
-     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+     *             .ipv4IpamPoolId(test.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .ipv4NetmaskLength(28)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18286,7 +19074,8 @@ public static CompletableFuture getVpcIpamPoolPlain(GetVpc * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18311,22 +19100,23 @@ public static CompletableFuture getVpcIpamPoolPlain(GetVpc
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -18348,7 +19138,8 @@ public static Output getVpcIpamPoolCidrs(GetVpcIpamPo * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18373,22 +19164,23 @@ public static Output getVpcIpamPoolCidrs(GetVpcIpamPo
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -18410,7 +19202,8 @@ public static CompletableFuture getVpcIpamPoolCidrsPl * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18435,22 +19228,23 @@ public static CompletableFuture getVpcIpamPoolCidrsPl
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -18472,7 +19266,8 @@ public static Output getVpcIpamPoolCidrs(GetVpcIpamPo * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18497,22 +19292,23 @@ public static Output getVpcIpamPoolCidrs(GetVpcIpamPo
      *         final var p = Ec2Functions.getVpcIpamPool(GetVpcIpamPoolArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*mypool*")
+     *                     .name("description")
+     *                     .values("*mypool*")
      *                     .build(),
      *                 GetVpcIpamPoolFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *         final var c = Ec2Functions.getVpcIpamPoolCidrs(GetVpcIpamPoolCidrsArgs.builder()
-     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
+     *             .ipamPoolId(p.applyValue(getVpcIpamPoolResult -> getVpcIpamPoolResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Filtering: @@ -18534,7 +19330,8 @@ public static CompletableFuture getVpcIpamPoolCidrsPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18558,18 +19355,19 @@ public static CompletableFuture getVpcIpamPoolCidrsPl
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18586,7 +19384,8 @@ public static Output getVpcIpamPools() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18610,18 +19409,19 @@ public static Output getVpcIpamPools() {
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18638,7 +19438,8 @@ public static CompletableFuture getVpcIpamPoolsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18662,18 +19463,19 @@ public static CompletableFuture getVpcIpamPoolsPlain() {
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18690,7 +19492,8 @@ public static Output getVpcIpamPools(GetVpcIpamPoolsArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18714,18 +19517,19 @@ public static Output getVpcIpamPools(GetVpcIpamPoolsArgs
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18742,7 +19546,8 @@ public static CompletableFuture getVpcIpamPoolsPlain(GetV * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18766,18 +19571,19 @@ public static CompletableFuture getVpcIpamPoolsPlain(GetV
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18794,7 +19600,8 @@ public static Output getVpcIpamPools(GetVpcIpamPoolsArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18818,18 +19625,19 @@ public static Output getVpcIpamPools(GetVpcIpamPoolsArgs
      *         final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
      *             .filters(            
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("description")
-     *                     .values("*test*")
+     *                     .name("description")
+     *                     .values("*test*")
      *                     .build(),
      *                 GetVpcIpamPoolsFilterArgs.builder()
-     *                     .name("address-family")
-     *                     .values("ipv4")
+     *                     .name("address-family")
+     *                     .values("ipv4")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18843,7 +19651,8 @@ public static CompletableFuture getVpcIpamPoolsPlain(GetV * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18871,24 +19680,25 @@ public static CompletableFuture getVpcIpamPoolsPlain(GetV
      *         // Declare the data source
      *         final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
      *             .vpcId(foo.id())
-     *             .peerCidrBlock("10.0.1.0/22")
+     *             .peerCidrBlock("10.0.1.0/22")
      *             .build());
      * 
      *         // Create a route table
-     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
+     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
      *         // Create a route
-     *         var r = new Route("r", RouteArgs.builder()        
+     *         var r = new Route("r", RouteArgs.builder()        
      *             .routeTableId(rt.id())
-     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
-     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
+     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
+     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18902,7 +19712,8 @@ public static Output getVpcPeeringConnection() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18930,24 +19741,25 @@ public static Output getVpcPeeringConnection() {
      *         // Declare the data source
      *         final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
      *             .vpcId(foo.id())
-     *             .peerCidrBlock("10.0.1.0/22")
+     *             .peerCidrBlock("10.0.1.0/22")
      *             .build());
      * 
      *         // Create a route table
-     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
+     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
      *         // Create a route
-     *         var r = new Route("r", RouteArgs.builder()        
+     *         var r = new Route("r", RouteArgs.builder()        
      *             .routeTableId(rt.id())
-     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
-     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
+     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
+     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -18961,7 +19773,8 @@ public static CompletableFuture getVpcPeeringConn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -18989,24 +19802,25 @@ public static CompletableFuture getVpcPeeringConn
      *         // Declare the data source
      *         final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
      *             .vpcId(foo.id())
-     *             .peerCidrBlock("10.0.1.0/22")
+     *             .peerCidrBlock("10.0.1.0/22")
      *             .build());
      * 
      *         // Create a route table
-     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
+     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
      *         // Create a route
-     *         var r = new Route("r", RouteArgs.builder()        
+     *         var r = new Route("r", RouteArgs.builder()        
      *             .routeTableId(rt.id())
-     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
-     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
+     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
+     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19020,7 +19834,8 @@ public static Output getVpcPeeringConnection(GetV * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19048,24 +19863,25 @@ public static Output getVpcPeeringConnection(GetV
      *         // Declare the data source
      *         final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
      *             .vpcId(foo.id())
-     *             .peerCidrBlock("10.0.1.0/22")
+     *             .peerCidrBlock("10.0.1.0/22")
      *             .build());
      * 
      *         // Create a route table
-     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
+     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
      *         // Create a route
-     *         var r = new Route("r", RouteArgs.builder()        
+     *         var r = new Route("r", RouteArgs.builder()        
      *             .routeTableId(rt.id())
-     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
-     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
+     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
+     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19079,7 +19895,8 @@ public static CompletableFuture getVpcPeeringConn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19107,24 +19924,25 @@ public static CompletableFuture getVpcPeeringConn
      *         // Declare the data source
      *         final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
      *             .vpcId(foo.id())
-     *             .peerCidrBlock("10.0.1.0/22")
+     *             .peerCidrBlock("10.0.1.0/22")
      *             .build());
      * 
      *         // Create a route table
-     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
+     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
      *         // Create a route
-     *         var r = new Route("r", RouteArgs.builder()        
+     *         var r = new Route("r", RouteArgs.builder()        
      *             .routeTableId(rt.id())
-     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
-     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
+     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
+     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19138,7 +19956,8 @@ public static Output getVpcPeeringConnection(GetV * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19166,24 +19985,25 @@ public static Output getVpcPeeringConnection(GetV
      *         // Declare the data source
      *         final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
      *             .vpcId(foo.id())
-     *             .peerCidrBlock("10.0.1.0/22")
+     *             .peerCidrBlock("10.0.1.0/22")
      *             .build());
      * 
      *         // Create a route table
-     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
+     *         var rt = new RouteTable("rt", RouteTableArgs.builder()        
      *             .vpcId(foo.id())
      *             .build());
      * 
      *         // Create a route
-     *         var r = new Route("r", RouteArgs.builder()        
+     *         var r = new Route("r", RouteArgs.builder()        
      *             .routeTableId(rt.id())
-     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
-     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
+     *             .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
+     *             .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19296,7 +20116,8 @@ public static CompletableFuture getVpcPeeringCon * The following shows outputting all VPC Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19318,13 +20139,14 @@ public static CompletableFuture getVpcPeeringCon
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getVpcs(GetVpcsArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * An example use case would be interpolate the `aws.ec2.getVpcs` output into `count` of an aws.ec2.FlowLog resource. @@ -19343,7 +20165,8 @@ public static Output getVpcs() { * The following shows outputting all VPC Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19365,13 +20188,14 @@ public static Output getVpcs() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getVpcs(GetVpcsArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * An example use case would be interpolate the `aws.ec2.getVpcs` output into `count` of an aws.ec2.FlowLog resource. @@ -19390,7 +20214,8 @@ public static CompletableFuture getVpcsPlain() { * The following shows outputting all VPC Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19412,13 +20237,14 @@ public static CompletableFuture getVpcsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getVpcs(GetVpcsArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * An example use case would be interpolate the `aws.ec2.getVpcs` output into `count` of an aws.ec2.FlowLog resource. @@ -19437,7 +20263,8 @@ public static Output getVpcs(GetVpcsArgs args) { * The following shows outputting all VPC Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19459,13 +20286,14 @@ public static Output getVpcs(GetVpcsArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getVpcs(GetVpcsArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * An example use case would be interpolate the `aws.ec2.getVpcs` output into `count` of an aws.ec2.FlowLog resource. @@ -19484,7 +20312,8 @@ public static CompletableFuture getVpcsPlain(GetVpcsPlainArgs arg * The following shows outputting all VPC Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19506,13 +20335,14 @@ public static CompletableFuture getVpcsPlain(GetVpcsPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getVpcs(GetVpcsArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * An example use case would be interpolate the `aws.ec2.getVpcs` output into `count` of an aws.ec2.FlowLog resource. @@ -19531,7 +20361,8 @@ public static Output getVpcs(GetVpcsArgs args, InvokeOptions opti * The following shows outputting all VPC Ids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19553,13 +20384,14 @@ public static Output getVpcs(GetVpcsArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = Ec2Functions.getVpcs(GetVpcsArgs.builder()
-     *             .tags(Map.of("service", "production"))
+     *             .tags(Map.of("service", "production"))
      *             .build());
      * 
-     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
+     *         ctx.export("foo", foo.applyValue(getVpcsResult -> getVpcsResult.ids()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * An example use case would be interpolate the `aws.ec2.getVpcs` output into `count` of an aws.ec2.FlowLog resource. @@ -19575,7 +20407,8 @@ public static CompletableFuture getVpcsPlain(GetVpcsPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19598,15 +20431,16 @@ public static CompletableFuture getVpcsPlain(GetVpcsPlainArgs arg
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getVpnGateway(GetVpnGatewayArgs.builder()
      *             .filters(GetVpnGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("vpn-gw")
+     *                 .name("tag:Name")
+     *                 .values("vpn-gw")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
+     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19620,7 +20454,8 @@ public static Output getVpnGateway() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19643,15 +20478,16 @@ public static Output getVpnGateway() {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getVpnGateway(GetVpnGatewayArgs.builder()
      *             .filters(GetVpnGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("vpn-gw")
+     *                 .name("tag:Name")
+     *                 .values("vpn-gw")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
+     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19665,7 +20501,8 @@ public static CompletableFuture getVpnGatewayPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19688,15 +20525,16 @@ public static CompletableFuture getVpnGatewayPlain() {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getVpnGateway(GetVpnGatewayArgs.builder()
      *             .filters(GetVpnGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("vpn-gw")
+     *                 .name("tag:Name")
+     *                 .values("vpn-gw")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
+     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19710,7 +20548,8 @@ public static Output getVpnGateway(GetVpnGatewayArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19733,15 +20572,16 @@ public static Output getVpnGateway(GetVpnGatewayArgs args)
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getVpnGateway(GetVpnGatewayArgs.builder()
      *             .filters(GetVpnGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("vpn-gw")
+     *                 .name("tag:Name")
+     *                 .values("vpn-gw")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
+     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19755,7 +20595,8 @@ public static CompletableFuture getVpnGatewayPlain(GetVpnGa * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19778,15 +20619,16 @@ public static CompletableFuture getVpnGatewayPlain(GetVpnGa
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getVpnGateway(GetVpnGatewayArgs.builder()
      *             .filters(GetVpnGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("vpn-gw")
+     *                 .name("tag:Name")
+     *                 .values("vpn-gw")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
+     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -19800,7 +20642,8 @@ public static Output getVpnGateway(GetVpnGatewayArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -19823,15 +20666,16 @@ public static Output getVpnGateway(GetVpnGatewayArgs args,
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getVpnGateway(GetVpnGatewayArgs.builder()
      *             .filters(GetVpnGatewayFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("vpn-gw")
+     *                 .name("tag:Name")
+     *                 .values("vpn-gw")
      *                 .build())
      *             .build());
      * 
-     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
+     *         ctx.export("vpnGatewayId", selected.applyValue(getVpnGatewayResult -> getVpnGatewayResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/EgressOnlyInternetGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/EgressOnlyInternetGateway.java index 07ca460a2a7..3cfb7c27f91 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/EgressOnlyInternetGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/EgressOnlyInternetGateway.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,19 +48,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .assignGeneratedIpv6CidrBlock(true)
  *             .build());
  * 
- *         var exampleEgressOnlyInternetGateway = new EgressOnlyInternetGateway("exampleEgressOnlyInternetGateway", EgressOnlyInternetGatewayArgs.builder()        
+ *         var exampleEgressOnlyInternetGateway = new EgressOnlyInternetGateway("exampleEgressOnlyInternetGateway", EgressOnlyInternetGatewayArgs.builder()        
  *             .vpcId(example.id())
- *             .tags(Map.of("Name", "main"))
+ *             .tags(Map.of("Name", "main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Eip.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Eip.java index b9f5eae0eab..6e276e875fc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Eip.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Eip.java @@ -28,7 +28,8 @@ * ### Single EIP associated with an instance * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,20 +50,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new Eip("lb", EipArgs.builder()        
+ *         var lb = new Eip("lb", EipArgs.builder()        
  *             .instance(web.id())
- *             .domain("vpc")
+ *             .domain("vpc")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Multiple EIPs associated with a single network interface * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,34 +88,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var multi_ip = new NetworkInterface("multi-ip", NetworkInterfaceArgs.builder()        
+ *         var multi_ip = new NetworkInterface("multi-ip", NetworkInterfaceArgs.builder()        
  *             .subnetId(main.id())
  *             .privateIps(            
- *                 "10.0.0.10",
- *                 "10.0.0.11")
+ *                 "10.0.0.10",
+ *                 "10.0.0.11")
  *             .build());
  * 
- *         var one = new Eip("one", EipArgs.builder()        
- *             .domain("vpc")
+ *         var one = new Eip("one", EipArgs.builder()        
+ *             .domain("vpc")
  *             .networkInterface(multi_ip.id())
- *             .associateWithPrivateIp("10.0.0.10")
+ *             .associateWithPrivateIp("10.0.0.10")
  *             .build());
  * 
- *         var two = new Eip("two", EipArgs.builder()        
- *             .domain("vpc")
+ *         var two = new Eip("two", EipArgs.builder()        
+ *             .domain("vpc")
  *             .networkInterface(multi_ip.id())
- *             .associateWithPrivateIp("10.0.0.11")
+ *             .associateWithPrivateIp("10.0.0.11")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Attaching an EIP to an Instance with a pre-assigned private ip (VPC Only) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -142,47 +147,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Vpc("default", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var default_ = new Vpc("default", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+ *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
  *             .vpcId(default_.id())
  *             .build());
  * 
- *         var myTestSubnet = new Subnet("myTestSubnet", SubnetArgs.builder()        
+ *         var myTestSubnet = new Subnet("myTestSubnet", SubnetArgs.builder()        
  *             .vpcId(default_.id())
- *             .cidrBlock("10.0.0.0/24")
+ *             .cidrBlock("10.0.0.0/24")
  *             .mapPublicIpOnLaunch(true)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(gw)
  *                 .build());
  * 
- *         var foo = new Instance("foo", InstanceArgs.builder()        
- *             .ami("ami-5189a661")
- *             .instanceType("t2.micro")
- *             .privateIp("10.0.0.12")
+ *         var foo = new Instance("foo", InstanceArgs.builder()        
+ *             .ami("ami-5189a661")
+ *             .instanceType("t2.micro")
+ *             .privateIp("10.0.0.12")
  *             .subnetId(myTestSubnet.id())
  *             .build());
  * 
- *         var bar = new Eip("bar", EipArgs.builder()        
- *             .domain("vpc")
+ *         var bar = new Eip("bar", EipArgs.builder()        
+ *             .domain("vpc")
  *             .instance(foo.id())
- *             .associateWithPrivateIp("10.0.0.12")
+ *             .associateWithPrivateIp("10.0.0.12")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(gw)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Allocating EIP from the BYOIP pool * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -203,14 +210,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var byoip_ip = new Eip("byoip-ip", EipArgs.builder()        
- *             .domain("vpc")
- *             .publicIpv4Pool("ipv4pool-ec2-012345")
+ *         var byoip_ip = new Eip("byoip-ip", EipArgs.builder()        
+ *             .domain("vpc")
+ *             .publicIpv4Pool("ipv4pool-ec2-012345")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/EipAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/EipAssociation.java index cbad8c1b461..a74158f39ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/EipAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/EipAssociation.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,25 +53,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var web = new Instance("web", InstanceArgs.builder()        
- *             .ami("ami-21f78e11")
- *             .availabilityZone("us-west-2a")
- *             .instanceType("t2.micro")
- *             .tags(Map.of("Name", "HelloWorld"))
+ *         var web = new Instance("web", InstanceArgs.builder()        
+ *             .ami("ami-21f78e11")
+ *             .availabilityZone("us-west-2a")
+ *             .instanceType("t2.micro")
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
- *         var example = new Eip("example", EipArgs.builder()        
- *             .domain("vpc")
+ *         var example = new Eip("example", EipArgs.builder()        
+ *             .domain("vpc")
  *             .build());
  * 
- *         var eipAssoc = new EipAssociation("eipAssoc", EipAssociationArgs.builder()        
+ *         var eipAssoc = new EipAssociation("eipAssoc", EipAssociationArgs.builder()        
  *             .instanceId(web.id())
  *             .allocationId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/EipDomainName.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/EipDomainName.java index 388c13b1ecc..7fa6a80c4f7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/EipDomainName.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/EipDomainName.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,25 +47,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Eip("example", EipArgs.builder()        
- *             .domain("vpc")
+ *         var example = new Eip("example", EipArgs.builder()        
+ *             .domain("vpc")
  *             .build());
  * 
- *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
+ *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
  *             .zoneId(main.zoneId())
- *             .name("reverse")
- *             .type("A")
+ *             .name("reverse")
+ *             .type("A")
  *             .records(example.publicIp())
  *             .build());
  * 
- *         var exampleEipDomainName = new EipDomainName("exampleEipDomainName", EipDomainNameArgs.builder()        
+ *         var exampleEipDomainName = new EipDomainName("exampleEipDomainName", EipDomainNameArgs.builder()        
  *             .allocationId(example.allocationId())
  *             .domainName(exampleRecord.fqdn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Fleet.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Fleet.java index 4e38a6f82b6..96f82a975b9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Fleet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Fleet.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,7 +54,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Fleet("example", FleetArgs.builder()        
+ *         var example = new Fleet("example", FleetArgs.builder()        
  *             .launchTemplateConfigs(FleetLaunchTemplateConfigArgs.builder()
  *                 .launchTemplateSpecification(FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs.builder()
  *                     .launchTemplateId(exampleAwsLaunchTemplate.id())
@@ -61,14 +62,15 @@
  *                     .build())
  *                 .build())
  *             .targetCapacitySpecification(FleetTargetCapacitySpecificationArgs.builder()
- *                 .defaultTargetCapacityType("spot")
+ *                 .defaultTargetCapacityType("spot")
  *                 .totalTargetCapacity(5)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/FlowLog.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/FlowLog.java index e1f18fd9ed6..ae7053feb13 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/FlowLog.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/FlowLog.java @@ -26,7 +26,8 @@ * ### CloudWatch Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,61 +56,63 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
- *             .name("example")
+ *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("vpc-flow-logs.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("vpc-flow-logs.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleFlowLog = new FlowLog("exampleFlowLog", FlowLogArgs.builder()        
+ *         var exampleFlowLog = new FlowLog("exampleFlowLog", FlowLogArgs.builder()        
  *             .iamRoleArn(exampleRole.arn())
  *             .logDestination(exampleLogGroup.arn())
- *             .trafficType("ALL")
+ *             .trafficType("ALL")
  *             .vpcId(exampleAwsVpc.id())
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "logs:CreateLogGroup",
- *                     "logs:CreateLogStream",
- *                     "logs:PutLogEvents",
- *                     "logs:DescribeLogGroups",
- *                     "logs:DescribeLogStreams")
- *                 .resources("*")
+ *                     "logs:CreateLogGroup",
+ *                     "logs:CreateLogStream",
+ *                     "logs:PutLogEvents",
+ *                     "logs:DescribeLogGroups",
+ *                     "logs:DescribeLogStreams")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .name("example")
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("example")
  *             .role(exampleRole.id())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Amazon Kinesis Data Firehose logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -143,74 +146,76 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("firehose.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("firehose.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("firehose_test_role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("firehose_test_role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleFirehoseDeliveryStream = new FirehoseDeliveryStream("exampleFirehoseDeliveryStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis_firehose_test")
- *             .destination("extended_s3")
+ *         var exampleFirehoseDeliveryStream = new FirehoseDeliveryStream("exampleFirehoseDeliveryStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis_firehose_test")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(exampleRole.arn())
  *                 .bucketArn(exampleBucketV2.arn())
  *                 .build())
- *             .tags(Map.of("LogDeliveryEnabled", "true"))
+ *             .tags(Map.of("LogDeliveryEnabled", "true"))
  *             .build());
  * 
- *         var exampleFlowLog = new FlowLog("exampleFlowLog", FlowLogArgs.builder()        
+ *         var exampleFlowLog = new FlowLog("exampleFlowLog", FlowLogArgs.builder()        
  *             .logDestination(exampleFirehoseDeliveryStream.arn())
- *             .logDestinationType("kinesis-data-firehose")
- *             .trafficType("ALL")
+ *             .logDestinationType("kinesis-data-firehose")
+ *             .trafficType("ALL")
  *             .vpcId(exampleAwsVpc.id())
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .effect("Allow")
+ *             .effect("Allow")
  *             .actions(            
- *                 "logs:CreateLogDelivery",
- *                 "logs:DeleteLogDelivery",
- *                 "logs:ListLogDeliveries",
- *                 "logs:GetLogDelivery",
- *                 "firehose:TagDeliveryStream")
- *             .resources("*")
+ *                 "logs:CreateLogDelivery",
+ *                 "logs:DeleteLogDelivery",
+ *                 "logs:ListLogDeliveries",
+ *                 "logs:GetLogDelivery",
+ *                 "firehose:TagDeliveryStream")
+ *             .resources("*")
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .name("test")
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("test")
  *             .role(exampleRole.id())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -233,26 +238,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example = new FlowLog("example", FlowLogArgs.builder()        
+ *         var example = new FlowLog("example", FlowLogArgs.builder()        
  *             .logDestination(exampleBucketV2.arn())
- *             .logDestinationType("s3")
- *             .trafficType("ALL")
+ *             .logDestinationType("s3")
+ *             .trafficType("ALL")
  *             .vpcId(exampleAwsVpc.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Logging in Apache Parquet format with per-hour partitions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -276,24 +283,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example = new FlowLog("example", FlowLogArgs.builder()        
+ *         var example = new FlowLog("example", FlowLogArgs.builder()        
  *             .logDestination(exampleBucketV2.arn())
- *             .logDestinationType("s3")
- *             .trafficType("ALL")
+ *             .logDestinationType("s3")
+ *             .trafficType("ALL")
  *             .vpcId(exampleAwsVpc.id())
  *             .destinationOptions(FlowLogDestinationOptionsArgs.builder()
- *                 .fileFormat("parquet")
+ *                 .fileFormat("parquet")
  *                 .perHourPartition(true)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/ImageBlockPublicAccess.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/ImageBlockPublicAccess.java index 99658d69164..1d7c20829ba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/ImageBlockPublicAccess.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/ImageBlockPublicAccess.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Prevent making AMIs publicly accessible in the region and account for which the provider is configured
- *         var test = new ImageBlockPublicAccess("test", ImageBlockPublicAccessArgs.builder()        
- *             .state("block-new-sharing")
+ *         var test = new ImageBlockPublicAccess("test", ImageBlockPublicAccessArgs.builder()        
+ *             .state("block-new-sharing")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Instance.java index 93de64af3dd..f84eb7ffbe5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Instance.java @@ -39,7 +39,8 @@ * ### Basic example using AMI lookup * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -66,31 +67,33 @@
  *             .mostRecent(true)
  *             .filters(            
  *                 GetAmiFilterArgs.builder()
- *                     .name("name")
- *                     .values("ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*")
+ *                     .name("name")
+ *                     .values("ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*")
  *                     .build(),
  *                 GetAmiFilterArgs.builder()
- *                     .name("virtualization-type")
- *                     .values("hvm")
+ *                     .name("virtualization-type")
+ *                     .values("hvm")
  *                     .build())
- *             .owners("099720109477")
+ *             .owners("099720109477")
  *             .build());
  * 
- *         var web = new Instance("web", InstanceArgs.builder()        
- *             .ami(ubuntu.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t3.micro")
- *             .tags(Map.of("Name", "HelloWorld"))
+ *         var web = new Instance("web", InstanceArgs.builder()        
+ *             .ami(ubuntu.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t3.micro")
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Spot instance example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,38 +120,40 @@
  *     public static void stack(Context ctx) {
  *         final var this = Ec2Functions.getAmi(GetAmiArgs.builder()
  *             .mostRecent(true)
- *             .owners("amazon")
+ *             .owners("amazon")
  *             .filters(            
  *                 GetAmiFilterArgs.builder()
- *                     .name("architecture")
- *                     .values("arm64")
+ *                     .name("architecture")
+ *                     .values("arm64")
  *                     .build(),
  *                 GetAmiFilterArgs.builder()
- *                     .name("name")
- *                     .values("al2023-ami-2023*")
+ *                     .name("name")
+ *                     .values("al2023-ami-2023*")
  *                     .build())
  *             .build());
  * 
- *         var thisInstance = new Instance("thisInstance", InstanceArgs.builder()        
+ *         var thisInstance = new Instance("thisInstance", InstanceArgs.builder()        
  *             .ami(this_.id())
  *             .instanceMarketOptions(InstanceInstanceMarketOptionsArgs.builder()
  *                 .spotOptions(InstanceInstanceMarketOptionsSpotOptionsArgs.builder()
  *                     .maxPrice(0.0031)
  *                     .build())
  *                 .build())
- *             .instanceType("t4g.nano")
- *             .tags(Map.of("Name", "test-spot"))
+ *             .instanceType("t4g.nano")
+ *             .tags(Map.of("Name", "test-spot"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Network and credit specification example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -177,45 +182,47 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myVpc = new Vpc("myVpc", VpcArgs.builder()        
- *             .cidrBlock("172.16.0.0/16")
- *             .tags(Map.of("Name", "tf-example"))
+ *         var myVpc = new Vpc("myVpc", VpcArgs.builder()        
+ *             .cidrBlock("172.16.0.0/16")
+ *             .tags(Map.of("Name", "tf-example"))
  *             .build());
  * 
- *         var mySubnet = new Subnet("mySubnet", SubnetArgs.builder()        
+ *         var mySubnet = new Subnet("mySubnet", SubnetArgs.builder()        
  *             .vpcId(myVpc.id())
- *             .cidrBlock("172.16.10.0/24")
- *             .availabilityZone("us-west-2a")
- *             .tags(Map.of("Name", "tf-example"))
+ *             .cidrBlock("172.16.10.0/24")
+ *             .availabilityZone("us-west-2a")
+ *             .tags(Map.of("Name", "tf-example"))
  *             .build());
  * 
- *         var foo = new NetworkInterface("foo", NetworkInterfaceArgs.builder()        
+ *         var foo = new NetworkInterface("foo", NetworkInterfaceArgs.builder()        
  *             .subnetId(mySubnet.id())
- *             .privateIps("172.16.10.100")
- *             .tags(Map.of("Name", "primary_network_interface"))
+ *             .privateIps("172.16.10.100")
+ *             .tags(Map.of("Name", "primary_network_interface"))
  *             .build());
  * 
- *         var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
- *             .ami("ami-005e54dee72cc1d00")
- *             .instanceType("t2.micro")
+ *         var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
+ *             .ami("ami-005e54dee72cc1d00")
+ *             .instanceType("t2.micro")
  *             .networkInterfaces(InstanceNetworkInterfaceArgs.builder()
  *                 .networkInterfaceId(foo.id())
  *                 .deviceIndex(0)
  *                 .build())
  *             .creditSpecification(InstanceCreditSpecificationArgs.builder()
- *                 .cpuCredits("unlimited")
+ *                 .cpuCredits("unlimited")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### CPU options example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -243,41 +250,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("172.16.0.0/16")
- *             .tags(Map.of("Name", "tf-example"))
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("172.16.0.0/16")
+ *             .tags(Map.of("Name", "tf-example"))
  *             .build());
  * 
- *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+ *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
  *             .vpcId(example.id())
- *             .cidrBlock("172.16.10.0/24")
- *             .availabilityZone("us-east-2a")
- *             .tags(Map.of("Name", "tf-example"))
+ *             .cidrBlock("172.16.10.0/24")
+ *             .availabilityZone("us-east-2a")
+ *             .tags(Map.of("Name", "tf-example"))
  *             .build());
  * 
  *         final var amzn-linux-2023-ami = Ec2Functions.getAmi(GetAmiArgs.builder()
  *             .mostRecent(true)
- *             .owners("amazon")
+ *             .owners("amazon")
  *             .filters(GetAmiFilterArgs.builder()
- *                 .name("name")
- *                 .values("al2023-ami-2023.*-x86_64")
+ *                 .name("name")
+ *                 .values("al2023-ami-2023.*-x86_64")
  *                 .build())
  *             .build());
  * 
- *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
+ *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
  *             .ami(amzn_linux_2023_ami.id())
- *             .instanceType("c6a.2xlarge")
+ *             .instanceType("c6a.2xlarge")
  *             .subnetId(exampleSubnet.id())
  *             .cpuOptions(InstanceCpuOptionsArgs.builder()
  *                 .coreCount(2)
  *                 .threadsPerCore(2)
  *                 .build())
- *             .tags(Map.of("Name", "tf-example"))
+ *             .tags(Map.of("Name", "tf-example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Host resource group or Licence Manager registered AMI example @@ -287,7 +295,8 @@ * > **NOTE:** A dedicated host is automatically associated with a License Manager host resource group if **Allocate hosts automatically** is enabled. Otherwise, use the `host_resource_group_arn` argument to explicitly associate the instance with the host resource group. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -308,16 +317,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var this_ = new Instance("this", InstanceArgs.builder()        
- *             .ami("ami-0dcc1e21636832c5d")
- *             .instanceType("m5.large")
- *             .hostResourceGroupArn("arn:aws:resource-groups:us-west-2:012345678901:group/win-testhost")
- *             .tenancy("host")
+ *         var this_ = new Instance("this", InstanceArgs.builder()        
+ *             .ami("ami-0dcc1e21636832c5d")
+ *             .instanceType("m5.large")
+ *             .hostResourceGroupArn("arn:aws:resource-groups:us-west-2:012345678901:group/win-testhost")
+ *             .tenancy("host")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Tag Guide diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/InstanceMetadataDefaults.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/InstanceMetadataDefaults.java index c3850c064e8..fa22e15a185 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/InstanceMetadataDefaults.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/InstanceMetadataDefaults.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var enforce_imdsv2 = new InstanceMetadataDefaults("enforce-imdsv2", InstanceMetadataDefaultsArgs.builder()        
- *             .httpTokens("required")
+ *         var enforce_imdsv2 = new InstanceMetadataDefaults("enforce-imdsv2", InstanceMetadataDefaultsArgs.builder()        
+ *             .httpTokens("required")
  *             .httpPutResponseHopLimit(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGateway.java index 67a522d97af..ef073eefad9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGateway.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+ *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
  *             .vpcId(main.id())
- *             .tags(Map.of("Name", "main"))
+ *             .tags(Map.of("Name", "main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -97,7 +99,8 @@ public Output ownerId() { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -121,17 +124,18 @@ public Output ownerId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
      *             .vpcId(main.id())
      *             .build());
      * 
-     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
      *             .dependsOn(gw)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -144,7 +148,8 @@ public Output ownerId() { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -168,17 +173,18 @@ public Output ownerId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
      *             .vpcId(main.id())
      *             .build());
      * 
-     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
      *             .dependsOn(gw)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayArgs.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayArgs.java index 5f97e6e27b6..2d95f50744c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayArgs.java @@ -22,7 +22,8 @@ public final class InternetGatewayArgs extends com.pulumi.resources.ResourceArgs * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -46,17 +47,18 @@ public final class InternetGatewayArgs extends com.pulumi.resources.ResourceArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
      *             .vpcId(main.id())
      *             .build());
      * 
-     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
      *             .dependsOn(gw)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public final class InternetGatewayArgs extends com.pulumi.resources.ResourceArgs * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -93,17 +96,18 @@ public final class InternetGatewayArgs extends com.pulumi.resources.ResourceArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
      *             .vpcId(main.id())
      *             .build());
      * 
-     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
      *             .dependsOn(gw)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -157,7 +161,8 @@ public Builder(InternetGatewayArgs defaults) { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -181,17 +186,18 @@ public Builder(InternetGatewayArgs defaults) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
          *             .vpcId(main.id())
          *             .build());
          * 
-         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
          *             .dependsOn(gw)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -208,7 +214,8 @@ public Builder tags(@Nullable Output> tags) { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -232,17 +239,18 @@ public Builder tags(@Nullable Output> tags) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
          *             .vpcId(main.id())
          *             .build());
          * 
-         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
          *             .dependsOn(gw)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayAttachment.java index c1511a1e072..e78af02b220 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/InternetGatewayAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,20 +44,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var exampleInternetGateway = new InternetGateway("exampleInternetGateway");
+ *         var exampleInternetGateway = new InternetGateway("exampleInternetGateway");
  * 
- *         var example = new InternetGatewayAttachment("example", InternetGatewayAttachmentArgs.builder()        
+ *         var example = new InternetGatewayAttachment("example", InternetGatewayAttachmentArgs.builder()        
  *             .internetGatewayId(exampleInternetGateway.id())
  *             .vpcId(exampleVpc.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/KeyPair.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/KeyPair.java index 6975ce4fa24..0ad475fe23c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/KeyPair.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/KeyPair.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var deployer = new KeyPair("deployer", KeyPairArgs.builder()        
- *             .keyName("deployer-key")
- *             .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 email@example.com")
+ *         var deployer = new KeyPair("deployer", KeyPairArgs.builder()        
+ *             .keyName("deployer-key")
+ *             .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 email{@literal @}example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/LaunchConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/LaunchConfiguration.java index 3b5d70329cb..c9a34a033f0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/LaunchConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/LaunchConfiguration.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,25 +58,26 @@
  *             .mostRecent(true)
  *             .filters(            
  *                 GetAmiFilterArgs.builder()
- *                     .name("name")
- *                     .values("ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*")
+ *                     .name("name")
+ *                     .values("ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*")
  *                     .build(),
  *                 GetAmiFilterArgs.builder()
- *                     .name("virtualization-type")
- *                     .values("hvm")
+ *                     .name("virtualization-type")
+ *                     .values("hvm")
  *                     .build())
- *             .owners("099720109477")
+ *             .owners("099720109477")
  *             .build());
  * 
- *         var asConf = new LaunchConfiguration("asConf", LaunchConfigurationArgs.builder()        
- *             .name("web_config")
- *             .imageId(ubuntu.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t2.micro")
+ *         var asConf = new LaunchConfiguration("asConf", LaunchConfigurationArgs.builder()        
+ *             .name("web_config")
+ *             .imageId(ubuntu.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t2.micro")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRoute.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRoute.java index daf8123864f..3ff78b5cb31 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRoute.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRoute.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,15 +41,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LocalGatewayRoute("example", LocalGatewayRouteArgs.builder()        
- *             .destinationCidrBlock("172.16.0.0/16")
+ *         var example = new LocalGatewayRoute("example", LocalGatewayRouteArgs.builder()        
+ *             .destinationCidrBlock("172.16.0.0/16")
  *             .localGatewayRouteTableId(exampleAwsEc2LocalGatewayRouteTable.id())
  *             .localGatewayVirtualInterfaceGroupId(exampleAwsEc2LocalGatewayVirtualInterfaceGroup.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRouteTableVpcAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRouteTableVpcAssociation.java index e451bb062cc..01ed81ad732 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRouteTableVpcAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/LocalGatewayRouteTableVpcAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,22 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = Ec2Functions.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
- *             .outpostArn("arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef")
+ *             .outpostArn("arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef")
  *             .build());
  * 
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var exampleLocalGatewayRouteTableVpcAssociation = new LocalGatewayRouteTableVpcAssociation("exampleLocalGatewayRouteTableVpcAssociation", LocalGatewayRouteTableVpcAssociationArgs.builder()        
- *             .localGatewayRouteTableId(example.applyValue(getLocalGatewayRouteTableResult -> getLocalGatewayRouteTableResult.id()))
+ *         var exampleLocalGatewayRouteTableVpcAssociation = new LocalGatewayRouteTableVpcAssociation("exampleLocalGatewayRouteTableVpcAssociation", LocalGatewayRouteTableVpcAssociationArgs.builder()        
+ *             .localGatewayRouteTableId(example.applyValue(getLocalGatewayRouteTableResult -> getLocalGatewayRouteTableResult.id()))
  *             .vpcId(exampleVpc.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/MainRouteTableAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/MainRouteTableAssociation.java index c17f187d203..bc837c375ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/MainRouteTableAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/MainRouteTableAssociation.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var a = new MainRouteTableAssociation("a", MainRouteTableAssociationArgs.builder()        
+ *         var a = new MainRouteTableAssociation("a", MainRouteTableAssociationArgs.builder()        
  *             .vpcId(foo.id())
  *             .routeTableId(bar.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Notes diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixList.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixList.java index a829e005bf5..5139bc84330 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixList.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixList.java @@ -38,7 +38,8 @@ * Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,25 +61,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ManagedPrefixList("example", ManagedPrefixListArgs.builder()        
- *             .name("All VPC CIDR-s")
- *             .addressFamily("IPv4")
+ *         var example = new ManagedPrefixList("example", ManagedPrefixListArgs.builder()        
+ *             .name("All VPC CIDR-s")
+ *             .addressFamily("IPv4")
  *             .maxEntries(5)
  *             .entries(            
  *                 ManagedPrefixListEntryArgs.builder()
  *                     .cidr(exampleAwsVpc.cidrBlock())
- *                     .description("Primary")
+ *                     .description("Primary")
  *                     .build(),
  *                 ManagedPrefixListEntryArgs.builder()
  *                     .cidr(exampleAwsVpcIpv4CidrBlockAssociation.cidrBlock())
- *                     .description("Secondary")
+ *                     .description("Secondary")
  *                     .build())
- *             .tags(Map.of("Env", "live"))
+ *             .tags(Map.of("Env", "live"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixListEntry.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixListEntry.java index 2287dee258f..d43f11945bc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixListEntry.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/ManagedPrefixListEntry.java @@ -26,7 +26,8 @@ * Basic usage. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,22 +50,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ManagedPrefixList("example", ManagedPrefixListArgs.builder()        
- *             .name("All VPC CIDR-s")
- *             .addressFamily("IPv4")
+ *         var example = new ManagedPrefixList("example", ManagedPrefixListArgs.builder()        
+ *             .name("All VPC CIDR-s")
+ *             .addressFamily("IPv4")
  *             .maxEntries(5)
- *             .tags(Map.of("Env", "live"))
+ *             .tags(Map.of("Env", "live"))
  *             .build());
  * 
- *         var entry1 = new ManagedPrefixListEntry("entry1", ManagedPrefixListEntryArgs.builder()        
+ *         var entry1 = new ManagedPrefixListEntry("entry1", ManagedPrefixListEntryArgs.builder()        
  *             .cidr(exampleAwsVpc.cidrBlock())
- *             .description("Primary")
+ *             .description("Primary")
  *             .prefixListId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NatGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NatGateway.java index 708b7180164..e5346604251 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NatGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NatGateway.java @@ -25,7 +25,8 @@ * ### Public NAT * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NatGateway("example", NatGatewayArgs.builder()        
+ *         var example = new NatGateway("example", NatGatewayArgs.builder()        
  *             .allocationId(exampleAwsEip.id())
  *             .subnetId(exampleAwsSubnet.id())
- *             .tags(Map.of("Name", "gw NAT"))
+ *             .tags(Map.of("Name", "gw NAT"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsInternetGateway)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Public NAT with Secondary Private IP Addresses * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -84,22 +87,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NatGateway("example", NatGatewayArgs.builder()        
+ *         var example = new NatGateway("example", NatGatewayArgs.builder()        
  *             .allocationId(exampleAwsEip.id())
  *             .subnetId(exampleAwsSubnet.id())
  *             .secondaryAllocationIds(secondary.id())
- *             .secondaryPrivateIpAddresses("10.0.1.5")
+ *             .secondaryPrivateIpAddresses("10.0.1.5")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Private NAT * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -120,20 +125,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NatGateway("example", NatGatewayArgs.builder()        
- *             .connectivityType("private")
+ *         var example = new NatGateway("example", NatGatewayArgs.builder()        
+ *             .connectivityType("private")
  *             .subnetId(exampleAwsSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Private NAT with Secondary Private IP Addresses * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -154,15 +161,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NatGateway("example", NatGatewayArgs.builder()        
- *             .connectivityType("private")
+ *         var example = new NatGateway("example", NatGatewayArgs.builder()        
+ *             .connectivityType("private")
  *             .subnetId(exampleAwsSubnet.id())
  *             .secondaryPrivateIpAddressCount(7)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAcl.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAcl.java index e2b469d5079..b369a621a81 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAcl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAcl.java @@ -35,7 +35,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,30 +59,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new NetworkAcl("main", NetworkAclArgs.builder()        
+ *         var main = new NetworkAcl("main", NetworkAclArgs.builder()        
  *             .vpcId(mainAwsVpc.id())
  *             .egress(NetworkAclEgressArgs.builder()
- *                 .protocol("tcp")
+ *                 .protocol("tcp")
  *                 .ruleNo(200)
- *                 .action("allow")
- *                 .cidrBlock("10.3.0.0/18")
+ *                 .action("allow")
+ *                 .cidrBlock("10.3.0.0/18")
  *                 .fromPort(443)
  *                 .toPort(443)
  *                 .build())
  *             .ingress(NetworkAclIngressArgs.builder()
- *                 .protocol("tcp")
+ *                 .protocol("tcp")
  *                 .ruleNo(100)
- *                 .action("allow")
- *                 .cidrBlock("10.3.0.0/18")
+ *                 .action("allow")
+ *                 .cidrBlock("10.3.0.0/18")
  *                 .fromPort(80)
  *                 .toPort(80)
  *                 .build())
- *             .tags(Map.of("Name", "main"))
+ *             .tags(Map.of("Name", "main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclAssociation.java index 9c8762e3791..c7ad7889430 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclAssociation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new NetworkAclAssociation("main", NetworkAclAssociationArgs.builder()        
+ *         var main = new NetworkAclAssociation("main", NetworkAclAssociationArgs.builder()        
  *             .networkAclId(mainAwsNetworkAcl.id())
  *             .subnetId(mainAwsSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclRule.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclRule.java index b5b8634cffc..96d4ea61bef 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkAclRule.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,16 +52,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
+ *         var bar = new NetworkAcl("bar", NetworkAclArgs.builder()        
  *             .vpcId(foo.id())
  *             .build());
  * 
- *         var barNetworkAclRule = new NetworkAclRule("barNetworkAclRule", NetworkAclRuleArgs.builder()        
+ *         var barNetworkAclRule = new NetworkAclRule("barNetworkAclRule", NetworkAclRuleArgs.builder()        
  *             .networkAclId(bar.id())
  *             .ruleNumber(200)
  *             .egress(false)
- *             .protocol("tcp")
- *             .ruleAction("allow")
+ *             .protocol("tcp")
+ *             .ruleAction("allow")
  *             .cidrBlock(foo.cidrBlock())
  *             .fromPort(22)
  *             .toPort(22)
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **Note:** One of either `cidr_block` or `ipv6_cidr_block` is required. diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsAnalysis.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsAnalysis.java index de34aa2fe20..6d8b5db02b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsAnalysis.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsAnalysis.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,19 +51,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var path = new NetworkInsightsPath("path", NetworkInsightsPathArgs.builder()        
+ *         var path = new NetworkInsightsPath("path", NetworkInsightsPathArgs.builder()        
  *             .source(source.id())
  *             .destination(destination.id())
- *             .protocol("tcp")
+ *             .protocol("tcp")
  *             .build());
  * 
- *         var analysis = new NetworkInsightsAnalysis("analysis", NetworkInsightsAnalysisArgs.builder()        
+ *         var analysis = new NetworkInsightsAnalysis("analysis", NetworkInsightsAnalysisArgs.builder()        
  *             .networkInsightsPathId(path.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java index 86471bbab87..358acecd4a4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInsightsPath.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new NetworkInsightsPath("test", NetworkInsightsPathArgs.builder()        
+ *         var test = new NetworkInsightsPath("test", NetworkInsightsPathArgs.builder()        
  *             .source(source.id())
  *             .destination(destination.id())
- *             .protocol("tcp")
+ *             .protocol("tcp")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterface.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterface.java index 9e2d8339027..448ac23c079 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterface.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterface.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,9 +48,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new NetworkInterface("test", NetworkInterfaceArgs.builder()        
+ *         var test = new NetworkInterface("test", NetworkInterfaceArgs.builder()        
  *             .subnetId(publicA.id())
- *             .privateIps("10.0.0.50")
+ *             .privateIps("10.0.0.50")
  *             .securityGroups(web.id())
  *             .attachments(NetworkInterfaceAttachmentArgs.builder()
  *                 .instance(testAwsInstance.id())
@@ -59,7 +60,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example of Managing Multiple IPs on a Network Interface diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceAttachment.java index 3df3d04779e..4ea14b71123 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceAttachment.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,7 +42,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new NetworkInterfaceAttachment("test", NetworkInterfaceAttachmentArgs.builder()        
+ *         var test = new NetworkInterfaceAttachment("test", NetworkInterfaceAttachmentArgs.builder()        
  *             .instanceId(testAwsInstance.id())
  *             .networkInterfaceId(testAwsNetworkInterface.id())
  *             .deviceIndex(0)
@@ -49,7 +50,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceSecurityGroupAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceSecurityGroupAttachment.java index 07f970a758f..72c7b4c47fe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceSecurityGroupAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/NetworkInterfaceSecurityGroupAttachment.java @@ -34,7 +34,8 @@ * named `sg_attachment`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,30 +65,31 @@
  *         final var ami = Ec2Functions.getAmi(GetAmiArgs.builder()
  *             .mostRecent(true)
  *             .filters(GetAmiFilterArgs.builder()
- *                 .name("name")
- *                 .values("amzn-ami-hvm-*")
+ *                 .name("name")
+ *                 .values("amzn-ami-hvm-*")
  *                 .build())
- *             .owners("amazon")
+ *             .owners("amazon")
  *             .build());
  * 
- *         var instance = new Instance("instance", InstanceArgs.builder()        
- *             .instanceType("t2.micro")
- *             .ami(ami.applyValue(getAmiResult -> getAmiResult.id()))
- *             .tags(Map.of("type", "test-instance"))
+ *         var instance = new Instance("instance", InstanceArgs.builder()        
+ *             .instanceType("t2.micro")
+ *             .ami(ami.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .tags(Map.of("type", "test-instance"))
  *             .build());
  * 
- *         var sg = new SecurityGroup("sg", SecurityGroupArgs.builder()        
- *             .tags(Map.of("type", "test-security-group"))
+ *         var sg = new SecurityGroup("sg", SecurityGroupArgs.builder()        
+ *             .tags(Map.of("type", "test-security-group"))
  *             .build());
  * 
- *         var sgAttachment = new NetworkInterfaceSecurityGroupAttachment("sgAttachment", NetworkInterfaceSecurityGroupAttachmentArgs.builder()        
+ *         var sgAttachment = new NetworkInterfaceSecurityGroupAttachment("sgAttachment", NetworkInterfaceSecurityGroupAttachmentArgs.builder()        
  *             .securityGroupId(sg.id())
  *             .networkInterfaceId(instance.primaryNetworkInterfaceId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * In this example, `instance` is provided by the `aws.ec2.Instance` data source, @@ -95,7 +97,8 @@ * `sg_attachment` then attaches to the output instance's `network_interface_id`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -121,21 +124,22 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var instance = Ec2Functions.getInstance(GetInstanceArgs.builder()
- *             .instanceId("i-1234567890abcdef0")
+ *             .instanceId("i-1234567890abcdef0")
  *             .build());
  * 
- *         var sg = new SecurityGroup("sg", SecurityGroupArgs.builder()        
- *             .tags(Map.of("type", "test-security-group"))
+ *         var sg = new SecurityGroup("sg", SecurityGroupArgs.builder()        
+ *             .tags(Map.of("type", "test-security-group"))
  *             .build());
  * 
- *         var sgAttachment = new NetworkInterfaceSecurityGroupAttachment("sgAttachment", NetworkInterfaceSecurityGroupAttachmentArgs.builder()        
+ *         var sgAttachment = new NetworkInterfaceSecurityGroupAttachment("sgAttachment", NetworkInterfaceSecurityGroupAttachmentArgs.builder()        
  *             .securityGroupId(sg.id())
- *             .networkInterfaceId(instance.applyValue(getInstanceResult -> getInstanceResult.networkInterfaceId()))
+ *             .networkInterfaceId(instance.applyValue(getInstanceResult -> getInstanceResult.networkInterfaceId()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/PeeringConnectionOptions.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/PeeringConnectionOptions.java index 46fd592fef2..8af14811bf7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/PeeringConnectionOptions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/PeeringConnectionOptions.java @@ -32,7 +32,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,21 +59,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Vpc("foo", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var foo = new Vpc("foo", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var bar = new Vpc("bar", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var bar = new Vpc("bar", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var fooVpcPeeringConnection = new VpcPeeringConnection("fooVpcPeeringConnection", VpcPeeringConnectionArgs.builder()        
+ *         var fooVpcPeeringConnection = new VpcPeeringConnection("fooVpcPeeringConnection", VpcPeeringConnectionArgs.builder()        
  *             .vpcId(foo.id())
  *             .peerVpcId(bar.id())
  *             .autoAccept(true)
  *             .build());
  * 
- *         var fooPeeringConnectionOptions = new PeeringConnectionOptions("fooPeeringConnectionOptions", PeeringConnectionOptionsArgs.builder()        
+ *         var fooPeeringConnectionOptions = new PeeringConnectionOptions("fooPeeringConnectionOptions", PeeringConnectionOptionsArgs.builder()        
  *             .vpcPeeringConnectionId(fooVpcPeeringConnection.id())
  *             .accepter(PeeringConnectionOptionsAccepterArgs.builder()
  *                 .allowRemoteVpcDnsResolution(true)
@@ -81,13 +82,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Cross-Account Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -118,44 +121,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var peerVpc = new Vpc("peerVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var peerVpc = new Vpc("peerVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
  *         final var peer = AwsFunctions.getCallerIdentity();
  * 
- *         // Requester's side of the connection.
- *         var peerVpcPeeringConnection = new VpcPeeringConnection("peerVpcPeeringConnection", VpcPeeringConnectionArgs.builder()        
+ *         // Requester's side of the connection.
+ *         var peerVpcPeeringConnection = new VpcPeeringConnection("peerVpcPeeringConnection", VpcPeeringConnectionArgs.builder()        
  *             .vpcId(main.id())
  *             .peerVpcId(peerVpc.id())
- *             .peerOwnerId(peer.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *             .peerOwnerId(peer.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *             .autoAccept(false)
- *             .tags(Map.of("Side", "Requester"))
+ *             .tags(Map.of("Side", "Requester"))
  *             .build());
  * 
- *         // Accepter's side of the connection.
- *         var peerVpcPeeringConnectionAccepter = new VpcPeeringConnectionAccepter("peerVpcPeeringConnectionAccepter", VpcPeeringConnectionAccepterArgs.builder()        
+ *         // Accepter's side of the connection.
+ *         var peerVpcPeeringConnectionAccepter = new VpcPeeringConnectionAccepter("peerVpcPeeringConnectionAccepter", VpcPeeringConnectionAccepterArgs.builder()        
  *             .vpcPeeringConnectionId(peerVpcPeeringConnection.id())
  *             .autoAccept(true)
- *             .tags(Map.of("Side", "Accepter"))
+ *             .tags(Map.of("Side", "Accepter"))
  *             .build());
  * 
- *         var requester = new PeeringConnectionOptions("requester", PeeringConnectionOptionsArgs.builder()        
+ *         var requester = new PeeringConnectionOptions("requester", PeeringConnectionOptionsArgs.builder()        
  *             .vpcPeeringConnectionId(peerVpcPeeringConnectionAccepter.id())
  *             .requester(PeeringConnectionOptionsRequesterArgs.builder()
  *                 .allowRemoteVpcDnsResolution(true)
  *                 .build())
  *             .build());
  * 
- *         var accepter = new PeeringConnectionOptions("accepter", PeeringConnectionOptionsArgs.builder()        
+ *         var accepter = new PeeringConnectionOptions("accepter", PeeringConnectionOptionsArgs.builder()        
  *             .vpcPeeringConnectionId(peerVpcPeeringConnectionAccepter.id())
  *             .accepter(PeeringConnectionOptionsAccepterArgs.builder()
  *                 .allowRemoteVpcDnsResolution(true)
@@ -164,7 +167,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/PlacementGroup.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/PlacementGroup.java index f88a9ce90c2..d6b504a3df0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/PlacementGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/PlacementGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var web = new PlacementGroup("web", PlacementGroupArgs.builder()        
- *             .name("hunky-dory-pg")
- *             .strategy("cluster")
+ *         var web = new PlacementGroup("web", PlacementGroupArgs.builder()        
+ *             .name("hunky-dory-pg")
+ *             .strategy("cluster")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/ProxyProtocolPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/ProxyProtocolPolicy.java index c0f144b41dc..3cca16e8c53 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/ProxyProtocolPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/ProxyProtocolPolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,34 +45,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
- *             .name("test-lb")
- *             .availabilityZones("us-east-1a")
+ *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
+ *             .name("test-lb")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(            
  *                 LoadBalancerListenerArgs.builder()
  *                     .instancePort(25)
- *                     .instanceProtocol("tcp")
+ *                     .instanceProtocol("tcp")
  *                     .lbPort(25)
- *                     .lbProtocol("tcp")
+ *                     .lbProtocol("tcp")
  *                     .build(),
  *                 LoadBalancerListenerArgs.builder()
  *                     .instancePort(587)
- *                     .instanceProtocol("tcp")
+ *                     .instanceProtocol("tcp")
  *                     .lbPort(587)
- *                     .lbProtocol("tcp")
+ *                     .lbProtocol("tcp")
  *                     .build())
  *             .build());
  * 
- *         var smtp = new ProxyProtocolPolicy("smtp", ProxyProtocolPolicyArgs.builder()        
+ *         var smtp = new ProxyProtocolPolicy("smtp", ProxyProtocolPolicyArgs.builder()        
  *             .loadBalancer(lb.name())
  *             .instancePorts(            
- *                 "25",
- *                 "587")
+ *                 "25",
+ *                 "587")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Route.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Route.java index 389a59a401f..f7f371bb81d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Route.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Route.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var r = new Route("r", RouteArgs.builder()        
+ *         var r = new Route("r", RouteArgs.builder()        
  *             .routeTableId(testing.id())
- *             .destinationCidrBlock("10.0.1.0/22")
- *             .vpcPeeringConnectionId("pcx-45ff3dc1")
+ *             .destinationCidrBlock("10.0.1.0/22")
+ *             .vpcPeeringConnectionId("pcx-45ff3dc1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example IPv6 Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -84,24 +87,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vpc = new Vpc("vpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var vpc = new Vpc("vpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .assignGeneratedIpv6CidrBlock(true)
  *             .build());
  * 
- *         var egress = new EgressOnlyInternetGateway("egress", EgressOnlyInternetGatewayArgs.builder()        
+ *         var egress = new EgressOnlyInternetGateway("egress", EgressOnlyInternetGatewayArgs.builder()        
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var r = new Route("r", RouteArgs.builder()        
- *             .routeTableId("rtb-4fbb3ac4")
- *             .destinationIpv6CidrBlock("::/0")
+ *         var r = new Route("r", RouteArgs.builder()        
+ *             .routeTableId("rtb-4fbb3ac4")
+ *             .destinationIpv6CidrBlock("::/0")
  *             .egressOnlyGatewayId(egress.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTable.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTable.java index 78aae14d465..6beccf17b03 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTable.java @@ -44,7 +44,8 @@ * ### Basic example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -66,29 +67,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteTable("example", RouteTableArgs.builder()        
+ *         var example = new RouteTable("example", RouteTableArgs.builder()        
  *             .vpcId(exampleAwsVpc.id())
  *             .routes(            
  *                 RouteTableRouteArgs.builder()
- *                     .cidrBlock("10.0.1.0/24")
+ *                     .cidrBlock("10.0.1.0/24")
  *                     .gatewayId(exampleAwsInternetGateway.id())
  *                     .build(),
  *                 RouteTableRouteArgs.builder()
- *                     .ipv6CidrBlock("::/0")
+ *                     .ipv6CidrBlock("::/0")
  *                     .egressOnlyGatewayId(exampleAwsEgressOnlyInternetGateway.id())
  *                     .build())
- *             .tags(Map.of("Name", "example"))
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * To subsequently remove all managed routes: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -109,15 +112,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteTable("example", RouteTableArgs.builder()        
+ *         var example = new RouteTable("example", RouteTableArgs.builder()        
  *             .vpcId(exampleAwsVpc.id())
  *             .routes()
- *             .tags(Map.of("Name", "example"))
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Adopting an existing local route @@ -127,7 +131,8 @@ * First, adopt an existing AWS-created route: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -151,27 +156,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Vpc("test", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var test = new Vpc("test", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var testRouteTable = new RouteTable("testRouteTable", RouteTableArgs.builder()        
+ *         var testRouteTable = new RouteTable("testRouteTable", RouteTableArgs.builder()        
  *             .vpcId(test.id())
  *             .routes(RouteTableRouteArgs.builder()
- *                 .cidrBlock("10.1.0.0/16")
- *                 .gatewayId("local")
+ *                 .cidrBlock("10.1.0.0/16")
+ *                 .gatewayId("local")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Next, update the target of the route: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -199,20 +206,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Vpc("test", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var test = new Vpc("test", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var testSubnet = new Subnet("testSubnet", SubnetArgs.builder()        
- *             .cidrBlock("10.1.1.0/24")
+ *         var testSubnet = new Subnet("testSubnet", SubnetArgs.builder()        
+ *             .cidrBlock("10.1.1.0/24")
  *             .vpcId(test.id())
  *             .build());
  * 
- *         var testNetworkInterface = new NetworkInterface("testNetworkInterface", NetworkInterfaceArgs.builder()        
+ *         var testNetworkInterface = new NetworkInterface("testNetworkInterface", NetworkInterfaceArgs.builder()        
  *             .subnetId(testSubnet.id())
  *             .build());
  * 
- *         var testRouteTable = new RouteTable("testRouteTable", RouteTableArgs.builder()        
+ *         var testRouteTable = new RouteTable("testRouteTable", RouteTableArgs.builder()        
  *             .vpcId(test.id())
  *             .routes(RouteTableRouteArgs.builder()
  *                 .cidrBlock(test.cidrBlock())
@@ -222,7 +229,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * The target could then be updated again back to `local`. diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTableAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTableAssociation.java index e00e7a44784..33162962728 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTableAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/RouteTableAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,18 +43,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var a = new RouteTableAssociation("a", RouteTableAssociationArgs.builder()        
+ *         var a = new RouteTableAssociation("a", RouteTableAssociationArgs.builder()        
  *             .subnetId(foo.id())
  *             .routeTableId(bar.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -74,14 +77,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new RouteTableAssociation("b", RouteTableAssociationArgs.builder()        
+ *         var b = new RouteTableAssociation("b", RouteTableAssociationArgs.builder()        
  *             .gatewayId(foo.id())
  *             .routeTableId(bar.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroup.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroup.java index e6560fa9e4b..2520e6954ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroup.java @@ -35,7 +35,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,50 +61,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var allowTls = new SecurityGroup("allowTls", SecurityGroupArgs.builder()        
- *             .name("allow_tls")
- *             .description("Allow TLS inbound traffic and all outbound traffic")
+ *         var allowTls = new SecurityGroup("allowTls", SecurityGroupArgs.builder()        
+ *             .name("allow_tls")
+ *             .description("Allow TLS inbound traffic and all outbound traffic")
  *             .vpcId(main.id())
- *             .tags(Map.of("Name", "allow_tls"))
+ *             .tags(Map.of("Name", "allow_tls"))
  *             .build());
  * 
- *         var allowTlsIpv4 = new SecurityGroupIngressRule("allowTlsIpv4", SecurityGroupIngressRuleArgs.builder()        
+ *         var allowTlsIpv4 = new SecurityGroupIngressRule("allowTlsIpv4", SecurityGroupIngressRuleArgs.builder()        
  *             .securityGroupId(allowTls.id())
  *             .cidrIpv4(main.cidrBlock())
  *             .fromPort(443)
- *             .ipProtocol("tcp")
+ *             .ipProtocol("tcp")
  *             .toPort(443)
  *             .build());
  * 
- *         var allowTlsIpv6 = new SecurityGroupIngressRule("allowTlsIpv6", SecurityGroupIngressRuleArgs.builder()        
+ *         var allowTlsIpv6 = new SecurityGroupIngressRule("allowTlsIpv6", SecurityGroupIngressRuleArgs.builder()        
  *             .securityGroupId(allowTls.id())
  *             .cidrIpv6(main.ipv6CidrBlock())
  *             .fromPort(443)
- *             .ipProtocol("tcp")
+ *             .ipProtocol("tcp")
  *             .toPort(443)
  *             .build());
  * 
- *         var allowAllTrafficIpv4 = new SecurityGroupEgressRule("allowAllTrafficIpv4", SecurityGroupEgressRuleArgs.builder()        
+ *         var allowAllTrafficIpv4 = new SecurityGroupEgressRule("allowAllTrafficIpv4", SecurityGroupEgressRuleArgs.builder()        
  *             .securityGroupId(allowTls.id())
- *             .cidrIpv4("0.0.0.0/0")
- *             .ipProtocol("-1")
+ *             .cidrIpv4("0.0.0.0/0")
+ *             .ipProtocol("-1")
  *             .build());
  * 
- *         var allowAllTrafficIpv6 = new SecurityGroupEgressRule("allowAllTrafficIpv6", SecurityGroupEgressRuleArgs.builder()        
+ *         var allowAllTrafficIpv6 = new SecurityGroupEgressRule("allowAllTrafficIpv6", SecurityGroupEgressRuleArgs.builder()        
  *             .securityGroupId(allowTls.id())
- *             .cidrIpv6("::/0")
- *             .ipProtocol("-1")
+ *             .cidrIpv6("::/0")
+ *             .ipProtocol("-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **NOTE on Egress rules:** By default, AWS creates an `ALLOW ALL` egress rule when creating a new Security Group inside of a VPC. When creating a new Security Group inside a VPC, **this provider will remove this default rule**, and require you specifically re-create it if you desire that rule. We feel this leads to fewer surprises in terms of controlling your egress rules. If you desire this rule to be in place, you can use this `egress` block: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,19 +128,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
+ *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
  *             .egress(SecurityGroupEgressArgs.builder()
  *                 .fromPort(0)
  *                 .toPort(0)
- *                 .protocol("-1")
- *                 .cidrBlocks("0.0.0.0/0")
- *                 .ipv6CidrBlocks("::/0")
+ *                 .protocol("-1")
+ *                 .cidrBlocks("0.0.0.0/0")
+ *                 .ipv6CidrBlocks("::/0")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage With Prefix List IDs @@ -148,7 +152,8 @@ * Prefix list IDs are exported on VPC Endpoints, so you can use this format: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -171,20 +176,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myEndpoint = new VpcEndpoint("myEndpoint");
+ *         var myEndpoint = new VpcEndpoint("myEndpoint");
  * 
- *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
+ *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
  *             .egress(SecurityGroupEgressArgs.builder()
  *                 .fromPort(0)
  *                 .toPort(0)
- *                 .protocol("-1")
+ *                 .protocol("-1")
  *                 .prefixListIds(myEndpoint.prefixListId())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * You can also find a specific Prefix List using the `aws.ec2.getPrefixList` data source. @@ -194,7 +200,8 @@ * The `ingress` and `egress` arguments are processed in attributes-as-blocks mode. Due to this, removing these arguments from the configuration will **not** cause the provider to destroy the managed rules. To subsequently remove all managed ingress and egress rules: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -215,8 +222,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
- *             .name("sg")
+ *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
+ *             .name("sg")
  *             .vpcId(exampleAwsVpc.id())
  *             .ingress()
  *             .egress()
@@ -224,7 +231,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Recreating a Security Group @@ -246,7 +254,8 @@ * If destroying a security group takes a long time, it may be because the provider cannot distinguish between a dependent object (_e.g._, a security group rule or EC2 instance) that is _in the process of being deleted_ and one that is not. In other words, it may be waiting for a train that isn't scheduled to arrive. To fail faster, shorten the `delete` timeout from the default timeout: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -267,13 +276,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
- *             .name("izizavle")
+ *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
+ *             .name("izizavle")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Provisioners @@ -283,7 +293,8 @@ * **DISCLAIMER:** We **_HIGHLY_** recommend using one of the above approaches and _NOT_ using local provisioners. Provisioners, like the one shown below, should be considered a **last resort** since they are _not readable_, _require skills outside standard configuration_, are _error prone_ and _difficult to maintain_, are not compatible with cloud environments and upgrade tools, require AWS CLI installation, and are subject to changes outside the AWS Provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -312,46 +323,47 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var default = Ec2Functions.getSecurityGroup(GetSecurityGroupArgs.builder()
- *             .name("default")
+ *             .name("default")
  *             .build());
  * 
- *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
- *             .name("sg")
+ *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
+ *             .name("sg")
  *             .tags(Map.ofEntries(
- *                 Map.entry("workaround1", "tagged-name"),
- *                 Map.entry("workaround2", default_.id())
+ *                 Map.entry("workaround1", "tagged-name"),
+ *                 Map.entry("workaround2", default_.id())
  *             ))
  *             .build());
  * 
- *         var exampleProvisioner0 = new Command("exampleProvisioner0", CommandArgs.builder()        
- *             .create("true")
- *             .update("true")
- *             .delete("""
- *             ENDPOINT_ID=`aws ec2 describe-vpc-endpoints --filters "Name=tag:Name,Values=%s" --query "VpcEndpoints[0].VpcEndpointId" --output text` &&
+ *         var exampleProvisioner0 = new Command("exampleProvisioner0", CommandArgs.builder()        
+ *             .create("true")
+ *             .update("true")
+ *             .delete("""
+ *             ENDPOINT_ID=`aws ec2 describe-vpc-endpoints --filters "Name=tag:Name,Values=%s" --query "VpcEndpoints[0].VpcEndpointId" --output text` &&
  *             aws ec2 modify-vpc-endpoint --vpc-endpoint-id ${ENDPOINT_ID} --add-security-group-ids %s --remove-security-group-ids %s
- * ", tags.workaround1(),tags.workaround2(),id))
+ * ", tags.workaround1(),tags.workaround2(),id))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var exampleResource = new Resource("exampleResource", ResourceArgs.builder()        
- *             .triggers(Map.of("rerun_upon_change_of", StdFunctions.join(JoinArgs.builder()
- *                 .separator(",")
+ *         var exampleResource = new Resource("exampleResource", ResourceArgs.builder()        
+ *             .triggers(Map.of("rerun_upon_change_of", StdFunctions.join(JoinArgs.builder()
+ *                 .separator(",")
  *                 .input(exampleAwsVpcEndpoint.securityGroupIds())
  *                 .build()).result()))
  *             .build());
  * 
- *         var exampleResourceProvisioner0 = new Command("exampleResourceProvisioner0", CommandArgs.builder()        
- *             .create("""
+ *         var exampleResourceProvisioner0 = new Command("exampleResourceProvisioner0", CommandArgs.builder()        
+ *             .create("""
  *             aws ec2 modify-vpc-endpoint --vpc-endpoint-id %s --remove-security-group-ids %s
- * ", exampleAwsVpcEndpoint.id(),default_.id()))
+ * ", exampleAwsVpcEndpoint.id(),default_.id()))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleResource)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupAssociation.java index 33240cc1ab8..edcfdca66d2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupAssociation.java @@ -29,7 +29,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sgEc2 = new SecurityGroupAssociation("sgEc2", SecurityGroupAssociationArgs.builder()        
+ *         var sgEc2 = new SecurityGroupAssociation("sgEc2", SecurityGroupAssociationArgs.builder()        
  *             .vpcEndpointId(ec2.id())
  *             .securityGroupId(sg.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupRule.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupRule.java index a38e9e57a93..759bddc3837 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SecurityGroupRule.java @@ -35,7 +35,8 @@ * Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,19 +57,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityGroupRule("example", SecurityGroupRuleArgs.builder()        
- *             .type("ingress")
+ *         var example = new SecurityGroupRule("example", SecurityGroupRuleArgs.builder()        
+ *             .type("ingress")
  *             .fromPort(0)
  *             .toPort(65535)
- *             .protocol("tcp")
+ *             .protocol("tcp")
  *             .cidrBlocks(exampleAwsVpc.cidrBlock())
  *             .ipv6CidrBlocks(exampleAwsVpc.ipv6CidrBlock())
- *             .securityGroupId("sg-123456")
+ *             .securityGroupId("sg-123456")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage With Prefix List IDs @@ -80,7 +82,8 @@ * Prefix list IDs are exported on VPC Endpoints, so you can use this format: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -103,27 +106,29 @@
  * 
  *     public static void stack(Context ctx) {
  *         // ...
- *         var myEndpoint = new VpcEndpoint("myEndpoint");
+ *         var myEndpoint = new VpcEndpoint("myEndpoint");
  * 
- *         var allowAll = new SecurityGroupRule("allowAll", SecurityGroupRuleArgs.builder()        
- *             .type("egress")
+ *         var allowAll = new SecurityGroupRule("allowAll", SecurityGroupRuleArgs.builder()        
+ *             .type("egress")
  *             .toPort(0)
- *             .protocol("-1")
+ *             .protocol("-1")
  *             .prefixListIds(myEndpoint.prefixListId())
  *             .fromPort(0)
- *             .securityGroupId("sg-123456")
+ *             .securityGroupId("sg-123456")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * You can also find a specific Prefix List using the `aws.ec2.getPrefixList` * or `ec2_managed_prefix_list` data sources: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -151,22 +156,23 @@
  *         final var current = AwsFunctions.getRegion();
  * 
  *         final var s3 = Ec2Functions.getPrefixList(GetPrefixListArgs.builder()
- *             .name(String.format("com.amazonaws.%s.s3", current.applyValue(getRegionResult -> getRegionResult.name())))
+ *             .name(String.format("com.amazonaws.%s.s3", current.applyValue(getRegionResult -> getRegionResult.name())))
  *             .build());
  * 
- *         var s3GatewayEgress = new SecurityGroupRule("s3GatewayEgress", SecurityGroupRuleArgs.builder()        
- *             .description("S3 Gateway Egress")
- *             .type("egress")
- *             .securityGroupId("sg-123456")
+ *         var s3GatewayEgress = new SecurityGroupRule("s3GatewayEgress", SecurityGroupRuleArgs.builder()        
+ *             .description("S3 Gateway Egress")
+ *             .type("egress")
+ *             .securityGroupId("sg-123456")
  *             .fromPort(443)
  *             .toPort(443)
- *             .protocol("tcp")
- *             .prefixListIds(s3.applyValue(getPrefixListResult -> getPrefixListResult.id()))
+ *             .protocol("tcp")
+ *             .prefixListIds(s3.applyValue(getPrefixListResult -> getPrefixListResult.id()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SerialConsoleAccess.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SerialConsoleAccess.java index a5ab3699de1..767a9ae3511 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SerialConsoleAccess.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SerialConsoleAccess.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SerialConsoleAccess("example", SerialConsoleAccessArgs.builder()        
+ *         var example = new SerialConsoleAccess("example", SerialConsoleAccessArgs.builder()        
  *             .enabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SnapshotCreateVolumePermission.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SnapshotCreateVolumePermission.java index 6ca3e55209c..5a4a043135d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SnapshotCreateVolumePermission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SnapshotCreateVolumePermission.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,23 +45,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Volume("example", VolumeArgs.builder()        
- *             .availabilityZone("us-west-2a")
+ *         var example = new Volume("example", VolumeArgs.builder()        
+ *             .availabilityZone("us-west-2a")
  *             .size(40)
  *             .build());
  * 
- *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
+ *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
  *             .volumeId(example.id())
  *             .build());
  * 
- *         var examplePerm = new SnapshotCreateVolumePermission("examplePerm", SnapshotCreateVolumePermissionArgs.builder()        
+ *         var examplePerm = new SnapshotCreateVolumePermission("examplePerm", SnapshotCreateVolumePermissionArgs.builder()        
  *             .snapshotId(exampleSnapshot.id())
- *             .accountId("12345678")
+ *             .accountId("12345678")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotDatafeedSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotDatafeedSubscription.java index 4b0aa00e224..cd5825930a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotDatafeedSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotDatafeedSubscription.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new BucketV2("default", BucketV2Args.builder()        
- *             .bucket("tf-spot-datafeed")
+ *         var default_ = new BucketV2("default", BucketV2Args.builder()        
+ *             .bucket("tf-spot-datafeed")
  *             .build());
  * 
- *         var defaultSpotDatafeedSubscription = new SpotDatafeedSubscription("defaultSpotDatafeedSubscription", SpotDatafeedSubscriptionArgs.builder()        
+ *         var defaultSpotDatafeedSubscription = new SpotDatafeedSubscription("defaultSpotDatafeedSubscription", SpotDatafeedSubscriptionArgs.builder()        
  *             .bucket(default_.id())
- *             .prefix("my_subdirectory")
+ *             .prefix("my_subdirectory")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotFleetRequest.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotFleetRequest.java index fc5254a9aab..20dfc6a3137 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotFleetRequest.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotFleetRequest.java @@ -33,7 +33,8 @@ * ### Using launch specifications * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,46 +57,48 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Request a Spot fleet
- *         var cheapCompute = new SpotFleetRequest("cheapCompute", SpotFleetRequestArgs.builder()        
- *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
- *             .spotPrice("0.03")
- *             .allocationStrategy("diversified")
+ *         var cheapCompute = new SpotFleetRequest("cheapCompute", SpotFleetRequestArgs.builder()        
+ *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
+ *             .spotPrice("0.03")
+ *             .allocationStrategy("diversified")
  *             .targetCapacity(6)
- *             .validUntil("2019-11-04T20:44:20Z")
+ *             .validUntil("2019-11-04T20:44:20Z")
  *             .launchSpecifications(            
  *                 SpotFleetRequestLaunchSpecificationArgs.builder()
- *                     .instanceType("m4.10xlarge")
- *                     .ami("ami-1234")
- *                     .spotPrice("2.793")
- *                     .placementTenancy("dedicated")
+ *                     .instanceType("m4.10xlarge")
+ *                     .ami("ami-1234")
+ *                     .spotPrice("2.793")
+ *                     .placementTenancy("dedicated")
  *                     .iamInstanceProfileArn(example.arn())
  *                     .build(),
  *                 SpotFleetRequestLaunchSpecificationArgs.builder()
- *                     .instanceType("m4.4xlarge")
- *                     .ami("ami-5678")
- *                     .keyName("my-key")
- *                     .spotPrice("1.117")
+ *                     .instanceType("m4.4xlarge")
+ *                     .ami("ami-5678")
+ *                     .keyName("my-key")
+ *                     .spotPrice("1.117")
  *                     .iamInstanceProfileArn(example.arn())
- *                     .availabilityZone("us-west-1a")
- *                     .subnetId("subnet-1234")
+ *                     .availabilityZone("us-west-1a")
+ *                     .subnetId("subnet-1234")
  *                     .weightedCapacity(35)
  *                     .rootBlockDevices(SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs.builder()
- *                         .volumeSize("300")
- *                         .volumeType("gp2")
+ *                         .volumeSize("300")
+ *                         .volumeType("gp2")
  *                         .build())
- *                     .tags(Map.of("Name", "spot-fleet-example"))
+ *                     .tags(Map.of("Name", "spot-fleet-example"))
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using launch templates * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -121,18 +124,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new LaunchTemplate("foo", LaunchTemplateArgs.builder()        
- *             .name("launch-template")
- *             .imageId("ami-516b9131")
- *             .instanceType("m1.small")
- *             .keyName("some-key")
+ *         var foo = new LaunchTemplate("foo", LaunchTemplateArgs.builder()        
+ *             .name("launch-template")
+ *             .imageId("ami-516b9131")
+ *             .instanceType("m1.small")
+ *             .keyName("some-key")
  *             .build());
  * 
- *         var fooSpotFleetRequest = new SpotFleetRequest("fooSpotFleetRequest", SpotFleetRequestArgs.builder()        
- *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
- *             .spotPrice("0.005")
+ *         var fooSpotFleetRequest = new SpotFleetRequest("fooSpotFleetRequest", SpotFleetRequestArgs.builder()        
+ *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
+ *             .spotPrice("0.005")
  *             .targetCapacity(2)
- *             .validUntil("2019-11-04T20:44:20Z")
+ *             .validUntil("2019-11-04T20:44:20Z")
  *             .launchTemplateConfigs(SpotFleetRequestLaunchTemplateConfigArgs.builder()
  *                 .launchTemplateSpecification(SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs.builder()
  *                     .id(foo.id())
@@ -145,7 +148,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **NOTE:** This provider does not support the functionality where multiple `subnet_id` or `availability_zone` parameters can be specified in the same @@ -154,7 +158,8 @@ * ### Using multiple launch specifications * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -176,29 +181,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new SpotFleetRequest("foo", SpotFleetRequestArgs.builder()        
- *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
- *             .spotPrice("0.005")
+ *         var foo = new SpotFleetRequest("foo", SpotFleetRequestArgs.builder()        
+ *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
+ *             .spotPrice("0.005")
  *             .targetCapacity(2)
- *             .validUntil("2019-11-04T20:44:20Z")
+ *             .validUntil("2019-11-04T20:44:20Z")
  *             .launchSpecifications(            
  *                 SpotFleetRequestLaunchSpecificationArgs.builder()
- *                     .instanceType("m1.small")
- *                     .ami("ami-d06a90b0")
- *                     .keyName("my-key")
- *                     .availabilityZone("us-west-2a")
+ *                     .instanceType("m1.small")
+ *                     .ami("ami-d06a90b0")
+ *                     .keyName("my-key")
+ *                     .availabilityZone("us-west-2a")
  *                     .build(),
  *                 SpotFleetRequestLaunchSpecificationArgs.builder()
- *                     .instanceType("m5.large")
- *                     .ami("ami-d06a90b0")
- *                     .keyName("my-key")
- *                     .availabilityZone("us-west-2a")
+ *                     .instanceType("m5.large")
+ *                     .ami("ami-d06a90b0")
+ *                     .keyName("my-key")
+ *                     .availabilityZone("us-west-2a")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > In this example, we use a `dynamic` block to define zero or more `launch_specification` blocks, producing one for each element in the list of subnet ids. @@ -209,7 +215,8 @@ * ### Using multiple launch configurations * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -239,23 +246,23 @@
  *     public static void stack(Context ctx) {
  *         final var example = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
  *             .filters(GetSubnetsFilterArgs.builder()
- *                 .name("vpc-id")
+ *                 .name("vpc-id")
  *                 .values(vpcId)
  *                 .build())
  *             .build());
  * 
- *         var foo = new LaunchTemplate("foo", LaunchTemplateArgs.builder()        
- *             .name("launch-template")
- *             .imageId("ami-516b9131")
- *             .instanceType("m1.small")
- *             .keyName("some-key")
+ *         var foo = new LaunchTemplate("foo", LaunchTemplateArgs.builder()        
+ *             .name("launch-template")
+ *             .imageId("ami-516b9131")
+ *             .instanceType("m1.small")
+ *             .keyName("some-key")
  *             .build());
  * 
- *         var fooSpotFleetRequest = new SpotFleetRequest("fooSpotFleetRequest", SpotFleetRequestArgs.builder()        
- *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
- *             .spotPrice("0.005")
+ *         var fooSpotFleetRequest = new SpotFleetRequest("fooSpotFleetRequest", SpotFleetRequestArgs.builder()        
+ *             .iamFleetRole("arn:aws:iam::12345678:role/spot-fleet")
+ *             .spotPrice("0.005")
  *             .targetCapacity(2)
- *             .validUntil("2019-11-04T20:44:20Z")
+ *             .validUntil("2019-11-04T20:44:20Z")
  *             .launchTemplateConfigs(SpotFleetRequestLaunchTemplateConfigArgs.builder()
  *                 .launchTemplateSpecification(SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs.builder()
  *                     .id(foo.id())
@@ -263,13 +270,13 @@
  *                     .build())
  *                 .overrides(                
  *                     SpotFleetRequestLaunchTemplateConfigOverrideArgs.builder()
- *                         .subnetId(example.applyValue(getSubnetsResult -> getSubnetsResult.ids()[0]))
+ *                         .subnetId(example.applyValue(getSubnetsResult -> getSubnetsResult.ids()[0]))
  *                         .build(),
  *                     SpotFleetRequestLaunchTemplateConfigOverrideArgs.builder()
- *                         .subnetId(example.applyValue(getSubnetsResult -> getSubnetsResult.ids()[1]))
+ *                         .subnetId(example.applyValue(getSubnetsResult -> getSubnetsResult.ids()[1]))
  *                         .build(),
  *                     SpotFleetRequestLaunchTemplateConfigOverrideArgs.builder()
- *                         .subnetId(example.applyValue(getSubnetsResult -> getSubnetsResult.ids()[2]))
+ *                         .subnetId(example.applyValue(getSubnetsResult -> getSubnetsResult.ids()[2]))
  *                         .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -278,7 +285,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotInstanceRequest.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotInstanceRequest.java index 72ec92dfb5e..1eacda407ff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotInstanceRequest.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SpotInstanceRequest.java @@ -60,7 +60,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,16 +83,17 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Request a spot instance at $0.03
- *         var cheapWorker = new SpotInstanceRequest("cheapWorker", SpotInstanceRequestArgs.builder()        
- *             .ami("ami-1234")
- *             .spotPrice("0.03")
- *             .instanceType("c4.xlarge")
- *             .tags(Map.of("Name", "CheapWorker"))
+ *         var cheapWorker = new SpotInstanceRequest("cheapWorker", SpotInstanceRequestArgs.builder()        
+ *             .ami("ami-1234")
+ *             .spotPrice("0.03")
+ *             .instanceType("c4.xlarge")
+ *             .tags(Map.of("Name", "CheapWorker"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Subnet.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Subnet.java index efe49dcb61b..b930c89ecaf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Subnet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Subnet.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,15 +49,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Subnet("main", SubnetArgs.builder()        
+ *         var main = new Subnet("main", SubnetArgs.builder()        
  *             .vpcId(mainAwsVpc.id())
- *             .cidrBlock("10.0.1.0/24")
- *             .tags(Map.of("Name", "Main"))
+ *             .cidrBlock("10.0.1.0/24")
+ *             .tags(Map.of("Name", "Main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Subnets In Secondary VPC CIDR Blocks @@ -65,7 +67,8 @@ * resource, it is recommended to reference that resource's `vpc_id` attribute to ensure correct dependency ordering. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,19 +91,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var secondaryCidr = new VpcIpv4CidrBlockAssociation("secondaryCidr", VpcIpv4CidrBlockAssociationArgs.builder()        
+ *         var secondaryCidr = new VpcIpv4CidrBlockAssociation("secondaryCidr", VpcIpv4CidrBlockAssociationArgs.builder()        
  *             .vpcId(main.id())
- *             .cidrBlock("172.20.0.0/16")
+ *             .cidrBlock("172.20.0.0/16")
  *             .build());
  * 
- *         var inSecondaryCidr = new Subnet("inSecondaryCidr", SubnetArgs.builder()        
+ *         var inSecondaryCidr = new Subnet("inSecondaryCidr", SubnetArgs.builder()        
  *             .vpcId(secondaryCidr.vpcId())
- *             .cidrBlock("172.20.0.0/24")
+ *             .cidrBlock("172.20.0.0/24")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/SubnetCidrReservation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/SubnetCidrReservation.java index cd10924ed02..c82701a93d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/SubnetCidrReservation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/SubnetCidrReservation.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,15 +42,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SubnetCidrReservation("example", SubnetCidrReservationArgs.builder()        
- *             .cidrBlock("10.0.0.16/28")
- *             .reservationType("prefix")
+ *         var example = new SubnetCidrReservation("example", SubnetCidrReservationArgs.builder()        
+ *             .cidrBlock("10.0.0.16/28")
+ *             .reservationType("prefix")
  *             .subnetId(exampleAwsSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Tag.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Tag.java index 19f1f04db4f..e7dc926e137 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Tag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Tag.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,29 +48,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGateway("example");
+ *         var example = new TransitGateway("example");
  * 
- *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
+ *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
  *             .bgpAsn(65000)
- *             .ipAddress("172.0.0.1")
- *             .type("ipsec.1")
+ *             .ipAddress("172.0.0.1")
+ *             .type("ipsec.1")
  *             .build());
  * 
- *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
+ *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
  *             .customerGatewayId(exampleCustomerGateway.id())
  *             .transitGatewayId(example.id())
  *             .type(exampleCustomerGateway.type())
  *             .build());
  * 
- *         var exampleTag = new Tag("exampleTag", TagArgs.builder()        
+ *         var exampleTag = new Tag("exampleTag", TagArgs.builder()        
  *             .resourceId(exampleVpnConnection.transitGatewayAttachmentId())
- *             .key("Name")
- *             .value("Hello World")
+ *             .key("Name")
+ *             .value("Hello World")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilter.java index dc3557976e8..876c552992c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilter.java @@ -25,7 +25,8 @@ * To create a basic traffic mirror filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new TrafficMirrorFilter("foo", TrafficMirrorFilterArgs.builder()        
- *             .description("traffic mirror filter - example")
- *             .networkServices("amazon-dns")
+ *         var foo = new TrafficMirrorFilter("foo", TrafficMirrorFilterArgs.builder()        
+ *             .description("traffic mirror filter - example")
+ *             .networkServices("amazon-dns")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilterRule.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilterRule.java index f8c23216907..25fd7e1f5ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilterRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorFilterRule.java @@ -26,7 +26,8 @@ * To create a basic traffic mirror session * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,29 +52,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var filter = new TrafficMirrorFilter("filter", TrafficMirrorFilterArgs.builder()        
- *             .description("traffic mirror filter - example")
- *             .networkServices("amazon-dns")
+ *         var filter = new TrafficMirrorFilter("filter", TrafficMirrorFilterArgs.builder()        
+ *             .description("traffic mirror filter - example")
+ *             .networkServices("amazon-dns")
  *             .build());
  * 
- *         var ruleout = new TrafficMirrorFilterRule("ruleout", TrafficMirrorFilterRuleArgs.builder()        
- *             .description("test rule")
+ *         var ruleout = new TrafficMirrorFilterRule("ruleout", TrafficMirrorFilterRuleArgs.builder()        
+ *             .description("test rule")
  *             .trafficMirrorFilterId(filter.id())
- *             .destinationCidrBlock("10.0.0.0/8")
- *             .sourceCidrBlock("10.0.0.0/8")
+ *             .destinationCidrBlock("10.0.0.0/8")
+ *             .sourceCidrBlock("10.0.0.0/8")
  *             .ruleNumber(1)
- *             .ruleAction("accept")
- *             .trafficDirection("egress")
+ *             .ruleAction("accept")
+ *             .trafficDirection("egress")
  *             .build());
  * 
- *         var rulein = new TrafficMirrorFilterRule("rulein", TrafficMirrorFilterRuleArgs.builder()        
- *             .description("test rule")
+ *         var rulein = new TrafficMirrorFilterRule("rulein", TrafficMirrorFilterRuleArgs.builder()        
+ *             .description("test rule")
  *             .trafficMirrorFilterId(filter.id())
- *             .destinationCidrBlock("10.0.0.0/8")
- *             .sourceCidrBlock("10.0.0.0/8")
+ *             .destinationCidrBlock("10.0.0.0/8")
+ *             .sourceCidrBlock("10.0.0.0/8")
  *             .ruleNumber(1)
- *             .ruleAction("accept")
- *             .trafficDirection("ingress")
+ *             .ruleAction("accept")
+ *             .trafficDirection("ingress")
  *             .protocol(6)
  *             .destinationPortRange(TrafficMirrorFilterRuleDestinationPortRangeArgs.builder()
  *                 .fromPort(22)
@@ -87,7 +88,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorSession.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorSession.java index 210492a4361..f3f505d473e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorSession.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorSession.java @@ -25,7 +25,8 @@ * To create a basic traffic mirror session * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,17 +51,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var filter = new TrafficMirrorFilter("filter", TrafficMirrorFilterArgs.builder()        
- *             .description("traffic mirror filter - example")
- *             .networkServices("amazon-dns")
+ *         var filter = new TrafficMirrorFilter("filter", TrafficMirrorFilterArgs.builder()        
+ *             .description("traffic mirror filter - example")
+ *             .networkServices("amazon-dns")
  *             .build());
  * 
- *         var target = new TrafficMirrorTarget("target", TrafficMirrorTargetArgs.builder()        
+ *         var target = new TrafficMirrorTarget("target", TrafficMirrorTargetArgs.builder()        
  *             .networkLoadBalancerArn(lb.arn())
  *             .build());
  * 
- *         var session = new TrafficMirrorSession("session", TrafficMirrorSessionArgs.builder()        
- *             .description("traffic mirror session - example")
+ *         var session = new TrafficMirrorSession("session", TrafficMirrorSessionArgs.builder()        
+ *             .description("traffic mirror session - example")
  *             .networkInterfaceId(test.primaryNetworkInterfaceId())
  *             .sessionNumber(1)
  *             .trafficMirrorFilterId(filter.id())
@@ -69,7 +70,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorTarget.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorTarget.java index 3bcc1f0ac86..1f9c4342ccf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/TrafficMirrorTarget.java @@ -24,7 +24,8 @@ * To create a basic traffic mirror session * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,24 +46,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var nlb = new TrafficMirrorTarget("nlb", TrafficMirrorTargetArgs.builder()        
- *             .description("NLB target")
+ *         var nlb = new TrafficMirrorTarget("nlb", TrafficMirrorTargetArgs.builder()        
+ *             .description("NLB target")
  *             .networkLoadBalancerArn(lb.arn())
  *             .build());
  * 
- *         var eni = new TrafficMirrorTarget("eni", TrafficMirrorTargetArgs.builder()        
- *             .description("ENI target")
+ *         var eni = new TrafficMirrorTarget("eni", TrafficMirrorTargetArgs.builder()        
+ *             .description("ENI target")
  *             .networkInterfaceId(test.primaryNetworkInterfaceId())
  *             .build());
  * 
- *         var gwlb = new TrafficMirrorTarget("gwlb", TrafficMirrorTargetArgs.builder()        
- *             .description("GWLB target")
+ *         var gwlb = new TrafficMirrorTarget("gwlb", TrafficMirrorTargetArgs.builder()        
+ *             .description("GWLB target")
  *             .gatewayLoadBalancerEndpointId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VolumeAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VolumeAttachment.java index 32131f7a738..05692fe4a2f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VolumeAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VolumeAttachment.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,27 +50,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var web = new Instance("web", InstanceArgs.builder()        
- *             .ami("ami-21f78e11")
- *             .availabilityZone("us-west-2a")
- *             .instanceType("t2.micro")
- *             .tags(Map.of("Name", "HelloWorld"))
+ *         var web = new Instance("web", InstanceArgs.builder()        
+ *             .ami("ami-21f78e11")
+ *             .availabilityZone("us-west-2a")
+ *             .instanceType("t2.micro")
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
- *         var example = new Volume("example", VolumeArgs.builder()        
- *             .availabilityZone("us-west-2a")
+ *         var example = new Volume("example", VolumeArgs.builder()        
+ *             .availabilityZone("us-west-2a")
  *             .size(1)
  *             .build());
  * 
- *         var ebsAtt = new VolumeAttachment("ebsAtt", VolumeAttachmentArgs.builder()        
- *             .deviceName("/dev/sdh")
+ *         var ebsAtt = new VolumeAttachment("ebsAtt", VolumeAttachmentArgs.builder()        
+ *             .deviceName("/dev/sdh")
  *             .volumeId(example.id())
  *             .instanceId(web.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/Vpc.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/Vpc.java index 3499964cc8e..2f716a7f7da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/Vpc.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/Vpc.java @@ -25,7 +25,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Basic usage with tags: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,21 +82,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
- *             .instanceTenancy("default")
- *             .tags(Map.of("Name", "main"))
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
+ *             .instanceTenancy("default")
+ *             .tags(Map.of("Name", "main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * VPC with CIDR from AWS IPAM: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -126,24 +131,24 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var test = new VpcIpam("test", VpcIpamArgs.builder()        
+ *         var test = new VpcIpam("test", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var testVpcIpamPool = new VpcIpamPool("testVpcIpamPool", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var testVpcIpamPool = new VpcIpamPool("testVpcIpamPool", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(test.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .build());
  * 
- *         var testVpcIpamPoolCidr = new VpcIpamPoolCidr("testVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
+ *         var testVpcIpamPoolCidr = new VpcIpamPoolCidr("testVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(testVpcIpamPool.id())
- *             .cidr("172.20.0.0/16")
+ *             .cidr("172.20.0.0/16")
  *             .build());
  * 
- *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
+ *         var testVpc = new Vpc("testVpc", VpcArgs.builder()        
  *             .ipv4IpamPoolId(testVpcIpamPool.id())
  *             .ipv4NetmaskLength(28)
  *             .build(), CustomResourceOptions.builder()
@@ -152,7 +157,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptions.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptions.java index f4d32816d05..01234e25b2e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptions.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dnsResolver = new VpcDhcpOptions("dnsResolver", VpcDhcpOptionsArgs.builder()        
+ *         var dnsResolver = new VpcDhcpOptions("dnsResolver", VpcDhcpOptionsArgs.builder()        
  *             .domainNameServers(            
- *                 "8.8.8.8",
- *                 "8.8.4.4")
+ *                 "8.8.8.8",
+ *                 "8.8.4.4")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Full usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,21 +83,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new VpcDhcpOptions("foo", VpcDhcpOptionsArgs.builder()        
- *             .domainName("service.consul")
+ *         var foo = new VpcDhcpOptions("foo", VpcDhcpOptionsArgs.builder()        
+ *             .domainName("service.consul")
  *             .domainNameServers(            
- *                 "127.0.0.1",
- *                 "10.0.0.2")
+ *                 "127.0.0.1",
+ *                 "10.0.0.2")
  *             .ipv6AddressPreferredLeaseTime(1440)
- *             .ntpServers("127.0.0.1")
- *             .netbiosNameServers("127.0.0.1")
+ *             .ntpServers("127.0.0.1")
+ *             .netbiosNameServers("127.0.0.1")
  *             .netbiosNodeType(2)
- *             .tags(Map.of("Name", "foo-name"))
+ *             .tags(Map.of("Name", "foo-name"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Remarks diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptionsAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptionsAssociation.java index 1db6f50718c..dfc05250c95 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptionsAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcDhcpOptionsAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var dnsResolver = new VpcDhcpOptionsAssociation("dnsResolver", VpcDhcpOptionsAssociationArgs.builder()        
+ *         var dnsResolver = new VpcDhcpOptionsAssociation("dnsResolver", VpcDhcpOptionsAssociationArgs.builder()        
  *             .vpcId(fooAwsVpc.id())
  *             .dhcpOptionsId(foo.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Remarks diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpoint.java index 47cd07549bd..55f1bf56d1e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpoint.java @@ -35,7 +35,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,20 +57,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var s3 = new VpcEndpoint("s3", VpcEndpointArgs.builder()        
+ *         var s3 = new VpcEndpoint("s3", VpcEndpointArgs.builder()        
  *             .vpcId(main.id())
- *             .serviceName("com.amazonaws.us-west-2.s3")
+ *             .serviceName("com.amazonaws.us-west-2.s3")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic w/ Tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,21 +93,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var s3 = new VpcEndpoint("s3", VpcEndpointArgs.builder()        
+ *         var s3 = new VpcEndpoint("s3", VpcEndpointArgs.builder()        
  *             .vpcId(main.id())
- *             .serviceName("com.amazonaws.us-west-2.s3")
- *             .tags(Map.of("Environment", "test"))
+ *             .serviceName("com.amazonaws.us-west-2.s3")
+ *             .tags(Map.of("Environment", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Interface Endpoint Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,23 +130,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ec2 = new VpcEndpoint("ec2", VpcEndpointArgs.builder()        
+ *         var ec2 = new VpcEndpoint("ec2", VpcEndpointArgs.builder()        
  *             .vpcId(main.id())
- *             .serviceName("com.amazonaws.us-west-2.ec2")
- *             .vpcEndpointType("Interface")
+ *             .serviceName("com.amazonaws.us-west-2.ec2")
+ *             .vpcEndpointType("Interface")
  *             .securityGroupIds(sg1.id())
  *             .privateDnsEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Gateway Load Balancer Endpoint Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -168,13 +175,13 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
+ *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
  *             .acceptanceRequired(false)
- *             .allowedPrincipals(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+ *             .allowedPrincipals(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
  *             .gatewayLoadBalancerArns(exampleAwsLb.arn())
  *             .build());
  * 
- *         var exampleVpcEndpoint = new VpcEndpoint("exampleVpcEndpoint", VpcEndpointArgs.builder()        
+ *         var exampleVpcEndpoint = new VpcEndpoint("exampleVpcEndpoint", VpcEndpointArgs.builder()        
  *             .serviceName(example.serviceName())
  *             .subnetIds(exampleAwsSubnet.id())
  *             .vpcEndpointType(example.serviceType())
@@ -183,7 +190,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionAccepter.java index 4b9096a2a89..d577933adbf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionAccepter.java @@ -21,7 +21,8 @@ * ### Accept cross-account request * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,27 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
+ *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
  *             .acceptanceRequired(false)
  *             .networkLoadBalancerArns(exampleAwsLb.arn())
  *             .build());
  * 
- *         var exampleVpcEndpoint = new VpcEndpoint("exampleVpcEndpoint", VpcEndpointArgs.builder()        
+ *         var exampleVpcEndpoint = new VpcEndpoint("exampleVpcEndpoint", VpcEndpointArgs.builder()        
  *             .vpcId(testAlternate.id())
  *             .serviceName(testAwsVpcEndpointService.serviceName())
- *             .vpcEndpointType("Interface")
+ *             .vpcEndpointType("Interface")
  *             .privateDnsEnabled(false)
  *             .securityGroupIds(test.id())
  *             .build());
  * 
- *         var exampleVpcEndpointConnectionAccepter = new VpcEndpointConnectionAccepter("exampleVpcEndpointConnectionAccepter", VpcEndpointConnectionAccepterArgs.builder()        
+ *         var exampleVpcEndpointConnectionAccepter = new VpcEndpointConnectionAccepter("exampleVpcEndpointConnectionAccepter", VpcEndpointConnectionAccepterArgs.builder()        
  *             .vpcEndpointServiceId(example.id())
  *             .vpcEndpointId(exampleVpcEndpoint.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionNotification.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionNotification.java index ba10c660c56..0f091b19f36 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionNotification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointConnectionNotification.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,37 +52,38 @@
  *     public static void stack(Context ctx) {
  *         final var topic = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("vpce.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("vpce.amazonaws.com")
  *                     .build())
- *                 .actions("SNS:Publish")
- *                 .resources("arn:aws:sns:*:*:vpce-notification-topic")
+ *                 .actions("SNS:Publish")
+ *                 .resources("arn:aws:sns:*:*:vpce-notification-topic")
  *                 .build())
  *             .build());
  * 
- *         var topicTopic = new Topic("topicTopic", TopicArgs.builder()        
- *             .name("vpce-notification-topic")
- *             .policy(topic.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var topicTopic = new Topic("topicTopic", TopicArgs.builder()        
+ *             .name("vpce-notification-topic")
+ *             .policy(topic.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var foo = new VpcEndpointService("foo", VpcEndpointServiceArgs.builder()        
+ *         var foo = new VpcEndpointService("foo", VpcEndpointServiceArgs.builder()        
  *             .acceptanceRequired(false)
  *             .networkLoadBalancerArns(test.arn())
  *             .build());
  * 
- *         var fooVpcEndpointConnectionNotification = new VpcEndpointConnectionNotification("fooVpcEndpointConnectionNotification", VpcEndpointConnectionNotificationArgs.builder()        
+ *         var fooVpcEndpointConnectionNotification = new VpcEndpointConnectionNotification("fooVpcEndpointConnectionNotification", VpcEndpointConnectionNotificationArgs.builder()        
  *             .vpcEndpointServiceId(foo.id())
  *             .connectionNotificationArn(topicTopic.arn())
  *             .connectionEvents(            
- *                 "Accept",
- *                 "Reject")
+ *                 "Accept",
+ *                 "Reject")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointPolicy.java index 8996dbd5f8c..02d14f9537f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,38 +49,39 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = Ec2Functions.getVpcEndpointService(GetVpcEndpointServiceArgs.builder()
- *             .service("dynamodb")
+ *             .service("dynamodb")
  *             .build());
  * 
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var exampleVpcEndpoint = new VpcEndpoint("exampleVpcEndpoint", VpcEndpointArgs.builder()        
- *             .serviceName(example.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
+ *         var exampleVpcEndpoint = new VpcEndpoint("exampleVpcEndpoint", VpcEndpointArgs.builder()        
+ *             .serviceName(example.applyValue(getVpcEndpointServiceResult -> getVpcEndpointServiceResult.serviceName()))
  *             .vpcId(exampleVpc.id())
  *             .build());
  * 
- *         var exampleVpcEndpointPolicy = new VpcEndpointPolicy("exampleVpcEndpointPolicy", VpcEndpointPolicyArgs.builder()        
+ *         var exampleVpcEndpointPolicy = new VpcEndpointPolicy("exampleVpcEndpointPolicy", VpcEndpointPolicyArgs.builder()        
  *             .vpcEndpointId(exampleVpcEndpoint.id())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", "AllowAll"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", "AllowAll"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "*")
  *                         )),
- *                         jsonProperty("Action", jsonArray("dynamodb:*")),
- *                         jsonProperty("Resource", "*")
+ *                         jsonProperty("Action", jsonArray("dynamodb:*")),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointRouteTableAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointRouteTableAssociation.java index dc60fdf0c0e..271cfbab439 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointRouteTableAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointRouteTableAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcEndpointRouteTableAssociation("example", VpcEndpointRouteTableAssociationArgs.builder()        
+ *         var example = new VpcEndpointRouteTableAssociation("example", VpcEndpointRouteTableAssociationArgs.builder()        
  *             .routeTableId(exampleAwsRouteTable.id())
  *             .vpcEndpointId(exampleAwsVpcEndpoint.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointService.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointService.java index 6ce149a86b5..038ea59d2d0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointService.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointService.java @@ -33,7 +33,8 @@ * ### Network Load Balancers * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,20 +55,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
+ *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
  *             .acceptanceRequired(false)
  *             .networkLoadBalancerArns(exampleAwsLb.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Gateway Load Balancers * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,14 +91,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
+ *         var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()        
  *             .acceptanceRequired(false)
  *             .gatewayLoadBalancerArns(exampleAwsLb.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointServiceAllowedPrinciple.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointServiceAllowedPrinciple.java index 53d52a7137b..8c2a7d113af 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointServiceAllowedPrinciple.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointServiceAllowedPrinciple.java @@ -27,7 +27,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,14 +53,15 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var allowMeToFoo = new VpcEndpointServiceAllowedPrinciple("allowMeToFoo", VpcEndpointServiceAllowedPrincipleArgs.builder()        
+ *         var allowMeToFoo = new VpcEndpointServiceAllowedPrinciple("allowMeToFoo", VpcEndpointServiceAllowedPrincipleArgs.builder()        
  *             .vpcEndpointServiceId(foo.id())
- *             .principalArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+ *             .principalArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointSubnetAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointSubnetAssociation.java index 3cf1d7b85f6..1b1294943f4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointSubnetAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcEndpointSubnetAssociation.java @@ -27,7 +27,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var snEc2 = new VpcEndpointSubnetAssociation("snEc2", VpcEndpointSubnetAssociationArgs.builder()        
+ *         var snEc2 = new VpcEndpointSubnetAssociation("snEc2", VpcEndpointSubnetAssociationArgs.builder()        
  *             .vpcEndpointId(ec2.id())
  *             .subnetId(sn.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpam.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpam.java index db27af63301..c9f367b3fbe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpam.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpam.java @@ -27,7 +27,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,17 +54,18 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var main = new VpcIpam("main", VpcIpamArgs.builder()        
- *             .description("My IPAM")
+ *         var main = new VpcIpam("main", VpcIpamArgs.builder()        
+ *             .description("My IPAM")
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
- *             .tags(Map.of("Test", "Main"))
+ *             .tags(Map.of("Test", "Main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Shared with multiple operating_regions: diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamOrganizationAdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamOrganizationAdminAccount.java index 9f192d44ccb..667042f8245 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamOrganizationAdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamOrganizationAdminAccount.java @@ -21,7 +21,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     public static void stack(Context ctx) {
  *         final var delegated = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new VpcIpamOrganizationAdminAccount("example", VpcIpamOrganizationAdminAccountArgs.builder()        
- *             .delegatedAdminAccountId(delegated.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *         var example = new VpcIpamOrganizationAdminAccount("example", VpcIpamOrganizationAdminAccountArgs.builder()        
+ *             .delegatedAdminAccountId(delegated.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPool.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPool.java index a3d6c41177e..b2fe58b4c83 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPool.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPool.java @@ -25,7 +25,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,27 +54,29 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
+ *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(example.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Nested Pools: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -103,37 +106,38 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
+ *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var parent = new VpcIpamPool("parent", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var parent = new VpcIpamPool("parent", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(example.privateDefaultScopeId())
  *             .build());
  * 
- *         var parentTest = new VpcIpamPoolCidr("parentTest", VpcIpamPoolCidrArgs.builder()        
+ *         var parentTest = new VpcIpamPoolCidr("parentTest", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(parent.id())
- *             .cidr("172.20.0.0/16")
+ *             .cidr("172.20.0.0/16")
  *             .build());
  * 
- *         var child = new VpcIpamPool("child", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var child = new VpcIpamPool("child", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(example.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .sourceIpamPoolId(parent.id())
  *             .build());
  * 
- *         var childTest = new VpcIpamPoolCidr("childTest", VpcIpamPoolCidrArgs.builder()        
+ *         var childTest = new VpcIpamPoolCidr("childTest", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(child.id())
- *             .cidr("172.20.0.0/24")
+ *             .cidr("172.20.0.0/24")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidr.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidr.java index d24ceadf86e..c61a8ce9fb4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidr.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidr.java @@ -29,7 +29,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,32 +60,34 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
+ *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(example.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .build());
  * 
- *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
+ *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
- *             .cidr("172.20.0.0/16")
+ *             .cidr("172.20.0.0/16")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Provision Public IPv6 Pool CIDRs: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -114,30 +117,31 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
+ *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var ipv6TestPublic = new VpcIpamPool("ipv6TestPublic", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv6")
+ *         var ipv6TestPublic = new VpcIpamPool("ipv6TestPublic", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv6")
  *             .ipamScopeId(example.publicDefaultScopeId())
- *             .locale("us-east-1")
- *             .description("public ipv6")
+ *             .locale("us-east-1")
+ *             .description("public ipv6")
  *             .publiclyAdvertisable(false)
- *             .publicIpSource("amazon")
- *             .awsService("ec2")
+ *             .publicIpSource("amazon")
+ *             .awsService("ec2")
  *             .build());
  * 
- *         var ipv6TestPublicVpcIpamPoolCidr = new VpcIpamPoolCidr("ipv6TestPublicVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
+ *         var ipv6TestPublicVpcIpamPoolCidr = new VpcIpamPoolCidr("ipv6TestPublicVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(ipv6TestPublic.id())
  *             .netmaskLength(52)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidrAllocation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidrAllocation.java index 104fc85dcb5..8f921ba4fcb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidrAllocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPoolCidrAllocation.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,39 +58,41 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()        
+ *         var exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(exampleVpcIpam.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .build());
  * 
- *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
+ *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
- *             .cidr("172.20.0.0/16")
+ *             .cidr("172.20.0.0/16")
  *             .build());
  * 
- *         var example = new VpcIpamPoolCidrAllocation("example", VpcIpamPoolCidrAllocationArgs.builder()        
+ *         var example = new VpcIpamPoolCidrAllocation("example", VpcIpamPoolCidrAllocationArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
- *             .cidr("172.20.0.0/24")
+ *             .cidr("172.20.0.0/24")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleVpcIpamPoolCidr)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * With the `disallowed_cidrs` attribute: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -122,34 +125,35 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()        
+ *         var exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(exampleVpcIpam.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .build());
  * 
- *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
+ *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
- *             .cidr("172.20.0.0/16")
+ *             .cidr("172.20.0.0/16")
  *             .build());
  * 
- *         var example = new VpcIpamPoolCidrAllocation("example", VpcIpamPoolCidrAllocationArgs.builder()        
+ *         var example = new VpcIpamPoolCidrAllocation("example", VpcIpamPoolCidrAllocationArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
  *             .netmaskLength(28)
- *             .disallowedCidrs("172.20.0.0/28")
+ *             .disallowedCidrs("172.20.0.0/28")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleVpcIpamPoolCidr)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPreviewNextCidr.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPreviewNextCidr.java index 1ff5674d4cb..35892115ff5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPreviewNextCidr.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamPreviewNextCidr.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,34 +58,35 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()        
+ *         var exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
- *             .addressFamily("ipv4")
+ *         var exampleVpcIpamPool = new VpcIpamPool("exampleVpcIpamPool", VpcIpamPoolArgs.builder()        
+ *             .addressFamily("ipv4")
  *             .ipamScopeId(exampleVpcIpam.privateDefaultScopeId())
- *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .locale(current.applyValue(getRegionResult -> getRegionResult.name()))
  *             .build());
  * 
- *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
+ *         var exampleVpcIpamPoolCidr = new VpcIpamPoolCidr("exampleVpcIpamPoolCidr", VpcIpamPoolCidrArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
- *             .cidr("172.20.0.0/16")
+ *             .cidr("172.20.0.0/16")
  *             .build());
  * 
- *         var example = new VpcIpamPreviewNextCidr("example", VpcIpamPreviewNextCidrArgs.builder()        
+ *         var example = new VpcIpamPreviewNextCidr("example", VpcIpamPreviewNextCidrArgs.builder()        
  *             .ipamPoolId(exampleVpcIpamPool.id())
  *             .netmaskLength(28)
- *             .disallowedCidrs("172.2.0.0/32")
+ *             .disallowedCidrs("172.2.0.0/32")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleVpcIpamPoolCidr)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscovery.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscovery.java index 16a3c200d46..e0bd7509fa8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscovery.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscovery.java @@ -26,7 +26,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,17 +53,18 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var main = new VpcIpamResourceDiscovery("main", VpcIpamResourceDiscoveryArgs.builder()        
- *             .description("My IPAM Resource Discovery")
+ *         var main = new VpcIpamResourceDiscovery("main", VpcIpamResourceDiscoveryArgs.builder()        
+ *             .description("My IPAM Resource Discovery")
  *             .operatingRegions(VpcIpamResourceDiscoveryOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
- *             .tags(Map.of("Test", "Main"))
+ *             .tags(Map.of("Test", "Main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscoveryAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscoveryAssociation.java index 9c6becf6b72..3d097723c1d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscoveryAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamResourceDiscoveryAssociation.java @@ -26,7 +26,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,15 +48,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new VpcIpamResourceDiscoveryAssociation("test", VpcIpamResourceDiscoveryAssociationArgs.builder()        
+ *         var test = new VpcIpamResourceDiscoveryAssociation("test", VpcIpamResourceDiscoveryAssociationArgs.builder()        
  *             .ipamId(testAwsVpcIpam.id())
  *             .ipamResourceDiscoveryId(testAwsVpcIpamResourceDiscovery.id())
- *             .tags(Map.of("Name", "test"))
+ *             .tags(Map.of("Name", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamScope.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamScope.java index 29d5bfeab74..60adcdfe6d6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamScope.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpamScope.java @@ -25,7 +25,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,20 +54,21 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
+ *         var example = new VpcIpam("example", VpcIpamArgs.builder()        
  *             .operatingRegions(VpcIpamOperatingRegionArgs.builder()
- *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .build())
  *             .build());
  * 
- *         var exampleVpcIpamScope = new VpcIpamScope("exampleVpcIpamScope", VpcIpamScopeArgs.builder()        
+ *         var exampleVpcIpamScope = new VpcIpamScope("exampleVpcIpamScope", VpcIpamScopeArgs.builder()        
  *             .ipamId(example.id())
- *             .description("Another Scope")
+ *             .description("Another Scope")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv4CidrBlockAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv4CidrBlockAssociation.java index 9fb723e518b..b46d5bf5839 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv4CidrBlockAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv4CidrBlockAssociation.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var secondaryCidr = new VpcIpv4CidrBlockAssociation("secondaryCidr", VpcIpv4CidrBlockAssociationArgs.builder()        
+ *         var secondaryCidr = new VpcIpv4CidrBlockAssociation("secondaryCidr", VpcIpv4CidrBlockAssociationArgs.builder()        
  *             .vpcId(main.id())
- *             .cidrBlock("172.20.0.0/16")
+ *             .cidrBlock("172.20.0.0/16")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv6CidrBlockAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv6CidrBlockAssociation.java index 0c1009e727e..bbdb6257e9c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv6CidrBlockAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcIpv6CidrBlockAssociation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Vpc("test", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var test = new Vpc("test", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var testVpcIpv6CidrBlockAssociation = new VpcIpv6CidrBlockAssociation("testVpcIpv6CidrBlockAssociation", VpcIpv6CidrBlockAssociationArgs.builder()        
+ *         var testVpcIpv6CidrBlockAssociation = new VpcIpv6CidrBlockAssociation("testVpcIpv6CidrBlockAssociation", VpcIpv6CidrBlockAssociationArgs.builder()        
  *             .ipv6IpamPoolId(testAwsVpcIpamPool.id())
  *             .vpcId(test.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcNetworkPerformanceMetricSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcNetworkPerformanceMetricSubscription.java index eb4165755a4..98aa2bb4670 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcNetworkPerformanceMetricSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcNetworkPerformanceMetricSubscription.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,14 +42,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcNetworkPerformanceMetricSubscription("example", VpcNetworkPerformanceMetricSubscriptionArgs.builder()        
- *             .source("us-east-1")
- *             .destination("us-west-1")
+ *         var example = new VpcNetworkPerformanceMetricSubscription("example", VpcNetworkPerformanceMetricSubscriptionArgs.builder()        
+ *             .source("us-east-1")
+ *             .destination("us-west-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnection.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnection.java index 42ed9e7910c..2238e3967ec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnection.java @@ -38,7 +38,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,7 +60,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
+ *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
  *             .peerOwnerId(peerOwnerId)
  *             .peerVpcId(bar.id())
  *             .vpcId(fooAwsVpc.id())
@@ -67,13 +68,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Basic usage with connection options: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -96,7 +99,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
+ *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
  *             .peerOwnerId(peerOwnerId)
  *             .peerVpcId(bar.id())
  *             .vpcId(fooAwsVpc.id())
@@ -110,13 +113,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Basic usage with tags: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -139,31 +144,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var bar = new Vpc("bar", VpcArgs.builder()        
- *             .cidrBlock("10.2.0.0/16")
+ *         var bar = new Vpc("bar", VpcArgs.builder()        
+ *             .cidrBlock("10.2.0.0/16")
  *             .build());
  * 
- *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
+ *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
  *             .peerOwnerId(peerOwnerId)
  *             .peerVpcId(bar.id())
  *             .vpcId(fooVpc.id())
  *             .autoAccept(true)
- *             .tags(Map.of("Name", "VPC Peering between foo and bar"))
+ *             .tags(Map.of("Name", "VPC Peering between foo and bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Basic usage with region: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -186,24 +193,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var bar = new Vpc("bar", VpcArgs.builder()        
- *             .cidrBlock("10.2.0.0/16")
+ *         var bar = new Vpc("bar", VpcArgs.builder()        
+ *             .cidrBlock("10.2.0.0/16")
  *             .build());
  * 
- *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
+ *         var foo = new VpcPeeringConnection("foo", VpcPeeringConnectionArgs.builder()        
  *             .peerOwnerId(peerOwnerId)
  *             .peerVpcId(bar.id())
  *             .vpcId(fooVpc.id())
- *             .peerRegion("us-east-1")
+ *             .peerRegion("us-east-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Notes diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnectionAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnectionAccepter.java index b183c34a09d..71f1a022c81 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnectionAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpcPeeringConnectionAccepter.java @@ -31,7 +31,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,36 +59,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var peerVpc = new Vpc("peerVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var peerVpc = new Vpc("peerVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
  *         final var peer = AwsFunctions.getCallerIdentity();
  * 
- *         // Requester's side of the connection.
- *         var peerVpcPeeringConnection = new VpcPeeringConnection("peerVpcPeeringConnection", VpcPeeringConnectionArgs.builder()        
+ *         // Requester's side of the connection.
+ *         var peerVpcPeeringConnection = new VpcPeeringConnection("peerVpcPeeringConnection", VpcPeeringConnectionArgs.builder()        
  *             .vpcId(main.id())
  *             .peerVpcId(peerVpc.id())
- *             .peerOwnerId(peer.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *             .peerRegion("us-west-2")
+ *             .peerOwnerId(peer.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *             .peerRegion("us-west-2")
  *             .autoAccept(false)
- *             .tags(Map.of("Side", "Requester"))
+ *             .tags(Map.of("Side", "Requester"))
  *             .build());
  * 
- *         // Accepter's side of the connection.
- *         var peerVpcPeeringConnectionAccepter = new VpcPeeringConnectionAccepter("peerVpcPeeringConnectionAccepter", VpcPeeringConnectionAccepterArgs.builder()        
+ *         // Accepter's side of the connection.
+ *         var peerVpcPeeringConnectionAccepter = new VpcPeeringConnectionAccepter("peerVpcPeeringConnectionAccepter", VpcPeeringConnectionAccepterArgs.builder()        
  *             .vpcPeeringConnectionId(peerVpcPeeringConnection.id())
  *             .autoAccept(true)
- *             .tags(Map.of("Side", "Accepter"))
+ *             .tags(Map.of("Side", "Accepter"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnection.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnection.java index 2f892e2ac3b..96c3cf10b74 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnection.java @@ -34,7 +34,8 @@ * ### EC2 Transit Gateway * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,15 +59,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGateway("example");
+ *         var example = new TransitGateway("example");
  * 
- *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
+ *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
  *             .bgpAsn(65000)
- *             .ipAddress("172.0.0.1")
- *             .type("ipsec.1")
+ *             .ipAddress("172.0.0.1")
+ *             .type("ipsec.1")
  *             .build());
  * 
- *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
+ *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
  *             .customerGatewayId(exampleCustomerGateway.id())
  *             .transitGatewayId(example.id())
  *             .type(exampleCustomerGateway.type())
@@ -74,13 +75,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Virtual Private Gateway * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,36 +110,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vpc = new Vpc("vpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var vpc = new Vpc("vpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var vpnGateway = new VpnGateway("vpnGateway", VpnGatewayArgs.builder()        
+ *         var vpnGateway = new VpnGateway("vpnGateway", VpnGatewayArgs.builder()        
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var customerGateway = new CustomerGateway("customerGateway", CustomerGatewayArgs.builder()        
+ *         var customerGateway = new CustomerGateway("customerGateway", CustomerGatewayArgs.builder()        
  *             .bgpAsn(65000)
- *             .ipAddress("172.0.0.1")
- *             .type("ipsec.1")
+ *             .ipAddress("172.0.0.1")
+ *             .type("ipsec.1")
  *             .build());
  * 
- *         var main = new VpnConnection("main", VpnConnectionArgs.builder()        
+ *         var main = new VpnConnection("main", VpnConnectionArgs.builder()        
  *             .vpnGatewayId(vpnGateway.id())
  *             .customerGatewayId(customerGateway.id())
- *             .type("ipsec.1")
+ *             .type("ipsec.1")
  *             .staticRoutesOnly(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS Site to Site Private VPN * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -167,28 +172,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGateway = new Gateway("exampleGateway", GatewayArgs.builder()        
- *             .name("example_ipsec_vpn_example")
- *             .amazonSideAsn("64512")
+ *         var exampleGateway = new Gateway("exampleGateway", GatewayArgs.builder()        
+ *             .name("example_ipsec_vpn_example")
+ *             .amazonSideAsn("64512")
  *             .build());
  * 
- *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway", TransitGatewayArgs.builder()        
- *             .amazonSideAsn("64513")
- *             .description("example_ipsec_vpn_example")
- *             .transitGatewayCidrBlocks("10.0.0.0/24")
+ *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway", TransitGatewayArgs.builder()        
+ *             .amazonSideAsn("64513")
+ *             .description("example_ipsec_vpn_example")
+ *             .transitGatewayCidrBlocks("10.0.0.0/24")
  *             .build());
  * 
- *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
+ *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
  *             .bgpAsn(64514)
- *             .ipAddress("10.0.0.1")
- *             .type("ipsec.1")
- *             .tags(Map.of("Name", "example_ipsec_vpn_example"))
+ *             .ipAddress("10.0.0.1")
+ *             .type("ipsec.1")
+ *             .tags(Map.of("Name", "example_ipsec_vpn_example"))
  *             .build());
  * 
- *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
+ *         var exampleGatewayAssociation = new GatewayAssociation("exampleGatewayAssociation", GatewayAssociationArgs.builder()        
  *             .dxGatewayId(exampleGateway.id())
  *             .associatedGatewayId(exampleTransitGateway.id())
- *             .allowedPrefixes("10.0.0.0/8")
+ *             .allowedPrefixes("10.0.0.0/8")
  *             .build());
  * 
  *         final var example = Ec2transitgatewayFunctions.getDirectConnectGatewayAttachment(GetDirectConnectGatewayAttachmentArgs.builder()
@@ -196,18 +201,19 @@
  *             .dxGatewayId(exampleGateway.id())
  *             .build());
  * 
- *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
+ *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
  *             .customerGatewayId(exampleCustomerGateway.id())
- *             .outsideIpAddressType("PrivateIpv4")
+ *             .outsideIpAddressType("PrivateIpv4")
  *             .transitGatewayId(exampleTransitGateway.id())
- *             .transportTransitGatewayAttachmentId(example.applyValue(getDirectConnectGatewayAttachmentResult -> getDirectConnectGatewayAttachmentResult).applyValue(example -> example.applyValue(getDirectConnectGatewayAttachmentResult -> getDirectConnectGatewayAttachmentResult.id())))
- *             .type("ipsec.1")
- *             .tags(Map.of("Name", "example_ipsec_vpn_example"))
+ *             .transportTransitGatewayAttachmentId(example.applyValue(getDirectConnectGatewayAttachmentResult -> getDirectConnectGatewayAttachmentResult).applyValue(example -> example.applyValue(getDirectConnectGatewayAttachmentResult -> getDirectConnectGatewayAttachmentResult.id())))
+ *             .type("ipsec.1")
+ *             .tags(Map.of("Name", "example_ipsec_vpn_example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnectionRoute.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnectionRoute.java index df8f9c488bf..afa6e2e3f0d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnectionRoute.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnConnectionRoute.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,35 +49,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vpc = new Vpc("vpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var vpc = new Vpc("vpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var vpnGateway = new VpnGateway("vpnGateway", VpnGatewayArgs.builder()        
+ *         var vpnGateway = new VpnGateway("vpnGateway", VpnGatewayArgs.builder()        
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var customerGateway = new CustomerGateway("customerGateway", CustomerGatewayArgs.builder()        
+ *         var customerGateway = new CustomerGateway("customerGateway", CustomerGatewayArgs.builder()        
  *             .bgpAsn(65000)
- *             .ipAddress("172.0.0.1")
- *             .type("ipsec.1")
+ *             .ipAddress("172.0.0.1")
+ *             .type("ipsec.1")
  *             .build());
  * 
- *         var main = new VpnConnection("main", VpnConnectionArgs.builder()        
+ *         var main = new VpnConnection("main", VpnConnectionArgs.builder()        
  *             .vpnGatewayId(vpnGateway.id())
  *             .customerGatewayId(customerGateway.id())
- *             .type("ipsec.1")
+ *             .type("ipsec.1")
  *             .staticRoutesOnly(true)
  *             .build());
  * 
- *         var office = new VpnConnectionRoute("office", VpnConnectionRouteArgs.builder()        
- *             .destinationCidrBlock("192.168.10.0/24")
+ *         var office = new VpnConnectionRoute("office", VpnConnectionRouteArgs.builder()        
+ *             .destinationCidrBlock("192.168.10.0/24")
  *             .vpnConnectionId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGateway.java index 65e3ca76cb7..b9d08fef475 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGateway.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vpnGw = new VpnGateway("vpnGw", VpnGatewayArgs.builder()        
+ *         var vpnGw = new VpnGateway("vpnGw", VpnGatewayArgs.builder()        
  *             .vpcId(main.id())
- *             .tags(Map.of("Name", "main"))
+ *             .tags(Map.of("Name", "main"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayAttachment.java index 3e8a0a422aa..67859ceeff8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayAttachment.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,22 +50,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var network = new Vpc("network", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var network = new Vpc("network", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var vpn = new VpnGateway("vpn", VpnGatewayArgs.builder()        
- *             .tags(Map.of("Name", "example-vpn-gateway"))
+ *         var vpn = new VpnGateway("vpn", VpnGatewayArgs.builder()        
+ *             .tags(Map.of("Name", "example-vpn-gateway"))
  *             .build());
  * 
- *         var vpnAttachment = new VpnGatewayAttachment("vpnAttachment", VpnGatewayAttachmentArgs.builder()        
+ *         var vpnAttachment = new VpnGatewayAttachment("vpnAttachment", VpnGatewayAttachmentArgs.builder()        
  *             .vpcId(network.id())
  *             .vpnGatewayId(vpn.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * See [Virtual Private Cloud](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Introduction.html) diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayRoutePropagation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayRoutePropagation.java index 06f090f3422..db435547858 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayRoutePropagation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/VpnGatewayRoutePropagation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpnGatewayRoutePropagation("example", VpnGatewayRoutePropagationArgs.builder()        
+ *         var example = new VpnGatewayRoutePropagation("example", VpnGatewayRoutePropagationArgs.builder()        
  *             .vpnGatewayId(exampleAwsVpnGateway.id())
  *             .routeTableId(exampleAwsRouteTable.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilter.java index c953bd2532b..52389aee630 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilter.java @@ -20,7 +20,8 @@ public final class GetSubnetsFilter extends com.pulumi.resources.InvokeArgs { * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -43,14 +44,15 @@ public final class GetSubnetsFilter extends com.pulumi.resources.InvokeArgs {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
      *             .filters(GetSubnetsFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("")
+     *                 .name("tag:Name")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public final class GetSubnetsFilter extends com.pulumi.resources.InvokeArgs { * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,14 +89,15 @@ public final class GetSubnetsFilter extends com.pulumi.resources.InvokeArgs {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
      *             .filters(GetSubnetsFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("")
+     *                 .name("tag:Name")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +153,8 @@ public Builder(GetSubnetsFilter defaults) { * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -172,14 +177,15 @@ public Builder(GetSubnetsFilter defaults) {
          *     public static void stack(Context ctx) {
          *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
          *             .filters(GetSubnetsFilterArgs.builder()
-         *                 .name("tag:Name")
-         *                 .values("")
+         *                 .name("tag:Name")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilterArgs.java index f6dc4ae0b01..1b195517545 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/GetSubnetsFilterArgs.java @@ -21,7 +21,8 @@ public final class GetSubnetsFilterArgs extends com.pulumi.resources.ResourceArg * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,14 +45,15 @@ public final class GetSubnetsFilterArgs extends com.pulumi.resources.ResourceArg
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
      *             .filters(GetSubnetsFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("")
+     *                 .name("tag:Name")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public final class GetSubnetsFilterArgs extends com.pulumi.resources.ResourceArg * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -87,14 +90,15 @@ public final class GetSubnetsFilterArgs extends com.pulumi.resources.ResourceArg
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
      *             .filters(GetSubnetsFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("")
+     *                 .name("tag:Name")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -150,7 +154,8 @@ public Builder(GetSubnetsFilterArgs defaults) { * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -173,14 +178,15 @@ public Builder(GetSubnetsFilterArgs defaults) {
          *     public static void stack(Context ctx) {
          *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
          *             .filters(GetSubnetsFilterArgs.builder()
-         *                 .name("tag:Name")
-         *                 .values("")
+         *                 .name("tag:Name")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -197,7 +203,8 @@ public Builder name(Output name) { * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -220,14 +227,15 @@ public Builder name(Output name) {
          *     public static void stack(Context ctx) {
          *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
          *             .filters(GetSubnetsFilterArgs.builder()
-         *                 .name("tag:Name")
-         *                 .values("")
+         *                 .name("tag:Name")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/InternetGatewayState.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/InternetGatewayState.java index d9e960061dd..7f19d4802a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/InternetGatewayState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/inputs/InternetGatewayState.java @@ -52,7 +52,8 @@ public Optional> ownerId() { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -76,17 +77,18 @@ public Optional> ownerId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
      *             .vpcId(main.id())
      *             .build());
      * 
-     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
      *             .dependsOn(gw)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -99,7 +101,8 @@ public Optional> ownerId() { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -123,17 +126,18 @@ public Optional> ownerId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+     *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
      *             .vpcId(main.id())
      *             .build());
      * 
-     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+     *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
      *             .dependsOn(gw)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -255,7 +259,8 @@ public Builder ownerId(String ownerId) { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -279,17 +284,18 @@ public Builder ownerId(String ownerId) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
          *             .vpcId(main.id())
          *             .build());
          * 
-         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
          *             .dependsOn(gw)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -306,7 +312,8 @@ public Builder tags(@Nullable Output> tags) { * > **Note:** It's recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -330,17 +337,18 @@ public Builder tags(@Nullable Output> tags) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
+         *         var gw = new InternetGateway("gw", InternetGatewayArgs.builder()        
          *             .vpcId(main.id())
          *             .build());
          * 
-         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
+         *         var foo = new Instance("foo", InstanceArgs.Empty, CustomResourceOptions.builder()
          *             .dependsOn(gw)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2/outputs/GetSubnetsFilter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2/outputs/GetSubnetsFilter.java index 645c01f3698..bba2b78a48f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2/outputs/GetSubnetsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2/outputs/GetSubnetsFilter.java @@ -17,7 +17,8 @@ public final class GetSubnetsFilter { * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -40,14 +41,15 @@ public final class GetSubnetsFilter {
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
      *             .filters(GetSubnetsFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("")
+     *                 .name("tag:Name")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ private GetSubnetsFilter() {} * For example, if matching against tag `Name`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,14 +92,15 @@ private GetSubnetsFilter() {}
      *     public static void stack(Context ctx) {
      *         final var selected = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
      *             .filters(GetSubnetsFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("")
+     *                 .name("tag:Name")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/AuthorizationRule.java b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/AuthorizationRule.java index 8736707746e..a04333a56db 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/AuthorizationRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/AuthorizationRule.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,7 +44,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AuthorizationRule("example", AuthorizationRuleArgs.builder()        
+ *         var example = new AuthorizationRule("example", AuthorizationRuleArgs.builder()        
  *             .clientVpnEndpointId(exampleAwsEc2ClientVpnEndpoint.id())
  *             .targetNetworkCidr(exampleAwsSubnet.cidrBlock())
  *             .authorizeAllGroups(true)
@@ -51,7 +52,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Ec2clientvpnFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Ec2clientvpnFunctions.java index 284bcfd058f..52415b2385e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Ec2clientvpnFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Ec2clientvpnFunctions.java @@ -22,7 +22,8 @@ public final class Ec2clientvpnFunctions { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,20 +46,22 @@ public final class Ec2clientvpnFunctions {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
      *             .filters(GetEndpointFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("ExampleVpn")
+     *                 .name("tag:Name")
+     *                 .values("ExampleVpn")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -80,12 +83,13 @@ public final class Ec2clientvpnFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
+     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static Output getEndpoint() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -123,20 +128,22 @@ public static Output getEndpoint() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
      *             .filters(GetEndpointFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("ExampleVpn")
+     *                 .name("tag:Name")
+     *                 .values("ExampleVpn")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -158,12 +165,13 @@ public static Output getEndpoint() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
+     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -178,7 +186,8 @@ public static CompletableFuture getEndpointPlain() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -201,20 +210,22 @@ public static CompletableFuture getEndpointPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
      *             .filters(GetEndpointFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("ExampleVpn")
+     *                 .name("tag:Name")
+     *                 .values("ExampleVpn")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -236,12 +247,13 @@ public static CompletableFuture getEndpointPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
+     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -256,7 +268,8 @@ public static Output getEndpoint(GetEndpointArgs args) { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -279,20 +292,22 @@ public static Output getEndpoint(GetEndpointArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
      *             .filters(GetEndpointFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("ExampleVpn")
+     *                 .name("tag:Name")
+     *                 .values("ExampleVpn")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -314,12 +329,13 @@ public static Output getEndpoint(GetEndpointArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
+     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -334,7 +350,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -357,20 +374,22 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
      *             .filters(GetEndpointFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("ExampleVpn")
+     *                 .name("tag:Name")
+     *                 .values("ExampleVpn")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -392,12 +411,13 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
+     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -412,7 +432,8 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -435,20 +456,22 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
      *             .filters(GetEndpointFilterArgs.builder()
-     *                 .name("tag:Name")
-     *                 .values("ExampleVpn")
+     *                 .name("tag:Name")
+     *                 .values("ExampleVpn")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -470,12 +493,13 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2clientvpnFunctions.getEndpoint(GetEndpointArgs.builder()
-     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
+     *             .clientVpnEndpointId("cvpn-endpoint-083cf50d6eb314f21")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Endpoint.java b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Endpoint.java index 74bcb0211e4..45e917c32ee 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Endpoint.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,12 +53,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Endpoint("example", EndpointArgs.builder()        
- *             .description("clientvpn-example")
+ *         var example = new Endpoint("example", EndpointArgs.builder()        
+ *             .description("clientvpn-example")
  *             .serverCertificateArn(cert.arn())
- *             .clientCidrBlock("10.0.0.0/16")
+ *             .clientCidrBlock("10.0.0.0/16")
  *             .authenticationOptions(EndpointAuthenticationOptionArgs.builder()
- *                 .type("certificate-authentication")
+ *                 .type("certificate-authentication")
  *                 .rootCertificateChainArn(rootCert.arn())
  *                 .build())
  *             .connectionLogOptions(EndpointConnectionLogOptionsArgs.builder()
@@ -69,7 +70,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/NetworkAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/NetworkAssociation.java index d6579c2a4ce..fe45a332e40 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/NetworkAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/NetworkAssociation.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,14 +42,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NetworkAssociation("example", NetworkAssociationArgs.builder()        
+ *         var example = new NetworkAssociation("example", NetworkAssociationArgs.builder()        
  *             .clientVpnEndpointId(exampleAwsEc2ClientVpnEndpoint.id())
  *             .subnetId(exampleAwsSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Route.java b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Route.java index 5e17281dd7a..85c7e524742 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Route.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2clientvpn/Route.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,12 +49,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleEndpoint = new Endpoint("exampleEndpoint", EndpointArgs.builder()        
- *             .description("Example Client VPN endpoint")
+ *         var exampleEndpoint = new Endpoint("exampleEndpoint", EndpointArgs.builder()        
+ *             .description("Example Client VPN endpoint")
  *             .serverCertificateArn(exampleAwsAcmCertificate.arn())
- *             .clientCidrBlock("10.0.0.0/16")
+ *             .clientCidrBlock("10.0.0.0/16")
  *             .authenticationOptions(EndpointAuthenticationOptionArgs.builder()
- *                 .type("certificate-authentication")
+ *                 .type("certificate-authentication")
  *                 .rootCertificateChainArn(exampleAwsAcmCertificate.arn())
  *                 .build())
  *             .connectionLogOptions(EndpointConnectionLogOptionsArgs.builder()
@@ -61,20 +62,21 @@
  *                 .build())
  *             .build());
  * 
- *         var exampleNetworkAssociation = new NetworkAssociation("exampleNetworkAssociation", NetworkAssociationArgs.builder()        
+ *         var exampleNetworkAssociation = new NetworkAssociation("exampleNetworkAssociation", NetworkAssociationArgs.builder()        
  *             .clientVpnEndpointId(exampleEndpoint.id())
  *             .subnetId(exampleAwsSubnet.id())
  *             .build());
  * 
- *         var example = new Route("example", RouteArgs.builder()        
+ *         var example = new Route("example", RouteArgs.builder()        
  *             .clientVpnEndpointId(exampleEndpoint.id())
- *             .destinationCidrBlock("0.0.0.0/0")
+ *             .destinationCidrBlock("0.0.0.0/0")
  *             .targetVpcSubnetId(exampleNetworkAssociation.subnetId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Connect.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Connect.java index b5e692d8397..5bb7df0c602 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Connect.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Connect.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
  *             .subnetIds(exampleAwsSubnet.id())
  *             .transitGatewayId(exampleAwsEc2TransitGateway.id())
  *             .vpcId(exampleAwsVpc.id())
  *             .build());
  * 
- *         var attachment = new Connect("attachment", ConnectArgs.builder()        
+ *         var attachment = new Connect("attachment", ConnectArgs.builder()        
  *             .transportAttachmentId(example.id())
  *             .transitGatewayId(exampleAwsEc2TransitGateway.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/ConnectPeer.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/ConnectPeer.java index 3a37941fdf9..c2237da5da3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/ConnectPeer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/ConnectPeer.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connect("example", ConnectArgs.builder()        
+ *         var example = new Connect("example", ConnectArgs.builder()        
  *             .transportAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
  *             .transitGatewayId(exampleAwsEc2TransitGateway.id())
  *             .build());
  * 
- *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
- *             .peerAddress("10.1.2.3")
- *             .insideCidrBlocks("169.254.100.0/29")
+ *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
+ *             .peerAddress("10.1.2.3")
+ *             .insideCidrBlocks("169.254.100.0/29")
  *             .transitGatewayAttachmentId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Ec2transitgatewayFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Ec2transitgatewayFunctions.java index 49d366960a8..2296b2898d9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Ec2transitgatewayFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Ec2transitgatewayFunctions.java @@ -62,7 +62,8 @@ public final class Ec2transitgatewayFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,18 +87,19 @@ public final class Ec2transitgatewayFunctions {
      *         final var example = Ec2transitgatewayFunctions.getAttachment(GetAttachmentArgs.builder()
      *             .filters(            
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("transit-gateway-id")
+     *                     .name("transit-gateway-id")
      *                     .values(exampleAwsEc2TransitGateway.id())
      *                     .build(),
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("resource-type")
-     *                     .values("peering")
+     *                     .name("resource-type")
+     *                     .values("peering")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -110,7 +112,8 @@ public static Output getAttachment() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,18 +137,19 @@ public static Output getAttachment() {
      *         final var example = Ec2transitgatewayFunctions.getAttachment(GetAttachmentArgs.builder()
      *             .filters(            
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("transit-gateway-id")
+     *                     .name("transit-gateway-id")
      *                     .values(exampleAwsEc2TransitGateway.id())
      *                     .build(),
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("resource-type")
-     *                     .values("peering")
+     *                     .name("resource-type")
+     *                     .values("peering")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -158,7 +162,8 @@ public static CompletableFuture getAttachmentPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -182,18 +187,19 @@ public static CompletableFuture getAttachmentPlain() {
      *         final var example = Ec2transitgatewayFunctions.getAttachment(GetAttachmentArgs.builder()
      *             .filters(            
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("transit-gateway-id")
+     *                     .name("transit-gateway-id")
      *                     .values(exampleAwsEc2TransitGateway.id())
      *                     .build(),
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("resource-type")
-     *                     .values("peering")
+     *                     .name("resource-type")
+     *                     .values("peering")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -206,7 +212,8 @@ public static Output getAttachment(GetAttachmentArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -230,18 +237,19 @@ public static Output getAttachment(GetAttachmentArgs args)
      *         final var example = Ec2transitgatewayFunctions.getAttachment(GetAttachmentArgs.builder()
      *             .filters(            
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("transit-gateway-id")
+     *                     .name("transit-gateway-id")
      *                     .values(exampleAwsEc2TransitGateway.id())
      *                     .build(),
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("resource-type")
-     *                     .values("peering")
+     *                     .name("resource-type")
+     *                     .values("peering")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -254,7 +262,8 @@ public static CompletableFuture getAttachmentPlain(GetAttac * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -278,18 +287,19 @@ public static CompletableFuture getAttachmentPlain(GetAttac
      *         final var example = Ec2transitgatewayFunctions.getAttachment(GetAttachmentArgs.builder()
      *             .filters(            
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("transit-gateway-id")
+     *                     .name("transit-gateway-id")
      *                     .values(exampleAwsEc2TransitGateway.id())
      *                     .build(),
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("resource-type")
-     *                     .values("peering")
+     *                     .name("resource-type")
+     *                     .values("peering")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -302,7 +312,8 @@ public static Output getAttachment(GetAttachmentArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -326,18 +337,19 @@ public static Output getAttachment(GetAttachmentArgs args,
      *         final var example = Ec2transitgatewayFunctions.getAttachment(GetAttachmentArgs.builder()
      *             .filters(            
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("transit-gateway-id")
+     *                     .name("transit-gateway-id")
      *                     .values(exampleAwsEc2TransitGateway.id())
      *                     .build(),
      *                 GetAttachmentFilterArgs.builder()
-     *                     .name("resource-type")
-     *                     .values("peering")
+     *                     .name("resource-type")
+     *                     .values("peering")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +448,8 @@ public static CompletableFuture getAttachmentsPlain(GetAtt * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -459,20 +472,22 @@ public static CompletableFuture getAttachmentsPlain(GetAtt
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
      *             .filters(GetConnectFilterArgs.builder()
-     *                 .name("transport-transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transport-transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,12 +509,13 @@ public static CompletableFuture getAttachmentsPlain(GetAtt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
-     *             .transitGatewayConnectId("tgw-attach-12345678")
+     *             .transitGatewayConnectId("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -514,7 +530,8 @@ public static Output getConnect() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -537,20 +554,22 @@ public static Output getConnect() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
      *             .filters(GetConnectFilterArgs.builder()
-     *                 .name("transport-transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transport-transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -572,12 +591,13 @@ public static Output getConnect() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
-     *             .transitGatewayConnectId("tgw-attach-12345678")
+     *             .transitGatewayConnectId("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -592,7 +612,8 @@ public static CompletableFuture getConnectPlain() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -615,20 +636,22 @@ public static CompletableFuture getConnectPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
      *             .filters(GetConnectFilterArgs.builder()
-     *                 .name("transport-transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transport-transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -650,12 +673,13 @@ public static CompletableFuture getConnectPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
-     *             .transitGatewayConnectId("tgw-attach-12345678")
+     *             .transitGatewayConnectId("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -670,7 +694,8 @@ public static Output getConnect(GetConnectArgs args) { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -693,20 +718,22 @@ public static Output getConnect(GetConnectArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
      *             .filters(GetConnectFilterArgs.builder()
-     *                 .name("transport-transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transport-transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -728,12 +755,13 @@ public static Output getConnect(GetConnectArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
-     *             .transitGatewayConnectId("tgw-attach-12345678")
+     *             .transitGatewayConnectId("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -748,7 +776,8 @@ public static CompletableFuture getConnectPlain(GetConnectPlai * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -771,20 +800,22 @@ public static CompletableFuture getConnectPlain(GetConnectPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
      *             .filters(GetConnectFilterArgs.builder()
-     *                 .name("transport-transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transport-transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -806,12 +837,13 @@ public static CompletableFuture getConnectPlain(GetConnectPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
-     *             .transitGatewayConnectId("tgw-attach-12345678")
+     *             .transitGatewayConnectId("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -826,7 +858,8 @@ public static Output getConnect(GetConnectArgs args, InvokeOpt * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -849,20 +882,22 @@ public static Output getConnect(GetConnectArgs args, InvokeOpt
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
      *             .filters(GetConnectFilterArgs.builder()
-     *                 .name("transport-transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transport-transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -884,12 +919,13 @@ public static Output getConnect(GetConnectArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnect(GetConnectArgs.builder()
-     *             .transitGatewayConnectId("tgw-attach-12345678")
+     *             .transitGatewayConnectId("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -904,7 +940,8 @@ public static CompletableFuture getConnectPlain(GetConnectPlai * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -927,20 +964,22 @@ public static CompletableFuture getConnectPlain(GetConnectPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
      *             .filters(GetConnectPeerFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -962,12 +1001,13 @@ public static CompletableFuture getConnectPlain(GetConnectPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
-     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
+     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -982,7 +1022,8 @@ public static Output getConnectPeer() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1005,20 +1046,22 @@ public static Output getConnectPeer() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
      *             .filters(GetConnectPeerFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1040,12 +1083,13 @@ public static Output getConnectPeer() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
-     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
+     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1060,7 +1104,8 @@ public static CompletableFuture getConnectPeerPlain() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1083,20 +1128,22 @@ public static CompletableFuture getConnectPeerPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
      *             .filters(GetConnectPeerFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1118,12 +1165,13 @@ public static CompletableFuture getConnectPeerPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
-     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
+     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1138,7 +1186,8 @@ public static Output getConnectPeer(GetConnectPeerArgs arg * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1161,20 +1210,22 @@ public static Output getConnectPeer(GetConnectPeerArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
      *             .filters(GetConnectPeerFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1196,12 +1247,13 @@ public static Output getConnectPeer(GetConnectPeerArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
-     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
+     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1216,7 +1268,8 @@ public static CompletableFuture getConnectPeerPlain(GetCon * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1239,20 +1292,22 @@ public static CompletableFuture getConnectPeerPlain(GetCon
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
      *             .filters(GetConnectPeerFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1274,12 +1329,13 @@ public static CompletableFuture getConnectPeerPlain(GetCon
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
-     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
+     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1294,7 +1350,8 @@ public static Output getConnectPeer(GetConnectPeerArgs arg * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1317,20 +1374,22 @@ public static Output getConnectPeer(GetConnectPeerArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
      *             .filters(GetConnectPeerFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1352,12 +1411,13 @@ public static Output getConnectPeer(GetConnectPeerArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getConnectPeer(GetConnectPeerArgs.builder()
-     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
+     *             .transitGatewayConnectPeerId("tgw-connect-peer-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1372,7 +1432,8 @@ public static CompletableFuture getConnectPeerPlain(GetCon * ### By Transit Gateway and Direct Connect Gateway Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1400,7 +1461,8 @@ public static CompletableFuture getConnectPeerPlain(GetCon
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1415,7 +1477,8 @@ public static Output getDirectConnectGa * ### By Transit Gateway and Direct Connect Gateway Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1443,7 +1506,8 @@ public static Output getDirectConnectGa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1458,7 +1522,8 @@ public static CompletableFuture getDire * ### By Transit Gateway and Direct Connect Gateway Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1486,7 +1551,8 @@ public static CompletableFuture getDire
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1501,7 +1567,8 @@ public static Output getDirectConnectGa * ### By Transit Gateway and Direct Connect Gateway Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1529,7 +1596,8 @@ public static Output getDirectConnectGa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1544,7 +1612,8 @@ public static CompletableFuture getDire * ### By Transit Gateway and Direct Connect Gateway Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1572,7 +1641,8 @@ public static CompletableFuture getDire
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1587,7 +1657,8 @@ public static Output getDirectConnectGa * ### By Transit Gateway and Direct Connect Gateway Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1615,7 +1686,8 @@ public static Output getDirectConnectGa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1630,7 +1702,8 @@ public static CompletableFuture getDire * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1653,20 +1726,22 @@ public static CompletableFuture getDire
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
      *             .filters(GetMulticastDomainFilterArgs.builder()
-     *                 .name("transit-gateway-multicast-domain-id")
-     *                 .values("tgw-mcast-domain-12345678")
+     *                 .name("transit-gateway-multicast-domain-id")
+     *                 .values("tgw-mcast-domain-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1688,12 +1763,13 @@ public static CompletableFuture getDire
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
-     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
+     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1708,7 +1784,8 @@ public static Output getMulticastDomain() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1731,20 +1808,22 @@ public static Output getMulticastDomain() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
      *             .filters(GetMulticastDomainFilterArgs.builder()
-     *                 .name("transit-gateway-multicast-domain-id")
-     *                 .values("tgw-mcast-domain-12345678")
+     *                 .name("transit-gateway-multicast-domain-id")
+     *                 .values("tgw-mcast-domain-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1766,12 +1845,13 @@ public static Output getMulticastDomain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
-     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
+     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1786,7 +1866,8 @@ public static CompletableFuture getMulticastDomainPlai * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1809,20 +1890,22 @@ public static CompletableFuture getMulticastDomainPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
      *             .filters(GetMulticastDomainFilterArgs.builder()
-     *                 .name("transit-gateway-multicast-domain-id")
-     *                 .values("tgw-mcast-domain-12345678")
+     *                 .name("transit-gateway-multicast-domain-id")
+     *                 .values("tgw-mcast-domain-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1844,12 +1927,13 @@ public static CompletableFuture getMulticastDomainPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
-     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
+     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1864,7 +1948,8 @@ public static Output getMulticastDomain(GetMulticastDo * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1887,20 +1972,22 @@ public static Output getMulticastDomain(GetMulticastDo
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
      *             .filters(GetMulticastDomainFilterArgs.builder()
-     *                 .name("transit-gateway-multicast-domain-id")
-     *                 .values("tgw-mcast-domain-12345678")
+     *                 .name("transit-gateway-multicast-domain-id")
+     *                 .values("tgw-mcast-domain-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1922,12 +2009,13 @@ public static Output getMulticastDomain(GetMulticastDo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
-     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
+     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1942,7 +2030,8 @@ public static CompletableFuture getMulticastDomainPlai * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1965,20 +2054,22 @@ public static CompletableFuture getMulticastDomainPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
      *             .filters(GetMulticastDomainFilterArgs.builder()
-     *                 .name("transit-gateway-multicast-domain-id")
-     *                 .values("tgw-mcast-domain-12345678")
+     *                 .name("transit-gateway-multicast-domain-id")
+     *                 .values("tgw-mcast-domain-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2000,12 +2091,13 @@ public static CompletableFuture getMulticastDomainPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
-     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
+     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2020,7 +2112,8 @@ public static Output getMulticastDomain(GetMulticastDo * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2043,20 +2136,22 @@ public static Output getMulticastDomain(GetMulticastDo
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
      *             .filters(GetMulticastDomainFilterArgs.builder()
-     *                 .name("transit-gateway-multicast-domain-id")
-     *                 .values("tgw-mcast-domain-12345678")
+     *                 .name("transit-gateway-multicast-domain-id")
+     *                 .values("tgw-mcast-domain-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2078,12 +2173,13 @@ public static Output getMulticastDomain(GetMulticastDo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getMulticastDomain(GetMulticastDomainArgs.builder()
-     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
+     *             .transitGatewayMulticastDomainId("tgw-mcast-domain-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2098,7 +2194,8 @@ public static CompletableFuture getMulticastDomainPlai * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2121,20 +2218,22 @@ public static CompletableFuture getMulticastDomainPlai
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
      *             .filters(GetPeeringAttachmentFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2156,12 +2255,13 @@ public static CompletableFuture getMulticastDomainPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var attachment = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2176,7 +2276,8 @@ public static Output getPeeringAttachment() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2199,20 +2300,22 @@ public static Output getPeeringAttachment() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
      *             .filters(GetPeeringAttachmentFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2234,12 +2337,13 @@ public static Output getPeeringAttachment() {
      * 
      *     public static void stack(Context ctx) {
      *         final var attachment = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2254,7 +2358,8 @@ public static CompletableFuture getPeeringAttachment * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2277,20 +2382,22 @@ public static CompletableFuture getPeeringAttachment
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
      *             .filters(GetPeeringAttachmentFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2312,12 +2419,13 @@ public static CompletableFuture getPeeringAttachment
      * 
      *     public static void stack(Context ctx) {
      *         final var attachment = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2332,7 +2440,8 @@ public static Output getPeeringAttachment(GetPeering * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2355,20 +2464,22 @@ public static Output getPeeringAttachment(GetPeering
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
      *             .filters(GetPeeringAttachmentFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2390,12 +2501,13 @@ public static Output getPeeringAttachment(GetPeering
      * 
      *     public static void stack(Context ctx) {
      *         final var attachment = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2410,7 +2522,8 @@ public static CompletableFuture getPeeringAttachment * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2433,20 +2546,22 @@ public static CompletableFuture getPeeringAttachment
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
      *             .filters(GetPeeringAttachmentFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2468,12 +2583,13 @@ public static CompletableFuture getPeeringAttachment
      * 
      *     public static void stack(Context ctx) {
      *         final var attachment = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2488,7 +2604,8 @@ public static Output getPeeringAttachment(GetPeering * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2511,20 +2628,22 @@ public static Output getPeeringAttachment(GetPeering
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
      *             .filters(GetPeeringAttachmentFilterArgs.builder()
-     *                 .name("transit-gateway-attachment-id")
-     *                 .values("tgw-attach-12345678")
+     *                 .name("transit-gateway-attachment-id")
+     *                 .values("tgw-attach-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2546,12 +2665,13 @@ public static Output getPeeringAttachment(GetPeering
      * 
      *     public static void stack(Context ctx) {
      *         final var attachment = Ec2transitgatewayFunctions.getPeeringAttachment(GetPeeringAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2566,7 +2686,8 @@ public static CompletableFuture getPeeringAttachment * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2590,24 +2711,26 @@ public static CompletableFuture getPeeringAttachment
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
      *             .filters(            
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("default-association-route-table")
-     *                     .values("true")
+     *                     .name("default-association-route-table")
+     *                     .values("true")
      *                     .build(),
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("transit-gateway-id")
-     *                     .values("tgw-12345678")
+     *                     .name("transit-gateway-id")
+     *                     .values("tgw-12345678")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2629,12 +2752,13 @@ public static CompletableFuture getPeeringAttachment
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
-     *             .id("tgw-rtb-12345678")
+     *             .id("tgw-rtb-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2649,7 +2773,8 @@ public static Output getRouteTable() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2673,24 +2798,26 @@ public static Output getRouteTable() {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
      *             .filters(            
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("default-association-route-table")
-     *                     .values("true")
+     *                     .name("default-association-route-table")
+     *                     .values("true")
      *                     .build(),
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("transit-gateway-id")
-     *                     .values("tgw-12345678")
+     *                     .name("transit-gateway-id")
+     *                     .values("tgw-12345678")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2712,12 +2839,13 @@ public static Output getRouteTable() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
-     *             .id("tgw-rtb-12345678")
+     *             .id("tgw-rtb-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2732,7 +2860,8 @@ public static CompletableFuture getRouteTablePlain() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2756,24 +2885,26 @@ public static CompletableFuture getRouteTablePlain() {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
      *             .filters(            
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("default-association-route-table")
-     *                     .values("true")
+     *                     .name("default-association-route-table")
+     *                     .values("true")
      *                     .build(),
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("transit-gateway-id")
-     *                     .values("tgw-12345678")
+     *                     .name("transit-gateway-id")
+     *                     .values("tgw-12345678")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2795,12 +2926,13 @@ public static CompletableFuture getRouteTablePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
-     *             .id("tgw-rtb-12345678")
+     *             .id("tgw-rtb-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2815,7 +2947,8 @@ public static Output getRouteTable(GetRouteTableArgs args) * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2839,24 +2972,26 @@ public static Output getRouteTable(GetRouteTableArgs args)
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
      *             .filters(            
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("default-association-route-table")
-     *                     .values("true")
+     *                     .name("default-association-route-table")
+     *                     .values("true")
      *                     .build(),
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("transit-gateway-id")
-     *                     .values("tgw-12345678")
+     *                     .name("transit-gateway-id")
+     *                     .values("tgw-12345678")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2878,12 +3013,13 @@ public static Output getRouteTable(GetRouteTableArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
-     *             .id("tgw-rtb-12345678")
+     *             .id("tgw-rtb-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2898,7 +3034,8 @@ public static CompletableFuture getRouteTablePlain(GetRoute * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2922,24 +3059,26 @@ public static CompletableFuture getRouteTablePlain(GetRoute
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
      *             .filters(            
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("default-association-route-table")
-     *                     .values("true")
+     *                     .name("default-association-route-table")
+     *                     .values("true")
      *                     .build(),
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("transit-gateway-id")
-     *                     .values("tgw-12345678")
+     *                     .name("transit-gateway-id")
+     *                     .values("tgw-12345678")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2961,12 +3100,13 @@ public static CompletableFuture getRouteTablePlain(GetRoute
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
-     *             .id("tgw-rtb-12345678")
+     *             .id("tgw-rtb-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2981,7 +3121,8 @@ public static Output getRouteTable(GetRouteTableArgs args, * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3005,24 +3146,26 @@ public static Output getRouteTable(GetRouteTableArgs args,
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
      *             .filters(            
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("default-association-route-table")
-     *                     .values("true")
+     *                     .name("default-association-route-table")
+     *                     .values("true")
      *                     .build(),
      *                 GetRouteTableFilterArgs.builder()
-     *                     .name("transit-gateway-id")
-     *                     .values("tgw-12345678")
+     *                     .name("transit-gateway-id")
+     *                     .values("tgw-12345678")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3044,12 +3187,13 @@ public static Output getRouteTable(GetRouteTableArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getRouteTable(GetRouteTableArgs.builder()
-     *             .id("tgw-rtb-12345678")
+     *             .id("tgw-rtb-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3064,7 +3208,8 @@ public static CompletableFuture getRouteTablePlain(GetRoute * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3091,7 +3236,8 @@ public static CompletableFuture getRouteTablePlain(GetRoute
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3106,7 +3252,8 @@ public static Output getRouteTableAssociations( * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3133,7 +3280,8 @@ public static Output getRouteTableAssociations(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3148,7 +3296,8 @@ public static CompletableFuture getRouteTableAs * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3175,7 +3324,8 @@ public static CompletableFuture getRouteTableAs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3190,7 +3340,8 @@ public static Output getRouteTableAssociations( * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3217,7 +3368,8 @@ public static Output getRouteTableAssociations(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3232,7 +3384,8 @@ public static CompletableFuture getRouteTableAs * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3259,7 +3412,8 @@ public static CompletableFuture getRouteTableAs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3274,7 +3428,8 @@ public static Output getRouteTablePropagations( * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3301,7 +3456,8 @@ public static Output getRouteTablePropagations(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3316,7 +3472,8 @@ public static CompletableFuture getRouteTablePr * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3343,7 +3500,8 @@ public static CompletableFuture getRouteTablePr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3358,7 +3516,8 @@ public static Output getRouteTablePropagations( * ### By Transit Gateway Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3385,7 +3544,8 @@ public static Output getRouteTablePropagations(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3398,7 +3558,8 @@ public static CompletableFuture getRouteTablePr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3421,15 +3582,16 @@ public static CompletableFuture getRouteTablePr
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getRouteTableRoutes(GetRouteTableRoutesArgs.builder()
      *             .filters(GetRouteTableRoutesFilterArgs.builder()
-     *                 .name("type")
-     *                 .values("propagated")
+     *                 .name("type")
+     *                 .values("propagated")
      *                 .build())
      *             .transitGatewayRouteTableId(example.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3442,7 +3604,8 @@ public static Output getRouteTableRoutes(GetRouteTabl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3465,15 +3628,16 @@ public static Output getRouteTableRoutes(GetRouteTabl
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getRouteTableRoutes(GetRouteTableRoutesArgs.builder()
      *             .filters(GetRouteTableRoutesFilterArgs.builder()
-     *                 .name("type")
-     *                 .values("propagated")
+     *                 .name("type")
+     *                 .values("propagated")
      *                 .build())
      *             .transitGatewayRouteTableId(example.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3486,7 +3650,8 @@ public static CompletableFuture getRouteTableRoutesPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3509,15 +3674,16 @@ public static CompletableFuture getRouteTableRoutesPl
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getRouteTableRoutes(GetRouteTableRoutesArgs.builder()
      *             .filters(GetRouteTableRoutesFilterArgs.builder()
-     *                 .name("type")
-     *                 .values("propagated")
+     *                 .name("type")
+     *                 .values("propagated")
      *                 .build())
      *             .transitGatewayRouteTableId(example.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3530,7 +3696,8 @@ public static Output getRouteTableRoutes(GetRouteTabl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3553,15 +3720,16 @@ public static Output getRouteTableRoutes(GetRouteTabl
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getRouteTableRoutes(GetRouteTableRoutesArgs.builder()
      *             .filters(GetRouteTableRoutesFilterArgs.builder()
-     *                 .name("type")
-     *                 .values("propagated")
+     *                 .name("type")
+     *                 .values("propagated")
      *                 .build())
      *             .transitGatewayRouteTableId(example.id())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3576,7 +3744,8 @@ public static CompletableFuture getRouteTableRoutesPl * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3599,20 +3768,22 @@ public static CompletableFuture getRouteTableRoutesPl
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
      *             .filters(GetTransitGatewayFilterArgs.builder()
-     *                 .name("options.amazon-side-asn")
-     *                 .values("64512")
+     *                 .name("options.amazon-side-asn")
+     *                 .values("64512")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3634,12 +3805,13 @@ public static CompletableFuture getRouteTableRoutesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
-     *             .id("tgw-12345678")
+     *             .id("tgw-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3654,7 +3826,8 @@ public static Output getTransitGateway() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3677,20 +3850,22 @@ public static Output getTransitGateway() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
      *             .filters(GetTransitGatewayFilterArgs.builder()
-     *                 .name("options.amazon-side-asn")
-     *                 .values("64512")
+     *                 .name("options.amazon-side-asn")
+     *                 .values("64512")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3712,12 +3887,13 @@ public static Output getTransitGateway() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
-     *             .id("tgw-12345678")
+     *             .id("tgw-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3732,7 +3908,8 @@ public static CompletableFuture getTransitGatewayPlain( * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3755,20 +3932,22 @@ public static CompletableFuture getTransitGatewayPlain(
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
      *             .filters(GetTransitGatewayFilterArgs.builder()
-     *                 .name("options.amazon-side-asn")
-     *                 .values("64512")
+     *                 .name("options.amazon-side-asn")
+     *                 .values("64512")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3790,12 +3969,13 @@ public static CompletableFuture getTransitGatewayPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
-     *             .id("tgw-12345678")
+     *             .id("tgw-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3810,7 +3990,8 @@ public static Output getTransitGateway(GetTransitGatewa * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3833,20 +4014,22 @@ public static Output getTransitGateway(GetTransitGatewa
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
      *             .filters(GetTransitGatewayFilterArgs.builder()
-     *                 .name("options.amazon-side-asn")
-     *                 .values("64512")
+     *                 .name("options.amazon-side-asn")
+     *                 .values("64512")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3868,12 +4051,13 @@ public static Output getTransitGateway(GetTransitGatewa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
-     *             .id("tgw-12345678")
+     *             .id("tgw-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3888,7 +4072,8 @@ public static CompletableFuture getTransitGatewayPlain( * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3911,20 +4096,22 @@ public static CompletableFuture getTransitGatewayPlain(
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
      *             .filters(GetTransitGatewayFilterArgs.builder()
-     *                 .name("options.amazon-side-asn")
-     *                 .values("64512")
+     *                 .name("options.amazon-side-asn")
+     *                 .values("64512")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3946,12 +4133,13 @@ public static CompletableFuture getTransitGatewayPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
-     *             .id("tgw-12345678")
+     *             .id("tgw-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3966,7 +4154,8 @@ public static Output getTransitGateway(GetTransitGatewa * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3989,20 +4178,22 @@ public static Output getTransitGateway(GetTransitGatewa
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
      *             .filters(GetTransitGatewayFilterArgs.builder()
-     *                 .name("options.amazon-side-asn")
-     *                 .values("64512")
+     *                 .name("options.amazon-side-asn")
+     *                 .values("64512")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4024,12 +4215,13 @@ public static Output getTransitGateway(GetTransitGatewa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getTransitGateway(GetTransitGatewayArgs.builder()
-     *             .id("tgw-12345678")
+     *             .id("tgw-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4044,7 +4236,8 @@ public static CompletableFuture getTransitGatewayPlain( * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4067,20 +4260,22 @@ public static CompletableFuture getTransitGatewayPlain(
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
      *             .filters(GetVpcAttachmentFilterArgs.builder()
-     *                 .name("vpc-id")
-     *                 .values("vpc-12345678")
+     *                 .name("vpc-id")
+     *                 .values("vpc-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4102,12 +4297,13 @@ public static CompletableFuture getTransitGatewayPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4122,7 +4318,8 @@ public static Output getVpcAttachment() { * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4145,20 +4342,22 @@ public static Output getVpcAttachment() {
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
      *             .filters(GetVpcAttachmentFilterArgs.builder()
-     *                 .name("vpc-id")
-     *                 .values("vpc-12345678")
+     *                 .name("vpc-id")
+     *                 .values("vpc-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4180,12 +4379,13 @@ public static Output getVpcAttachment() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4200,7 +4400,8 @@ public static CompletableFuture getVpcAttachmentPlain() * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4223,20 +4424,22 @@ public static CompletableFuture getVpcAttachmentPlain()
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
      *             .filters(GetVpcAttachmentFilterArgs.builder()
-     *                 .name("vpc-id")
-     *                 .values("vpc-12345678")
+     *                 .name("vpc-id")
+     *                 .values("vpc-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4258,12 +4461,13 @@ public static CompletableFuture getVpcAttachmentPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4278,7 +4482,8 @@ public static Output getVpcAttachment(GetVpcAttachmentAr * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4301,20 +4506,22 @@ public static Output getVpcAttachment(GetVpcAttachmentAr
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
      *             .filters(GetVpcAttachmentFilterArgs.builder()
-     *                 .name("vpc-id")
-     *                 .values("vpc-12345678")
+     *                 .name("vpc-id")
+     *                 .values("vpc-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4336,12 +4543,13 @@ public static Output getVpcAttachment(GetVpcAttachmentAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4356,7 +4564,8 @@ public static CompletableFuture getVpcAttachmentPlain(Ge * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4379,20 +4588,22 @@ public static CompletableFuture getVpcAttachmentPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
      *             .filters(GetVpcAttachmentFilterArgs.builder()
-     *                 .name("vpc-id")
-     *                 .values("vpc-12345678")
+     *                 .name("vpc-id")
+     *                 .values("vpc-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4414,12 +4625,13 @@ public static CompletableFuture getVpcAttachmentPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4434,7 +4646,8 @@ public static Output getVpcAttachment(GetVpcAttachmentAr * ### By Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4457,20 +4670,22 @@ public static Output getVpcAttachment(GetVpcAttachmentAr
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
      *             .filters(GetVpcAttachmentFilterArgs.builder()
-     *                 .name("vpc-id")
-     *                 .values("vpc-12345678")
+     *                 .name("vpc-id")
+     *                 .values("vpc-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4492,12 +4707,13 @@ public static Output getVpcAttachment(GetVpcAttachmentAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Ec2transitgatewayFunctions.getVpcAttachment(GetVpcAttachmentArgs.builder()
-     *             .id("tgw-attach-12345678")
+     *             .id("tgw-attach-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4598,7 +4814,8 @@ public static CompletableFuture getVpcAttachmentsPlain( * ### By Transit Gateway and VPN Connection Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4626,13 +4843,15 @@ public static CompletableFuture getVpcAttachmentsPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4655,14 +4874,15 @@ public static CompletableFuture getVpcAttachmentsPlain(
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getVpnAttachment(GetVpnAttachmentArgs.builder()
      *             .filters(GetVpnAttachmentFilterArgs.builder()
-     *                 .name("resource-id")
-     *                 .values("some-resource")
+     *                 .name("resource-id")
+     *                 .values("some-resource")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4679,7 +4899,8 @@ public static Output getVpnAttachment() { * ### By Transit Gateway and VPN Connection Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4707,13 +4928,15 @@ public static Output getVpnAttachment() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4736,14 +4959,15 @@ public static Output getVpnAttachment() {
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getVpnAttachment(GetVpnAttachmentArgs.builder()
      *             .filters(GetVpnAttachmentFilterArgs.builder()
-     *                 .name("resource-id")
-     *                 .values("some-resource")
+     *                 .name("resource-id")
+     *                 .values("some-resource")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4760,7 +4984,8 @@ public static CompletableFuture getVpnAttachmentPlain() * ### By Transit Gateway and VPN Connection Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4788,13 +5013,15 @@ public static CompletableFuture getVpnAttachmentPlain()
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4817,14 +5044,15 @@ public static CompletableFuture getVpnAttachmentPlain()
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getVpnAttachment(GetVpnAttachmentArgs.builder()
      *             .filters(GetVpnAttachmentFilterArgs.builder()
-     *                 .name("resource-id")
-     *                 .values("some-resource")
+     *                 .name("resource-id")
+     *                 .values("some-resource")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4841,7 +5069,8 @@ public static Output getVpnAttachment(GetVpnAttachmentAr * ### By Transit Gateway and VPN Connection Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4869,13 +5098,15 @@ public static Output getVpnAttachment(GetVpnAttachmentAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4898,14 +5129,15 @@ public static Output getVpnAttachment(GetVpnAttachmentAr
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getVpnAttachment(GetVpnAttachmentArgs.builder()
      *             .filters(GetVpnAttachmentFilterArgs.builder()
-     *                 .name("resource-id")
-     *                 .values("some-resource")
+     *                 .name("resource-id")
+     *                 .values("some-resource")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4922,7 +5154,8 @@ public static CompletableFuture getVpnAttachmentPlain(Ge * ### By Transit Gateway and VPN Connection Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4950,13 +5183,15 @@ public static CompletableFuture getVpnAttachmentPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4979,14 +5214,15 @@ public static CompletableFuture getVpnAttachmentPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getVpnAttachment(GetVpnAttachmentArgs.builder()
      *             .filters(GetVpnAttachmentFilterArgs.builder()
-     *                 .name("resource-id")
-     *                 .values("some-resource")
+     *                 .name("resource-id")
+     *                 .values("some-resource")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5003,7 +5239,8 @@ public static Output getVpnAttachment(GetVpnAttachmentAr * ### By Transit Gateway and VPN Connection Identifiers * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5031,13 +5268,15 @@ public static Output getVpnAttachment(GetVpnAttachmentAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5060,14 +5299,15 @@ public static Output getVpnAttachment(GetVpnAttachmentAr
      *     public static void stack(Context ctx) {
      *         final var test = Ec2transitgatewayFunctions.getVpnAttachment(GetVpnAttachmentArgs.builder()
      *             .filters(GetVpnAttachmentFilterArgs.builder()
-     *                 .name("resource-id")
-     *                 .values("some-resource")
+     *                 .name("resource-id")
+     *                 .values("some-resource")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceConnectEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceConnectEndpoint.java index ce191043b27..37d6c383c48 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceConnectEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceConnectEndpoint.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,13 +46,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceConnectEndpoint("example", InstanceConnectEndpointArgs.builder()        
+ *         var example = new InstanceConnectEndpoint("example", InstanceConnectEndpointArgs.builder()        
  *             .subnetId(exampleAwsSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceState.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceState.java index 63253c9eca3..bffba41afba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/InstanceState.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,30 +53,31 @@
  *             .mostRecent(true)
  *             .filters(            
  *                 GetAmiFilterArgs.builder()
- *                     .name("name")
- *                     .values("ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*")
+ *                     .name("name")
+ *                     .values("ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*")
  *                     .build(),
  *                 GetAmiFilterArgs.builder()
- *                     .name("virtualization-type")
- *                     .values("hvm")
+ *                     .name("virtualization-type")
+ *                     .values("hvm")
  *                     .build())
- *             .owners("099720109477")
+ *             .owners("099720109477")
  *             .build());
  * 
- *         var test = new Instance("test", InstanceArgs.builder()        
- *             .ami(ubuntu.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t3.micro")
- *             .tags(Map.of("Name", "HelloWorld"))
+ *         var test = new Instance("test", InstanceArgs.builder()        
+ *             .ami(ubuntu.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t3.micro")
+ *             .tags(Map.of("Name", "HelloWorld"))
  *             .build());
  * 
- *         var testInstanceState = new InstanceState("testInstanceState", InstanceStateArgs.builder()        
+ *         var testInstanceState = new InstanceState("testInstanceState", InstanceStateArgs.builder()        
  *             .instanceId(test.id())
- *             .state("stopped")
+ *             .state("stopped")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomain.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomain.java index cff1e2fd93d..40a788725f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomain.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -63,72 +64,72 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .build());
  * 
  *         final var amazonLinux = Ec2Functions.getAmi(GetAmiArgs.builder()
  *             .mostRecent(true)
- *             .owners("amazon")
+ *             .owners("amazon")
  *             .filters(            
  *                 GetAmiFilterArgs.builder()
- *                     .name("name")
- *                     .values("amzn-ami-hvm-*-x86_64-gp2")
+ *                     .name("name")
+ *                     .values("amzn-ami-hvm-*-x86_64-gp2")
  *                     .build(),
  *                 GetAmiFilterArgs.builder()
- *                     .name("owner-alias")
- *                     .values("amazon")
+ *                     .name("owner-alias")
+ *                     .values("amazon")
  *                     .build())
  *             .build());
  * 
- *         var vpc1 = new Vpc("vpc1", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var vpc1 = new Vpc("vpc1", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var vpc2 = new Vpc("vpc2", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var vpc2 = new Vpc("vpc2", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var subnet1 = new Subnet("subnet1", SubnetArgs.builder()        
+ *         var subnet1 = new Subnet("subnet1", SubnetArgs.builder()        
  *             .vpcId(vpc1.id())
- *             .cidrBlock("10.0.1.0/24")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .cidrBlock("10.0.1.0/24")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
  *             .build());
  * 
- *         var subnet2 = new Subnet("subnet2", SubnetArgs.builder()        
+ *         var subnet2 = new Subnet("subnet2", SubnetArgs.builder()        
  *             .vpcId(vpc1.id())
- *             .cidrBlock("10.0.2.0/24")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+ *             .cidrBlock("10.0.2.0/24")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
  *             .build());
  * 
- *         var subnet3 = new Subnet("subnet3", SubnetArgs.builder()        
+ *         var subnet3 = new Subnet("subnet3", SubnetArgs.builder()        
  *             .vpcId(vpc2.id())
- *             .cidrBlock("10.1.1.0/24")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .cidrBlock("10.1.1.0/24")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
  *             .build());
  * 
- *         var instance1 = new Instance("instance1", InstanceArgs.builder()        
- *             .ami(amazonLinux.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t2.micro")
+ *         var instance1 = new Instance("instance1", InstanceArgs.builder()        
+ *             .ami(amazonLinux.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t2.micro")
  *             .subnetId(subnet1.id())
  *             .build());
  * 
- *         var instance2 = new Instance("instance2", InstanceArgs.builder()        
- *             .ami(amazonLinux.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t2.micro")
+ *         var instance2 = new Instance("instance2", InstanceArgs.builder()        
+ *             .ami(amazonLinux.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t2.micro")
  *             .subnetId(subnet2.id())
  *             .build());
  * 
- *         var instance3 = new Instance("instance3", InstanceArgs.builder()        
- *             .ami(amazonLinux.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t2.micro")
+ *         var instance3 = new Instance("instance3", InstanceArgs.builder()        
+ *             .ami(amazonLinux.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t2.micro")
  *             .subnetId(subnet3.id())
  *             .build());
  * 
- *         var tgw = new TransitGateway("tgw", TransitGatewayArgs.builder()        
- *             .multicastSupport("enable")
+ *         var tgw = new TransitGateway("tgw", TransitGatewayArgs.builder()        
+ *             .multicastSupport("enable")
  *             .build());
  * 
- *         var attachment1 = new VpcAttachment("attachment1", VpcAttachmentArgs.builder()        
+ *         var attachment1 = new VpcAttachment("attachment1", VpcAttachmentArgs.builder()        
  *             .subnetIds(            
  *                 subnet1.id(),
  *                 subnet2.id())
@@ -136,57 +137,58 @@
  *             .vpcId(vpc1.id())
  *             .build());
  * 
- *         var attachment2 = new VpcAttachment("attachment2", VpcAttachmentArgs.builder()        
+ *         var attachment2 = new VpcAttachment("attachment2", VpcAttachmentArgs.builder()        
  *             .subnetIds(subnet3.id())
  *             .transitGatewayId(tgw.id())
  *             .vpcId(vpc2.id())
  *             .build());
  * 
- *         var domain = new MulticastDomain("domain", MulticastDomainArgs.builder()        
+ *         var domain = new MulticastDomain("domain", MulticastDomainArgs.builder()        
  *             .transitGatewayId(tgw.id())
- *             .staticSourcesSupport("enable")
- *             .tags(Map.of("Name", "Transit_Gateway_Multicast_Domain_Example"))
+ *             .staticSourcesSupport("enable")
+ *             .tags(Map.of("Name", "Transit_Gateway_Multicast_Domain_Example"))
  *             .build());
  * 
- *         var association3 = new MulticastDomainAssociation("association3", MulticastDomainAssociationArgs.builder()        
+ *         var association3 = new MulticastDomainAssociation("association3", MulticastDomainAssociationArgs.builder()        
  *             .subnetId(subnet3.id())
  *             .transitGatewayAttachmentId(attachment2.id())
  *             .transitGatewayMulticastDomainId(domain.id())
  *             .build());
  * 
- *         var source = new MulticastGroupSource("source", MulticastGroupSourceArgs.builder()        
- *             .groupIpAddress("224.0.0.1")
+ *         var source = new MulticastGroupSource("source", MulticastGroupSourceArgs.builder()        
+ *             .groupIpAddress("224.0.0.1")
  *             .networkInterfaceId(instance3.primaryNetworkInterfaceId())
  *             .transitGatewayMulticastDomainId(association3.transitGatewayMulticastDomainId())
  *             .build());
  * 
- *         var association1 = new MulticastDomainAssociation("association1", MulticastDomainAssociationArgs.builder()        
+ *         var association1 = new MulticastDomainAssociation("association1", MulticastDomainAssociationArgs.builder()        
  *             .subnetId(subnet1.id())
  *             .transitGatewayAttachmentId(attachment1.id())
  *             .transitGatewayMulticastDomainId(domain.id())
  *             .build());
  * 
- *         var association2 = new MulticastDomainAssociation("association2", MulticastDomainAssociationArgs.builder()        
+ *         var association2 = new MulticastDomainAssociation("association2", MulticastDomainAssociationArgs.builder()        
  *             .subnetId(subnet2.id())
  *             .transitGatewayAttachmentId(attachment2.id())
  *             .transitGatewayMulticastDomainId(domain.id())
  *             .build());
  * 
- *         var member1 = new MulticastGroupMember("member1", MulticastGroupMemberArgs.builder()        
- *             .groupIpAddress("224.0.0.1")
+ *         var member1 = new MulticastGroupMember("member1", MulticastGroupMemberArgs.builder()        
+ *             .groupIpAddress("224.0.0.1")
  *             .networkInterfaceId(instance1.primaryNetworkInterfaceId())
  *             .transitGatewayMulticastDomainId(association1.transitGatewayMulticastDomainId())
  *             .build());
  * 
- *         var member2 = new MulticastGroupMember("member2", MulticastGroupMemberArgs.builder()        
- *             .groupIpAddress("224.0.0.1")
+ *         var member2 = new MulticastGroupMember("member2", MulticastGroupMemberArgs.builder()        
+ *             .groupIpAddress("224.0.0.1")
  *             .networkInterfaceId(instance2.primaryNetworkInterfaceId())
  *             .transitGatewayMulticastDomainId(association1.transitGatewayMulticastDomainId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomainAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomainAssociation.java index 67eb8c5f8e6..37464151eae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomainAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastDomainAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGateway("example", TransitGatewayArgs.builder()        
- *             .multicastSupport("enable")
+ *         var example = new TransitGateway("example", TransitGatewayArgs.builder()        
+ *             .multicastSupport("enable")
  *             .build());
  * 
- *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
+ *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
  *             .subnetIds(exampleAwsSubnet.id())
  *             .transitGatewayId(example.id())
  *             .vpcId(exampleAwsVpc.id())
  *             .build());
  * 
- *         var exampleMulticastDomain = new MulticastDomain("exampleMulticastDomain", MulticastDomainArgs.builder()        
+ *         var exampleMulticastDomain = new MulticastDomain("exampleMulticastDomain", MulticastDomainArgs.builder()        
  *             .transitGatewayId(example.id())
  *             .build());
  * 
- *         var exampleMulticastDomainAssociation = new MulticastDomainAssociation("exampleMulticastDomainAssociation", MulticastDomainAssociationArgs.builder()        
+ *         var exampleMulticastDomainAssociation = new MulticastDomainAssociation("exampleMulticastDomainAssociation", MulticastDomainAssociationArgs.builder()        
  *             .subnetId(exampleAwsSubnet.id())
  *             .transitGatewayAttachmentId(exampleVpcAttachment.id())
  *             .transitGatewayMulticastDomainId(exampleMulticastDomain.id())
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupMember.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupMember.java index c14fea50a07..ed29dbfd3ff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupMember.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupMember.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,15 +42,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MulticastGroupMember("example", MulticastGroupMemberArgs.builder()        
- *             .groupIpAddress("224.0.0.1")
+ *         var example = new MulticastGroupMember("example", MulticastGroupMemberArgs.builder()        
+ *             .groupIpAddress("224.0.0.1")
  *             .networkInterfaceId(exampleAwsNetworkInterface.id())
  *             .transitGatewayMulticastDomainId(exampleAwsEc2TransitGatewayMulticastDomain.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupSource.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupSource.java index a87c62e7487..1c3552b1d3e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupSource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/MulticastGroupSource.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,15 +42,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MulticastGroupSource("example", MulticastGroupSourceArgs.builder()        
- *             .groupIpAddress("224.0.0.1")
+ *         var example = new MulticastGroupSource("example", MulticastGroupSourceArgs.builder()        
+ *             .groupIpAddress("224.0.0.1")
  *             .networkInterfaceId(exampleAwsNetworkInterface.id())
  *             .transitGatewayMulticastDomainId(exampleAwsEc2TransitGatewayMulticastDomain.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachment.java index 695c55ea813..41c60cbead1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachment.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,25 +50,26 @@
  *     public static void stack(Context ctx) {
  *         final var peer = AwsFunctions.getRegion();
  * 
- *         var local = new TransitGateway("local", TransitGatewayArgs.builder()        
- *             .tags(Map.of("Name", "Local TGW"))
+ *         var local = new TransitGateway("local", TransitGatewayArgs.builder()        
+ *             .tags(Map.of("Name", "Local TGW"))
  *             .build());
  * 
- *         var peerTransitGateway = new TransitGateway("peerTransitGateway", TransitGatewayArgs.builder()        
- *             .tags(Map.of("Name", "Peer TGW"))
+ *         var peerTransitGateway = new TransitGateway("peerTransitGateway", TransitGatewayArgs.builder()        
+ *             .tags(Map.of("Name", "Peer TGW"))
  *             .build());
  * 
- *         var example = new PeeringAttachment("example", PeeringAttachmentArgs.builder()        
+ *         var example = new PeeringAttachment("example", PeeringAttachmentArgs.builder()        
  *             .peerAccountId(peerTransitGateway.ownerId())
- *             .peerRegion(peer.applyValue(getRegionResult -> getRegionResult.name()))
+ *             .peerRegion(peer.applyValue(getRegionResult -> getRegionResult.name()))
  *             .peerTransitGatewayId(peerTransitGateway.id())
  *             .transitGatewayId(local.id())
- *             .tags(Map.of("Name", "TGW Peering Requestor"))
+ *             .tags(Map.of("Name", "TGW Peering Requestor"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachmentAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachmentAccepter.java index 040bfc9c41e..90f42dad834 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachmentAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PeeringAttachmentAccepter.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PeeringAttachmentAccepter("example", PeeringAttachmentAccepterArgs.builder()        
+ *         var example = new PeeringAttachmentAccepter("example", PeeringAttachmentAccepterArgs.builder()        
  *             .transitGatewayAttachmentId(exampleAwsEc2TransitGatewayPeeringAttachment.id())
- *             .tags(Map.of("Name", "Example cross-account attachment"))
+ *             .tags(Map.of("Name", "Example cross-account attachment"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTable.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTable.java index 605016e9799..c2280c1652a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTable.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PolicyTable("example", PolicyTableArgs.builder()        
+ *         var example = new PolicyTable("example", PolicyTableArgs.builder()        
  *             .transitGatewayId(exampleAwsEc2TransitGateway.id())
- *             .tags(Map.of("Name", "Example Policy Table"))
+ *             .tags(Map.of("Name", "Example Policy Table"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTableAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTableAssociation.java index 4b05ea921bf..ac9ec9b828f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTableAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PolicyTableAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PolicyTableAssociation("example", PolicyTableAssociationArgs.builder()        
+ *         var example = new PolicyTableAssociation("example", PolicyTableAssociationArgs.builder()        
  *             .transitGatewayAttachmentId(exampleAwsNetworkmanagerTransitGatewayPeering.transitGatewayPeeringAttachmentId())
  *             .transitGatewayPolicyTableId(exampleAwsEc2TransitGatewayPolicyTable.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PrefixListReference.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PrefixListReference.java index 6360cba3bb2..d1e58f0798e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PrefixListReference.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/PrefixListReference.java @@ -23,7 +23,8 @@ * ### Attachment Routing * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PrefixListReference("example", PrefixListReferenceArgs.builder()        
+ *         var example = new PrefixListReference("example", PrefixListReferenceArgs.builder()        
  *             .prefixListId(exampleAwsEc2ManagedPrefixList.id())
  *             .transitGatewayAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
  *             .transitGatewayRouteTableId(exampleAwsEc2TransitGateway.associationDefaultRouteTableId())
@@ -52,13 +53,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Blackhole Routing * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,7 +82,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PrefixListReference("example", PrefixListReferenceArgs.builder()        
+ *         var example = new PrefixListReference("example", PrefixListReferenceArgs.builder()        
  *             .blackhole(true)
  *             .prefixListId(exampleAwsEc2ManagedPrefixList.id())
  *             .transitGatewayRouteTableId(exampleAwsEc2TransitGateway.associationDefaultRouteTableId())
@@ -87,7 +90,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Route.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Route.java index 7acc3f4e93b..39570d1aefa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Route.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/Route.java @@ -23,7 +23,8 @@ * ### Standard usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,21 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Route("example", RouteArgs.builder()        
- *             .destinationCidrBlock("0.0.0.0/0")
+ *         var example = new Route("example", RouteArgs.builder()        
+ *             .destinationCidrBlock("0.0.0.0/0")
  *             .transitGatewayAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
  *             .transitGatewayRouteTableId(exampleAwsEc2TransitGateway.associationDefaultRouteTableId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Blackhole route * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,15 +82,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Route("example", RouteArgs.builder()        
- *             .destinationCidrBlock("0.0.0.0/0")
+ *         var example = new Route("example", RouteArgs.builder()        
+ *             .destinationCidrBlock("0.0.0.0/0")
  *             .blackhole(true)
  *             .transitGatewayRouteTableId(exampleAwsEc2TransitGateway.associationDefaultRouteTableId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTable.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTable.java index 9e0b4f4fa09..c9c542cba9d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTable.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteTable("example", RouteTableArgs.builder()        
+ *         var example = new RouteTable("example", RouteTableArgs.builder()        
  *             .transitGatewayId(exampleAwsEc2TransitGateway.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTableAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTableAssociation.java index d2154d5da0e..45f275526fd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTableAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTableAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteTableAssociation("example", RouteTableAssociationArgs.builder()        
+ *         var example = new RouteTableAssociation("example", RouteTableAssociationArgs.builder()        
  *             .transitGatewayAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
  *             .transitGatewayRouteTableId(exampleAwsEc2TransitGatewayRouteTable.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTablePropagation.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTablePropagation.java index d7457c8ead7..8c9481ea44b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTablePropagation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/RouteTablePropagation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteTablePropagation("example", RouteTablePropagationArgs.builder()        
+ *         var example = new RouteTablePropagation("example", RouteTablePropagationArgs.builder()        
  *             .transitGatewayAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
  *             .transitGatewayRouteTableId(exampleAwsEc2TransitGatewayRouteTable.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/TransitGateway.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/TransitGateway.java index be95492ef2e..f2ac48ad450 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/TransitGateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/TransitGateway.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGateway("example", TransitGatewayArgs.builder()        
- *             .description("example")
+ *         var example = new TransitGateway("example", TransitGatewayArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachment.java index ca6515d46a8..a97b3e61c2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachment.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
  *             .subnetIds(exampleAwsSubnet.id())
  *             .transitGatewayId(exampleAwsEc2TransitGateway.id())
  *             .vpcId(exampleAwsVpc.id())
@@ -52,7 +53,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachmentAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachmentAccepter.java index 7703f51b846..66a19459a8b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachmentAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ec2transitgateway/VpcAttachmentAccepter.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachmentAccepter("example", VpcAttachmentAccepterArgs.builder()        
+ *         var example = new VpcAttachmentAccepter("example", VpcAttachmentAccepterArgs.builder()        
  *             .transitGatewayAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
- *             .tags(Map.of("Name", "Example cross-account attachment"))
+ *             .tags(Map.of("Name", "Example cross-account attachment"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/EcrFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/EcrFunctions.java index 40549671bb1..b247caf25dc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/EcrFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/EcrFunctions.java @@ -37,7 +37,8 @@ public final class EcrFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -62,7 +63,8 @@ public final class EcrFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -75,7 +77,8 @@ public static Output getAuthorizationToken() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,7 +103,8 @@ public static Output getAuthorizationToken() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -113,7 +117,8 @@ public static CompletableFuture getAuthorizationTok * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -138,7 +143,8 @@ public static CompletableFuture getAuthorizationTok
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -151,7 +157,8 @@ public static Output getAuthorizationToken(GetAutho * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -176,7 +183,8 @@ public static Output getAuthorizationToken(GetAutho
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -189,7 +197,8 @@ public static CompletableFuture getAuthorizationTok * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -214,7 +223,8 @@ public static CompletableFuture getAuthorizationTok
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -227,7 +237,8 @@ public static Output getAuthorizationToken(GetAutho * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -252,7 +263,8 @@ public static Output getAuthorizationToken(GetAutho
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -277,7 +289,8 @@ public static CompletableFuture getCredentialsPlain(GetCre * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -299,13 +312,14 @@ public static CompletableFuture getCredentialsPlain(GetCre
      * 
      *     public static void stack(Context ctx) {
      *         final var serviceImage = EcrFunctions.getImage(GetImageArgs.builder()
-     *             .repositoryName("my/service")
-     *             .imageTag("latest")
+     *             .repositoryName("my/service")
+     *             .imageTag("latest")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -318,7 +332,8 @@ public static Output getImage(GetImageArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -340,13 +355,14 @@ public static Output getImage(GetImageArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var serviceImage = EcrFunctions.getImage(GetImageArgs.builder()
-     *             .repositoryName("my/service")
-     *             .imageTag("latest")
+     *             .repositoryName("my/service")
+     *             .imageTag("latest")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -359,7 +375,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -381,13 +398,14 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var serviceImage = EcrFunctions.getImage(GetImageArgs.builder()
-     *             .repositoryName("my/service")
-     *             .imageTag("latest")
+     *             .repositoryName("my/service")
+     *             .imageTag("latest")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -400,7 +418,8 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -422,13 +441,14 @@ public static Output getImage(GetImageArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var serviceImage = EcrFunctions.getImage(GetImageArgs.builder()
-     *             .repositoryName("my/service")
-     *             .imageTag("latest")
+     *             .repositoryName("my/service")
+     *             .imageTag("latest")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -443,7 +463,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -469,24 +490,25 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      *         final var example = EcrFunctions.getLifecyclePolicyDocument(GetLifecyclePolicyDocumentArgs.builder()
      *             .rules(GetLifecyclePolicyDocumentRuleArgs.builder()
      *                 .priority(1)
-     *                 .description("This is a test.")
+     *                 .description("This is a test.")
      *                 .selection(GetLifecyclePolicyDocumentRuleSelectionArgs.builder()
-     *                     .tagStatus("tagged")
-     *                     .tagPrefixLists("prod")
-     *                     .countType("imageCountMoreThan")
+     *                     .tagStatus("tagged")
+     *                     .tagPrefixLists("prod")
+     *                     .countType("imageCountMoreThan")
      *                     .countNumber(100)
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
      *             .repository(exampleAwsEcrRepository.name())
-     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
+     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -501,7 +523,8 @@ public static Output getLifecyclePolicyDocumen * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -527,24 +550,25 @@ public static Output getLifecyclePolicyDocumen
      *         final var example = EcrFunctions.getLifecyclePolicyDocument(GetLifecyclePolicyDocumentArgs.builder()
      *             .rules(GetLifecyclePolicyDocumentRuleArgs.builder()
      *                 .priority(1)
-     *                 .description("This is a test.")
+     *                 .description("This is a test.")
      *                 .selection(GetLifecyclePolicyDocumentRuleSelectionArgs.builder()
-     *                     .tagStatus("tagged")
-     *                     .tagPrefixLists("prod")
-     *                     .countType("imageCountMoreThan")
+     *                     .tagStatus("tagged")
+     *                     .tagPrefixLists("prod")
+     *                     .countType("imageCountMoreThan")
      *                     .countNumber(100)
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
      *             .repository(exampleAwsEcrRepository.name())
-     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
+     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -559,7 +583,8 @@ public static CompletableFuture getLifecyclePo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -585,24 +610,25 @@ public static CompletableFuture getLifecyclePo
      *         final var example = EcrFunctions.getLifecyclePolicyDocument(GetLifecyclePolicyDocumentArgs.builder()
      *             .rules(GetLifecyclePolicyDocumentRuleArgs.builder()
      *                 .priority(1)
-     *                 .description("This is a test.")
+     *                 .description("This is a test.")
      *                 .selection(GetLifecyclePolicyDocumentRuleSelectionArgs.builder()
-     *                     .tagStatus("tagged")
-     *                     .tagPrefixLists("prod")
-     *                     .countType("imageCountMoreThan")
+     *                     .tagStatus("tagged")
+     *                     .tagPrefixLists("prod")
+     *                     .countType("imageCountMoreThan")
      *                     .countNumber(100)
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
      *             .repository(exampleAwsEcrRepository.name())
-     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
+     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -617,7 +643,8 @@ public static Output getLifecyclePolicyDocumen * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -643,24 +670,25 @@ public static Output getLifecyclePolicyDocumen
      *         final var example = EcrFunctions.getLifecyclePolicyDocument(GetLifecyclePolicyDocumentArgs.builder()
      *             .rules(GetLifecyclePolicyDocumentRuleArgs.builder()
      *                 .priority(1)
-     *                 .description("This is a test.")
+     *                 .description("This is a test.")
      *                 .selection(GetLifecyclePolicyDocumentRuleSelectionArgs.builder()
-     *                     .tagStatus("tagged")
-     *                     .tagPrefixLists("prod")
-     *                     .countType("imageCountMoreThan")
+     *                     .tagStatus("tagged")
+     *                     .tagPrefixLists("prod")
+     *                     .countType("imageCountMoreThan")
      *                     .countNumber(100)
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
      *             .repository(exampleAwsEcrRepository.name())
-     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
+     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -675,7 +703,8 @@ public static CompletableFuture getLifecyclePo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -701,24 +730,25 @@ public static CompletableFuture getLifecyclePo
      *         final var example = EcrFunctions.getLifecyclePolicyDocument(GetLifecyclePolicyDocumentArgs.builder()
      *             .rules(GetLifecyclePolicyDocumentRuleArgs.builder()
      *                 .priority(1)
-     *                 .description("This is a test.")
+     *                 .description("This is a test.")
      *                 .selection(GetLifecyclePolicyDocumentRuleSelectionArgs.builder()
-     *                     .tagStatus("tagged")
-     *                     .tagPrefixLists("prod")
-     *                     .countType("imageCountMoreThan")
+     *                     .tagStatus("tagged")
+     *                     .tagPrefixLists("prod")
+     *                     .countType("imageCountMoreThan")
      *                     .countNumber(100)
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
      *             .repository(exampleAwsEcrRepository.name())
-     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
+     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -733,7 +763,8 @@ public static Output getLifecyclePolicyDocumen * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -759,24 +790,25 @@ public static Output getLifecyclePolicyDocumen
      *         final var example = EcrFunctions.getLifecyclePolicyDocument(GetLifecyclePolicyDocumentArgs.builder()
      *             .rules(GetLifecyclePolicyDocumentRuleArgs.builder()
      *                 .priority(1)
-     *                 .description("This is a test.")
+     *                 .description("This is a test.")
      *                 .selection(GetLifecyclePolicyDocumentRuleSelectionArgs.builder()
-     *                     .tagStatus("tagged")
-     *                     .tagPrefixLists("prod")
-     *                     .countType("imageCountMoreThan")
+     *                     .tagStatus("tagged")
+     *                     .tagPrefixLists("prod")
+     *                     .countType("imageCountMoreThan")
      *                     .countNumber(100)
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+     *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
      *             .repository(exampleAwsEcrRepository.name())
-     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
+     *             .policy(example.applyValue(getLifecyclePolicyDocumentResult -> getLifecyclePolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -789,7 +821,8 @@ public static CompletableFuture getLifecyclePo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -811,12 +844,13 @@ public static CompletableFuture getLifecyclePo
      * 
      *     public static void stack(Context ctx) {
      *         final var ecrPublic = EcrFunctions.getPullThroughCacheRule(GetPullThroughCacheRuleArgs.builder()
-     *             .ecrRepositoryPrefix("ecr-public")
+     *             .ecrRepositoryPrefix("ecr-public")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -829,7 +863,8 @@ public static Output getPullThroughCacheRule(GetP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -851,12 +886,13 @@ public static Output getPullThroughCacheRule(GetP
      * 
      *     public static void stack(Context ctx) {
      *         final var ecrPublic = EcrFunctions.getPullThroughCacheRule(GetPullThroughCacheRuleArgs.builder()
-     *             .ecrRepositoryPrefix("ecr-public")
+     *             .ecrRepositoryPrefix("ecr-public")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -869,7 +905,8 @@ public static CompletableFuture getPullThroughCac * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -891,12 +928,13 @@ public static CompletableFuture getPullThroughCac
      * 
      *     public static void stack(Context ctx) {
      *         final var ecrPublic = EcrFunctions.getPullThroughCacheRule(GetPullThroughCacheRuleArgs.builder()
-     *             .ecrRepositoryPrefix("ecr-public")
+     *             .ecrRepositoryPrefix("ecr-public")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -909,7 +947,8 @@ public static Output getPullThroughCacheRule(GetP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -931,12 +970,13 @@ public static Output getPullThroughCacheRule(GetP
      * 
      *     public static void stack(Context ctx) {
      *         final var ecrPublic = EcrFunctions.getPullThroughCacheRule(GetPullThroughCacheRuleArgs.builder()
-     *             .ecrRepositoryPrefix("ecr-public")
+     *             .ecrRepositoryPrefix("ecr-public")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -951,7 +991,8 @@ public static CompletableFuture getPullThroughCac * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -975,7 +1016,8 @@ public static CompletableFuture getPullThroughCac
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -990,7 +1032,8 @@ public static Output getRepositories() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1014,7 +1057,8 @@ public static Output getRepositories() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1029,7 +1073,8 @@ public static CompletableFuture getRepositoriesPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1053,7 +1098,8 @@ public static CompletableFuture getRepositoriesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1068,7 +1114,8 @@ public static Output getRepositories(InvokeArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1092,7 +1139,8 @@ public static Output getRepositories(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1107,7 +1155,8 @@ public static CompletableFuture getRepositoriesPlain(Invo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1131,7 +1180,8 @@ public static CompletableFuture getRepositoriesPlain(Invo
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1146,7 +1196,8 @@ public static Output getRepositories(InvokeArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1170,7 +1221,8 @@ public static Output getRepositories(InvokeArgs args, Inv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1183,7 +1235,8 @@ public static CompletableFuture getRepositoriesPlain(Invo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1205,12 +1258,13 @@ public static CompletableFuture getRepositoriesPlain(Invo
      * 
      *     public static void stack(Context ctx) {
      *         final var service = EcrFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .name("ecr-repository")
+     *             .name("ecr-repository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1223,7 +1277,8 @@ public static Output getRepository(GetRepositoryArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1245,12 +1300,13 @@ public static Output getRepository(GetRepositoryArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var service = EcrFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .name("ecr-repository")
+     *             .name("ecr-repository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1263,7 +1319,8 @@ public static CompletableFuture getRepositoryPlain(GetRepos * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1285,12 +1342,13 @@ public static CompletableFuture getRepositoryPlain(GetRepos
      * 
      *     public static void stack(Context ctx) {
      *         final var service = EcrFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .name("ecr-repository")
+     *             .name("ecr-repository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1303,7 +1361,8 @@ public static Output getRepository(GetRepositoryArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1325,12 +1384,13 @@ public static Output getRepository(GetRepositoryArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var service = EcrFunctions.getRepository(GetRepositoryArgs.builder()
-     *             .name("ecr-repository")
+     *             .name("ecr-repository")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/LifecyclePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/LifecyclePolicy.java index cc47fbdd297..9269a80ad48 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/LifecyclePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/LifecyclePolicy.java @@ -25,7 +25,8 @@ * ### Policy on untagged image * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,42 +49,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Repository("example", RepositoryArgs.builder()        
- *             .name("example-repo")
+ *         var example = new Repository("example", RepositoryArgs.builder()        
+ *             .name("example-repo")
  *             .build());
  * 
- *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+ *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
  *             .repository(example.name())
- *             .policy("""
+ *             .policy("""
  * {
- *     "rules": [
+ *     "rules": [
  *         {
- *             "rulePriority": 1,
- *             "description": "Expire images older than 14 days",
- *             "selection": {
- *                 "tagStatus": "untagged",
- *                 "countType": "sinceImagePushed",
- *                 "countUnit": "days",
- *                 "countNumber": 14
+ *             "rulePriority": 1,
+ *             "description": "Expire images older than 14 days",
+ *             "selection": {
+ *                 "tagStatus": "untagged",
+ *                 "countType": "sinceImagePushed",
+ *                 "countUnit": "days",
+ *                 "countNumber": 14
  *             },
- *             "action": {
- *                 "type": "expire"
+ *             "action": {
+ *                 "type": "expire"
  *             }
  *         }
  *     ]
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Policy on tagged image * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -106,36 +109,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Repository("example", RepositoryArgs.builder()        
- *             .name("example-repo")
+ *         var example = new Repository("example", RepositoryArgs.builder()        
+ *             .name("example-repo")
  *             .build());
  * 
- *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
+ *         var exampleLifecyclePolicy = new LifecyclePolicy("exampleLifecyclePolicy", LifecyclePolicyArgs.builder()        
  *             .repository(example.name())
- *             .policy("""
+ *             .policy("""
  * {
- *     "rules": [
+ *     "rules": [
  *         {
- *             "rulePriority": 1,
- *             "description": "Keep last 30 images",
- *             "selection": {
- *                 "tagStatus": "tagged",
- *                 "tagPrefixList": ["v"],
- *                 "countType": "imageCountMoreThan",
- *                 "countNumber": 30
+ *             "rulePriority": 1,
+ *             "description": "Keep last 30 images",
+ *             "selection": {
+ *                 "tagStatus": "tagged",
+ *                 "tagPrefixList": ["v"],
+ *                 "countType": "imageCountMoreThan",
+ *                 "countNumber": 30
  *             },
- *             "action": {
- *                 "type": "expire"
+ *             "action": {
+ *                 "type": "expire"
  *             }
  *         }
  *     ]
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/PullThroughCacheRule.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/PullThroughCacheRule.java index 030f2b44ad3..70ca856c0bc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/PullThroughCacheRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/PullThroughCacheRule.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PullThroughCacheRule("example", PullThroughCacheRuleArgs.builder()        
- *             .ecrRepositoryPrefix("ecr-public")
- *             .upstreamRegistryUrl("public.ecr.aws")
- *             .credentialArn("arn:aws:secretsmanager:us-east-1:123456789:secret:ecr-pullthroughcache/ecrpublic")
+ *         var example = new PullThroughCacheRule("example", PullThroughCacheRuleArgs.builder()        
+ *             .ecrRepositoryPrefix("ecr-public")
+ *             .upstreamRegistryUrl("public.ecr.aws")
+ *             .credentialArn("arn:aws:secretsmanager:us-east-1:123456789:secret:ecr-pullthroughcache/ecrpublic")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryPolicy.java index c6aa0641070..4849a3a11d8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,25 +54,26 @@
  * 
  *         final var currentGetPartition = AwsFunctions.getPartition();
  * 
- *         var example = new RegistryPolicy("example", RegistryPolicyArgs.builder()        
+ *         var example = new RegistryPolicy("example", RegistryPolicyArgs.builder()        
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", "testpolicy"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", "testpolicy"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                         )),
- *                         jsonProperty("Action", jsonArray("ecr:ReplicateImage")),
- *                         jsonProperty("Resource", jsonArray(String.format("arn:%s:ecr:%s:%s:repository/*", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))))
+ *                         jsonProperty("Action", jsonArray("ecr:ReplicateImage")),
+ *                         jsonProperty("Resource", jsonArray(String.format("arn:%s:ecr:%s:%s:repository/*", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))))
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryScanningConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryScanningConfiguration.java index 1b8025b414f..9f03845acf6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryScanningConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/RegistryScanningConfiguration.java @@ -24,7 +24,8 @@ * ### Basic example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,26 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var configuration = new RegistryScanningConfiguration("configuration", RegistryScanningConfigurationArgs.builder()        
- *             .scanType("ENHANCED")
+ *         var configuration = new RegistryScanningConfiguration("configuration", RegistryScanningConfigurationArgs.builder()        
+ *             .scanType("ENHANCED")
  *             .rules(RegistryScanningConfigurationRuleArgs.builder()
- *                 .scanFrequency("CONTINUOUS_SCAN")
+ *                 .scanFrequency("CONTINUOUS_SCAN")
  *                 .repositoryFilters(RegistryScanningConfigurationRuleRepositoryFilterArgs.builder()
- *                     .filter("example")
- *                     .filterType("WILDCARD")
+ *                     .filter("example")
+ *                     .filterType("WILDCARD")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Multiple rules * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,28 +90,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new RegistryScanningConfiguration("test", RegistryScanningConfigurationArgs.builder()        
- *             .scanType("ENHANCED")
+ *         var test = new RegistryScanningConfiguration("test", RegistryScanningConfigurationArgs.builder()        
+ *             .scanType("ENHANCED")
  *             .rules(            
  *                 RegistryScanningConfigurationRuleArgs.builder()
- *                     .scanFrequency("SCAN_ON_PUSH")
+ *                     .scanFrequency("SCAN_ON_PUSH")
  *                     .repositoryFilters(RegistryScanningConfigurationRuleRepositoryFilterArgs.builder()
- *                         .filter("*")
- *                         .filterType("WILDCARD")
+ *                         .filter("*")
+ *                         .filterType("WILDCARD")
  *                         .build())
  *                     .build(),
  *                 RegistryScanningConfigurationRuleArgs.builder()
- *                     .scanFrequency("CONTINUOUS_SCAN")
+ *                     .scanFrequency("CONTINUOUS_SCAN")
  *                     .repositoryFilters(RegistryScanningConfigurationRuleRepositoryFilterArgs.builder()
- *                         .filter("example")
- *                         .filterType("WILDCARD")
+ *                         .filter("example")
+ *                         .filterType("WILDCARD")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/ReplicationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/ReplicationConfiguration.java index 8bf0a980a36..395be15a91d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/ReplicationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/ReplicationConfiguration.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,12 +51,12 @@
  * 
  *         final var example = AwsFunctions.getRegions();
  * 
- *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
+ *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
  *             .replicationConfiguration(ReplicationConfigurationReplicationConfigurationArgs.builder()
  *                 .rules(ReplicationConfigurationReplicationConfigurationRuleArgs.builder()
  *                     .destinations(ReplicationConfigurationReplicationConfigurationRuleDestinationArgs.builder()
- *                         .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[0]))
- *                         .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[0]))
+ *                         .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                         .build())
  *                     .build())
  *                 .build())
@@ -63,13 +64,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Multiple Region Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,17 +101,17 @@
  * 
  *         final var example = AwsFunctions.getRegions();
  * 
- *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
+ *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
  *             .replicationConfiguration(ReplicationConfigurationReplicationConfigurationArgs.builder()
  *                 .rules(ReplicationConfigurationReplicationConfigurationRuleArgs.builder()
  *                     .destinations(                    
  *                         ReplicationConfigurationReplicationConfigurationRuleDestinationArgs.builder()
- *                             .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[0]))
- *                             .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                             .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[0]))
+ *                             .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                             .build(),
  *                         ReplicationConfigurationReplicationConfigurationRuleDestinationArgs.builder()
- *                             .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[1]))
- *                             .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                             .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[1]))
+ *                             .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                             .build())
  *                     .build())
  *                 .build())
@@ -116,13 +119,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Repository Filter Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -151,16 +156,16 @@
  * 
  *         final var example = AwsFunctions.getRegions();
  * 
- *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
+ *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
  *             .replicationConfiguration(ReplicationConfigurationReplicationConfigurationArgs.builder()
  *                 .rules(ReplicationConfigurationReplicationConfigurationRuleArgs.builder()
  *                     .destinations(ReplicationConfigurationReplicationConfigurationRuleDestinationArgs.builder()
- *                         .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[0]))
- *                         .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         .region(example.applyValue(getRegionsResult -> getRegionsResult.names()[0]))
+ *                         .registryId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                         .build())
  *                     .repositoryFilters(ReplicationConfigurationReplicationConfigurationRuleRepositoryFilterArgs.builder()
- *                         .filter("prod-microservice")
- *                         .filterType("PREFIX_MATCH")
+ *                         .filter("prod-microservice")
+ *                         .filterType("PREFIX_MATCH")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -168,7 +173,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/Repository.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/Repository.java index 67a0e3a8793..c425971fbdd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/Repository.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/Repository.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,9 +48,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Repository("foo", RepositoryArgs.builder()        
- *             .name("bar")
- *             .imageTagMutability("MUTABLE")
+ *         var foo = new Repository("foo", RepositoryArgs.builder()        
+ *             .name("bar")
+ *             .imageTagMutability("MUTABLE")
  *             .imageScanningConfiguration(RepositoryImageScanningConfigurationArgs.builder()
  *                 .scanOnPush(true)
  *                 .build())
@@ -57,7 +58,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecr/RepositoryPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ecr/RepositoryPolicy.java index 593439510f2..e991034d328 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecr/RepositoryPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecr/RepositoryPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,44 +47,45 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
- *             .name("example-repo")
+ *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
+ *             .name("example-repo")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("new policy")
- *                 .effect("Allow")
+ *                 .sid("new policy")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("123456789012")
+ *                     .type("AWS")
+ *                     .identifiers("123456789012")
  *                     .build())
  *                 .actions(                
- *                     "ecr:GetDownloadUrlForLayer",
- *                     "ecr:BatchGetImage",
- *                     "ecr:BatchCheckLayerAvailability",
- *                     "ecr:PutImage",
- *                     "ecr:InitiateLayerUpload",
- *                     "ecr:UploadLayerPart",
- *                     "ecr:CompleteLayerUpload",
- *                     "ecr:DescribeRepositories",
- *                     "ecr:GetRepositoryPolicy",
- *                     "ecr:ListImages",
- *                     "ecr:DeleteRepository",
- *                     "ecr:BatchDeleteImage",
- *                     "ecr:SetRepositoryPolicy",
- *                     "ecr:DeleteRepositoryPolicy")
+ *                     "ecr:GetDownloadUrlForLayer",
+ *                     "ecr:BatchGetImage",
+ *                     "ecr:BatchCheckLayerAvailability",
+ *                     "ecr:PutImage",
+ *                     "ecr:InitiateLayerUpload",
+ *                     "ecr:UploadLayerPart",
+ *                     "ecr:CompleteLayerUpload",
+ *                     "ecr:DescribeRepositories",
+ *                     "ecr:GetRepositoryPolicy",
+ *                     "ecr:ListImages",
+ *                     "ecr:DeleteRepository",
+ *                     "ecr:BatchDeleteImage",
+ *                     "ecr:SetRepositoryPolicy",
+ *                     "ecr:DeleteRepositoryPolicy")
  *                 .build())
  *             .build());
  * 
- *         var exampleRepositoryPolicy = new RepositoryPolicy("exampleRepositoryPolicy", RepositoryPolicyArgs.builder()        
+ *         var exampleRepositoryPolicy = new RepositoryPolicy("exampleRepositoryPolicy", RepositoryPolicyArgs.builder()        
  *             .repository(exampleRepository.name())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/EcrpublicFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/EcrpublicFunctions.java index b43d4480545..64847b01269 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/EcrpublicFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/EcrpublicFunctions.java @@ -21,7 +21,8 @@ public final class EcrpublicFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,7 +46,8 @@ public final class EcrpublicFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getAuthorizationToken() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -84,7 +87,8 @@ public static Output getAuthorizationToken() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -99,7 +103,8 @@ public static CompletableFuture getAuthorizationTok * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -123,7 +128,8 @@ public static CompletableFuture getAuthorizationTok
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -138,7 +144,8 @@ public static Output getAuthorizationToken(InvokeAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,7 +169,8 @@ public static Output getAuthorizationToken(InvokeAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -177,7 +185,8 @@ public static CompletableFuture getAuthorizationTok * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -201,7 +210,8 @@ public static CompletableFuture getAuthorizationTok
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -216,7 +226,8 @@ public static Output getAuthorizationToken(InvokeAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -240,7 +251,8 @@ public static Output getAuthorizationToken(InvokeAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/Repository.java b/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/Repository.java index 155b331c3f5..17c053db5a4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/Repository.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/Repository.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,24 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Repository("foo", RepositoryArgs.builder()        
- *             .repositoryName("bar")
+ *         var foo = new Repository("foo", RepositoryArgs.builder()        
+ *             .repositoryName("bar")
  *             .catalogData(RepositoryCatalogDataArgs.builder()
- *                 .aboutText("About Text")
- *                 .architectures("ARM")
- *                 .description("Description")
+ *                 .aboutText("About Text")
+ *                 .architectures("ARM")
+ *                 .description("Description")
  *                 .logoImageBlob(StdFunctions.filebase64(Filebase64Args.builder()
  *                     .input(png)
  *                     .build()).result())
- *                 .operatingSystems("Linux")
- *                 .usageText("Usage Text")
+ *                 .operatingSystems("Linux")
+ *                 .usageText("Usage Text")
  *                 .build())
- *             .tags(Map.of("env", "production"))
+ *             .tags(Map.of("env", "production"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/RepositoryPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/RepositoryPolicy.java index 60fb51baa13..674be66c928 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/RepositoryPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecrpublic/RepositoryPolicy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,44 +49,45 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
- *             .repositoryName("example")
+ *         var exampleRepository = new Repository("exampleRepository", RepositoryArgs.builder()        
+ *             .repositoryName("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("new policy")
- *                 .effect("Allow")
+ *                 .sid("new policy")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("123456789012")
+ *                     .type("AWS")
+ *                     .identifiers("123456789012")
  *                     .build())
  *                 .actions(                
- *                     "ecr:GetDownloadUrlForLayer",
- *                     "ecr:BatchGetImage",
- *                     "ecr:BatchCheckLayerAvailability",
- *                     "ecr:PutImage",
- *                     "ecr:InitiateLayerUpload",
- *                     "ecr:UploadLayerPart",
- *                     "ecr:CompleteLayerUpload",
- *                     "ecr:DescribeRepositories",
- *                     "ecr:GetRepositoryPolicy",
- *                     "ecr:ListImages",
- *                     "ecr:DeleteRepository",
- *                     "ecr:BatchDeleteImage",
- *                     "ecr:SetRepositoryPolicy",
- *                     "ecr:DeleteRepositoryPolicy")
+ *                     "ecr:GetDownloadUrlForLayer",
+ *                     "ecr:BatchGetImage",
+ *                     "ecr:BatchCheckLayerAvailability",
+ *                     "ecr:PutImage",
+ *                     "ecr:InitiateLayerUpload",
+ *                     "ecr:UploadLayerPart",
+ *                     "ecr:CompleteLayerUpload",
+ *                     "ecr:DescribeRepositories",
+ *                     "ecr:GetRepositoryPolicy",
+ *                     "ecr:ListImages",
+ *                     "ecr:DeleteRepository",
+ *                     "ecr:BatchDeleteImage",
+ *                     "ecr:SetRepositoryPolicy",
+ *                     "ecr:DeleteRepositoryPolicy")
  *                 .build())
  *             .build());
  * 
- *         var exampleRepositoryPolicy = new RepositoryPolicy("exampleRepositoryPolicy", RepositoryPolicyArgs.builder()        
+ *         var exampleRepositoryPolicy = new RepositoryPolicy("exampleRepositoryPolicy", RepositoryPolicyArgs.builder()        
  *             .repositoryName(exampleRepository.repositoryName())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/AccountSettingDefault.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/AccountSettingDefault.java index 7c1a20993ef..4c2e3b42049 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/AccountSettingDefault.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/AccountSettingDefault.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AccountSettingDefault("test", AccountSettingDefaultArgs.builder()        
- *             .name("taskLongArnFormat")
- *             .value("enabled")
+ *         var test = new AccountSettingDefault("test", AccountSettingDefaultArgs.builder()        
+ *             .name("taskLongArnFormat")
+ *             .value("enabled")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/CapacityProvider.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/CapacityProvider.java index b8ec998f371..d6a7b2d428e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/CapacityProvider.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/CapacityProvider.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,23 +51,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Group("test", GroupArgs.builder()        
+ *         var test = new Group("test", GroupArgs.builder()        
  *             .tags(GroupTagArgs.builder()
- *                 .key("AmazonECSManaged")
+ *                 .key("AmazonECSManaged")
  *                 .value(true)
  *                 .propagateAtLaunch(true)
  *                 .build())
  *             .build());
  * 
- *         var testCapacityProvider = new CapacityProvider("testCapacityProvider", CapacityProviderArgs.builder()        
- *             .name("test")
+ *         var testCapacityProvider = new CapacityProvider("testCapacityProvider", CapacityProviderArgs.builder()        
+ *             .name("test")
  *             .autoScalingGroupProvider(CapacityProviderAutoScalingGroupProviderArgs.builder()
  *                 .autoScalingGroupArn(test.arn())
- *                 .managedTerminationProtection("ENABLED")
+ *                 .managedTerminationProtection("ENABLED")
  *                 .managedScaling(CapacityProviderAutoScalingGroupProviderManagedScalingArgs.builder()
  *                     .maximumScalingStepSize(1000)
  *                     .minimumScalingStepSize(1)
- *                     .status("ENABLED")
+ *                     .status("ENABLED")
  *                     .targetCapacity(10)
  *                     .build())
  *                 .build())
@@ -74,7 +75,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/Cluster.java index 4675fad6149..021775f11ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/Cluster.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Cluster("foo", ClusterArgs.builder()        
- *             .name("white-hart")
+ *         var foo = new Cluster("foo", ClusterArgs.builder()        
+ *             .name("white-hart")
  *             .settings(ClusterSettingArgs.builder()
- *                 .name("containerInsights")
- *                 .value("enabled")
+ *                 .name("containerInsights")
+ *                 .value("enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with Log Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,21 +94,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("example")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("example")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
- *             .name("example")
+ *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var test = new Cluster("test", ClusterArgs.builder()        
- *             .name("example")
+ *         var test = new Cluster("test", ClusterArgs.builder()        
+ *             .name("example")
  *             .configuration(ClusterConfigurationArgs.builder()
  *                 .executeCommandConfiguration(ClusterConfigurationExecuteCommandConfigurationArgs.builder()
  *                     .kmsKeyId(example.arn())
- *                     .logging("OVERRIDE")
+ *                     .logging("OVERRIDE")
  *                     .logConfiguration(ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs.builder()
  *                         .cloudWatchEncryptionEnabled(true)
  *                         .cloudWatchLogGroupName(exampleLogGroup.name())
@@ -116,7 +119,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/ClusterCapacityProviders.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/ClusterCapacityProviders.java index 0a1fbfaa6bf..a583fb285d2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/ClusterCapacityProviders.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/ClusterCapacityProviders.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .name("my-cluster")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .name("my-cluster")
  *             .build());
  * 
- *         var exampleClusterCapacityProviders = new ClusterCapacityProviders("exampleClusterCapacityProviders", ClusterCapacityProvidersArgs.builder()        
+ *         var exampleClusterCapacityProviders = new ClusterCapacityProviders("exampleClusterCapacityProviders", ClusterCapacityProvidersArgs.builder()        
  *             .clusterName(example.name())
- *             .capacityProviders("FARGATE")
+ *             .capacityProviders("FARGATE")
  *             .defaultCapacityProviderStrategies(ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs.builder()
  *                 .base(1)
  *                 .weight(100)
- *                 .capacityProvider("FARGATE")
+ *                 .capacityProvider("FARGATE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/EcsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/EcsFunctions.java index e8e7c423b59..fd202abad49 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/EcsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/EcsFunctions.java @@ -33,7 +33,8 @@ public final class EcsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -55,12 +56,13 @@ public final class EcsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("ecs-mongo-production")
+     *             .clusterName("ecs-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -74,7 +76,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -96,12 +99,13 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("ecs-mongo-production")
+     *             .clusterName("ecs-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -115,7 +119,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -137,12 +142,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("ecs-mongo-production")
+     *             .clusterName("ecs-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -156,7 +162,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -178,12 +185,13 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("ecs-mongo-production")
+     *             .clusterName("ecs-mongo-production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -197,7 +205,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -220,12 +229,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getContainerDefinition(GetContainerDefinitionArgs.builder()
      *             .taskDefinition(mongo.id())
-     *             .containerName("mongodb")
+     *             .containerName("mongodb")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -239,7 +249,8 @@ public static Output getContainerDefinition(GetCon * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -262,12 +273,13 @@ public static Output getContainerDefinition(GetCon
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getContainerDefinition(GetContainerDefinitionArgs.builder()
      *             .taskDefinition(mongo.id())
-     *             .containerName("mongodb")
+     *             .containerName("mongodb")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -281,7 +293,8 @@ public static CompletableFuture getContainerDefini * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -304,12 +317,13 @@ public static CompletableFuture getContainerDefini
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getContainerDefinition(GetContainerDefinitionArgs.builder()
      *             .taskDefinition(mongo.id())
-     *             .containerName("mongodb")
+     *             .containerName("mongodb")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -323,7 +337,8 @@ public static Output getContainerDefinition(GetCon * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -346,12 +361,13 @@ public static Output getContainerDefinition(GetCon
      *     public static void stack(Context ctx) {
      *         final var ecs-mongo = EcsFunctions.getContainerDefinition(GetContainerDefinitionArgs.builder()
      *             .taskDefinition(mongo.id())
-     *             .containerName("mongodb")
+     *             .containerName("mongodb")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -365,7 +381,8 @@ public static CompletableFuture getContainerDefini * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -387,13 +404,14 @@ public static CompletableFuture getContainerDefini
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EcsFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("example")
+     *             .serviceName("example")
      *             .clusterArn(exampleAwsEcsCluster.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -407,7 +425,8 @@ public static Output getService(GetServiceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -429,13 +448,14 @@ public static Output getService(GetServiceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EcsFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("example")
+     *             .serviceName("example")
      *             .clusterArn(exampleAwsEcsCluster.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -449,7 +469,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -471,13 +492,14 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EcsFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("example")
+     *             .serviceName("example")
      *             .clusterArn(exampleAwsEcsCluster.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -491,7 +513,8 @@ public static Output getService(GetServiceArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -513,13 +536,14 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EcsFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("example")
+     *             .serviceName("example")
      *             .clusterArn(exampleAwsEcsCluster.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -533,7 +557,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -560,24 +585,24 @@ public static CompletableFuture getServicePlain(GetServicePlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
-     *             .family("mongodb")
-     *             .containerDefinitions("""
+     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
+     *             .family("mongodb")
+     *             .containerDefinitions("""
      * [
      *   {
-     *     "cpu": 128,
-     *     "environment": [{
-     *       "name": "SECRET",
-     *       "value": "KEY"
+     *     "cpu": 128,
+     *     "environment": [{
+     *       "name": "SECRET",
+     *       "value": "KEY"
      *     }],
-     *     "essential": true,
-     *     "image": "mongo:latest",
-     *     "memory": 128,
-     *     "memoryReservation": 64,
-     *     "name": "mongodb"
+     *     "essential": true,
+     *     "image": "mongo:latest",
+     *     "memory": 128,
+     *     "memoryReservation": 64,
+     *     "name": "mongodb"
      *   }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *         // Simply specify the family to find the latest ACTIVE revision in that family.
@@ -585,20 +610,21 @@ public static CompletableFuture getServicePlain(GetServicePlai
      *             .taskDefinition(mongoTaskDefinition.family())
      *             .build());
      * 
-     *         var foo = new Cluster("foo", ClusterArgs.builder()        
-     *             .name("foo")
+     *         var foo = new Cluster("foo", ClusterArgs.builder()        
+     *             .name("foo")
      *             .build());
      * 
-     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
-     *             .name("mongo")
+     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
+     *             .name("mongo")
      *             .cluster(foo.id())
      *             .desiredCount(2)
-     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
+     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -612,7 +638,8 @@ public static Output getTaskDefinition(GetTaskDefinitio * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -639,24 +666,24 @@ public static Output getTaskDefinition(GetTaskDefinitio
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
-     *             .family("mongodb")
-     *             .containerDefinitions("""
+     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
+     *             .family("mongodb")
+     *             .containerDefinitions("""
      * [
      *   {
-     *     "cpu": 128,
-     *     "environment": [{
-     *       "name": "SECRET",
-     *       "value": "KEY"
+     *     "cpu": 128,
+     *     "environment": [{
+     *       "name": "SECRET",
+     *       "value": "KEY"
      *     }],
-     *     "essential": true,
-     *     "image": "mongo:latest",
-     *     "memory": 128,
-     *     "memoryReservation": 64,
-     *     "name": "mongodb"
+     *     "essential": true,
+     *     "image": "mongo:latest",
+     *     "memory": 128,
+     *     "memoryReservation": 64,
+     *     "name": "mongodb"
      *   }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *         // Simply specify the family to find the latest ACTIVE revision in that family.
@@ -664,20 +691,21 @@ public static Output getTaskDefinition(GetTaskDefinitio
      *             .taskDefinition(mongoTaskDefinition.family())
      *             .build());
      * 
-     *         var foo = new Cluster("foo", ClusterArgs.builder()        
-     *             .name("foo")
+     *         var foo = new Cluster("foo", ClusterArgs.builder()        
+     *             .name("foo")
      *             .build());
      * 
-     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
-     *             .name("mongo")
+     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
+     *             .name("mongo")
      *             .cluster(foo.id())
      *             .desiredCount(2)
-     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
+     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -691,7 +719,8 @@ public static CompletableFuture getTaskDefinitionPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -718,24 +747,24 @@ public static CompletableFuture getTaskDefinitionPlain(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
-     *             .family("mongodb")
-     *             .containerDefinitions("""
+     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
+     *             .family("mongodb")
+     *             .containerDefinitions("""
      * [
      *   {
-     *     "cpu": 128,
-     *     "environment": [{
-     *       "name": "SECRET",
-     *       "value": "KEY"
+     *     "cpu": 128,
+     *     "environment": [{
+     *       "name": "SECRET",
+     *       "value": "KEY"
      *     }],
-     *     "essential": true,
-     *     "image": "mongo:latest",
-     *     "memory": 128,
-     *     "memoryReservation": 64,
-     *     "name": "mongodb"
+     *     "essential": true,
+     *     "image": "mongo:latest",
+     *     "memory": 128,
+     *     "memoryReservation": 64,
+     *     "name": "mongodb"
      *   }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *         // Simply specify the family to find the latest ACTIVE revision in that family.
@@ -743,20 +772,21 @@ public static CompletableFuture getTaskDefinitionPlain(
      *             .taskDefinition(mongoTaskDefinition.family())
      *             .build());
      * 
-     *         var foo = new Cluster("foo", ClusterArgs.builder()        
-     *             .name("foo")
+     *         var foo = new Cluster("foo", ClusterArgs.builder()        
+     *             .name("foo")
      *             .build());
      * 
-     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
-     *             .name("mongo")
+     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
+     *             .name("mongo")
      *             .cluster(foo.id())
      *             .desiredCount(2)
-     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
+     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -770,7 +800,8 @@ public static Output getTaskDefinition(GetTaskDefinitio * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -797,24 +828,24 @@ public static Output getTaskDefinition(GetTaskDefinitio
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
-     *             .family("mongodb")
-     *             .containerDefinitions("""
+     *         var mongoTaskDefinition = new TaskDefinition("mongoTaskDefinition", TaskDefinitionArgs.builder()        
+     *             .family("mongodb")
+     *             .containerDefinitions("""
      * [
      *   {
-     *     "cpu": 128,
-     *     "environment": [{
-     *       "name": "SECRET",
-     *       "value": "KEY"
+     *     "cpu": 128,
+     *     "environment": [{
+     *       "name": "SECRET",
+     *       "value": "KEY"
      *     }],
-     *     "essential": true,
-     *     "image": "mongo:latest",
-     *     "memory": 128,
-     *     "memoryReservation": 64,
-     *     "name": "mongodb"
+     *     "essential": true,
+     *     "image": "mongo:latest",
+     *     "memory": 128,
+     *     "memoryReservation": 64,
+     *     "name": "mongodb"
      *   }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *         // Simply specify the family to find the latest ACTIVE revision in that family.
@@ -822,20 +853,21 @@ public static Output getTaskDefinition(GetTaskDefinitio
      *             .taskDefinition(mongoTaskDefinition.family())
      *             .build());
      * 
-     *         var foo = new Cluster("foo", ClusterArgs.builder()        
-     *             .name("foo")
+     *         var foo = new Cluster("foo", ClusterArgs.builder()        
+     *             .name("foo")
      *             .build());
      * 
-     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
-     *             .name("mongo")
+     *         var mongoService = new Service("mongoService", ServiceArgs.builder()        
+     *             .name("mongo")
      *             .cluster(foo.id())
      *             .desiredCount(2)
-     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
+     *             .taskDefinition(mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult).applyValue(mongo -> mongo.applyValue(getTaskDefinitionResult -> getTaskDefinitionResult.arn())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -852,7 +884,8 @@ public static CompletableFuture getTaskDefinitionPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -878,9 +911,9 @@ public static CompletableFuture getTaskDefinitionPlain(
      *             .cluster(exampleAwsEcsCluster.id())
      *             .taskDefinition(exampleAwsEcsTaskDefinition.arn())
      *             .desiredCount(1)
-     *             .launchType("FARGATE")
+     *             .launchType("FARGATE")
      *             .networkConfiguration(GetTaskExecutionNetworkConfigurationArgs.builder()
-     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
      *                 .securityGroups(exampleAwsSecurityGroup.id())
      *                 .assignPublicIp(false)
      *                 .build())
@@ -888,7 +921,8 @@ public static CompletableFuture getTaskDefinitionPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -905,7 +939,8 @@ public static Output getTaskExecution(GetTaskExecutionAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -931,9 +966,9 @@ public static Output getTaskExecution(GetTaskExecutionAr
      *             .cluster(exampleAwsEcsCluster.id())
      *             .taskDefinition(exampleAwsEcsTaskDefinition.arn())
      *             .desiredCount(1)
-     *             .launchType("FARGATE")
+     *             .launchType("FARGATE")
      *             .networkConfiguration(GetTaskExecutionNetworkConfigurationArgs.builder()
-     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
      *                 .securityGroups(exampleAwsSecurityGroup.id())
      *                 .assignPublicIp(false)
      *                 .build())
@@ -941,7 +976,8 @@ public static Output getTaskExecution(GetTaskExecutionAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -958,7 +994,8 @@ public static CompletableFuture getTaskExecutionPlain(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -984,9 +1021,9 @@ public static CompletableFuture getTaskExecutionPlain(Ge
      *             .cluster(exampleAwsEcsCluster.id())
      *             .taskDefinition(exampleAwsEcsTaskDefinition.arn())
      *             .desiredCount(1)
-     *             .launchType("FARGATE")
+     *             .launchType("FARGATE")
      *             .networkConfiguration(GetTaskExecutionNetworkConfigurationArgs.builder()
-     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
      *                 .securityGroups(exampleAwsSecurityGroup.id())
      *                 .assignPublicIp(false)
      *                 .build())
@@ -994,7 +1031,8 @@ public static CompletableFuture getTaskExecutionPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1011,7 +1049,8 @@ public static Output getTaskExecution(GetTaskExecutionAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1037,9 +1076,9 @@ public static Output getTaskExecution(GetTaskExecutionAr
      *             .cluster(exampleAwsEcsCluster.id())
      *             .taskDefinition(exampleAwsEcsTaskDefinition.arn())
      *             .desiredCount(1)
-     *             .launchType("FARGATE")
+     *             .launchType("FARGATE")
      *             .networkConfiguration(GetTaskExecutionNetworkConfigurationArgs.builder()
-     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+     *                 .subnets(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
      *                 .securityGroups(exampleAwsSecurityGroup.id())
      *                 .assignPublicIp(false)
      *                 .build())
@@ -1047,7 +1086,8 @@ public static Output getTaskExecution(GetTaskExecutionAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java index 8023fcab2a4..d8ba02852e7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java @@ -38,7 +38,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -63,24 +64,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mongo = new Service("mongo", ServiceArgs.builder()        
- *             .name("mongodb")
+ *         var mongo = new Service("mongo", ServiceArgs.builder()        
+ *             .name("mongodb")
  *             .cluster(fooAwsEcsCluster.id())
  *             .taskDefinition(mongoAwsEcsTaskDefinition.arn())
  *             .desiredCount(3)
  *             .iamRole(fooAwsIamRole.arn())
  *             .orderedPlacementStrategies(ServiceOrderedPlacementStrategyArgs.builder()
- *                 .type("binpack")
- *                 .field("cpu")
+ *                 .type("binpack")
+ *                 .field("cpu")
  *                 .build())
  *             .loadBalancers(ServiceLoadBalancerArgs.builder()
  *                 .targetGroupArn(fooAwsLbTargetGroup.arn())
- *                 .containerName("mongo")
+ *                 .containerName("mongo")
  *                 .containerPort(8080)
  *                 .build())
  *             .placementConstraints(ServicePlacementConstraintArgs.builder()
- *                 .type("memberOf")
- *                 .expression("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]")
+ *                 .type("memberOf")
+ *                 .expression("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(foo)
@@ -88,7 +89,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Ignoring Changes to Desired Count @@ -96,7 +98,8 @@ * You can use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to create an ECS service with an initial count of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,19 +120,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
+ *         var example = new Service("example", ServiceArgs.builder()        
  *             .desiredCount(2)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Daemon Scheduling Strategy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -150,22 +155,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Service("bar", ServiceArgs.builder()        
- *             .name("bar")
+ *         var bar = new Service("bar", ServiceArgs.builder()        
+ *             .name("bar")
  *             .cluster(foo.id())
  *             .taskDefinition(barAwsEcsTaskDefinition.arn())
- *             .schedulingStrategy("DAEMON")
+ *             .schedulingStrategy("DAEMON")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### CloudWatch Deployment Alarms * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -187,8 +194,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example")
  *             .cluster(exampleAwsEcsCluster.id())
  *             .alarms(ServiceAlarmsArgs.builder()
  *                 .enable(true)
@@ -199,13 +206,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### External Deployment Controller * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -227,17 +236,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example")
  *             .cluster(exampleAwsEcsCluster.id())
  *             .deploymentController(ServiceDeploymentControllerArgs.builder()
- *                 .type("EXTERNAL")
+ *                 .type("EXTERNAL")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/Tag.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/Tag.java index baa0c2c0cbf..ec487b2b906 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/Tag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/Tag.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ComputeEnvironment("example", ComputeEnvironmentArgs.builder()        
- *             .computeEnvironmentName("example")
+ *         var example = new ComputeEnvironment("example", ComputeEnvironmentArgs.builder()        
+ *             .computeEnvironmentName("example")
  *             .serviceRole(exampleAwsIamRole.arn())
- *             .type("UNMANAGED")
+ *             .type("UNMANAGED")
  *             .build());
  * 
- *         var exampleTag = new Tag("exampleTag", TagArgs.builder()        
+ *         var exampleTag = new Tag("exampleTag", TagArgs.builder()        
  *             .resourceArn(example.ecsClusterArn())
- *             .key("Name")
- *             .value("Hello World")
+ *             .key("Name")
+ *             .value("Hello World")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskDefinition.java index 4fe5f2b9237..fafc94449f7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskDefinition.java @@ -32,7 +32,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,52 +57,54 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
- *             .family("service")
+ *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
+ *             .family("service")
  *             .containerDefinitions(serializeJson(
  *                 jsonArray(
  *                     jsonObject(
- *                         jsonProperty("name", "first"),
- *                         jsonProperty("image", "service-first"),
- *                         jsonProperty("cpu", 10),
- *                         jsonProperty("memory", 512),
- *                         jsonProperty("essential", true),
- *                         jsonProperty("portMappings", jsonArray(jsonObject(
- *                             jsonProperty("containerPort", 80),
- *                             jsonProperty("hostPort", 80)
+ *                         jsonProperty("name", "first"),
+ *                         jsonProperty("image", "service-first"),
+ *                         jsonProperty("cpu", 10),
+ *                         jsonProperty("memory", 512),
+ *                         jsonProperty("essential", true),
+ *                         jsonProperty("portMappings", jsonArray(jsonObject(
+ *                             jsonProperty("containerPort", 80),
+ *                             jsonProperty("hostPort", 80)
  *                         )))
  *                     ), 
  *                     jsonObject(
- *                         jsonProperty("name", "second"),
- *                         jsonProperty("image", "service-second"),
- *                         jsonProperty("cpu", 10),
- *                         jsonProperty("memory", 256),
- *                         jsonProperty("essential", true),
- *                         jsonProperty("portMappings", jsonArray(jsonObject(
- *                             jsonProperty("containerPort", 443),
- *                             jsonProperty("hostPort", 443)
+ *                         jsonProperty("name", "second"),
+ *                         jsonProperty("image", "service-second"),
+ *                         jsonProperty("cpu", 10),
+ *                         jsonProperty("memory", 256),
+ *                         jsonProperty("essential", true),
+ *                         jsonProperty("portMappings", jsonArray(jsonObject(
+ *                             jsonProperty("containerPort", 443),
+ *                             jsonProperty("hostPort", 443)
  *                         )))
  *                     )
  *                 )))
  *             .volumes(TaskDefinitionVolumeArgs.builder()
- *                 .name("service-storage")
- *                 .hostPath("/ecs/service-storage")
+ *                 .name("service-storage")
+ *                 .hostPath("/ecs/service-storage")
  *                 .build())
  *             .placementConstraints(TaskDefinitionPlacementConstraintArgs.builder()
- *                 .type("memberOf")
- *                 .expression("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]")
+ *                 .type("memberOf")
+ *                 .expression("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With AppMesh Proxy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,33 +126,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
- *             .family("service")
+ *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
+ *             .family("service")
  *             .containerDefinitions(StdFunctions.file(FileArgs.builder()
- *                 .input("task-definitions/service.json")
+ *                 .input("task-definitions/service.json")
  *                 .build()).result())
  *             .proxyConfiguration(TaskDefinitionProxyConfigurationArgs.builder()
- *                 .type("APPMESH")
- *                 .containerName("applicationContainerName")
+ *                 .type("APPMESH")
+ *                 .containerName("applicationContainerName")
  *                 .properties(Map.ofEntries(
- *                     Map.entry("AppPorts", "8080"),
- *                     Map.entry("EgressIgnoredIPs", "169.254.170.2,169.254.169.254"),
- *                     Map.entry("IgnoredUID", "1337"),
- *                     Map.entry("ProxyEgressPort", 15001),
- *                     Map.entry("ProxyIngressPort", 15000)
+ *                     Map.entry("AppPorts", "8080"),
+ *                     Map.entry("EgressIgnoredIPs", "169.254.170.2,169.254.169.254"),
+ *                     Map.entry("IgnoredUID", "1337"),
+ *                     Map.entry("ProxyEgressPort", 15001),
+ *                     Map.entry("ProxyIngressPort", 15000)
  *                 ))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Using `docker_volume_configuration` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -172,21 +177,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
- *             .family("service")
+ *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
+ *             .family("service")
  *             .containerDefinitions(StdFunctions.file(FileArgs.builder()
- *                 .input("task-definitions/service.json")
+ *                 .input("task-definitions/service.json")
  *                 .build()).result())
  *             .volumes(TaskDefinitionVolumeArgs.builder()
- *                 .name("service-storage")
+ *                 .name("service-storage")
  *                 .dockerVolumeConfiguration(TaskDefinitionVolumeDockerVolumeConfigurationArgs.builder()
- *                     .scope("shared")
+ *                     .scope("shared")
  *                     .autoprovision(true)
- *                     .driver("local")
+ *                     .driver("local")
  *                     .driverOpts(Map.ofEntries(
- *                         Map.entry("type", "nfs"),
- *                         Map.entry("device", String.format("%s:/", fs.dnsName())),
- *                         Map.entry("o", String.format("addr=%s,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport", fs.dnsName()))
+ *                         Map.entry("type", "nfs"),
+ *                         Map.entry("device", String.format("%s:/", fs.dnsName())),
+ *                         Map.entry("o", String.format("addr=%s,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport", fs.dnsName()))
  *                     ))
  *                     .build())
  *                 .build())
@@ -194,13 +199,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Using `efs_volume_configuration` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -224,21 +231,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
- *             .family("service")
+ *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
+ *             .family("service")
  *             .containerDefinitions(StdFunctions.file(FileArgs.builder()
- *                 .input("task-definitions/service.json")
+ *                 .input("task-definitions/service.json")
  *                 .build()).result())
  *             .volumes(TaskDefinitionVolumeArgs.builder()
- *                 .name("service-storage")
+ *                 .name("service-storage")
  *                 .efsVolumeConfiguration(TaskDefinitionVolumeEfsVolumeConfigurationArgs.builder()
  *                     .fileSystemId(fs.id())
- *                     .rootDirectory("/opt/data")
- *                     .transitEncryption("ENABLED")
+ *                     .rootDirectory("/opt/data")
+ *                     .transitEncryption("ENABLED")
  *                     .transitEncryptionPort(2999)
  *                     .authorizationConfig(TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs.builder()
  *                         .accessPointId(test.id())
- *                         .iam("ENABLED")
+ *                         .iam("ENABLED")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -246,13 +253,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Using `fsx_windows_file_server_volume_configuration` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -279,25 +288,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new SecretVersion("test", SecretVersionArgs.builder()        
+ *         var test = new SecretVersion("test", SecretVersionArgs.builder()        
  *             .secretId(testAwsSecretsmanagerSecret.id())
  *             .secretString(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("username", "admin"),
- *                     jsonProperty("password", testAwsDirectoryServiceDirectory.password())
+ *                     jsonProperty("username", "admin"),
+ *                     jsonProperty("password", testAwsDirectoryServiceDirectory.password())
  *                 )))
  *             .build());
  * 
- *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
- *             .family("service")
+ *         var service = new TaskDefinition("service", TaskDefinitionArgs.builder()        
+ *             .family("service")
  *             .containerDefinitions(StdFunctions.file(FileArgs.builder()
- *                 .input("task-definitions/service.json")
+ *                 .input("task-definitions/service.json")
  *                 .build()).result())
  *             .volumes(TaskDefinitionVolumeArgs.builder()
- *                 .name("service-storage")
+ *                 .name("service-storage")
  *                 .fsxWindowsFileServerVolumeConfiguration(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs.builder()
  *                     .fileSystemId(testAwsFsxWindowsFileSystem.id())
- *                     .rootDirectory("\\data")
+ *                     .rootDirectory("\\data")
  *                     .authorizationConfig(TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs.builder()
  *                         .credentialsParameter(test.arn())
  *                         .domain(testAwsDirectoryServiceDirectory.name())
@@ -308,13 +317,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Using `container_definitions` and `inference_accelerator` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -336,51 +347,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new TaskDefinition("test", TaskDefinitionArgs.builder()        
- *             .family("test")
- *             .containerDefinitions("""
+ *         var test = new TaskDefinition("test", TaskDefinitionArgs.builder()        
+ *             .family("test")
+ *             .containerDefinitions("""
  * [
  *   {
- *     "cpu": 10,
- *     "command": ["sleep", "10"],
- *     "entryPoint": ["/"],
- *     "environment": [
- *       {"name": "VARNAME", "value": "VARVAL"}
+ *     "cpu": 10,
+ *     "command": ["sleep", "10"],
+ *     "entryPoint": ["/"],
+ *     "environment": [
+ *       {"name": "VARNAME", "value": "VARVAL"}
  *     ],
- *     "essential": true,
- *     "image": "jenkins",
- *     "memory": 128,
- *     "name": "jenkins",
- *     "portMappings": [
+ *     "essential": true,
+ *     "image": "jenkins",
+ *     "memory": 128,
+ *     "name": "jenkins",
+ *     "portMappings": [
  *       {
- *         "containerPort": 80,
- *         "hostPort": 8080
+ *         "containerPort": 80,
+ *         "hostPort": 8080
  *       }
  *     ],
- *         "resourceRequirements":[
+ *         "resourceRequirements":[
  *             {
- *                 "type":"InferenceAccelerator",
- *                 "value":"device_1"
+ *                 "type":"InferenceAccelerator",
+ *                 "value":"device_1"
  *             }
  *         ]
  *   }
  * ]
- *             """)
+ *             """)
  *             .inferenceAccelerators(TaskDefinitionInferenceAcceleratorArgs.builder()
- *                 .deviceName("device_1")
- *                 .deviceType("eia1.medium")
+ *                 .deviceName("device_1")
+ *                 .deviceType("eia1.medium")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Using `runtime_platform` and `fargate` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -402,32 +415,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new TaskDefinition("test", TaskDefinitionArgs.builder()        
- *             .family("test")
- *             .requiresCompatibilities("FARGATE")
- *             .networkMode("awsvpc")
+ *         var test = new TaskDefinition("test", TaskDefinitionArgs.builder()        
+ *             .family("test")
+ *             .requiresCompatibilities("FARGATE")
+ *             .networkMode("awsvpc")
  *             .cpu(1024)
  *             .memory(2048)
- *             .containerDefinitions("""
+ *             .containerDefinitions("""
  * [
  *   {
- *     "name": "iis",
- *     "image": "mcr.microsoft.com/windows/servercore/iis",
- *     "cpu": 1024,
- *     "memory": 2048,
- *     "essential": true
+ *     "name": "iis",
+ *     "image": "mcr.microsoft.com/windows/servercore/iis",
+ *     "cpu": 1024,
+ *     "memory": 2048,
+ *     "essential": true
  *   }
  * ]
- *             """)
+ *             """)
  *             .runtimePlatform(TaskDefinitionRuntimePlatformArgs.builder()
- *                 .operatingSystemFamily("WINDOWS_SERVER_2019_CORE")
- *                 .cpuArchitecture("X86_64")
+ *                 .operatingSystemFamily("WINDOWS_SERVER_2019_CORE")
+ *                 .cpuArchitecture("X86_64")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskSet.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskSet.java index 6c80e3b2337..9853e955ff5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/TaskSet.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,20 +53,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TaskSet("example", TaskSetArgs.builder()        
+ *         var example = new TaskSet("example", TaskSetArgs.builder()        
  *             .service(exampleAwsEcsService.id())
  *             .cluster(exampleAwsEcsCluster.id())
  *             .taskDefinition(exampleAwsEcsTaskDefinition.arn())
  *             .loadBalancers(TaskSetLoadBalancerArgs.builder()
  *                 .targetGroupArn(exampleAwsLbTargetGroup.arn())
- *                 .containerName("mongo")
+ *                 .containerName("mongo")
  *                 .containerPort(8080)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Ignoring Changes to Scale @@ -73,7 +75,8 @@ * You can utilize the generic resource lifecycle configuration block with `ignore_changes` to create an ECS service with an initial count of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -95,7 +98,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TaskSet("example", TaskSetArgs.builder()        
+ *         var example = new TaskSet("example", TaskSetArgs.builder()        
  *             .scale(TaskSetScaleArgs.builder()
  *                 .value(50)
  *                 .build())
@@ -103,7 +106,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/AccessPoint.java b/sdk/java/src/main/java/com/pulumi/aws/efs/AccessPoint.java index 67a6604b398..bb57cc7397f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/AccessPoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/AccessPoint.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AccessPoint("test", AccessPointArgs.builder()        
+ *         var test = new AccessPoint("test", AccessPointArgs.builder()        
  *             .fileSystemId(foo.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/BackupPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/efs/BackupPolicy.java index ffb621b9547..a439770e7b1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/BackupPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/BackupPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fs = new FileSystem("fs", FileSystemArgs.builder()        
- *             .creationToken("my-product")
+ *         var fs = new FileSystem("fs", FileSystemArgs.builder()        
+ *             .creationToken("my-product")
  *             .build());
  * 
- *         var policy = new BackupPolicy("policy", BackupPolicyArgs.builder()        
+ *         var policy = new BackupPolicy("policy", BackupPolicyArgs.builder()        
  *             .fileSystemId(fs.id())
  *             .backupPolicy(BackupPolicyBackupPolicyArgs.builder()
- *                 .status("ENABLED")
+ *                 .status("ENABLED")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/EfsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/efs/EfsFunctions.java index 63d3c70d7d1..c41a6e5e192 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/EfsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/EfsFunctions.java @@ -29,7 +29,8 @@ public final class EfsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,12 +52,13 @@ public final class EfsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoint(GetAccessPointArgs.builder()
-     *             .accessPointId("fsap-12345678")
+     *             .accessPointId("fsap-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getAccessPoint(GetAccessPointArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,12 +94,13 @@ public static Output getAccessPoint(GetAccessPointArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoint(GetAccessPointArgs.builder()
-     *             .accessPointId("fsap-12345678")
+     *             .accessPointId("fsap-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getAccessPointPlain(GetAcc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getAccessPointPlain(GetAcc
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoint(GetAccessPointArgs.builder()
-     *             .accessPointId("fsap-12345678")
+     *             .accessPointId("fsap-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +155,8 @@ public static Output getAccessPoint(GetAccessPointArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,12 +178,13 @@ public static Output getAccessPoint(GetAccessPointArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoint(GetAccessPointArgs.builder()
-     *             .accessPointId("fsap-12345678")
+     *             .accessPointId("fsap-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -189,7 +197,8 @@ public static CompletableFuture getAccessPointPlain(GetAcc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -211,12 +220,13 @@ public static CompletableFuture getAccessPointPlain(GetAcc
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoints(GetAccessPointsArgs.builder()
-     *             .fileSystemId("fs-12345678")
+     *             .fileSystemId("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -229,7 +239,8 @@ public static Output getAccessPoints(GetAccessPointsArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,12 +262,13 @@ public static Output getAccessPoints(GetAccessPointsArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoints(GetAccessPointsArgs.builder()
-     *             .fileSystemId("fs-12345678")
+     *             .fileSystemId("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -269,7 +281,8 @@ public static CompletableFuture getAccessPointsPlain(GetA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -291,12 +304,13 @@ public static CompletableFuture getAccessPointsPlain(GetA
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoints(GetAccessPointsArgs.builder()
-     *             .fileSystemId("fs-12345678")
+     *             .fileSystemId("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -309,7 +323,8 @@ public static Output getAccessPoints(GetAccessPointsArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -331,12 +346,13 @@ public static Output getAccessPoints(GetAccessPointsArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = EfsFunctions.getAccessPoints(GetAccessPointsArgs.builder()
-     *             .fileSystemId("fs-12345678")
+     *             .fileSystemId("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -349,7 +365,8 @@ public static CompletableFuture getAccessPointsPlain(GetA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -371,18 +388,19 @@ public static CompletableFuture getAccessPointsPlain(GetA
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var fileSystemId = config.get("fileSystemId").orElse("");
+     *         final var fileSystemId = config.get("fileSystemId").orElse("");
      *         final var byId = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
      *             .fileSystemId(fileSystemId)
      *             .build());
      * 
      *         final var byTag = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
-     *             .tags(Map.of("Environment", "dev"))
+     *             .tags(Map.of("Environment", "dev"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -395,7 +413,8 @@ public static Output getFileSystem() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -417,18 +436,19 @@ public static Output getFileSystem() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var fileSystemId = config.get("fileSystemId").orElse("");
+     *         final var fileSystemId = config.get("fileSystemId").orElse("");
      *         final var byId = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
      *             .fileSystemId(fileSystemId)
      *             .build());
      * 
      *         final var byTag = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
-     *             .tags(Map.of("Environment", "dev"))
+     *             .tags(Map.of("Environment", "dev"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -441,7 +461,8 @@ public static CompletableFuture getFileSystemPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -463,18 +484,19 @@ public static CompletableFuture getFileSystemPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var fileSystemId = config.get("fileSystemId").orElse("");
+     *         final var fileSystemId = config.get("fileSystemId").orElse("");
      *         final var byId = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
      *             .fileSystemId(fileSystemId)
      *             .build());
      * 
      *         final var byTag = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
-     *             .tags(Map.of("Environment", "dev"))
+     *             .tags(Map.of("Environment", "dev"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -487,7 +509,8 @@ public static Output getFileSystem(GetFileSystemArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -509,18 +532,19 @@ public static Output getFileSystem(GetFileSystemArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var fileSystemId = config.get("fileSystemId").orElse("");
+     *         final var fileSystemId = config.get("fileSystemId").orElse("");
      *         final var byId = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
      *             .fileSystemId(fileSystemId)
      *             .build());
      * 
      *         final var byTag = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
-     *             .tags(Map.of("Environment", "dev"))
+     *             .tags(Map.of("Environment", "dev"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -533,7 +557,8 @@ public static CompletableFuture getFileSystemPlain(GetFileS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -555,18 +580,19 @@ public static CompletableFuture getFileSystemPlain(GetFileS
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var fileSystemId = config.get("fileSystemId").orElse("");
+     *         final var fileSystemId = config.get("fileSystemId").orElse("");
      *         final var byId = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
      *             .fileSystemId(fileSystemId)
      *             .build());
      * 
      *         final var byTag = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
-     *             .tags(Map.of("Environment", "dev"))
+     *             .tags(Map.of("Environment", "dev"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -579,7 +605,8 @@ public static Output getFileSystem(GetFileSystemArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -601,18 +628,19 @@ public static Output getFileSystem(GetFileSystemArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var fileSystemId = config.get("fileSystemId").orElse("");
+     *         final var fileSystemId = config.get("fileSystemId").orElse("");
      *         final var byId = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
      *             .fileSystemId(fileSystemId)
      *             .build());
      * 
      *         final var byTag = EfsFunctions.getFileSystem(GetFileSystemArgs.builder()
-     *             .tags(Map.of("Environment", "dev"))
+     *             .tags(Map.of("Environment", "dev"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -625,7 +653,8 @@ public static CompletableFuture getFileSystemPlain(GetFileS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -647,14 +676,15 @@ public static CompletableFuture getFileSystemPlain(GetFileS
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var mountTargetId = config.get("mountTargetId").orElse("");
+     *         final var mountTargetId = config.get("mountTargetId").orElse("");
      *         final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
      *             .mountTargetId(mountTargetId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -667,7 +697,8 @@ public static Output getMountTarget() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -689,14 +720,15 @@ public static Output getMountTarget() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var mountTargetId = config.get("mountTargetId").orElse("");
+     *         final var mountTargetId = config.get("mountTargetId").orElse("");
      *         final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
      *             .mountTargetId(mountTargetId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -709,7 +741,8 @@ public static CompletableFuture getMountTargetPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -731,14 +764,15 @@ public static CompletableFuture getMountTargetPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var mountTargetId = config.get("mountTargetId").orElse("");
+     *         final var mountTargetId = config.get("mountTargetId").orElse("");
      *         final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
      *             .mountTargetId(mountTargetId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -751,7 +785,8 @@ public static Output getMountTarget(GetMountTargetArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -773,14 +808,15 @@ public static Output getMountTarget(GetMountTargetArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var mountTargetId = config.get("mountTargetId").orElse("");
+     *         final var mountTargetId = config.get("mountTargetId").orElse("");
      *         final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
      *             .mountTargetId(mountTargetId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -793,7 +829,8 @@ public static CompletableFuture getMountTargetPlain(GetMou * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -815,14 +852,15 @@ public static CompletableFuture getMountTargetPlain(GetMou
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var mountTargetId = config.get("mountTargetId").orElse("");
+     *         final var mountTargetId = config.get("mountTargetId").orElse("");
      *         final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
      *             .mountTargetId(mountTargetId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -835,7 +873,8 @@ public static Output getMountTarget(GetMountTargetArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -857,14 +896,15 @@ public static Output getMountTarget(GetMountTargetArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var mountTargetId = config.get("mountTargetId").orElse("");
+     *         final var mountTargetId = config.get("mountTargetId").orElse("");
      *         final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
      *             .mountTargetId(mountTargetId)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystem.java index 9b4552847c4..29dc8b690da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystem.java @@ -30,7 +30,8 @@ * ### EFS File System w/ tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,20 +52,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new FileSystem("foo", FileSystemArgs.builder()        
- *             .creationToken("my-product")
- *             .tags(Map.of("Name", "MyProduct"))
+ *         var foo = new FileSystem("foo", FileSystemArgs.builder()        
+ *             .creationToken("my-product")
+ *             .tags(Map.of("Name", "MyProduct"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using lifecycle policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,16 +89,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fooWithLifecylePolicy = new FileSystem("fooWithLifecylePolicy", FileSystemArgs.builder()        
- *             .creationToken("my-product")
+ *         var fooWithLifecylePolicy = new FileSystem("fooWithLifecylePolicy", FileSystemArgs.builder()        
+ *             .creationToken("my-product")
  *             .lifecyclePolicies(FileSystemLifecyclePolicyArgs.builder()
- *                 .transitionToIa("AFTER_30_DAYS")
+ *                 .transitionToIa("AFTER_30_DAYS")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystemPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystemPolicy.java index a4efc619f08..02c222d9142 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystemPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/FileSystemPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,38 +47,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fs = new FileSystem("fs", FileSystemArgs.builder()        
- *             .creationToken("my-product")
+ *         var fs = new FileSystem("fs", FileSystemArgs.builder()        
+ *             .creationToken("my-product")
  *             .build());
  * 
  *         final var policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("ExampleStatement01")
- *                 .effect("Allow")
+ *                 .sid("ExampleStatement01")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("*")
+ *                     .type("AWS")
+ *                     .identifiers("*")
  *                     .build())
  *                 .actions(                
- *                     "elasticfilesystem:ClientMount",
- *                     "elasticfilesystem:ClientWrite")
+ *                     "elasticfilesystem:ClientMount",
+ *                     "elasticfilesystem:ClientWrite")
  *                 .resources(fs.arn())
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("Bool")
- *                     .variable("aws:SecureTransport")
- *                     .values("true")
+ *                     .test("Bool")
+ *                     .variable("aws:SecureTransport")
+ *                     .values("true")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var policyFileSystemPolicy = new FileSystemPolicy("policyFileSystemPolicy", FileSystemPolicyArgs.builder()        
+ *         var policyFileSystemPolicy = new FileSystemPolicy("policyFileSystemPolicy", FileSystemPolicyArgs.builder()        
  *             .fileSystemId(fs.id())
- *             .policy(policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(policy -> policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(policy -> policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/MountTarget.java b/sdk/java/src/main/java/com/pulumi/aws/efs/MountTarget.java index 15dec622a2f..a480e6a4ce8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/MountTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/MountTarget.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,24 +46,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Vpc("foo", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var foo = new Vpc("foo", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var alphaSubnet = new Subnet("alphaSubnet", SubnetArgs.builder()        
+ *         var alphaSubnet = new Subnet("alphaSubnet", SubnetArgs.builder()        
  *             .vpcId(foo.id())
- *             .availabilityZone("us-west-2a")
- *             .cidrBlock("10.0.1.0/24")
+ *             .availabilityZone("us-west-2a")
+ *             .cidrBlock("10.0.1.0/24")
  *             .build());
  * 
- *         var alpha = new MountTarget("alpha", MountTargetArgs.builder()        
+ *         var alpha = new MountTarget("alpha", MountTargetArgs.builder()        
  *             .fileSystemId(fooAwsEfsFileSystem.id())
  *             .subnetId(alphaSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/efs/ReplicationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/efs/ReplicationConfiguration.java index 882ddc6b9b4..f3236c579d3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/efs/ReplicationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/efs/ReplicationConfiguration.java @@ -24,7 +24,8 @@ * Will create a replica using regional storage in us-west-2 that will be encrypted by the default EFS KMS key `/aws/elasticfilesystem`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,24 +48,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FileSystem("example");
+ *         var example = new FileSystem("example");
  * 
- *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
+ *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
  *             .sourceFileSystemId(example.id())
  *             .destination(ReplicationConfigurationDestinationArgs.builder()
- *                 .region("us-west-2")
+ *                 .region("us-west-2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Replica will be created as One Zone storage in the us-west-2b Availability Zone and encrypted with the specified KMS key. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,25 +90,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FileSystem("example");
+ *         var example = new FileSystem("example");
  * 
- *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
+ *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
  *             .sourceFileSystemId(example.id())
  *             .destination(ReplicationConfigurationDestinationArgs.builder()
- *                 .availabilityZoneName("us-west-2b")
- *                 .kmsKeyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+ *                 .availabilityZoneName("us-west-2b")
+ *                 .kmsKeyId("1234abcd-12ab-34cd-56ef-1234567890ab")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Will create a replica and set the existing file system with id `fs-1234567890` in us-west-2 as destination. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -128,19 +133,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FileSystem("example");
+ *         var example = new FileSystem("example");
  * 
- *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
+ *         var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()        
  *             .sourceFileSystemId(example.id())
  *             .destination(ReplicationConfigurationDestinationArgs.builder()
- *                 .fileSystemId("fs-1234567890")
- *                 .region("us-west-2")
+ *                 .fileSystemId("fs-1234567890")
+ *                 .region("us-west-2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/AccessEntry.java b/sdk/java/src/main/java/com/pulumi/aws/eks/AccessEntry.java index 256a7a70827..1b9ebe78e58 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/AccessEntry.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/AccessEntry.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,18 +44,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessEntry("example", AccessEntryArgs.builder()        
+ *         var example = new AccessEntry("example", AccessEntryArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
  *             .principalArn(exampleAwsIamRole.arn())
  *             .kubernetesGroups(            
- *                 "group-1",
- *                 "group-2")
- *             .type("STANDARD")
+ *                 "group-1",
+ *                 "group-2")
+ *             .type("STANDARD")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/AccessPolicyAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/eks/AccessPolicyAssociation.java index bccdd3523af..0802b8f7ee2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/AccessPolicyAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/AccessPolicyAssociation.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,19 +43,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessPolicyAssociation("example", AccessPolicyAssociationArgs.builder()        
+ *         var example = new AccessPolicyAssociation("example", AccessPolicyAssociationArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
- *             .policyArn("arn:aws:eks::aws:cluster-access-policy/AmazonEKSViewPolicy")
+ *             .policyArn("arn:aws:eks::aws:cluster-access-policy/AmazonEKSViewPolicy")
  *             .principalArn(exampleAwsIamUser.arn())
  *             .accessScope(AccessPolicyAssociationAccessScopeArgs.builder()
- *                 .type("namespace")
- *                 .namespaces("example-namespace")
+ *                 .type("namespace")
+ *                 .namespaces("example-namespace")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/Addon.java b/sdk/java/src/main/java/com/pulumi/aws/eks/Addon.java index c5bd97afb28..a5a11a73086 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/Addon.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/Addon.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Addon("example", AddonArgs.builder()        
+ *         var example = new Addon("example", AddonArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
- *             .addonName("vpc-cni")
+ *             .addonName("vpc-cni")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example Update add-on usage with resolve_conflicts_on_update and PRESERVE @@ -58,7 +60,8 @@ * `resolve_conflicts_on_update` with `PRESERVE` can be used to retain the config changes applied to the add-on with kubectl while upgrading to a newer version of the add-on. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,16 +82,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Addon("example", AddonArgs.builder()        
+ *         var example = new Addon("example", AddonArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
- *             .addonName("coredns")
- *             .addonVersion("v1.10.1-eksbuild.1")
- *             .resolveConflictsOnUpdate("PRESERVE")
+ *             .addonName("coredns")
+ *             .addonVersion("v1.10.1-eksbuild.1")
+ *             .resolveConflictsOnUpdate("PRESERVE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example add-on usage with custom configuration_values @@ -103,7 +107,8 @@ * Example to create a `coredns` managed addon with custom `configuration_values`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,22 +130,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Addon("example", AddonArgs.builder()        
- *             .clusterName("mycluster")
- *             .addonName("coredns")
- *             .addonVersion("v1.10.1-eksbuild.1")
- *             .resolveConflictsOnCreate("OVERWRITE")
+ *         var example = new Addon("example", AddonArgs.builder()        
+ *             .clusterName("mycluster")
+ *             .addonName("coredns")
+ *             .addonVersion("v1.10.1-eksbuild.1")
+ *             .resolveConflictsOnCreate("OVERWRITE")
  *             .configurationValues(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("replicaCount", 4),
- *                     jsonProperty("resources", jsonObject(
- *                         jsonProperty("limits", jsonObject(
- *                             jsonProperty("cpu", "100m"),
- *                             jsonProperty("memory", "150Mi")
+ *                     jsonProperty("replicaCount", 4),
+ *                     jsonProperty("resources", jsonObject(
+ *                         jsonProperty("limits", jsonObject(
+ *                             jsonProperty("cpu", "100m"),
+ *                             jsonProperty("memory", "150Mi")
  *                         )),
- *                         jsonProperty("requests", jsonObject(
- *                             jsonProperty("cpu", "100m"),
- *                             jsonProperty("memory", "150Mi")
+ *                         jsonProperty("requests", jsonObject(
+ *                             jsonProperty("cpu", "100m"),
+ *                             jsonProperty("memory", "150Mi")
  *                         ))
  *                     ))
  *                 )))
@@ -148,13 +153,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example IAM Role for EKS Addon "vpc-cni" with AWS managed policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -184,47 +191,48 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCluster = new Cluster("exampleCluster");
+ *         var exampleCluster = new Cluster("exampleCluster");
  * 
  *         final var example = TlsFunctions.getCertificate(GetCertificateArgs.builder()
- *             .url(exampleCluster.identities().applyValue(identities -> identities[0].oidcs()[0].issuer()))
+ *             .url(exampleCluster.identities().applyValue(identities -> identities[0].oidcs()[0].issuer()))
  *             .build());
  * 
- *         var exampleOpenIdConnectProvider = new OpenIdConnectProvider("exampleOpenIdConnectProvider", OpenIdConnectProviderArgs.builder()        
- *             .clientIdLists("sts.amazonaws.com")
- *             .thumbprintLists(example.applyValue(getCertificateResult -> getCertificateResult).applyValue(example -> example.applyValue(getCertificateResult -> getCertificateResult.certificates()[0].sha1Fingerprint())))
- *             .url(exampleCluster.identities().applyValue(identities -> identities[0].oidcs()[0].issuer()))
+ *         var exampleOpenIdConnectProvider = new OpenIdConnectProvider("exampleOpenIdConnectProvider", OpenIdConnectProviderArgs.builder()        
+ *             .clientIdLists("sts.amazonaws.com")
+ *             .thumbprintLists(example.applyValue(getCertificateResult -> getCertificateResult).applyValue(example -> example.applyValue(getCertificateResult -> getCertificateResult.certificates()[0].sha1Fingerprint())))
+ *             .url(exampleCluster.identities().applyValue(identities -> identities[0].oidcs()[0].issuer()))
  *             .build());
  * 
  *         final var exampleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRoleWithWebIdentity")
- *                 .effect("Allow")
+ *                 .actions("sts:AssumeRoleWithWebIdentity")
+ *                 .effect("Allow")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("StringEquals")
- *                     .variable(StdFunctions.replace().applyValue(invoke -> String.format("%s:sub", invoke.result())))
- *                     .values("system:serviceaccount:kube-system:aws-node")
+ *                     .test("StringEquals")
+ *                     .variable(StdFunctions.replace().applyValue(invoke -> String.format("%s:sub", invoke.result())))
+ *                     .values("system:serviceaccount:kube-system:aws-node")
  *                     .build())
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
  *                     .identifiers(exampleOpenIdConnectProvider.arn())
- *                     .type("Federated")
+ *                     .type("Federated")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .assumeRolePolicy(exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(exampleAssumeRolePolicy -> exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
- *             .name("example-vpc-cni-role")
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .assumeRolePolicy(exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(exampleAssumeRolePolicy -> exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .name("example-vpc-cni-role")
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy")
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy")
  *             .role(exampleRole.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/eks/Cluster.java index baf8dfd8408..8cc69fe3d72 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/Cluster.java @@ -31,7 +31,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,8 +55,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .name("example")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .name("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .vpcConfig(ClusterVpcConfigArgs.builder()
  *                 .subnetIds(                
@@ -68,17 +69,19 @@
  *                     example_AmazonEKSVPCResourceController)
  *                 .build());
  * 
- *         ctx.export("endpoint", example.endpoint());
- *         ctx.export("kubeconfig-certificate-authority-data", example.certificateAuthority().applyValue(certificateAuthority -> certificateAuthority.data()));
+ *         ctx.export("endpoint", example.endpoint());
+ *         ctx.export("kubeconfig-certificate-authority-data", example.certificateAuthority().applyValue(certificateAuthority -> certificateAuthority.data()));
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example IAM Role for EKS Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -105,35 +108,36 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("eks.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("eks.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("eks-cluster-example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("eks-cluster-example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var example_AmazonEKSClusterPolicy = new RolePolicyAttachment("example-AmazonEKSClusterPolicy", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSClusterPolicy")
+ *         var example_AmazonEKSClusterPolicy = new RolePolicyAttachment("example-AmazonEKSClusterPolicy", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSClusterPolicy")
  *             .role(example.name())
  *             .build());
  * 
  *         // Optionally, enable Security Groups for Pods
  *         // Reference: https://docs.aws.amazon.com/eks/latest/userguide/security-groups-for-pods.html
- *         var example_AmazonEKSVPCResourceController = new RolePolicyAttachment("example-AmazonEKSVPCResourceController", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSVPCResourceController")
+ *         var example_AmazonEKSVPCResourceController = new RolePolicyAttachment("example-AmazonEKSVPCResourceController", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSVPCResourceController")
  *             .role(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enabling Control Plane Logging @@ -143,7 +147,8 @@ * > The below configuration uses [`dependsOn`](https://www.pulumi.com/docs/intro/concepts/programming-model/#dependson) to prevent ordering issues with EKS automatically creating the log group first and a variable for naming consistency. Other ordering and naming methodologies may be more appropriate for your environment. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -168,16 +173,16 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var clusterName = config.get("clusterName").orElse("example");
- *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
- *             .name(String.format("/aws/eks/%s/cluster", clusterName))
+ *         final var clusterName = config.get("clusterName").orElse("example");
+ *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
+ *             .name(String.format("/aws/eks/%s/cluster", clusterName))
  *             .retentionInDays(7)
  *             .build());
  * 
- *         var example = new Cluster("example", ClusterArgs.builder()        
+ *         var example = new Cluster("example", ClusterArgs.builder()        
  *             .enabledClusterLogTypes(            
- *                 "api",
- *                 "audit")
+ *                 "api",
+ *                 "audit")
  *             .name(clusterName)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleLogGroup)
@@ -185,7 +190,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enabling IAM Roles for Service Accounts @@ -193,7 +199,8 @@ * Only available on Kubernetes version 1.13 and 1.14 clusters created or upgraded on or after September 3, 2019. For more information about this feature, see the [EKS User Guide](https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -221,42 +228,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCluster = new Cluster("exampleCluster");
+ *         var exampleCluster = new Cluster("exampleCluster");
  * 
  *         final var example = TlsFunctions.getCertificate(GetCertificateArgs.builder()
- *             .url(exampleCluster.identities().applyValue(identities -> identities[0].oidcs()[0].issuer()))
+ *             .url(exampleCluster.identities().applyValue(identities -> identities[0].oidcs()[0].issuer()))
  *             .build());
  * 
- *         var exampleOpenIdConnectProvider = new OpenIdConnectProvider("exampleOpenIdConnectProvider", OpenIdConnectProviderArgs.builder()        
- *             .clientIdLists("sts.amazonaws.com")
- *             .thumbprintLists(example.applyValue(getCertificateResult -> getCertificateResult).applyValue(example -> example.applyValue(getCertificateResult -> getCertificateResult.certificates()[0].sha1Fingerprint())))
- *             .url(example.applyValue(getCertificateResult -> getCertificateResult).applyValue(example -> example.applyValue(getCertificateResult -> getCertificateResult.url())))
+ *         var exampleOpenIdConnectProvider = new OpenIdConnectProvider("exampleOpenIdConnectProvider", OpenIdConnectProviderArgs.builder()        
+ *             .clientIdLists("sts.amazonaws.com")
+ *             .thumbprintLists(example.applyValue(getCertificateResult -> getCertificateResult).applyValue(example -> example.applyValue(getCertificateResult -> getCertificateResult.certificates()[0].sha1Fingerprint())))
+ *             .url(example.applyValue(getCertificateResult -> getCertificateResult).applyValue(example -> example.applyValue(getCertificateResult -> getCertificateResult.url())))
  *             .build());
  * 
  *         final var exampleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRoleWithWebIdentity")
- *                 .effect("Allow")
+ *                 .actions("sts:AssumeRoleWithWebIdentity")
+ *                 .effect("Allow")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("StringEquals")
- *                     .variable(StdFunctions.replace().applyValue(invoke -> String.format("%s:sub", invoke.result())))
- *                     .values("system:serviceaccount:kube-system:aws-node")
+ *                     .test("StringEquals")
+ *                     .variable(StdFunctions.replace().applyValue(invoke -> String.format("%s:sub", invoke.result())))
+ *                     .values("system:serviceaccount:kube-system:aws-node")
  *                     .build())
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
  *                     .identifiers(exampleOpenIdConnectProvider.arn())
- *                     .type("Federated")
+ *                     .type("Federated")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .assumeRolePolicy(exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(exampleAssumeRolePolicy -> exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
- *             .name("example")
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .assumeRolePolicy(exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(exampleAssumeRolePolicy -> exampleAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### EKS Cluster on AWS Outpost @@ -264,7 +272,8 @@ * [Creating a local Amazon EKS cluster on an AWS Outpost](https://docs.aws.amazon.com/eks/latest/userguide/create-cluster-outpost.html) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -289,33 +298,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
+ *         var example = new Role("example", RoleArgs.builder()        
  *             .assumeRolePolicy(exampleAssumeRolePolicy.json())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
- *             .name("example-cluster")
+ *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
+ *             .name("example-cluster")
  *             .roleArn(example.arn())
  *             .vpcConfig(ClusterVpcConfigArgs.builder()
  *                 .endpointPrivateAccess(true)
  *                 .endpointPublicAccess(false)
  *                 .build())
  *             .outpostConfig(ClusterOutpostConfigArgs.builder()
- *                 .controlPlaneInstanceType("m5d.large")
+ *                 .controlPlaneInstanceType("m5d.large")
  *                 .outpostArns(exampleAwsOutpostsOutpost.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### EKS Cluster with Access Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -340,27 +351,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
+ *         var example = new Role("example", RoleArgs.builder()        
  *             .assumeRolePolicy(exampleAssumeRolePolicy.json())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
- *             .name("example-cluster")
+ *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
+ *             .name("example-cluster")
  *             .roleArn(example.arn())
  *             .vpcConfig(ClusterVpcConfigArgs.builder()
  *                 .endpointPrivateAccess(true)
  *                 .endpointPublicAccess(false)
  *                 .build())
  *             .accessConfig(ClusterAccessConfigArgs.builder()
- *                 .authenticationMode("CONFIG_MAP")
+ *                 .authenticationMode("CONFIG_MAP")
  *                 .bootstrapClusterCreatorAdminPermissions(true)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * After adding inline IAM Policies (e.g., `aws.iam.RolePolicy` resource) or attaching IAM Policies (e.g., `aws.iam.Policy` resource and `aws.iam.RolePolicyAttachment` resource) with the desired permissions to the IAM Role, annotate the Kubernetes service account (e.g., `kubernetes_service_account` resource) and recreate any pods. diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/EksFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/eks/EksFunctions.java index ad51266404e..16f8070d817 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/EksFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/EksFunctions.java @@ -40,7 +40,8 @@ public final class EksFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -66,10 +67,11 @@ public final class EksFunctions {
      *             .principalArn(exampleAwsIamRole.arn())
      *             .build());
      * 
-     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
+     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -82,7 +84,8 @@ public static Output getAccessEntry(GetAccessEntryArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -108,10 +111,11 @@ public static Output getAccessEntry(GetAccessEntryArgs arg
      *             .principalArn(exampleAwsIamRole.arn())
      *             .build());
      * 
-     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
+     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -124,7 +128,8 @@ public static CompletableFuture getAccessEntryPlain(GetAcc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -150,10 +155,11 @@ public static CompletableFuture getAccessEntryPlain(GetAcc
      *             .principalArn(exampleAwsIamRole.arn())
      *             .build());
      * 
-     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
+     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -166,7 +172,8 @@ public static Output getAccessEntry(GetAccessEntryArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -192,10 +199,11 @@ public static Output getAccessEntry(GetAccessEntryArgs arg
      *             .principalArn(exampleAwsIamRole.arn())
      *             .build());
      * 
-     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
+     *         ctx.export("eksAccessEntryOutputs", exampleAwsEksAccessEntry);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -208,7 +216,8 @@ public static CompletableFuture getAccessEntryPlain(GetAcc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -230,14 +239,15 @@ public static CompletableFuture getAccessEntryPlain(GetAcc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getAddon(GetAddonArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .clusterName(exampleAwsEksCluster.name())
      *             .build());
      * 
-     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
+     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -250,7 +260,8 @@ public static Output getAddon(GetAddonArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -272,14 +283,15 @@ public static Output getAddon(GetAddonArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getAddon(GetAddonArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .clusterName(exampleAwsEksCluster.name())
      *             .build());
      * 
-     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
+     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -292,7 +304,8 @@ public static CompletableFuture getAddonPlain(GetAddonPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -314,14 +327,15 @@ public static CompletableFuture getAddonPlain(GetAddonPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getAddon(GetAddonArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .clusterName(exampleAwsEksCluster.name())
      *             .build());
      * 
-     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
+     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -334,7 +348,8 @@ public static Output getAddon(GetAddonArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -356,14 +371,15 @@ public static Output getAddon(GetAddonArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getAddon(GetAddonArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .clusterName(exampleAwsEksCluster.name())
      *             .build());
      * 
-     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
+     *         ctx.export("eksAddonOutputs", exampleAwsEksAddon);
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -376,7 +392,8 @@ public static CompletableFuture getAddonPlain(GetAddonPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -400,27 +417,28 @@ public static CompletableFuture getAddonPlain(GetAddonPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var default = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .build());
      * 
      *         final var latest = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .mostRecent(true)
      *             .build());
      * 
-     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
+     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
      *             .clusterName(example.name())
-     *             .addonName("vpc-cni")
-     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
+     *             .addonName("vpc-cni")
+     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
      *             .build());
      * 
-     *         ctx.export("default", default_.version());
-     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
+     *         ctx.export("default", default_.version());
+     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -433,7 +451,8 @@ public static Output getAddonVersion(GetAddonVersionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -457,27 +476,28 @@ public static Output getAddonVersion(GetAddonVersionArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var default = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .build());
      * 
      *         final var latest = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .mostRecent(true)
      *             .build());
      * 
-     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
+     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
      *             .clusterName(example.name())
-     *             .addonName("vpc-cni")
-     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
+     *             .addonName("vpc-cni")
+     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
      *             .build());
      * 
-     *         ctx.export("default", default_.version());
-     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
+     *         ctx.export("default", default_.version());
+     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -490,7 +510,8 @@ public static CompletableFuture getAddonVersionPlain(GetA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -514,27 +535,28 @@ public static CompletableFuture getAddonVersionPlain(GetA
      * 
      *     public static void stack(Context ctx) {
      *         final var default = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .build());
      * 
      *         final var latest = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .mostRecent(true)
      *             .build());
      * 
-     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
+     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
      *             .clusterName(example.name())
-     *             .addonName("vpc-cni")
-     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
+     *             .addonName("vpc-cni")
+     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
      *             .build());
      * 
-     *         ctx.export("default", default_.version());
-     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
+     *         ctx.export("default", default_.version());
+     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -547,7 +569,8 @@ public static Output getAddonVersion(GetAddonVersionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -571,27 +594,28 @@ public static Output getAddonVersion(GetAddonVersionArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var default = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .build());
      * 
      *         final var latest = EksFunctions.getAddonVersion(GetAddonVersionArgs.builder()
-     *             .addonName("vpc-cni")
+     *             .addonName("vpc-cni")
      *             .kubernetesVersion(example.version())
      *             .mostRecent(true)
      *             .build());
      * 
-     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
+     *         var vpcCni = new Addon("vpcCni", AddonArgs.builder()        
      *             .clusterName(example.name())
-     *             .addonName("vpc-cni")
-     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
+     *             .addonName("vpc-cni")
+     *             .addonVersion(latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()))
      *             .build());
      * 
-     *         ctx.export("default", default_.version());
-     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
+     *         ctx.export("default", default_.version());
+     *         ctx.export("latest", latest.applyValue(getAddonVersionResult -> getAddonVersionResult.version()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -604,7 +628,8 @@ public static CompletableFuture getAddonVersionPlain(GetA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -626,15 +651,16 @@ public static CompletableFuture getAddonVersionPlain(GetA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
-     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
-     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
+     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
+     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
+     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -647,7 +673,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -669,15 +696,16 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
-     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
-     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
+     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
+     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
+     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -690,7 +718,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -712,15 +741,16 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
-     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
-     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
+     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
+     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
+     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -733,7 +763,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -755,15 +786,16 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
-     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
-     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
+     *         ctx.export("endpoint", example.applyValue(getClusterResult -> getClusterResult.endpoint()));
+     *         ctx.export("kubeconfig-certificate-authority-data", example.applyValue(getClusterResult -> getClusterResult.certificateAuthorities()[0].data()));
+     *         ctx.export("identity-oidc-issuer", example.applyValue(getClusterResult -> getClusterResult.identities()[0].oidcs()[0].issuer()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -781,7 +813,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -804,16 +837,17 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *         final var exampleGetClusterAuth = EksFunctions.getClusterAuth(GetClusterAuthArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -831,7 +865,8 @@ public static Output getClusterAuth(GetClusterAuthArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -854,16 +889,17 @@ public static Output getClusterAuth(GetClusterAuthArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *         final var exampleGetClusterAuth = EksFunctions.getClusterAuth(GetClusterAuthArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -881,7 +917,8 @@ public static CompletableFuture getClusterAuthPlain(GetClu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -904,16 +941,17 @@ public static CompletableFuture getClusterAuthPlain(GetClu
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *         final var exampleGetClusterAuth = EksFunctions.getClusterAuth(GetClusterAuthArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -931,7 +969,8 @@ public static Output getClusterAuth(GetClusterAuthArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -954,16 +993,17 @@ public static Output getClusterAuth(GetClusterAuthArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *         final var exampleGetClusterAuth = EksFunctions.getClusterAuth(GetClusterAuthArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1018,7 +1058,8 @@ public static CompletableFuture getClustersPlain(InvokeArgs a * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1040,13 +1081,14 @@ public static CompletableFuture getClustersPlain(InvokeArgs a
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getNodeGroup(GetNodeGroupArgs.builder()
-     *             .clusterName("example")
-     *             .nodeGroupName("example")
+     *             .clusterName("example")
+     *             .nodeGroupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1059,7 +1101,8 @@ public static Output getNodeGroup(GetNodeGroupArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1081,13 +1124,14 @@ public static Output getNodeGroup(GetNodeGroupArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getNodeGroup(GetNodeGroupArgs.builder()
-     *             .clusterName("example")
-     *             .nodeGroupName("example")
+     *             .clusterName("example")
+     *             .nodeGroupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1100,7 +1144,8 @@ public static CompletableFuture getNodeGroupPlain(GetNodeGro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1122,13 +1167,14 @@ public static CompletableFuture getNodeGroupPlain(GetNodeGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getNodeGroup(GetNodeGroupArgs.builder()
-     *             .clusterName("example")
-     *             .nodeGroupName("example")
+     *             .clusterName("example")
+     *             .nodeGroupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1141,7 +1187,8 @@ public static Output getNodeGroup(GetNodeGroupArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1163,13 +1210,14 @@ public static Output getNodeGroup(GetNodeGroupArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EksFunctions.getNodeGroup(GetNodeGroupArgs.builder()
-     *             .clusterName("example")
-     *             .nodeGroupName("example")
+     *             .clusterName("example")
+     *             .nodeGroupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/FargateProfile.java b/sdk/java/src/main/java/com/pulumi/aws/eks/FargateProfile.java index 6201e1bf00b..d41f58c90da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/FargateProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/FargateProfile.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,25 +46,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FargateProfile("example", FargateProfileArgs.builder()        
+ *         var example = new FargateProfile("example", FargateProfileArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
- *             .fargateProfileName("example")
+ *             .fargateProfileName("example")
  *             .podExecutionRoleArn(exampleAwsIamRole.arn())
- *             .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *             .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *             .selectors(FargateProfileSelectorArgs.builder()
- *                 .namespace("example")
+ *                 .namespace("example")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example IAM Role for EKS Fargate Profile * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,29 +90,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("eks-fargate-profile-example")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("eks-fargate-profile-example")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "eks-fargate-pods.amazonaws.com")
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "eks-fargate-pods.amazonaws.com")
  *                         ))
  *                     ))),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
- *         var example_AmazonEKSFargatePodExecutionRolePolicy = new RolePolicyAttachment("example-AmazonEKSFargatePodExecutionRolePolicy", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy")
+ *         var example_AmazonEKSFargatePodExecutionRolePolicy = new RolePolicyAttachment("example-AmazonEKSFargatePodExecutionRolePolicy", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy")
  *             .role(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/IdentityProviderConfig.java b/sdk/java/src/main/java/com/pulumi/aws/eks/IdentityProviderConfig.java index 9966f6f5305..a4784d83f78 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/IdentityProviderConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/IdentityProviderConfig.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new IdentityProviderConfig("example", IdentityProviderConfigArgs.builder()        
+ *         var example = new IdentityProviderConfig("example", IdentityProviderConfigArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
  *             .oidc(IdentityProviderConfigOidcArgs.builder()
- *                 .clientId("your client_id")
- *                 .identityProviderConfigName("example")
- *                 .issuerUrl("your issuer_url")
+ *                 .clientId("your client_id")
+ *                 .identityProviderConfigName("example")
+ *                 .issuerUrl("your issuer_url")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/NodeGroup.java b/sdk/java/src/main/java/com/pulumi/aws/eks/NodeGroup.java index f3d56316440..ae712c52e79 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/NodeGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/NodeGroup.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,11 +55,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NodeGroup("example", NodeGroupArgs.builder()        
+ *         var example = new NodeGroup("example", NodeGroupArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
- *             .nodeGroupName("example")
+ *             .nodeGroupName("example")
  *             .nodeRoleArn(exampleAwsIamRole.arn())
- *             .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *             .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *             .scalingConfig(NodeGroupScalingConfigArgs.builder()
  *                 .desiredSize(1)
  *                 .maxSize(2)
@@ -76,7 +77,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Ignoring Changes to Desired Size @@ -84,7 +86,8 @@ * You can utilize [ignoreChanges](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) create an EKS Node Group with an initial size of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -106,7 +109,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NodeGroup("example", NodeGroupArgs.builder()        
+ *         var example = new NodeGroup("example", NodeGroupArgs.builder()        
  *             .scalingConfig(NodeGroupScalingConfigArgs.builder()
  *                 .desiredSize(2)
  *                 .build())
@@ -114,13 +117,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example IAM Role for EKS Node Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,45 +149,47 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("eks-node-group-example")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("eks-node-group-example")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "ec2.amazonaws.com")
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "ec2.amazonaws.com")
  *                         ))
  *                     ))),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
- *         var example_AmazonEKSWorkerNodePolicy = new RolePolicyAttachment("example-AmazonEKSWorkerNodePolicy", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy")
+ *         var example_AmazonEKSWorkerNodePolicy = new RolePolicyAttachment("example-AmazonEKSWorkerNodePolicy", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy")
  *             .role(example.name())
  *             .build());
  * 
- *         var example_AmazonEKSCNIPolicy = new RolePolicyAttachment("example-AmazonEKSCNIPolicy", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy")
+ *         var example_AmazonEKSCNIPolicy = new RolePolicyAttachment("example-AmazonEKSCNIPolicy", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy")
  *             .role(example.name())
  *             .build());
  * 
- *         var example_AmazonEC2ContainerRegistryReadOnly = new RolePolicyAttachment("example-AmazonEC2ContainerRegistryReadOnly", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly")
+ *         var example_AmazonEC2ContainerRegistryReadOnly = new RolePolicyAttachment("example-AmazonEC2ContainerRegistryReadOnly", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly")
  *             .role(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example Subnets for EKS Node Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -207,12 +214,12 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .build());
  * 
- *         for (var i = 0; i < 2; i++) {
- *             new Subnet("example-" + i, SubnetArgs.builder()            
- *                 .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names())[range.value()])
+ *         for (var i = 0; i < 2; i++) {
+ *             new Subnet("example-" + i, SubnetArgs.builder()            
+ *                 .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names())[range.value()])
  *                 .cidrBlock(StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
  *                     .input(exampleAwsVpc.cidrBlock())
  *                     .newbits(8)
@@ -225,7 +232,8 @@
  * }
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/eks/PodIdentityAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/eks/PodIdentityAssociation.java index 7085b59d009..0e400cba3a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/eks/PodIdentityAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/eks/PodIdentityAssociation.java @@ -31,7 +31,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,37 +61,38 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("pods.eks.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("pods.eks.amazonaws.com")
  *                     .build())
  *                 .actions(                
- *                     "sts:AssumeRole",
- *                     "sts:TagSession")
+ *                     "sts:AssumeRole",
+ *                     "sts:TagSession")
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("eks-pod-identity-example")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("eks-pod-identity-example")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleS3 = new RolePolicyAttachment("exampleS3", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess")
+ *         var exampleS3 = new RolePolicyAttachment("exampleS3", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess")
  *             .role(example.name())
  *             .build());
  * 
- *         var examplePodIdentityAssociation = new PodIdentityAssociation("examplePodIdentityAssociation", PodIdentityAssociationArgs.builder()        
+ *         var examplePodIdentityAssociation = new PodIdentityAssociation("examplePodIdentityAssociation", PodIdentityAssociationArgs.builder()        
  *             .clusterName(exampleAwsEksCluster.name())
- *             .namespace("example")
- *             .serviceAccount("example-sa")
+ *             .namespace("example")
+ *             .serviceAccount("example-sa")
  *             .roleArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java index 0988e87c1ac..a62bbcaf49a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/Cluster.java @@ -46,7 +46,8 @@ * ### Memcached Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -67,24 +68,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterId("cluster-example")
- *             .engine("memcached")
- *             .nodeType("cache.m4.large")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterId("cluster-example")
+ *             .engine("memcached")
+ *             .nodeType("cache.m4.large")
  *             .numCacheNodes(2)
- *             .parameterGroupName("default.memcached1.4")
+ *             .parameterGroupName("default.memcached1.4")
  *             .port(11211)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis Instance * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -105,19 +108,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterId("cluster-example")
- *             .engine("redis")
- *             .nodeType("cache.m4.large")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterId("cluster-example")
+ *             .engine("redis")
+ *             .nodeType("cache.m4.large")
  *             .numCacheNodes(1)
- *             .parameterGroupName("default.redis3.2")
- *             .engineVersion("3.2.10")
+ *             .parameterGroupName("default.redis3.2")
+ *             .engineVersion("3.2.10")
  *             .port(6379)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis Cluster Mode Disabled Read Replica Instance @@ -125,7 +129,8 @@ * These inherit their settings from the replication group. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -146,20 +151,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replica = new Cluster("replica", ClusterArgs.builder()        
- *             .clusterId("cluster-example")
+ *         var replica = new Cluster("replica", ClusterArgs.builder()        
+ *             .clusterId("cluster-example")
  *             .replicationGroupId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis Log Delivery configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -181,31 +188,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Cluster("test", ClusterArgs.builder()        
- *             .clusterId("mycluster")
- *             .engine("redis")
- *             .nodeType("cache.t3.micro")
+ *         var test = new Cluster("test", ClusterArgs.builder()        
+ *             .clusterId("mycluster")
+ *             .engine("redis")
+ *             .nodeType("cache.t3.micro")
  *             .numCacheNodes(1)
  *             .port(6379)
  *             .applyImmediately(true)
  *             .logDeliveryConfigurations(            
  *                 ClusterLogDeliveryConfigurationArgs.builder()
  *                     .destination(example.name())
- *                     .destinationType("cloudwatch-logs")
- *                     .logFormat("text")
- *                     .logType("slow-log")
+ *                     .destinationType("cloudwatch-logs")
+ *                     .logFormat("text")
+ *                     .logType("slow-log")
  *                     .build(),
  *                 ClusterLogDeliveryConfigurationArgs.builder()
  *                     .destination(exampleAwsKinesisFirehoseDeliveryStream.name())
- *                     .destinationType("kinesis-firehose")
- *                     .logFormat("json")
- *                     .logType("engine-log")
+ *                     .destinationType("kinesis-firehose")
+ *                     .logFormat("json")
+ *                     .logType("engine-log")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ElasticacheFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ElasticacheFunctions.java index f09db1ba39a..0e8b9842225 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ElasticacheFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ElasticacheFunctions.java @@ -29,7 +29,8 @@ public final class ElasticacheFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,12 +52,13 @@ public final class ElasticacheFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var myCluster = ElasticacheFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("my-cluster-id")
+     *             .clusterId("my-cluster-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,12 +94,13 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myCluster = ElasticacheFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("my-cluster-id")
+     *             .clusterId("my-cluster-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var myCluster = ElasticacheFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("my-cluster-id")
+     *             .clusterId("my-cluster-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +155,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,12 +178,13 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var myCluster = ElasticacheFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterId("my-cluster-id")
+     *             .clusterId("my-cluster-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -189,7 +197,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -211,12 +220,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getReplicationGroup(GetReplicationGroupArgs.builder()
-     *             .replicationGroupId("example")
+     *             .replicationGroupId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -229,7 +239,8 @@ public static Output getReplicationGroup(GetReplicati * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,12 +262,13 @@ public static Output getReplicationGroup(GetReplicati
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getReplicationGroup(GetReplicationGroupArgs.builder()
-     *             .replicationGroupId("example")
+     *             .replicationGroupId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -269,7 +281,8 @@ public static CompletableFuture getReplicationGroupPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -291,12 +304,13 @@ public static CompletableFuture getReplicationGroupPl
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getReplicationGroup(GetReplicationGroupArgs.builder()
-     *             .replicationGroupId("example")
+     *             .replicationGroupId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -309,7 +323,8 @@ public static Output getReplicationGroup(GetReplicati * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -331,12 +346,13 @@ public static Output getReplicationGroup(GetReplicati
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getReplicationGroup(GetReplicationGroupArgs.builder()
-     *             .replicationGroupId("example")
+     *             .replicationGroupId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -349,7 +365,8 @@ public static CompletableFuture getReplicationGroupPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -371,12 +388,13 @@ public static CompletableFuture getReplicationGroupPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticacheFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -389,7 +407,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -411,12 +430,13 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticacheFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -429,7 +449,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -451,12 +472,13 @@ public static CompletableFuture getSubnetGroupPlain(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticacheFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -469,7 +491,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -491,12 +514,13 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticacheFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -509,7 +533,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -531,12 +556,13 @@ public static CompletableFuture getSubnetGroupPlain(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getUser(GetUserArgs.builder()
-     *             .userId("example")
+     *             .userId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -549,7 +575,8 @@ public static Output getUser(GetUserArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -571,12 +598,13 @@ public static Output getUser(GetUserArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getUser(GetUserArgs.builder()
-     *             .userId("example")
+     *             .userId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -589,7 +617,8 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -611,12 +640,13 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getUser(GetUserArgs.builder()
-     *             .userId("example")
+     *             .userId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -629,7 +659,8 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -651,12 +682,13 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var bar = ElasticacheFunctions.getUser(GetUserArgs.builder()
-     *             .userId("example")
+     *             .userId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/GlobalReplicationGroup.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/GlobalReplicationGroup.java index 93fe6d2abf9..a133d1cb7ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/GlobalReplicationGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/GlobalReplicationGroup.java @@ -28,7 +28,8 @@ * The global replication group depends on the primary group existing. Secondary replication groups depend on the global replication group. the provider dependency management will handle this transparently using resource value references. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,30 +52,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new ReplicationGroup("primary", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example-primary")
- *             .description("primary replication group")
- *             .engine("redis")
- *             .engineVersion("5.0.6")
- *             .nodeType("cache.m5.large")
+ *         var primary = new ReplicationGroup("primary", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example-primary")
+ *             .description("primary replication group")
+ *             .engine("redis")
+ *             .engineVersion("5.0.6")
+ *             .nodeType("cache.m5.large")
  *             .numCacheClusters(1)
  *             .build());
  * 
- *         var example = new GlobalReplicationGroup("example", GlobalReplicationGroupArgs.builder()        
- *             .globalReplicationGroupIdSuffix("example")
+ *         var example = new GlobalReplicationGroup("example", GlobalReplicationGroupArgs.builder()        
+ *             .globalReplicationGroupIdSuffix("example")
  *             .primaryReplicationGroupId(primary.id())
  *             .build());
  * 
- *         var secondary = new ReplicationGroup("secondary", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example-secondary")
- *             .description("secondary replication group")
+ *         var secondary = new ReplicationGroup("secondary", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example-secondary")
+ *             .description("secondary replication group")
  *             .globalReplicationGroupId(example.globalReplicationGroupId())
  *             .numCacheClusters(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Managing Redis Engine Versions @@ -92,7 +94,8 @@ * The secondary replication group will be created with Redis 6.2. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -115,31 +118,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new ReplicationGroup("primary", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example-primary")
- *             .description("primary replication group")
- *             .engine("redis")
- *             .engineVersion("6.0")
- *             .nodeType("cache.m5.large")
+ *         var primary = new ReplicationGroup("primary", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example-primary")
+ *             .description("primary replication group")
+ *             .engine("redis")
+ *             .engineVersion("6.0")
+ *             .nodeType("cache.m5.large")
  *             .numCacheClusters(1)
  *             .build());
  * 
- *         var example = new GlobalReplicationGroup("example", GlobalReplicationGroupArgs.builder()        
- *             .globalReplicationGroupIdSuffix("example")
+ *         var example = new GlobalReplicationGroup("example", GlobalReplicationGroupArgs.builder()        
+ *             .globalReplicationGroupIdSuffix("example")
  *             .primaryReplicationGroupId(primary.id())
- *             .engineVersion("6.2")
+ *             .engineVersion("6.2")
  *             .build());
  * 
- *         var secondary = new ReplicationGroup("secondary", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example-secondary")
- *             .description("secondary replication group")
+ *         var secondary = new ReplicationGroup("secondary", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example-secondary")
+ *             .description("secondary replication group")
  *             .globalReplicationGroupId(example.globalReplicationGroupId())
  *             .numCacheClusters(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ParameterGroup.java index 95a290de3a3..d60615c9397 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ParameterGroup.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new ParameterGroup("default", ParameterGroupArgs.builder()        
- *             .name("cache-params")
- *             .family("redis2.8")
+ *         var default_ = new ParameterGroup("default", ParameterGroupArgs.builder()        
+ *             .name("cache-params")
+ *             .family("redis2.8")
  *             .parameters(            
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("activerehashing")
- *                     .value("yes")
+ *                     .name("activerehashing")
+ *                     .value("yes")
  *                     .build(),
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("min-slaves-to-write")
- *                     .value("2")
+ *                     .name("min-slaves-to-write")
+ *                     .value("2")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ReplicationGroup.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ReplicationGroup.java index c2b2e28023a..6557981525c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ReplicationGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ReplicationGroup.java @@ -48,7 +48,8 @@ * To create a single shard primary with single read replica: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -69,22 +70,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ReplicationGroup("example", ReplicationGroupArgs.builder()        
+ *         var example = new ReplicationGroup("example", ReplicationGroupArgs.builder()        
  *             .automaticFailoverEnabled(true)
  *             .preferredCacheClusterAzs(            
- *                 "us-west-2a",
- *                 "us-west-2b")
- *             .replicationGroupId("tf-rep-group-1")
- *             .description("example description")
- *             .nodeType("cache.m4.large")
+ *                 "us-west-2a",
+ *                 "us-west-2b")
+ *             .replicationGroupId("tf-rep-group-1")
+ *             .description("example description")
+ *             .nodeType("cache.m4.large")
  *             .numCacheClusters(2)
- *             .parameterGroupName("default.redis3.2")
+ *             .parameterGroupName("default.redis3.2")
  *             .port(6379)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * You have two options for adjusting the number of replicas: @@ -93,7 +95,8 @@ * * Otherwise for fine grained control of the underlying cache clusters, they can be added or removed with the `aws.elasticache.Cluster` resource and its `replication_group_id` attribute. In this situation, you will need to utilize [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to prevent perpetual differences with the `number_cache_cluster` attribute. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,22 +120,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ReplicationGroup("example", ReplicationGroupArgs.builder()        
+ *         var example = new ReplicationGroup("example", ReplicationGroupArgs.builder()        
  *             .automaticFailoverEnabled(true)
  *             .preferredCacheClusterAzs(            
- *                 "us-west-2a",
- *                 "us-west-2b")
- *             .replicationGroupId("tf-rep-group-1")
- *             .description("example description")
- *             .nodeType("cache.m4.large")
+ *                 "us-west-2a",
+ *                 "us-west-2b")
+ *             .replicationGroupId("tf-rep-group-1")
+ *             .description("example description")
+ *             .nodeType("cache.m4.large")
  *             .numCacheClusters(2)
- *             .parameterGroupName("default.redis3.2")
+ *             .parameterGroupName("default.redis3.2")
  *             .port(6379)
  *             .build());
  * 
- *         for (var i = 0; i < 1; i++) {
- *             new Cluster("replica-" + i, ClusterArgs.builder()            
- *                 .clusterId(String.format("tf-rep-group-1-%s", range.value()))
+ *         for (var i = 0; i < 1; i++) {
+ *             new Cluster("replica-" + i, ClusterArgs.builder()            
+ *                 .clusterId(String.format("tf-rep-group-1-%s", range.value()))
  *                 .replicationGroupId(example.id())
  *                 .build());
  * 
@@ -140,7 +143,8 @@
  * }
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis Cluster Mode Enabled @@ -148,7 +152,8 @@ * To create two shards with a primary and a single read replica each: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -169,12 +174,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var baz = new ReplicationGroup("baz", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("tf-redis-cluster")
- *             .description("example description")
- *             .nodeType("cache.t2.small")
+ *         var baz = new ReplicationGroup("baz", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("tf-redis-cluster")
+ *             .description("example description")
+ *             .nodeType("cache.t2.small")
  *             .port(6379)
- *             .parameterGroupName("default.redis3.2.cluster.on")
+ *             .parameterGroupName("default.redis3.2.cluster.on")
  *             .automaticFailoverEnabled(true)
  *             .numNodeGroups(2)
  *             .replicasPerNodeGroup(1)
@@ -182,13 +187,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis Log Delivery configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -210,33 +217,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ReplicationGroup("test", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("myreplicaciongroup")
- *             .description("test description")
- *             .nodeType("cache.t3.small")
+ *         var test = new ReplicationGroup("test", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("myreplicaciongroup")
+ *             .description("test description")
+ *             .nodeType("cache.t3.small")
  *             .port(6379)
  *             .applyImmediately(true)
  *             .autoMinorVersionUpgrade(false)
- *             .maintenanceWindow("tue:06:30-tue:07:30")
- *             .snapshotWindow("01:00-02:00")
+ *             .maintenanceWindow("tue:06:30-tue:07:30")
+ *             .snapshotWindow("01:00-02:00")
  *             .logDeliveryConfigurations(            
  *                 ReplicationGroupLogDeliveryConfigurationArgs.builder()
  *                     .destination(example.name())
- *                     .destinationType("cloudwatch-logs")
- *                     .logFormat("text")
- *                     .logType("slow-log")
+ *                     .destinationType("cloudwatch-logs")
+ *                     .logFormat("text")
+ *                     .logType("slow-log")
  *                     .build(),
  *                 ReplicationGroupLogDeliveryConfigurationArgs.builder()
  *                     .destination(exampleAwsKinesisFirehoseDeliveryStream.name())
- *                     .destinationType("kinesis-firehose")
- *                     .logFormat("json")
- *                     .logType("engine-log")
+ *                     .destinationType("kinesis-firehose")
+ *                     .logFormat("json")
+ *                     .logType("engine-log")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **Note:** We currently do not support passing a `primary_cluster_id` in order to create the Replication Group. @@ -250,7 +258,8 @@ * A Global Replication Group can have one one two secondary Replication Groups in different regions. These are added to an existing Global Replication Group. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -273,36 +282,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new ReplicationGroup("primary", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example-primary")
- *             .description("primary replication group")
- *             .engine("redis")
- *             .engineVersion("5.0.6")
- *             .nodeType("cache.m5.large")
+ *         var primary = new ReplicationGroup("primary", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example-primary")
+ *             .description("primary replication group")
+ *             .engine("redis")
+ *             .engineVersion("5.0.6")
+ *             .nodeType("cache.m5.large")
  *             .numCacheClusters(1)
  *             .build());
  * 
- *         var example = new GlobalReplicationGroup("example", GlobalReplicationGroupArgs.builder()        
- *             .globalReplicationGroupIdSuffix("example")
+ *         var example = new GlobalReplicationGroup("example", GlobalReplicationGroupArgs.builder()        
+ *             .globalReplicationGroupIdSuffix("example")
  *             .primaryReplicationGroupId(primary.id())
  *             .build());
  * 
- *         var secondary = new ReplicationGroup("secondary", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example-secondary")
- *             .description("secondary replication group")
+ *         var secondary = new ReplicationGroup("secondary", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example-secondary")
+ *             .description("secondary replication group")
  *             .globalReplicationGroupId(example.globalReplicationGroupId())
  *             .numCacheClusters(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis AUTH and In-Transit Encryption Enabled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -323,24 +334,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ReplicationGroup("example", ReplicationGroupArgs.builder()        
- *             .replicationGroupId("example")
- *             .description("example with authentication")
- *             .nodeType("cache.t2.micro")
+ *         var example = new ReplicationGroup("example", ReplicationGroupArgs.builder()        
+ *             .replicationGroupId("example")
+ *             .description("example with authentication")
+ *             .nodeType("cache.t2.micro")
  *             .numCacheClusters(1)
  *             .port(6379)
  *             .subnetGroupName(exampleAwsElasticacheSubnetGroup.name())
  *             .securityGroupIds(exampleAwsSecurityGroup.id())
- *             .parameterGroupName("default.redis5.0")
- *             .engineVersion("5.0.6")
+ *             .parameterGroupName("default.redis5.0")
+ *             .engineVersion("5.0.6")
  *             .transitEncryptionEnabled(true)
- *             .authToken("abcdefgh1234567890")
- *             .authTokenUpdateStrategy("ROTATE")
+ *             .authToken("abcdefgh1234567890")
+ *             .authTokenUpdateStrategy("ROTATE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > When adding a new `auth_token` to a previously passwordless replication group, using the `ROTATE` update strategy will result in support for **both** the new token and passwordless authentication. To immediately require authorization when adding the initial token, use the `SET` strategy instead. See the [Authenticating with the Redis AUTH command](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html) guide for additional details. diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ServerlessCache.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ServerlessCache.java index e1d96af399c..92a1e7154ff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/ServerlessCache.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/ServerlessCache.java @@ -29,7 +29,8 @@ * ### Memcached Serverless * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,34 +53,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessCache("example", ServerlessCacheArgs.builder()        
- *             .engine("memcached")
- *             .name("example")
+ *         var example = new ServerlessCache("example", ServerlessCacheArgs.builder()        
+ *             .engine("memcached")
+ *             .name("example")
  *             .cacheUsageLimits(ServerlessCacheCacheUsageLimitsArgs.builder()
  *                 .dataStorage(ServerlessCacheCacheUsageLimitsDataStorageArgs.builder()
  *                     .maximum(10)
- *                     .unit("GB")
+ *                     .unit("GB")
  *                     .build())
  *                 .ecpuPerSeconds(ServerlessCacheCacheUsageLimitsEcpuPerSecondArgs.builder()
  *                     .maximum(5000)
  *                     .build())
  *                 .build())
- *             .description("Test Server")
+ *             .description("Test Server")
  *             .kmsKeyId(test.arn())
- *             .majorEngineVersion("1.6")
+ *             .majorEngineVersion("1.6")
  *             .securityGroupIds(testAwsSecurityGroup.id())
- *             .subnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *             .subnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redis Serverless * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -102,30 +105,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessCache("example", ServerlessCacheArgs.builder()        
- *             .engine("redis")
- *             .name("example")
+ *         var example = new ServerlessCache("example", ServerlessCacheArgs.builder()        
+ *             .engine("redis")
+ *             .name("example")
  *             .cacheUsageLimits(ServerlessCacheCacheUsageLimitsArgs.builder()
  *                 .dataStorage(ServerlessCacheCacheUsageLimitsDataStorageArgs.builder()
  *                     .maximum(10)
- *                     .unit("GB")
+ *                     .unit("GB")
  *                     .build())
  *                 .ecpuPerSeconds(ServerlessCacheCacheUsageLimitsEcpuPerSecondArgs.builder()
  *                     .maximum(5000)
  *                     .build())
  *                 .build())
- *             .dailySnapshotTime("09:00")
- *             .description("Test Server")
+ *             .dailySnapshotTime("09:00")
+ *             .description("Test Server")
  *             .kmsKeyId(test.arn())
- *             .majorEngineVersion("7")
+ *             .majorEngineVersion("7")
  *             .snapshotRetentionLimit(1)
  *             .securityGroupIds(testAwsSecurityGroup.id())
- *             .subnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *             .subnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/SubnetGroup.java index c947d57cbbc..a5f31897439 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/SubnetGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,26 +48,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Vpc("foo", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
- *             .tags(Map.of("Name", "tf-test"))
+ *         var foo = new Vpc("foo", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
+ *             .tags(Map.of("Name", "tf-test"))
  *             .build());
  * 
- *         var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
+ *         var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
  *             .vpcId(foo.id())
- *             .cidrBlock("10.0.0.0/24")
- *             .availabilityZone("us-west-2a")
- *             .tags(Map.of("Name", "tf-test"))
+ *             .cidrBlock("10.0.0.0/24")
+ *             .availabilityZone("us-west-2a")
+ *             .tags(Map.of("Name", "tf-test"))
  *             .build());
  * 
- *         var bar = new SubnetGroup("bar", SubnetGroupArgs.builder()        
- *             .name("tf-test-cache-subnet")
+ *         var bar = new SubnetGroup("bar", SubnetGroupArgs.builder()        
+ *             .name("tf-test-cache-subnet")
  *             .subnetIds(fooSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/User.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/User.java index 3a52929ca0b..672525a8981 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/User.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new User("test", UserArgs.builder()        
- *             .userId("testUserId")
- *             .userName("testUserName")
- *             .accessString("on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
- *             .engine("REDIS")
- *             .passwords("password123456789")
+ *         var test = new User("test", UserArgs.builder()        
+ *             .userId("testUserId")
+ *             .userName("testUserName")
+ *             .accessString("on ~app::* -{@literal @}all +{@literal @}read +{@literal @}hash +{@literal @}bitmap +{@literal @}geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
+ *             .engine("REDIS")
+ *             .passwords("password123456789")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,23 +85,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new User("test", UserArgs.builder()        
- *             .userId("testUserId")
- *             .userName("testUserName")
- *             .accessString("on ~* +@all")
- *             .engine("REDIS")
+ *         var test = new User("test", UserArgs.builder()        
+ *             .userId("testUserId")
+ *             .userName("testUserName")
+ *             .accessString("on ~* +{@literal @}all")
+ *             .engine("REDIS")
  *             .authenticationMode(UserAuthenticationModeArgs.builder()
- *                 .type("iam")
+ *                 .type("iam")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -120,22 +125,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new User("test", UserArgs.builder()        
- *             .userId("testUserId")
- *             .userName("testUserName")
- *             .accessString("on ~* +@all")
- *             .engine("REDIS")
+ *         var test = new User("test", UserArgs.builder()        
+ *             .userId("testUserId")
+ *             .userName("testUserName")
+ *             .accessString("on ~* +{@literal @}all")
+ *             .engine("REDIS")
  *             .authenticationMode(UserAuthenticationModeArgs.builder()
- *                 .type("password")
+ *                 .type("password")
  *                 .passwords(                
- *                     "password1",
- *                     "password2")
+ *                     "password1",
+ *                     "password2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroup.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroup.java index 8bbb234888c..2b8ef1e0d78 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,23 +46,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new User("test", UserArgs.builder()        
- *             .userId("testUserId")
- *             .userName("default")
- *             .accessString("on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
- *             .engine("REDIS")
- *             .passwords("password123456789")
+ *         var test = new User("test", UserArgs.builder()        
+ *             .userId("testUserId")
+ *             .userName("default")
+ *             .accessString("on ~app::* -{@literal @}all +{@literal @}read +{@literal @}hash +{@literal @}bitmap +{@literal @}geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
+ *             .engine("REDIS")
+ *             .passwords("password123456789")
  *             .build());
  * 
- *         var testUserGroup = new UserGroup("testUserGroup", UserGroupArgs.builder()        
- *             .engine("REDIS")
- *             .userGroupId("userGroupId")
+ *         var testUserGroup = new UserGroup("testUserGroup", UserGroupArgs.builder()        
+ *             .engine("REDIS")
+ *             .userGroupId("userGroupId")
  *             .userIds(test.userId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroupAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroupAssociation.java index bfa5a1239d8..9b018828fc7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroupAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticache/UserGroupAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,36 +47,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new User("default", UserArgs.builder()        
- *             .userId("defaultUserID")
- *             .userName("default")
- *             .accessString("on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
- *             .engine("REDIS")
- *             .passwords("password123456789")
+ *         var default_ = new User("default", UserArgs.builder()        
+ *             .userId("defaultUserID")
+ *             .userName("default")
+ *             .accessString("on ~app::* -{@literal @}all +{@literal @}read +{@literal @}hash +{@literal @}bitmap +{@literal @}geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
+ *             .engine("REDIS")
+ *             .passwords("password123456789")
  *             .build());
  * 
- *         var example = new UserGroup("example", UserGroupArgs.builder()        
- *             .engine("REDIS")
- *             .userGroupId("userGroupId")
+ *         var example = new UserGroup("example", UserGroupArgs.builder()        
+ *             .engine("REDIS")
+ *             .userGroupId("userGroupId")
  *             .userIds(default_.userId())
  *             .build());
  * 
- *         var exampleUser = new User("exampleUser", UserArgs.builder()        
- *             .userId("exampleUserID")
- *             .userName("exampleuser")
- *             .accessString("on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
- *             .engine("REDIS")
- *             .passwords("password123456789")
+ *         var exampleUser = new User("exampleUser", UserArgs.builder()        
+ *             .userId("exampleUserID")
+ *             .userName("exampleuser")
+ *             .accessString("on ~app::* -{@literal @}all +{@literal @}read +{@literal @}hash +{@literal @}bitmap +{@literal @}geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember")
+ *             .engine("REDIS")
+ *             .passwords("password123456789")
  *             .build());
  * 
- *         var exampleUserGroupAssociation = new UserGroupAssociation("exampleUserGroupAssociation", UserGroupAssociationArgs.builder()        
+ *         var exampleUserGroupAssociation = new UserGroupAssociation("exampleUserGroupAssociation", UserGroupAssociationArgs.builder()        
  *             .userGroupId(example.userGroupId())
  *             .userId(exampleUser.userId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Application.java b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Application.java index 8a5f031636e..aad8a73a7e2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Application.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,9 +50,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var tftest = new Application("tftest", ApplicationArgs.builder()        
- *             .name("tf-test-name")
- *             .description("tf-test-desc")
+ *         var tftest = new Application("tftest", ApplicationArgs.builder()        
+ *             .name("tf-test-name")
+ *             .description("tf-test-desc")
  *             .appversionLifecycle(ApplicationAppversionLifecycleArgs.builder()
  *                 .serviceRole(beanstalkService.arn())
  *                 .maxCount(128)
@@ -61,7 +62,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ApplicationVersion.java b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ApplicationVersion.java index 6ee8729360d..440c6793059 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ApplicationVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ApplicationVersion.java @@ -32,7 +32,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,32 +61,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new BucketV2("default", BucketV2Args.builder()        
- *             .bucket("tftest.applicationversion.bucket")
+ *         var default_ = new BucketV2("default", BucketV2Args.builder()        
+ *             .bucket("tftest.applicationversion.bucket")
  *             .build());
  * 
- *         var defaultBucketObjectv2 = new BucketObjectv2("defaultBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var defaultBucketObjectv2 = new BucketObjectv2("defaultBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(default_.id())
- *             .key("beanstalk/go-v1.zip")
- *             .source(new FileAsset("go-v1.zip"))
+ *             .key("beanstalk/go-v1.zip")
+ *             .source(new FileAsset("go-v1.zip"))
  *             .build());
  * 
- *         var defaultApplication = new Application("defaultApplication", ApplicationArgs.builder()        
- *             .name("tf-test-name")
- *             .description("tf-test-desc")
+ *         var defaultApplication = new Application("defaultApplication", ApplicationArgs.builder()        
+ *             .name("tf-test-name")
+ *             .description("tf-test-desc")
  *             .build());
  * 
- *         var defaultApplicationVersion = new ApplicationVersion("defaultApplicationVersion", ApplicationVersionArgs.builder()        
- *             .name("tf-test-version-label")
- *             .application("tf-test-name")
- *             .description("application version")
+ *         var defaultApplicationVersion = new ApplicationVersion("defaultApplicationVersion", ApplicationVersionArgs.builder()        
+ *             .name("tf-test-version-label")
+ *             .application("tf-test-name")
+ *             .description("application version")
  *             .bucket(default_.id())
  *             .key(defaultBucketObjectv2.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ConfigurationTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ConfigurationTemplate.java index 2893a992cde..87233d37219 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ConfigurationTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ConfigurationTemplate.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var tftest = new Application("tftest", ApplicationArgs.builder()        
- *             .name("tf-test-name")
- *             .description("tf-test-desc")
+ *         var tftest = new Application("tftest", ApplicationArgs.builder()        
+ *             .name("tf-test-name")
+ *             .description("tf-test-desc")
  *             .build());
  * 
- *         var myTemplate = new ConfigurationTemplate("myTemplate", ConfigurationTemplateArgs.builder()        
- *             .name("tf-test-template-config")
+ *         var myTemplate = new ConfigurationTemplate("myTemplate", ConfigurationTemplateArgs.builder()        
+ *             .name("tf-test-template-config")
  *             .application(tftest.name())
- *             .solutionStackName("64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4")
+ *             .solutionStackName("64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Option Settings diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ElasticbeanstalkFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ElasticbeanstalkFunctions.java index 8e4b22e3d59..50e05e18474 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ElasticbeanstalkFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/ElasticbeanstalkFunctions.java @@ -26,7 +26,8 @@ public final class ElasticbeanstalkFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,14 +49,15 @@ public final class ElasticbeanstalkFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticbeanstalkFunctions.getApplication(GetApplicationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
-     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
+     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
+     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -68,7 +70,8 @@ public static Output getApplication(GetApplicationArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,14 +93,15 @@ public static Output getApplication(GetApplicationArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticbeanstalkFunctions.getApplication(GetApplicationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
-     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
+     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
+     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -110,7 +114,8 @@ public static CompletableFuture getApplicationPlain(GetApp * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -132,14 +137,15 @@ public static CompletableFuture getApplicationPlain(GetApp
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticbeanstalkFunctions.getApplication(GetApplicationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
-     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
+     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
+     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getApplication(GetApplicationArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,14 +181,15 @@ public static Output getApplication(GetApplicationArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ElasticbeanstalkFunctions.getApplication(GetApplicationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
-     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
-     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
+     *         ctx.export("arn", example.applyValue(getApplicationResult -> getApplicationResult.arn()));
+     *         ctx.export("description", example.applyValue(getApplicationResult -> getApplicationResult.description()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -194,7 +202,8 @@ public static CompletableFuture getApplicationPlain(GetApp * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -219,7 +228,8 @@ public static CompletableFuture getApplicationPlain(GetApp
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -232,7 +242,8 @@ public static Output getHostedZone() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -257,7 +268,8 @@ public static Output getHostedZone() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -270,7 +282,8 @@ public static CompletableFuture getHostedZonePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -295,7 +308,8 @@ public static CompletableFuture getHostedZonePlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -308,7 +322,8 @@ public static Output getHostedZone(GetHostedZoneArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -333,7 +348,8 @@ public static Output getHostedZone(GetHostedZoneArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -346,7 +362,8 @@ public static CompletableFuture getHostedZonePlain(GetHoste * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -371,7 +388,8 @@ public static CompletableFuture getHostedZonePlain(GetHoste
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -384,7 +402,8 @@ public static Output getHostedZone(GetHostedZoneArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -409,7 +428,8 @@ public static Output getHostedZone(GetHostedZoneArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -422,7 +442,8 @@ public static CompletableFuture getHostedZonePlain(GetHoste * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -445,12 +466,13 @@ public static CompletableFuture getHostedZonePlain(GetHoste
      *     public static void stack(Context ctx) {
      *         final var multiDocker = ElasticbeanstalkFunctions.getSolutionStack(GetSolutionStackArgs.builder()
      *             .mostRecent(true)
-     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
+     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -463,7 +485,8 @@ public static Output getSolutionStack(GetSolutionStackAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -486,12 +509,13 @@ public static Output getSolutionStack(GetSolutionStackAr
      *     public static void stack(Context ctx) {
      *         final var multiDocker = ElasticbeanstalkFunctions.getSolutionStack(GetSolutionStackArgs.builder()
      *             .mostRecent(true)
-     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
+     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -504,7 +528,8 @@ public static CompletableFuture getSolutionStackPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -527,12 +552,13 @@ public static CompletableFuture getSolutionStackPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var multiDocker = ElasticbeanstalkFunctions.getSolutionStack(GetSolutionStackArgs.builder()
      *             .mostRecent(true)
-     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
+     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -545,7 +571,8 @@ public static Output getSolutionStack(GetSolutionStackAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -568,12 +595,13 @@ public static Output getSolutionStack(GetSolutionStackAr
      *     public static void stack(Context ctx) {
      *         final var multiDocker = ElasticbeanstalkFunctions.getSolutionStack(GetSolutionStackArgs.builder()
      *             .mostRecent(true)
-     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
+     *             .nameRegex("^64bit Amazon Linux (.*) Multi-container Docker (.*)$")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Environment.java b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Environment.java index 6101020efc6..6ff6e38c519 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Environment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticbeanstalk/Environment.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,20 +53,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var tftest = new Application("tftest", ApplicationArgs.builder()        
- *             .name("tf-test-name")
- *             .description("tf-test-desc")
+ *         var tftest = new Application("tftest", ApplicationArgs.builder()        
+ *             .name("tf-test-name")
+ *             .description("tf-test-desc")
  *             .build());
  * 
- *         var tfenvtest = new Environment("tfenvtest", EnvironmentArgs.builder()        
- *             .name("tf-test-name")
+ *         var tfenvtest = new Environment("tfenvtest", EnvironmentArgs.builder()        
+ *             .name("tf-test-name")
  *             .application(tftest.name())
- *             .solutionStackName("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4")
+ *             .solutionStackName("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Option Settings @@ -83,7 +85,8 @@ * ### Example With Options * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,31 +110,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var tftest = new Application("tftest", ApplicationArgs.builder()        
- *             .name("tf-test-name")
- *             .description("tf-test-desc")
+ *         var tftest = new Application("tftest", ApplicationArgs.builder()        
+ *             .name("tf-test-name")
+ *             .description("tf-test-desc")
  *             .build());
  * 
- *         var tfenvtest = new Environment("tfenvtest", EnvironmentArgs.builder()        
- *             .name("tf-test-name")
+ *         var tfenvtest = new Environment("tfenvtest", EnvironmentArgs.builder()        
+ *             .name("tf-test-name")
  *             .application(tftest.name())
- *             .solutionStackName("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4")
+ *             .solutionStackName("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4")
  *             .settings(            
  *                 EnvironmentSettingArgs.builder()
- *                     .namespace("aws:ec2:vpc")
- *                     .name("VPCId")
- *                     .value("vpc-xxxxxxxx")
+ *                     .namespace("aws:ec2:vpc")
+ *                     .name("VPCId")
+ *                     .value("vpc-xxxxxxxx")
  *                     .build(),
  *                 EnvironmentSettingArgs.builder()
- *                     .namespace("aws:ec2:vpc")
- *                     .name("Subnets")
- *                     .value("subnet-xxxxxxxx")
+ *                     .namespace("aws:ec2:vpc")
+ *                     .name("Subnets")
+ *                     .value("subnet-xxxxxxxx")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/Domain.java index f9745080bfe..4b5c9410b6b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/Domain.java @@ -35,7 +35,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,18 +58,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("example")
- *             .elasticsearchVersion("7.10")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("example")
+ *             .elasticsearchVersion("7.10")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r4.large.elasticsearch")
+ *                 .instanceType("r4.large.elasticsearch")
  *                 .build())
- *             .tags(Map.of("Domain", "TestDomain"))
+ *             .tags(Map.of("Domain", "TestDomain"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Access Policy @@ -76,7 +78,8 @@ * > See also: `aws.elasticsearch.DomainPolicy` resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -101,40 +104,42 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var domain = config.get("domain").orElse("tf-test");
+ *         final var domain = config.get("domain").orElse("tf-test");
  *         final var current = AwsFunctions.getRegion();
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Domain("example", DomainArgs.builder()        
+ *         var example = new Domain("example", DomainArgs.builder()        
  *             .domainName(domain)
- *             .accessPolicies("""
+ *             .accessPolicies("""
  * {
- *   "Version": "2012-10-17",
- *   "Statement": [
+ *   "Version": "2012-10-17",
+ *   "Statement": [
  *     {
- *       "Action": "es:*",
- *       "Principal": "*",
- *       "Effect": "Allow",
- *       "Resource": "arn:aws:es:%s:%s:domain/%s/*",
- *       "Condition": {
- *         "IpAddress": {"aws:SourceIp": ["66.193.100.22/32"]}
+ *       "Action": "es:*",
+ *       "Principal": "*",
+ *       "Effect": "Allow",
+ *       "Resource": "arn:aws:es:%s:%s:domain/%s/*",
+ *       "Condition": {
+ *         "IpAddress": {"aws:SourceIp": ["66.193.100.22/32"]}
  *       }
  *     }
  *   ]
  * }
- * ", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
+ * ", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Log Publishing to CloudWatch Logs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -162,46 +167,48 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
- *             .name("example")
+ *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("es.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("es.amazonaws.com")
  *                     .build())
  *                 .actions(                
- *                     "logs:PutLogEvents",
- *                     "logs:PutLogEventsBatch",
- *                     "logs:CreateLogStream")
- *                 .resources("arn:aws:logs:*")
+ *                     "logs:PutLogEvents",
+ *                     "logs:PutLogEventsBatch",
+ *                     "logs:CreateLogStream")
+ *                 .resources("arn:aws:logs:*")
  *                 .build())
  *             .build());
  * 
- *         var exampleLogResourcePolicy = new LogResourcePolicy("exampleLogResourcePolicy", LogResourcePolicyArgs.builder()        
- *             .policyName("example")
- *             .policyDocument(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleLogResourcePolicy = new LogResourcePolicy("exampleLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *             .policyName("example")
+ *             .policyDocument(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
  *             .logPublishingOptions(DomainLogPublishingOptionArgs.builder()
  *                 .cloudwatchLogGroupArn(exampleLogGroup.arn())
- *                 .logType("INDEX_SLOW_LOGS")
+ *                 .logType("INDEX_SLOW_LOGS")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### VPC based ES * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -237,75 +244,76 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var vpc = config.get("vpc");
- *         final var domain = config.get("domain").orElse("tf-test");
+ *         final var vpc = config.get("vpc");
+ *         final var domain = config.get("domain").orElse("tf-test");
  *         final var selected = Ec2Functions.getVpc(GetVpcArgs.builder()
- *             .tags(Map.of("Name", vpc))
+ *             .tags(Map.of("Name", vpc))
  *             .build());
  * 
  *         final var selectedGetSubnets = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
  *             .filters(GetSubnetsFilterArgs.builder()
- *                 .name("vpc-id")
- *                 .values(selected.applyValue(getVpcResult -> getVpcResult.id()))
+ *                 .name("vpc-id")
+ *                 .values(selected.applyValue(getVpcResult -> getVpcResult.id()))
  *                 .build())
- *             .tags(Map.of("Tier", "private"))
+ *             .tags(Map.of("Tier", "private"))
  *             .build());
  * 
  *         final var current = AwsFunctions.getRegion();
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var es = new SecurityGroup("es", SecurityGroupArgs.builder()        
- *             .name(String.format("%s-elasticsearch-%s", vpc,domain))
- *             .description("Managed by Pulumi")
- *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
+ *         var es = new SecurityGroup("es", SecurityGroupArgs.builder()        
+ *             .name(String.format("%s-elasticsearch-%s", vpc,domain))
+ *             .description("Managed by Pulumi")
+ *             .vpcId(selected.applyValue(getVpcResult -> getVpcResult.id()))
  *             .ingress(SecurityGroupIngressArgs.builder()
  *                 .fromPort(443)
  *                 .toPort(443)
- *                 .protocol("tcp")
- *                 .cidrBlocks(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+ *                 .protocol("tcp")
+ *                 .cidrBlocks(selected.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
  *                 .build())
  *             .build());
  * 
- *         var esServiceLinkedRole = new ServiceLinkedRole("esServiceLinkedRole", ServiceLinkedRoleArgs.builder()        
- *             .awsServiceName("opensearchservice.amazonaws.com")
+ *         var esServiceLinkedRole = new ServiceLinkedRole("esServiceLinkedRole", ServiceLinkedRoleArgs.builder()        
+ *             .awsServiceName("opensearchservice.amazonaws.com")
  *             .build());
  * 
- *         var esDomain = new Domain("esDomain", DomainArgs.builder()        
+ *         var esDomain = new Domain("esDomain", DomainArgs.builder()        
  *             .domainName(domain)
- *             .elasticsearchVersion("6.3")
+ *             .elasticsearchVersion("6.3")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("m4.large.elasticsearch")
+ *                 .instanceType("m4.large.elasticsearch")
  *                 .zoneAwarenessEnabled(true)
  *                 .build())
  *             .vpcOptions(DomainVpcOptionsArgs.builder()
  *                 .subnetIds(                
- *                     selectedGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[0]),
- *                     selectedGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[1]))
+ *                     selectedGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[0]),
+ *                     selectedGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[1]))
  *                 .securityGroupIds(es.id())
  *                 .build())
- *             .advancedOptions(Map.of("rest.action.multi.allow_explicit_index", "true"))
- *             .accessPolicies("""
+ *             .advancedOptions(Map.of("rest.action.multi.allow_explicit_index", "true"))
+ *             .accessPolicies("""
  * {
- * 	"Version": "2012-10-17",
- * 	"Statement": [
+ * 	"Version": "2012-10-17",
+ * 	"Statement": [
  * 		{
- * 			"Action": "es:*",
- * 			"Principal": "*",
- * 			"Effect": "Allow",
- * 			"Resource": "arn:aws:es:%s:%s:domain/%s/*"
+ * 			"Action": "es:*",
+ * 			"Principal": "*",
+ * 			"Effect": "Allow",
+ * 			"Resource": "arn:aws:es:%s:%s:domain/%s/*"
  * 		}
  * 	]
  * }
- * ", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
- *             .tags(Map.of("Domain", "TestDomain"))
+ * ", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
+ *             .tags(Map.of("Domain", "TestDomain"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(esServiceLinkedRole)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainPolicy.java index 47b16e3f372..47cd127eda8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,34 +43,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("tf-test")
- *             .elasticsearchVersion("2.3")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("tf-test")
+ *             .elasticsearchVersion("2.3")
  *             .build());
  * 
- *         var main = new DomainPolicy("main", DomainPolicyArgs.builder()        
+ *         var main = new DomainPolicy("main", DomainPolicyArgs.builder()        
  *             .domainName(example.domainName())
- *             .accessPolicies(example.arn().applyValue(arn -> """
+ *             .accessPolicies(example.arn().applyValue(arn -> """
  * {
- *     "Version": "2012-10-17",
- *     "Statement": [
+ *     "Version": "2012-10-17",
+ *     "Statement": [
  *         {
- *             "Action": "es:*",
- *             "Principal": "*",
- *             "Effect": "Allow",
- *             "Condition": {
- *                 "IpAddress": {"aws:SourceIp": "127.0.0.1/32"}
+ *             "Action": "es:*",
+ *             "Principal": "*",
+ *             "Effect": "Allow",
+ *             "Condition": {
+ *                 "IpAddress": {"aws:SourceIp": "127.0.0.1/32"}
  *             },
- *             "Resource": "%s/*"
+ *             "Resource": "%s/*"
  *         }
  *     ]
  * }
- * ", arn)))
+ * ", arn)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainSamlOptions.java b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainSamlOptions.java index afd9b22850c..b8321bb6ff9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainSamlOptions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/DomainSamlOptions.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,26 +51,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("example")
- *             .elasticsearchVersion("1.5")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("example")
+ *             .elasticsearchVersion("1.5")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r4.large.elasticsearch")
+ *                 .instanceType("r4.large.elasticsearch")
  *                 .build())
  *             .snapshotOptions(DomainSnapshotOptionsArgs.builder()
  *                 .automatedSnapshotStartHour(23)
  *                 .build())
- *             .tags(Map.of("Domain", "TestDomain"))
+ *             .tags(Map.of("Domain", "TestDomain"))
  *             .build());
  * 
- *         var exampleDomainSamlOptions = new DomainSamlOptions("exampleDomainSamlOptions", DomainSamlOptionsArgs.builder()        
+ *         var exampleDomainSamlOptions = new DomainSamlOptions("exampleDomainSamlOptions", DomainSamlOptionsArgs.builder()        
  *             .domainName(example.domainName())
  *             .samlOptions(DomainSamlOptionsSamlOptionsArgs.builder()
  *                 .enabled(true)
  *                 .idp(DomainSamlOptionsSamlOptionsIdpArgs.builder()
- *                     .entityId("https://example.com")
+ *                     .entityId("https://example.com")
  *                     .metadataContent(StdFunctions.file(FileArgs.builder()
- *                         .input("./saml-metadata.xml")
+ *                         .input("./saml-metadata.xml")
  *                         .build()).result())
  *                     .build())
  *                 .build())
@@ -77,7 +78,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/ElasticsearchFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/ElasticsearchFunctions.java index d0412bd97f9..f4f092624c3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/ElasticsearchFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/ElasticsearchFunctions.java @@ -20,7 +20,8 @@ public final class ElasticsearchFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class ElasticsearchFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = ElasticsearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getDomain(GetDomainArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getDomain(GetDomainArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = ElasticsearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = ElasticsearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getDomain(GetDomainArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getDomain(GetDomainArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = ElasticsearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/VpcEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/VpcEndpoint.java index d752cdd1c7b..11090eb2466 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/VpcEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elasticsearch/VpcEndpoint.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new VpcEndpoint("foo", VpcEndpointArgs.builder()        
+ *         var foo = new VpcEndpoint("foo", VpcEndpointArgs.builder()        
  *             .domainArn(domain1.arn())
  *             .vpcOptions(VpcEndpointVpcOptionsArgs.builder()
  *                 .securityGroupIds(                
@@ -58,7 +59,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Pipeline.java b/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Pipeline.java index 6b32c2883a2..7b868ac40d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Pipeline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Pipeline.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,23 +50,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Pipeline("bar", PipelineArgs.builder()        
+ *         var bar = new Pipeline("bar", PipelineArgs.builder()        
  *             .inputBucket(inputBucket.id())
- *             .name("aws_elastictranscoder_pipeline_my_test_")
+ *             .name("aws_elastictranscoder_pipeline_my_test_")
  *             .role(testRole.arn())
  *             .contentConfig(PipelineContentConfigArgs.builder()
  *                 .bucket(contentBucket.id())
- *                 .storageClass("Standard")
+ *                 .storageClass("Standard")
  *                 .build())
  *             .thumbnailConfig(PipelineThumbnailConfigArgs.builder()
  *                 .bucket(thumbBucket.id())
- *                 .storageClass("Standard")
+ *                 .storageClass("Standard")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Preset.java b/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Preset.java index 753d8367436..0796cbfc63f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Preset.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elastictranscoder/Preset.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,65 +54,66 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Preset("bar", PresetArgs.builder()        
- *             .container("mp4")
- *             .description("Sample Preset")
- *             .name("sample_preset")
+ *         var bar = new Preset("bar", PresetArgs.builder()        
+ *             .container("mp4")
+ *             .description("Sample Preset")
+ *             .name("sample_preset")
  *             .audio(PresetAudioArgs.builder()
- *                 .audioPackingMode("SingleTrack")
+ *                 .audioPackingMode("SingleTrack")
  *                 .bitRate(96)
  *                 .channels(2)
- *                 .codec("AAC")
+ *                 .codec("AAC")
  *                 .sampleRate(44100)
  *                 .build())
  *             .audioCodecOptions(PresetAudioCodecOptionsArgs.builder()
- *                 .profile("AAC-LC")
+ *                 .profile("AAC-LC")
  *                 .build())
  *             .video(PresetVideoArgs.builder()
- *                 .bitRate("1600")
- *                 .codec("H.264")
- *                 .displayAspectRatio("16:9")
- *                 .fixedGop("false")
- *                 .frameRate("auto")
- *                 .maxFrameRate("60")
+ *                 .bitRate("1600")
+ *                 .codec("H.264")
+ *                 .displayAspectRatio("16:9")
+ *                 .fixedGop("false")
+ *                 .frameRate("auto")
+ *                 .maxFrameRate("60")
  *                 .keyframesMaxDist(240)
- *                 .maxHeight("auto")
- *                 .maxWidth("auto")
- *                 .paddingPolicy("Pad")
- *                 .sizingPolicy("Fit")
+ *                 .maxHeight("auto")
+ *                 .maxWidth("auto")
+ *                 .paddingPolicy("Pad")
+ *                 .sizingPolicy("Fit")
  *                 .build())
  *             .videoCodecOptions(Map.ofEntries(
- *                 Map.entry("Profile", "main"),
- *                 Map.entry("Level", "2.2"),
- *                 Map.entry("MaxReferenceFrames", 3),
- *                 Map.entry("InterlacedMode", "Progressive"),
- *                 Map.entry("ColorSpaceConversionMode", "None")
+ *                 Map.entry("Profile", "main"),
+ *                 Map.entry("Level", "2.2"),
+ *                 Map.entry("MaxReferenceFrames", 3),
+ *                 Map.entry("InterlacedMode", "Progressive"),
+ *                 Map.entry("ColorSpaceConversionMode", "None")
  *             ))
  *             .videoWatermarks(PresetVideoWatermarkArgs.builder()
- *                 .id("Test")
- *                 .maxWidth("20%")
- *                 .maxHeight("20%")
- *                 .sizingPolicy("ShrinkToFit")
- *                 .horizontalAlign("Right")
- *                 .horizontalOffset("10px")
- *                 .verticalAlign("Bottom")
- *                 .verticalOffset("10px")
- *                 .opacity("55.5")
- *                 .target("Content")
+ *                 .id("Test")
+ *                 .maxWidth("20%")
+ *                 .maxHeight("20%")
+ *                 .sizingPolicy("ShrinkToFit")
+ *                 .horizontalAlign("Right")
+ *                 .horizontalOffset("10px")
+ *                 .verticalAlign("Bottom")
+ *                 .verticalOffset("10px")
+ *                 .opacity("55.5")
+ *                 .target("Content")
  *                 .build())
  *             .thumbnails(PresetThumbnailsArgs.builder()
- *                 .format("png")
+ *                 .format("png")
  *                 .interval(120)
- *                 .maxWidth("auto")
- *                 .maxHeight("auto")
- *                 .paddingPolicy("Pad")
- *                 .sizingPolicy("Fit")
+ *                 .maxWidth("auto")
+ *                 .maxHeight("auto")
+ *                 .paddingPolicy("Pad")
+ *                 .sizingPolicy("Fit")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/AppCookieStickinessPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elb/AppCookieStickinessPolicy.java index 878d8ba4077..142bc6ec391 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/AppCookieStickinessPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/AppCookieStickinessPolicy.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,27 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
- *             .name("test-lb")
- *             .availabilityZones("us-east-1a")
+ *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
+ *             .name("test-lb")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(8000)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(80)
- *                 .lbProtocol("http")
+ *                 .lbProtocol("http")
  *                 .build())
  *             .build());
  * 
- *         var foo = new AppCookieStickinessPolicy("foo", AppCookieStickinessPolicyArgs.builder()        
- *             .name("foo_policy")
+ *         var foo = new AppCookieStickinessPolicy("foo", AppCookieStickinessPolicyArgs.builder()        
+ *             .name("foo_policy")
  *             .loadBalancer(lb.name())
  *             .lbPort(80)
- *             .cookieName("MyAppCookie")
+ *             .cookieName("MyAppCookie")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/Attachment.java b/sdk/java/src/main/java/com/pulumi/aws/elb/Attachment.java index 1c0b04fdb02..9e37369f206 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/Attachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/Attachment.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,15 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new load balancer attachment
- *         var baz = new Attachment("baz", AttachmentArgs.builder()        
+ *         var baz = new Attachment("baz", AttachmentArgs.builder()        
  *             .elb(bar.id())
  *             .instance(foo.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/ElbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/elb/ElbFunctions.java index d3ecc8b8955..139603853e5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/ElbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/ElbFunctions.java @@ -27,7 +27,8 @@ public final class ElbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,20 +54,21 @@ public final class ElbFunctions {
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsElb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -80,7 +82,8 @@ public static Output getHostedZoneId() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -106,20 +109,21 @@ public static Output getHostedZoneId() {
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsElb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -133,7 +137,8 @@ public static CompletableFuture getHostedZoneIdPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -159,20 +164,21 @@ public static CompletableFuture getHostedZoneIdPlain() {
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsElb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -186,7 +192,8 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -212,20 +219,21 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsElb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -239,7 +247,8 @@ public static CompletableFuture getHostedZoneIdPlain(GetH * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -265,20 +274,21 @@ public static CompletableFuture getHostedZoneIdPlain(GetH
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsElb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -292,7 +302,8 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -318,20 +329,21 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsElb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -350,7 +362,8 @@ public static CompletableFuture getHostedZoneIdPlain(GetH * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -372,14 +385,15 @@ public static CompletableFuture getHostedZoneIdPlain(GetH
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = ElbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .name(lbName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -398,7 +412,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -420,14 +435,15 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = ElbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .name(lbName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -446,7 +462,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -468,14 +485,15 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = ElbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .name(lbName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -494,7 +512,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -516,14 +535,15 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = ElbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .name(lbName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -539,7 +559,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -574,50 +595,51 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getServiceAccount();
      * 
-     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
-     *             .bucket("my-elb-tf-test-bucket")
+     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
+     *             .bucket("my-elb-tf-test-bucket")
      *             .build());
      * 
-     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
+     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(elbLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowElbLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                     .type("AWS")
+     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                     .build())
-     *                 .actions("s3:PutObject")
-     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
+     *                 .actions("s3:PutObject")
+     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
      *                 .build())
      *             .build());
      * 
-     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(elbLogs.id())
-     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
-     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
-     *             .name("my-foobar-elb")
-     *             .availabilityZones("us-west-2a")
+     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+     *             .name("my-foobar-elb")
+     *             .availabilityZones("us-west-2a")
      *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
      *                 .bucket(elbLogs.id())
      *                 .interval(5)
      *                 .build())
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("http")
+     *                 .instanceProtocol("http")
      *                 .lbPort(80)
-     *                 .lbProtocol("http")
+     *                 .lbProtocol("http")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -633,7 +655,8 @@ public static Output getServiceAccount() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -668,50 +691,51 @@ public static Output getServiceAccount() {
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getServiceAccount();
      * 
-     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
-     *             .bucket("my-elb-tf-test-bucket")
+     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
+     *             .bucket("my-elb-tf-test-bucket")
      *             .build());
      * 
-     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
+     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(elbLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowElbLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                     .type("AWS")
+     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                     .build())
-     *                 .actions("s3:PutObject")
-     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
+     *                 .actions("s3:PutObject")
+     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
      *                 .build())
      *             .build());
      * 
-     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(elbLogs.id())
-     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
-     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
-     *             .name("my-foobar-elb")
-     *             .availabilityZones("us-west-2a")
+     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+     *             .name("my-foobar-elb")
+     *             .availabilityZones("us-west-2a")
      *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
      *                 .bucket(elbLogs.id())
      *                 .interval(5)
      *                 .build())
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("http")
+     *                 .instanceProtocol("http")
      *                 .lbPort(80)
-     *                 .lbProtocol("http")
+     *                 .lbProtocol("http")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -727,7 +751,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -762,50 +787,51 @@ public static CompletableFuture getServiceAccountPlain(
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getServiceAccount();
      * 
-     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
-     *             .bucket("my-elb-tf-test-bucket")
+     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
+     *             .bucket("my-elb-tf-test-bucket")
      *             .build());
      * 
-     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
+     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(elbLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowElbLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                     .type("AWS")
+     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                     .build())
-     *                 .actions("s3:PutObject")
-     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
+     *                 .actions("s3:PutObject")
+     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
      *                 .build())
      *             .build());
      * 
-     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(elbLogs.id())
-     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
-     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
-     *             .name("my-foobar-elb")
-     *             .availabilityZones("us-west-2a")
+     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+     *             .name("my-foobar-elb")
+     *             .availabilityZones("us-west-2a")
      *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
      *                 .bucket(elbLogs.id())
      *                 .interval(5)
      *                 .build())
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("http")
+     *                 .instanceProtocol("http")
      *                 .lbPort(80)
-     *                 .lbProtocol("http")
+     *                 .lbProtocol("http")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -821,7 +847,8 @@ public static Output getServiceAccount(GetServiceAccoun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -856,50 +883,51 @@ public static Output getServiceAccount(GetServiceAccoun
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getServiceAccount();
      * 
-     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
-     *             .bucket("my-elb-tf-test-bucket")
+     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
+     *             .bucket("my-elb-tf-test-bucket")
      *             .build());
      * 
-     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
+     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(elbLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowElbLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                     .type("AWS")
+     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                     .build())
-     *                 .actions("s3:PutObject")
-     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
+     *                 .actions("s3:PutObject")
+     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
      *                 .build())
      *             .build());
      * 
-     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(elbLogs.id())
-     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
-     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
-     *             .name("my-foobar-elb")
-     *             .availabilityZones("us-west-2a")
+     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+     *             .name("my-foobar-elb")
+     *             .availabilityZones("us-west-2a")
      *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
      *                 .bucket(elbLogs.id())
      *                 .interval(5)
      *                 .build())
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("http")
+     *                 .instanceProtocol("http")
      *                 .lbPort(80)
-     *                 .lbProtocol("http")
+     *                 .lbProtocol("http")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -915,7 +943,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -950,50 +979,51 @@ public static CompletableFuture getServiceAccountPlain(
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getServiceAccount();
      * 
-     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
-     *             .bucket("my-elb-tf-test-bucket")
+     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
+     *             .bucket("my-elb-tf-test-bucket")
      *             .build());
      * 
-     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
+     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(elbLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowElbLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                     .type("AWS")
+     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                     .build())
-     *                 .actions("s3:PutObject")
-     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
+     *                 .actions("s3:PutObject")
+     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
      *                 .build())
      *             .build());
      * 
-     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(elbLogs.id())
-     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
-     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
-     *             .name("my-foobar-elb")
-     *             .availabilityZones("us-west-2a")
+     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+     *             .name("my-foobar-elb")
+     *             .availabilityZones("us-west-2a")
      *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
      *                 .bucket(elbLogs.id())
      *                 .interval(5)
      *                 .build())
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("http")
+     *                 .instanceProtocol("http")
      *                 .lbPort(80)
-     *                 .lbProtocol("http")
+     *                 .lbProtocol("http")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1009,7 +1039,8 @@ public static Output getServiceAccount(GetServiceAccoun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1044,50 +1075,51 @@ public static Output getServiceAccount(GetServiceAccoun
      *     public static void stack(Context ctx) {
      *         final var main = ElbFunctions.getServiceAccount();
      * 
-     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
-     *             .bucket("my-elb-tf-test-bucket")
+     *         var elbLogs = new BucketV2("elbLogs", BucketV2Args.builder()        
+     *             .bucket("my-elb-tf-test-bucket")
      *             .build());
      * 
-     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
+     *         var elbLogsAcl = new BucketAclV2("elbLogsAcl", BucketAclV2Args.builder()        
      *             .bucket(elbLogs.id())
-     *             .acl("private")
+     *             .acl("private")
      *             .build());
      * 
      *         final var allowElbLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                     .type("AWS")
+     *                     .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                     .build())
-     *                 .actions("s3:PutObject")
-     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
+     *                 .actions("s3:PutObject")
+     *                 .resources(elbLogs.arn().applyValue(arn -> String.format("%s/AWSLogs/*", arn)))
      *                 .build())
      *             .build());
      * 
-     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowElbLoggingBucketPolicy = new BucketPolicy("allowElbLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(elbLogs.id())
-     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowElbLogging -> allowElbLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
-     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
-     *             .name("my-foobar-elb")
-     *             .availabilityZones("us-west-2a")
+     *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+     *             .name("my-foobar-elb")
+     *             .availabilityZones("us-west-2a")
      *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
      *                 .bucket(elbLogs.id())
      *                 .interval(5)
      *                 .build())
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("http")
+     *                 .instanceProtocol("http")
      *                 .lbPort(80)
-     *                 .lbProtocol("http")
+     *                 .lbProtocol("http")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/ListenerPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elb/ListenerPolicy.java index 505da09a2e9..6276ab08d83 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/ListenerPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/ListenerPolicy.java @@ -26,7 +26,8 @@ * ### Custom Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,35 +54,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
- *             .name("wu-tang")
- *             .availabilityZones("us-east-1a")
+ *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
+ *             .name("wu-tang")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(443)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(443)
- *                 .lbProtocol("https")
- *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
+ *                 .lbProtocol("https")
+ *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
  *                 .build())
- *             .tags(Map.of("Name", "wu-tang"))
+ *             .tags(Map.of("Name", "wu-tang"))
  *             .build());
  * 
- *         var wu_tang_ssl = new LoadBalancerPolicy("wu-tang-ssl", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_ssl = new LoadBalancerPolicy("wu-tang-ssl", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-ssl")
- *             .policyTypeName("SSLNegotiationPolicyType")
+ *             .policyName("wu-tang-ssl")
+ *             .policyTypeName("SSLNegotiationPolicyType")
  *             .policyAttributes(            
  *                 LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                     .name("ECDHE-ECDSA-AES128-GCM-SHA256")
- *                     .value("true")
+ *                     .name("ECDHE-ECDSA-AES128-GCM-SHA256")
+ *                     .value("true")
  *                     .build(),
  *                 LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                     .name("Protocol-TLSv1.2")
- *                     .value("true")
+ *                     .name("Protocol-TLSv1.2")
+ *                     .value("true")
  *                     .build())
  *             .build());
  * 
- *         var wu_tang_listener_policies_443 = new ListenerPolicy("wu-tang-listener-policies-443", ListenerPolicyArgs.builder()        
+ *         var wu_tang_listener_policies_443 = new ListenerPolicy("wu-tang-listener-policies-443", ListenerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
  *             .loadBalancerPort(443)
  *             .policyNames(wu_tang_ssl.policyName())
@@ -89,7 +90,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * This example shows how to customize the TLS settings of an HTTPS listener. @@ -97,7 +99,8 @@ * ### AWS Predefined Security Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -124,30 +127,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
- *             .name("wu-tang")
- *             .availabilityZones("us-east-1a")
+ *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
+ *             .name("wu-tang")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(443)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(443)
- *                 .lbProtocol("https")
- *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
+ *                 .lbProtocol("https")
+ *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
  *                 .build())
- *             .tags(Map.of("Name", "wu-tang"))
+ *             .tags(Map.of("Name", "wu-tang"))
  *             .build());
  * 
- *         var wu_tang_ssl_tls_1_1 = new LoadBalancerPolicy("wu-tang-ssl-tls-1-1", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_ssl_tls_1_1 = new LoadBalancerPolicy("wu-tang-ssl-tls-1-1", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-ssl")
- *             .policyTypeName("SSLNegotiationPolicyType")
+ *             .policyName("wu-tang-ssl")
+ *             .policyTypeName("SSLNegotiationPolicyType")
  *             .policyAttributes(LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                 .name("Reference-Security-Policy")
- *                 .value("ELBSecurityPolicy-TLS-1-1-2017-01")
+ *                 .name("Reference-Security-Policy")
+ *                 .value("ELBSecurityPolicy-TLS-1-1-2017-01")
  *                 .build())
  *             .build());
  * 
- *         var wu_tang_listener_policies_443 = new ListenerPolicy("wu-tang-listener-policies-443", ListenerPolicyArgs.builder()        
+ *         var wu_tang_listener_policies_443 = new ListenerPolicy("wu-tang-listener-policies-443", ListenerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
  *             .loadBalancerPort(443)
  *             .policyNames(wu_tang_ssl_tls_1_1.policyName())
@@ -155,7 +158,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * This example shows how to add a [Predefined Security Policy for ELBs](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html) diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancer.java b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancer.java index b4a8f4fb373..21c8a03159f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancer.java @@ -37,7 +37,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -62,36 +63,36 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new load balancer
- *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
- *             .name("foobar-elb")
+ *         var bar = new LoadBalancer("bar", LoadBalancerArgs.builder()        
+ *             .name("foobar-elb")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
  *             .accessLogs(LoadBalancerAccessLogsArgs.builder()
- *                 .bucket("foo")
- *                 .bucketPrefix("bar")
+ *                 .bucket("foo")
+ *                 .bucketPrefix("bar")
  *                 .interval(60)
  *                 .build())
  *             .listeners(            
  *                 LoadBalancerListenerArgs.builder()
  *                     .instancePort(8000)
- *                     .instanceProtocol("http")
+ *                     .instanceProtocol("http")
  *                     .lbPort(80)
- *                     .lbProtocol("http")
+ *                     .lbProtocol("http")
  *                     .build(),
  *                 LoadBalancerListenerArgs.builder()
  *                     .instancePort(8000)
- *                     .instanceProtocol("http")
+ *                     .instanceProtocol("http")
  *                     .lbPort(443)
- *                     .lbProtocol("https")
- *                     .sslCertificateId("arn:aws:iam::123456789012:server-certificate/certName")
+ *                     .lbProtocol("https")
+ *                     .sslCertificateId("arn:aws:iam::123456789012:server-certificate/certName")
  *                     .build())
  *             .healthCheck(LoadBalancerHealthCheckArgs.builder()
  *                 .healthyThreshold(2)
  *                 .unhealthyThreshold(2)
  *                 .timeout(3)
- *                 .target("HTTP:8000/")
+ *                 .target("HTTP:8000/")
  *                 .interval(30)
  *                 .build())
  *             .instances(foo.id())
@@ -99,12 +100,13 @@
  *             .idleTimeout(400)
  *             .connectionDraining(true)
  *             .connectionDrainingTimeout(400)
- *             .tags(Map.of("Name", "foobar-elb"))
+ *             .tags(Map.of("Name", "foobar-elb"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Note on ECDSA Key Algorithm diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerBackendServerPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerBackendServerPolicy.java index 7b5d8608de5..2a00bf1f3bc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerBackendServerPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerBackendServerPolicy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,42 +51,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
- *             .name("wu-tang")
- *             .availabilityZones("us-east-1a")
+ *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
+ *             .name("wu-tang")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(443)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(443)
- *                 .lbProtocol("https")
- *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
+ *                 .lbProtocol("https")
+ *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
  *                 .build())
- *             .tags(Map.of("Name", "wu-tang"))
+ *             .tags(Map.of("Name", "wu-tang"))
  *             .build());
  * 
- *         var wu_tang_ca_pubkey_policy = new LoadBalancerPolicy("wu-tang-ca-pubkey-policy", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_ca_pubkey_policy = new LoadBalancerPolicy("wu-tang-ca-pubkey-policy", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-ca-pubkey-policy")
- *             .policyTypeName("PublicKeyPolicyType")
+ *             .policyName("wu-tang-ca-pubkey-policy")
+ *             .policyTypeName("PublicKeyPolicyType")
  *             .policyAttributes(LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                 .name("PublicKey")
+ *                 .name("PublicKey")
  *                 .value(StdFunctions.file(FileArgs.builder()
- *                     .input("wu-tang-pubkey")
+ *                     .input("wu-tang-pubkey")
  *                     .build()).result())
  *                 .build())
  *             .build());
  * 
- *         var wu_tang_root_ca_backend_auth_policy = new LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_root_ca_backend_auth_policy = new LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-root-ca-backend-auth-policy")
- *             .policyTypeName("BackendServerAuthenticationPolicyType")
+ *             .policyName("wu-tang-root-ca-backend-auth-policy")
+ *             .policyTypeName("BackendServerAuthenticationPolicyType")
  *             .policyAttributes(LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                 .name("PublicKeyPolicyName")
+ *                 .name("PublicKeyPolicyName")
  *                 .value(wu_tang_root_ca_pubkey_policy.policyName())
  *                 .build())
  *             .build());
  * 
- *         var wu_tang_backend_auth_policies_443 = new LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", LoadBalancerBackendServerPolicyArgs.builder()        
+ *         var wu_tang_backend_auth_policies_443 = new LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", LoadBalancerBackendServerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
  *             .instancePort(443)
  *             .policyNames(wu_tang_root_ca_backend_auth_policy.policyName())
@@ -93,7 +94,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerCookieStickinessPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerCookieStickinessPolicy.java index 809617fec54..cdd275f1443 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerCookieStickinessPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerCookieStickinessPolicy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,19 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
- *             .name("test-lb")
- *             .availabilityZones("us-east-1a")
+ *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
+ *             .name("test-lb")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(8000)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(80)
- *                 .lbProtocol("http")
+ *                 .lbProtocol("http")
  *                 .build())
  *             .build());
  * 
- *         var foo = new LoadBalancerCookieStickinessPolicy("foo", LoadBalancerCookieStickinessPolicyArgs.builder()        
- *             .name("foo-policy")
+ *         var foo = new LoadBalancerCookieStickinessPolicy("foo", LoadBalancerCookieStickinessPolicyArgs.builder()        
+ *             .name("foo-policy")
  *             .loadBalancer(lb.id())
  *             .lbPort(80)
  *             .cookieExpirationPeriod(600)
@@ -67,7 +68,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerPolicy.java index a187b2b9cf4..1b83ed223fc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/LoadBalancerPolicy.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,73 +52,73 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
- *             .name("wu-tang")
- *             .availabilityZones("us-east-1a")
+ *         var wu_tang = new LoadBalancer("wu-tang", LoadBalancerArgs.builder()        
+ *             .name("wu-tang")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(443)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(443)
- *                 .lbProtocol("https")
- *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
+ *                 .lbProtocol("https")
+ *                 .sslCertificateId("arn:aws:iam::000000000000:server-certificate/wu-tang.net")
  *                 .build())
- *             .tags(Map.of("Name", "wu-tang"))
+ *             .tags(Map.of("Name", "wu-tang"))
  *             .build());
  * 
- *         var wu_tang_ca_pubkey_policy = new LoadBalancerPolicy("wu-tang-ca-pubkey-policy", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_ca_pubkey_policy = new LoadBalancerPolicy("wu-tang-ca-pubkey-policy", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-ca-pubkey-policy")
- *             .policyTypeName("PublicKeyPolicyType")
+ *             .policyName("wu-tang-ca-pubkey-policy")
+ *             .policyTypeName("PublicKeyPolicyType")
  *             .policyAttributes(LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                 .name("PublicKey")
+ *                 .name("PublicKey")
  *                 .value(StdFunctions.file(FileArgs.builder()
- *                     .input("wu-tang-pubkey")
+ *                     .input("wu-tang-pubkey")
  *                     .build()).result())
  *                 .build())
  *             .build());
  * 
- *         var wu_tang_root_ca_backend_auth_policy = new LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_root_ca_backend_auth_policy = new LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-root-ca-backend-auth-policy")
- *             .policyTypeName("BackendServerAuthenticationPolicyType")
+ *             .policyName("wu-tang-root-ca-backend-auth-policy")
+ *             .policyTypeName("BackendServerAuthenticationPolicyType")
  *             .policyAttributes(LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                 .name("PublicKeyPolicyName")
+ *                 .name("PublicKeyPolicyName")
  *                 .value(wu_tang_root_ca_pubkey_policy.policyName())
  *                 .build())
  *             .build());
  * 
- *         var wu_tang_ssl = new LoadBalancerPolicy("wu-tang-ssl", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_ssl = new LoadBalancerPolicy("wu-tang-ssl", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-ssl")
- *             .policyTypeName("SSLNegotiationPolicyType")
+ *             .policyName("wu-tang-ssl")
+ *             .policyTypeName("SSLNegotiationPolicyType")
  *             .policyAttributes(            
  *                 LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                     .name("ECDHE-ECDSA-AES128-GCM-SHA256")
- *                     .value("true")
+ *                     .name("ECDHE-ECDSA-AES128-GCM-SHA256")
+ *                     .value("true")
  *                     .build(),
  *                 LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                     .name("Protocol-TLSv1.2")
- *                     .value("true")
+ *                     .name("Protocol-TLSv1.2")
+ *                     .value("true")
  *                     .build())
  *             .build());
  * 
- *         var wu_tang_ssl_tls_1_1 = new LoadBalancerPolicy("wu-tang-ssl-tls-1-1", LoadBalancerPolicyArgs.builder()        
+ *         var wu_tang_ssl_tls_1_1 = new LoadBalancerPolicy("wu-tang-ssl-tls-1-1", LoadBalancerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
- *             .policyName("wu-tang-ssl")
- *             .policyTypeName("SSLNegotiationPolicyType")
+ *             .policyName("wu-tang-ssl")
+ *             .policyTypeName("SSLNegotiationPolicyType")
  *             .policyAttributes(LoadBalancerPolicyPolicyAttributeArgs.builder()
- *                 .name("Reference-Security-Policy")
- *                 .value("ELBSecurityPolicy-TLS-1-1-2017-01")
+ *                 .name("Reference-Security-Policy")
+ *                 .value("ELBSecurityPolicy-TLS-1-1-2017-01")
  *                 .build())
  *             .build());
  * 
- *         var wu_tang_backend_auth_policies_443 = new LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", LoadBalancerBackendServerPolicyArgs.builder()        
+ *         var wu_tang_backend_auth_policies_443 = new LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", LoadBalancerBackendServerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
  *             .instancePort(443)
  *             .policyNames(wu_tang_root_ca_backend_auth_policy.policyName())
  *             .build());
  * 
- *         var wu_tang_listener_policies_443 = new ListenerPolicy("wu-tang-listener-policies-443", ListenerPolicyArgs.builder()        
+ *         var wu_tang_listener_policies_443 = new ListenerPolicy("wu-tang-listener-policies-443", ListenerPolicyArgs.builder()        
  *             .loadBalancerName(wu_tang.name())
  *             .loadBalancerPort(443)
  *             .policyNames(wu_tang_ssl.policyName())
@@ -125,7 +126,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/elb/SslNegotiationPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/elb/SslNegotiationPolicy.java index 15773107bc5..c71656922bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/elb/SslNegotiationPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/elb/SslNegotiationPolicy.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,56 +51,57 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
- *             .name("test-lb")
- *             .availabilityZones("us-east-1a")
+ *         var lb = new LoadBalancer("lb", LoadBalancerArgs.builder()        
+ *             .name("test-lb")
+ *             .availabilityZones("us-east-1a")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(8000)
- *                 .instanceProtocol("https")
+ *                 .instanceProtocol("https")
  *                 .lbPort(443)
- *                 .lbProtocol("https")
- *                 .sslCertificateId("arn:aws:iam::123456789012:server-certificate/certName")
+ *                 .lbProtocol("https")
+ *                 .sslCertificateId("arn:aws:iam::123456789012:server-certificate/certName")
  *                 .build())
  *             .build());
  * 
- *         var foo = new SslNegotiationPolicy("foo", SslNegotiationPolicyArgs.builder()        
- *             .name("foo-policy")
+ *         var foo = new SslNegotiationPolicy("foo", SslNegotiationPolicyArgs.builder()        
+ *             .name("foo-policy")
  *             .loadBalancer(lb.id())
  *             .lbPort(443)
  *             .attributes(            
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("Protocol-TLSv1")
- *                     .value("false")
+ *                     .name("Protocol-TLSv1")
+ *                     .value("false")
  *                     .build(),
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("Protocol-TLSv1.1")
- *                     .value("false")
+ *                     .name("Protocol-TLSv1.1")
+ *                     .value("false")
  *                     .build(),
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("Protocol-TLSv1.2")
- *                     .value("true")
+ *                     .name("Protocol-TLSv1.2")
+ *                     .value("true")
  *                     .build(),
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("Server-Defined-Cipher-Order")
- *                     .value("true")
+ *                     .name("Server-Defined-Cipher-Order")
+ *                     .value("true")
  *                     .build(),
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("ECDHE-RSA-AES128-GCM-SHA256")
- *                     .value("true")
+ *                     .name("ECDHE-RSA-AES128-GCM-SHA256")
+ *                     .value("true")
  *                     .build(),
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("AES128-GCM-SHA256")
- *                     .value("true")
+ *                     .name("AES128-GCM-SHA256")
+ *                     .value("true")
  *                     .build(),
  *                 SslNegotiationPolicyAttributeArgs.builder()
- *                     .name("EDH-RSA-DES-CBC3-SHA")
- *                     .value("false")
+ *                     .name("EDH-RSA-DES-CBC3-SHA")
+ *                     .value("false")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/BlockPublicAccessConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/emr/BlockPublicAccessConfiguration.java index 166b026ebd1..8e62ad6bb31 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/BlockPublicAccessConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/BlockPublicAccessConfiguration.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,13 +46,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
+ *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
  *             .blockPublicSecurityGroupRules(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Default Configuration @@ -59,7 +61,8 @@ * By default, each AWS region is equipped with a block public access configuration that prevents EMR clusters from being launched if they have security group rules permitting public access on any port except for port 22. The default configuration can be managed using this resource. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,7 +84,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
+ *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
  *             .blockPublicSecurityGroupRules(true)
  *             .permittedPublicSecurityGroupRuleRanges(BlockPublicAccessConfigurationPermittedPublicSecurityGroupRuleRangeArgs.builder()
  *                 .minRange(22)
@@ -91,7 +94,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **NOTE:** If an `aws.emr.BlockPublicAccessConfiguration` resource is destroyed, the configuration will reset to this default configuration. @@ -101,7 +105,8 @@ * The resource permits specification of multiple `permitted_public_security_group_rule_range` blocks. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,7 +128,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
+ *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
  *             .blockPublicSecurityGroupRules(true)
  *             .permittedPublicSecurityGroupRuleRanges(            
  *                 BlockPublicAccessConfigurationPermittedPublicSecurityGroupRuleRangeArgs.builder()
@@ -138,7 +143,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Disabling Block Public Access @@ -146,7 +152,8 @@ * To permit EMR clusters to be launched in the configured region regardless of associated security group rules, the Block Public Access feature can be disabled using this resource. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -167,13 +174,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
+ *         var example = new BlockPublicAccessConfiguration("example", BlockPublicAccessConfigurationArgs.builder()        
  *             .blockPublicSecurityGroupRules(false)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/emr/Cluster.java index 812fa1e79f2..b223a93a3a0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/Cluster.java @@ -36,7 +36,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,18 +62,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
- *             .name("emr-test-arn")
- *             .releaseLabel("emr-4.6.0")
- *             .applications("Spark")
- *             .additionalInfo("""
+ *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+ *             .name("emr-test-arn")
+ *             .releaseLabel("emr-4.6.0")
+ *             .applications("Spark")
+ *             .additionalInfo("""
  * {
- *   "instanceAwsClientConfiguration": {
- *     "proxyPort": 8099,
- *     "proxyHost": "myproxy.example.com"
+ *   "instanceAwsClientConfiguration": {
+ *     "proxyPort": 8099,
+ *     "proxyHost": "myproxy.example.com"
  *   }
  * }
- *             """)
+ *             """)
  *             .terminationProtection(false)
  *             .keepJobFlowAliveWhenNoSteps(true)
  *             .ec2Attributes(ClusterEc2AttributesArgs.builder()
@@ -82,97 +83,98 @@
  *                 .instanceProfile(emrProfile.arn())
  *                 .build())
  *             .masterInstanceGroup(ClusterMasterInstanceGroupArgs.builder()
- *                 .instanceType("m4.large")
+ *                 .instanceType("m4.large")
  *                 .build())
  *             .coreInstanceGroup(ClusterCoreInstanceGroupArgs.builder()
- *                 .instanceType("c4.large")
+ *                 .instanceType("c4.large")
  *                 .instanceCount(1)
  *                 .ebsConfigs(ClusterCoreInstanceGroupEbsConfigArgs.builder()
- *                     .size("40")
- *                     .type("gp2")
+ *                     .size("40")
+ *                     .type("gp2")
  *                     .volumesPerInstance(1)
  *                     .build())
- *                 .bidPrice("0.30")
- *                 .autoscalingPolicy("""
+ *                 .bidPrice("0.30")
+ *                 .autoscalingPolicy("""
  * {
- * "Constraints": {
- *   "MinCapacity": 1,
- *   "MaxCapacity": 2
+ * "Constraints": {
+ *   "MinCapacity": 1,
+ *   "MaxCapacity": 2
  * },
- * "Rules": [
+ * "Rules": [
  *   {
- *     "Name": "ScaleOutMemoryPercentage",
- *     "Description": "Scale out if YARNMemoryAvailablePercentage is less than 15",
- *     "Action": {
- *       "SimpleScalingPolicyConfiguration": {
- *         "AdjustmentType": "CHANGE_IN_CAPACITY",
- *         "ScalingAdjustment": 1,
- *         "CoolDown": 300
+ *     "Name": "ScaleOutMemoryPercentage",
+ *     "Description": "Scale out if YARNMemoryAvailablePercentage is less than 15",
+ *     "Action": {
+ *       "SimpleScalingPolicyConfiguration": {
+ *         "AdjustmentType": "CHANGE_IN_CAPACITY",
+ *         "ScalingAdjustment": 1,
+ *         "CoolDown": 300
  *       }
  *     },
- *     "Trigger": {
- *       "CloudWatchAlarmDefinition": {
- *         "ComparisonOperator": "LESS_THAN",
- *         "EvaluationPeriods": 1,
- *         "MetricName": "YARNMemoryAvailablePercentage",
- *         "Namespace": "AWS/ElasticMapReduce",
- *         "Period": 300,
- *         "Statistic": "AVERAGE",
- *         "Threshold": 15.0,
- *         "Unit": "PERCENT"
+ *     "Trigger": {
+ *       "CloudWatchAlarmDefinition": {
+ *         "ComparisonOperator": "LESS_THAN",
+ *         "EvaluationPeriods": 1,
+ *         "MetricName": "YARNMemoryAvailablePercentage",
+ *         "Namespace": "AWS/ElasticMapReduce",
+ *         "Period": 300,
+ *         "Statistic": "AVERAGE",
+ *         "Threshold": 15.0,
+ *         "Unit": "PERCENT"
  *       }
  *     }
  *   }
  * ]
  * }
- *                 """)
+ *                 """)
  *                 .build())
  *             .ebsRootVolumeSize(100)
  *             .tags(Map.ofEntries(
- *                 Map.entry("role", "rolename"),
- *                 Map.entry("env", "env")
+ *                 Map.entry("role", "rolename"),
+ *                 Map.entry("env", "env")
  *             ))
  *             .bootstrapActions(ClusterBootstrapActionArgs.builder()
- *                 .path("s3://elasticmapreduce/bootstrap-actions/run-if")
- *                 .name("runif")
+ *                 .path("s3://elasticmapreduce/bootstrap-actions/run-if")
+ *                 .name("runif")
  *                 .args(                
- *                     "instance.isMaster=true",
- *                     "echo running on master node")
+ *                     "instance.isMaster=true",
+ *                     "echo running on master node")
  *                 .build())
- *             .configurationsJson("""
+ *             .configurationsJson("""
  *   [
  *     {
- *       "Classification": "hadoop-env",
- *       "Configurations": [
+ *       "Classification": "hadoop-env",
+ *       "Configurations": [
  *         {
- *           "Classification": "export",
- *           "Properties": {
- *             "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+ *           "Classification": "export",
+ *           "Properties": {
+ *             "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
  *           }
  *         }
  *       ],
- *       "Properties": {}
+ *       "Properties": {}
  *     },
  *     {
- *       "Classification": "spark-env",
- *       "Configurations": [
+ *       "Classification": "spark-env",
+ *       "Configurations": [
  *         {
- *           "Classification": "export",
- *           "Properties": {
- *             "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+ *           "Classification": "export",
+ *           "Properties": {
+ *             "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
  *           }
  *         }
  *       ],
- *       "Properties": {}
+ *       "Properties": {}
  *     }
  *   ]
- *             """)
+ *             """)
  *             .serviceRole(iamEmrServiceRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * The `aws.emr.Cluster` resource typically requires two IAM roles, one for the EMR Cluster to use as a service role, and another is assigned to every EC2 instance in a cluster and each application process that runs on a cluster assumes this role for permissions to interact with other AWS services. An additional role, the Auto Scaling role, is required if your cluster uses automatic scaling in Amazon EMR. @@ -182,7 +184,8 @@ * ### Instance Fleet * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -210,10 +213,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
+ *         var example = new Cluster("example", ClusterArgs.builder()        
  *             .masterInstanceFleet(ClusterMasterInstanceFleetArgs.builder()
  *                 .instanceTypeConfigs(ClusterMasterInstanceFleetInstanceTypeConfigArgs.builder()
- *                     .instanceType("m4.xlarge")
+ *                     .instanceType("m4.xlarge")
  *                     .build())
  *                 .targetOnDemandCapacity(1)
  *                 .build())
@@ -223,85 +226,86 @@
  *                         .bidPriceAsPercentageOfOnDemandPrice(80)
  *                         .ebsConfigs(ClusterCoreInstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                             .size(100)
- *                             .type("gp2")
+ *                             .type("gp2")
  *                             .volumesPerInstance(1)
  *                             .build())
- *                         .instanceType("m3.xlarge")
+ *                         .instanceType("m3.xlarge")
  *                         .weightedCapacity(1)
  *                         .build(),
  *                     ClusterCoreInstanceFleetInstanceTypeConfigArgs.builder()
  *                         .bidPriceAsPercentageOfOnDemandPrice(100)
  *                         .ebsConfigs(ClusterCoreInstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                             .size(100)
- *                             .type("gp2")
+ *                             .type("gp2")
  *                             .volumesPerInstance(1)
  *                             .build())
- *                         .instanceType("m4.xlarge")
+ *                         .instanceType("m4.xlarge")
  *                         .weightedCapacity(1)
  *                         .build(),
  *                     ClusterCoreInstanceFleetInstanceTypeConfigArgs.builder()
  *                         .bidPriceAsPercentageOfOnDemandPrice(100)
  *                         .ebsConfigs(ClusterCoreInstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                             .size(100)
- *                             .type("gp2")
+ *                             .type("gp2")
  *                             .volumesPerInstance(1)
  *                             .build())
- *                         .instanceType("m4.2xlarge")
+ *                         .instanceType("m4.2xlarge")
  *                         .weightedCapacity(2)
  *                         .build())
  *                 .launchSpecifications(ClusterCoreInstanceFleetLaunchSpecificationsArgs.builder()
  *                     .spotSpecifications(ClusterCoreInstanceFleetLaunchSpecificationsSpotSpecificationArgs.builder()
- *                         .allocationStrategy("capacity-optimized")
+ *                         .allocationStrategy("capacity-optimized")
  *                         .blockDurationMinutes(0)
- *                         .timeoutAction("SWITCH_TO_ON_DEMAND")
+ *                         .timeoutAction("SWITCH_TO_ON_DEMAND")
  *                         .timeoutDurationMinutes(10)
  *                         .build())
  *                     .build())
- *                 .name("core fleet")
+ *                 .name("core fleet")
  *                 .targetOnDemandCapacity(2)
  *                 .targetSpotCapacity(2)
  *                 .build())
  *             .build());
  * 
- *         var task = new InstanceFleet("task", InstanceFleetArgs.builder()        
+ *         var task = new InstanceFleet("task", InstanceFleetArgs.builder()        
  *             .clusterId(example.id())
  *             .instanceTypeConfigs(            
  *                 InstanceFleetInstanceTypeConfigArgs.builder()
  *                     .bidPriceAsPercentageOfOnDemandPrice(100)
  *                     .ebsConfigs(InstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                         .size(100)
- *                         .type("gp2")
+ *                         .type("gp2")
  *                         .volumesPerInstance(1)
  *                         .build())
- *                     .instanceType("m4.xlarge")
+ *                     .instanceType("m4.xlarge")
  *                     .weightedCapacity(1)
  *                     .build(),
  *                 InstanceFleetInstanceTypeConfigArgs.builder()
  *                     .bidPriceAsPercentageOfOnDemandPrice(100)
  *                     .ebsConfigs(InstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                         .size(100)
- *                         .type("gp2")
+ *                         .type("gp2")
  *                         .volumesPerInstance(1)
  *                         .build())
- *                     .instanceType("m4.2xlarge")
+ *                     .instanceType("m4.2xlarge")
  *                     .weightedCapacity(2)
  *                     .build())
  *             .launchSpecifications(InstanceFleetLaunchSpecificationsArgs.builder()
  *                 .spotSpecifications(InstanceFleetLaunchSpecificationsSpotSpecificationArgs.builder()
- *                     .allocationStrategy("capacity-optimized")
+ *                     .allocationStrategy("capacity-optimized")
  *                     .blockDurationMinutes(0)
- *                     .timeoutAction("TERMINATE_CLUSTER")
+ *                     .timeoutAction("TERMINATE_CLUSTER")
  *                     .timeoutDurationMinutes(10)
  *                     .build())
  *                 .build())
- *             .name("task fleet")
+ *             .name("task fleet")
  *             .targetOnDemandCapacity(1)
  *             .targetSpotCapacity(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enable Debug Logging @@ -309,7 +313,8 @@ * [Debug logging in EMR](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-debugging.html) is implemented as a step. It is highly recommended that you utilize the resource options configuration with `ignoreChanges` if other steps are being managed outside of this provider. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -332,20 +337,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
+ *         var example = new Cluster("example", ClusterArgs.builder()        
  *             .steps(ClusterStepArgs.builder()
- *                 .actionOnFailure("TERMINATE_CLUSTER")
- *                 .name("Setup Hadoop Debugging")
+ *                 .actionOnFailure("TERMINATE_CLUSTER")
+ *                 .name("Setup Hadoop Debugging")
  *                 .hadoopJarStep(ClusterStepHadoopJarStepArgs.builder()
- *                     .jar("command-runner.jar")
- *                     .args("state-pusher-script")
+ *                     .jar("command-runner.jar")
+ *                     .args("state-pusher-script")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Multiple Node Master Instance Group @@ -353,7 +359,8 @@ * Available in EMR version 5.23.0 and later, an EMR Cluster can be launched with three master nodes for high availability. Additional information about this functionality and its requirements can be found in the [EMR Management Guide](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-ha.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -382,12 +389,12 @@
  *         // This configuration is for illustrative purposes and highlights
  *         // only relevant configurations for working with this functionality.
  *         // Map public IP on launch must be enabled for public (Internet accessible) subnets
- *         var example = new Subnet("example", SubnetArgs.builder()        
+ *         var example = new Subnet("example", SubnetArgs.builder()        
  *             .mapPublicIpOnLaunch(true)
  *             .build());
  * 
- *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
- *             .releaseLabel("emr-5.24.1")
+ *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
+ *             .releaseLabel("emr-5.24.1")
  *             .terminationProtection(true)
  *             .ec2Attributes(ClusterEc2AttributesArgs.builder()
  *                 .subnetId(example.id())
@@ -400,7 +407,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -525,7 +533,8 @@ public Output> configurations() { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -546,28 +555,29 @@ public Output> configurations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-     *             .configurationsJson("""
+     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -580,7 +590,8 @@ public Output> configurations() { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -601,28 +612,29 @@ public Output> configurations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-     *             .configurationsJson("""
+     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/ClusterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/emr/ClusterArgs.java index 5ed872b44bc..14062884b60 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/ClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/ClusterArgs.java @@ -126,7 +126,8 @@ public Optional> configurations() { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -147,28 +148,29 @@ public Optional> configurations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-     *             .configurationsJson("""
+     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -181,7 +183,8 @@ public Optional> configurations() { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -202,28 +205,29 @@ public Optional> configurations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-     *             .configurationsJson("""
+     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -801,7 +805,8 @@ public Builder configurations(String configurations) { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -822,28 +827,29 @@ public Builder configurations(String configurations) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-         *             .configurationsJson("""
+         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -860,7 +866,8 @@ public Builder configurationsJson(@Nullable Output configurationsJson) { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -881,28 +888,29 @@ public Builder configurationsJson(@Nullable Output configurationsJson) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-         *             .configurationsJson("""
+         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/EmrFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/emr/EmrFunctions.java index d7082b600a0..be21080bacd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/EmrFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/EmrFunctions.java @@ -23,7 +23,8 @@ public final class EmrFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,14 +48,15 @@ public final class EmrFunctions {
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getReleaseLabels(GetReleaseLabelsArgs.builder()
      *             .filters(GetReleaseLabelsFiltersArgs.builder()
-     *                 .application("spark@2.1.0")
-     *                 .prefix("emr-5")
+     *                 .application("spark{@literal @}2.1.0")
+     *                 .prefix("emr-5")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getReleaseLabels() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,14 +94,15 @@ public static Output getReleaseLabels() {
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getReleaseLabels(GetReleaseLabelsArgs.builder()
      *             .filters(GetReleaseLabelsFiltersArgs.builder()
-     *                 .application("spark@2.1.0")
-     *                 .prefix("emr-5")
+     *                 .application("spark{@literal @}2.1.0")
+     *                 .prefix("emr-5")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getReleaseLabelsPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -135,14 +140,15 @@ public static CompletableFuture getReleaseLabelsPlain()
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getReleaseLabels(GetReleaseLabelsArgs.builder()
      *             .filters(GetReleaseLabelsFiltersArgs.builder()
-     *                 .application("spark@2.1.0")
-     *                 .prefix("emr-5")
+     *                 .application("spark{@literal @}2.1.0")
+     *                 .prefix("emr-5")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getReleaseLabels(GetReleaseLabelsAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -179,14 +186,15 @@ public static Output getReleaseLabels(GetReleaseLabelsAr
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getReleaseLabels(GetReleaseLabelsArgs.builder()
      *             .filters(GetReleaseLabelsFiltersArgs.builder()
-     *                 .application("spark@2.1.0")
-     *                 .prefix("emr-5")
+     *                 .application("spark{@literal @}2.1.0")
+     *                 .prefix("emr-5")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -199,7 +207,8 @@ public static CompletableFuture getReleaseLabelsPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -223,14 +232,15 @@ public static CompletableFuture getReleaseLabelsPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getReleaseLabels(GetReleaseLabelsArgs.builder()
      *             .filters(GetReleaseLabelsFiltersArgs.builder()
-     *                 .application("spark@2.1.0")
-     *                 .prefix("emr-5")
+     *                 .application("spark{@literal @}2.1.0")
+     *                 .prefix("emr-5")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -243,7 +253,8 @@ public static Output getReleaseLabels(GetReleaseLabelsAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -267,14 +278,15 @@ public static Output getReleaseLabels(GetReleaseLabelsAr
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getReleaseLabels(GetReleaseLabelsArgs.builder()
      *             .filters(GetReleaseLabelsFiltersArgs.builder()
-     *                 .application("spark@2.1.0")
-     *                 .prefix("emr-5")
+     *                 .application("spark{@literal @}2.1.0")
+     *                 .prefix("emr-5")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -289,7 +301,8 @@ public static CompletableFuture getReleaseLabelsPlain(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -311,12 +324,13 @@ public static CompletableFuture getReleaseLabelsPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
-     *             .releaseLabel("ebs-6.15.0")
+     *             .releaseLabel("ebs-6.15.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With a Lifecycle Pre-Condition @@ -324,7 +338,8 @@ public static CompletableFuture getReleaseLabelsPlain(Ge * This data source can be used with a lifecycle precondition to ensure a given instance type is supported by EMR. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -348,15 +363,15 @@ public static CompletableFuture getReleaseLabelsPlain(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var instanceType = "r7g.large";
+     *         final var instanceType = "r7g.large";
      * 
-     *         final var releaseLabel = "emr-6.15.0";
+     *         final var releaseLabel = "emr-6.15.0";
      * 
      *         final var test = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
      *             .releaseLabel(releaseLabel)
      *             .build());
      * 
-     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
+     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
      *             .releaseLabel(releaseLabel)
      *             .masterInstanceGroup(ClusterMasterInstanceGroupArgs.builder()
      *                 .instanceType(instanceType)
@@ -365,7 +380,8 @@ public static CompletableFuture getReleaseLabelsPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -380,7 +396,8 @@ public static Output getSupportedInstanceTypes( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -402,12 +419,13 @@ public static Output getSupportedInstanceTypes(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
-     *             .releaseLabel("ebs-6.15.0")
+     *             .releaseLabel("ebs-6.15.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With a Lifecycle Pre-Condition @@ -415,7 +433,8 @@ public static Output getSupportedInstanceTypes( * This data source can be used with a lifecycle precondition to ensure a given instance type is supported by EMR. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -439,15 +458,15 @@ public static Output getSupportedInstanceTypes(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var instanceType = "r7g.large";
+     *         final var instanceType = "r7g.large";
      * 
-     *         final var releaseLabel = "emr-6.15.0";
+     *         final var releaseLabel = "emr-6.15.0";
      * 
      *         final var test = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
      *             .releaseLabel(releaseLabel)
      *             .build());
      * 
-     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
+     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
      *             .releaseLabel(releaseLabel)
      *             .masterInstanceGroup(ClusterMasterInstanceGroupArgs.builder()
      *                 .instanceType(instanceType)
@@ -456,7 +475,8 @@ public static Output getSupportedInstanceTypes(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -471,7 +491,8 @@ public static CompletableFuture getSupportedIns * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -493,12 +514,13 @@ public static CompletableFuture getSupportedIns
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
-     *             .releaseLabel("ebs-6.15.0")
+     *             .releaseLabel("ebs-6.15.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With a Lifecycle Pre-Condition @@ -506,7 +528,8 @@ public static CompletableFuture getSupportedIns * This data source can be used with a lifecycle precondition to ensure a given instance type is supported by EMR. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -530,15 +553,15 @@ public static CompletableFuture getSupportedIns
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var instanceType = "r7g.large";
+     *         final var instanceType = "r7g.large";
      * 
-     *         final var releaseLabel = "emr-6.15.0";
+     *         final var releaseLabel = "emr-6.15.0";
      * 
      *         final var test = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
      *             .releaseLabel(releaseLabel)
      *             .build());
      * 
-     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
+     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
      *             .releaseLabel(releaseLabel)
      *             .masterInstanceGroup(ClusterMasterInstanceGroupArgs.builder()
      *                 .instanceType(instanceType)
@@ -547,7 +570,8 @@ public static CompletableFuture getSupportedIns
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -562,7 +586,8 @@ public static Output getSupportedInstanceTypes( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -584,12 +609,13 @@ public static Output getSupportedInstanceTypes(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
-     *             .releaseLabel("ebs-6.15.0")
+     *             .releaseLabel("ebs-6.15.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With a Lifecycle Pre-Condition @@ -597,7 +623,8 @@ public static Output getSupportedInstanceTypes( * This data source can be used with a lifecycle precondition to ensure a given instance type is supported by EMR. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -621,15 +648,15 @@ public static Output getSupportedInstanceTypes(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var instanceType = "r7g.large";
+     *         final var instanceType = "r7g.large";
      * 
-     *         final var releaseLabel = "emr-6.15.0";
+     *         final var releaseLabel = "emr-6.15.0";
      * 
      *         final var test = EmrFunctions.getSupportedInstanceTypes(GetSupportedInstanceTypesArgs.builder()
      *             .releaseLabel(releaseLabel)
      *             .build());
      * 
-     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
+     *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
      *             .releaseLabel(releaseLabel)
      *             .masterInstanceGroup(ClusterMasterInstanceGroupArgs.builder()
      *                 .instanceType(instanceType)
@@ -638,7 +665,8 @@ public static Output getSupportedInstanceTypes(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceFleet.java b/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceFleet.java index 4b613cb88b6..4bb161f8668 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceFleet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceFleet.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,45 +53,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var task = new InstanceFleet("task", InstanceFleetArgs.builder()        
+ *         var task = new InstanceFleet("task", InstanceFleetArgs.builder()        
  *             .clusterId(cluster.id())
  *             .instanceTypeConfigs(            
  *                 InstanceFleetInstanceTypeConfigArgs.builder()
  *                     .bidPriceAsPercentageOfOnDemandPrice(100)
  *                     .ebsConfigs(InstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                         .size(100)
- *                         .type("gp2")
+ *                         .type("gp2")
  *                         .volumesPerInstance(1)
  *                         .build())
- *                     .instanceType("m4.xlarge")
+ *                     .instanceType("m4.xlarge")
  *                     .weightedCapacity(1)
  *                     .build(),
  *                 InstanceFleetInstanceTypeConfigArgs.builder()
  *                     .bidPriceAsPercentageOfOnDemandPrice(100)
  *                     .ebsConfigs(InstanceFleetInstanceTypeConfigEbsConfigArgs.builder()
  *                         .size(100)
- *                         .type("gp2")
+ *                         .type("gp2")
  *                         .volumesPerInstance(1)
  *                         .build())
- *                     .instanceType("m4.2xlarge")
+ *                     .instanceType("m4.2xlarge")
  *                     .weightedCapacity(2)
  *                     .build())
  *             .launchSpecifications(InstanceFleetLaunchSpecificationsArgs.builder()
  *                 .spotSpecifications(InstanceFleetLaunchSpecificationsSpotSpecificationArgs.builder()
- *                     .allocationStrategy("capacity-optimized")
+ *                     .allocationStrategy("capacity-optimized")
  *                     .blockDurationMinutes(0)
- *                     .timeoutAction("TERMINATE_CLUSTER")
+ *                     .timeoutAction("TERMINATE_CLUSTER")
  *                     .timeoutDurationMinutes(10)
  *                     .build())
  *                 .build())
- *             .name("task fleet")
+ *             .name("task fleet")
  *             .targetOnDemandCapacity(1)
  *             .targetSpotCapacity(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroup.java b/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroup.java index 2ee082f7df4..dc4e1a60abd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroup.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,16 +51,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+ *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
  *             .clusterId(tf_test_cluster.id())
  *             .instanceCount(1)
- *             .instanceType("m5.xlarge")
- *             .name("my little instance group")
+ *             .instanceType("m5.xlarge")
+ *             .name("my little instance group")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -119,7 +121,8 @@ public Output clusterId() { * A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -140,28 +143,29 @@ public Output clusterId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-     *             .configurationsJson("""
+     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -172,7 +176,8 @@ public Output clusterId() { * @return A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -193,28 +198,29 @@ public Output clusterId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-     *             .configurationsJson("""
+     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroupArgs.java index c48b543de99..3c6ce4245ba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/InstanceGroupArgs.java @@ -69,7 +69,8 @@ public Output clusterId() { * A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,28 +91,29 @@ public Output clusterId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-     *             .configurationsJson("""
+     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -122,7 +124,8 @@ public Output clusterId() { * @return A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -143,28 +146,29 @@ public Output clusterId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-     *             .configurationsJson("""
+     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -346,7 +350,8 @@ public Builder clusterId(String clusterId) { * @param configurationsJson A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -367,28 +372,29 @@ public Builder clusterId(String clusterId) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-         *             .configurationsJson("""
+         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -403,7 +409,8 @@ public Builder configurationsJson(@Nullable Output configurationsJson) { * @param configurationsJson A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -424,28 +431,29 @@ public Builder configurationsJson(@Nullable Output configurationsJson) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-         *             .configurationsJson("""
+         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/ManagedScalingPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/emr/ManagedScalingPolicy.java index b1ccbaf1187..f073b215bfe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/ManagedScalingPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/ManagedScalingPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sample = new Cluster("sample", ClusterArgs.builder()        
- *             .name("emr-sample-cluster")
- *             .releaseLabel("emr-5.30.0")
+ *         var sample = new Cluster("sample", ClusterArgs.builder()        
+ *             .name("emr-sample-cluster")
+ *             .releaseLabel("emr-5.30.0")
  *             .masterInstanceGroup(ClusterMasterInstanceGroupArgs.builder()
- *                 .instanceType("m4.large")
+ *                 .instanceType("m4.large")
  *                 .build())
  *             .coreInstanceGroup(ClusterCoreInstanceGroupArgs.builder()
- *                 .instanceType("c4.large")
+ *                 .instanceType("c4.large")
  *                 .build())
  *             .build());
  * 
- *         var samplepolicy = new ManagedScalingPolicy("samplepolicy", ManagedScalingPolicyArgs.builder()        
+ *         var samplepolicy = new ManagedScalingPolicy("samplepolicy", ManagedScalingPolicyArgs.builder()        
  *             .clusterId(sample.id())
  *             .computeLimits(ManagedScalingPolicyComputeLimitArgs.builder()
- *                 .unitType("Instances")
+ *                 .unitType("Instances")
  *                 .minimumCapacityUnits(2)
  *                 .maximumCapacityUnits(10)
  *                 .maximumOndemandCapacityUnits(2)
@@ -71,7 +72,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/SecurityConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/emr/SecurityConfiguration.java index a83bc354dd5..880ced097fa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/SecurityConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/SecurityConfiguration.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,30 +41,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new SecurityConfiguration("foo", SecurityConfigurationArgs.builder()        
- *             .name("emrsc_other")
- *             .configuration("""
+ *         var foo = new SecurityConfiguration("foo", SecurityConfigurationArgs.builder()        
+ *             .name("emrsc_other")
+ *             .configuration("""
  * {
- *   "EncryptionConfiguration": {
- *     "AtRestEncryptionConfiguration": {
- *       "S3EncryptionConfiguration": {
- *         "EncryptionMode": "SSE-S3"
+ *   "EncryptionConfiguration": {
+ *     "AtRestEncryptionConfiguration": {
+ *       "S3EncryptionConfiguration": {
+ *         "EncryptionMode": "SSE-S3"
  *       },
- *       "LocalDiskEncryptionConfiguration": {
- *         "EncryptionKeyProviderType": "AwsKms",
- *         "AwsKmsKey": "arn:aws:kms:us-west-2:187416307283:alias/my_emr_test_key"
+ *       "LocalDiskEncryptionConfiguration": {
+ *         "EncryptionKeyProviderType": "AwsKms",
+ *         "AwsKmsKey": "arn:aws:kms:us-west-2:187416307283:alias/my_emr_test_key"
  *       }
  *     },
- *     "EnableInTransitEncryption": false,
- *     "EnableAtRestEncryption": true
+ *     "EnableInTransitEncryption": false,
+ *     "EnableAtRestEncryption": true
  *   }
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/Studio.java b/sdk/java/src/main/java/com/pulumi/aws/emr/Studio.java index 5a6cb855fee..b96a074f9b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/Studio.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/Studio.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,11 +44,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Studio("example", StudioArgs.builder()        
- *             .authMode("SSO")
- *             .defaultS3Location(String.format("s3://%s/test", test.bucket()))
+ *         var example = new Studio("example", StudioArgs.builder()        
+ *             .authMode("SSO")
+ *             .defaultS3Location(String.format("s3://%s/test", test.bucket()))
  *             .engineSecurityGroupId(testAwsSecurityGroup.id())
- *             .name("example")
+ *             .name("example")
  *             .serviceRole(testAwsIamRole.arn())
  *             .subnetIds(testAwsSubnet.id())
  *             .userRole(testAwsIamRole.arn())
@@ -57,7 +58,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/StudioSessionMapping.java b/sdk/java/src/main/java/com/pulumi/aws/emr/StudioSessionMapping.java index 3b17808be4f..ef42696013f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/StudioSessionMapping.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/StudioSessionMapping.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,16 +41,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new StudioSessionMapping("example", StudioSessionMappingArgs.builder()        
+ *         var example = new StudioSessionMapping("example", StudioSessionMappingArgs.builder()        
  *             .studioId(exampleAwsEmrStudio.id())
- *             .identityType("USER")
- *             .identityId("example")
+ *             .identityType("USER")
+ *             .identityId("example")
  *             .sessionPolicyArn(exampleAwsIamPolicy.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/ClusterState.java b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/ClusterState.java index c9c76a5e97a..b66bdc1437f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/ClusterState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/ClusterState.java @@ -147,7 +147,8 @@ public Optional> configurations() { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -168,28 +169,29 @@ public Optional> configurations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-     *             .configurationsJson("""
+     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -202,7 +204,8 @@ public Optional> configurations() { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -223,28 +226,29 @@ public Optional> configurations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-     *             .configurationsJson("""
+     *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -894,7 +898,8 @@ public Builder configurations(String configurations) { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -915,28 +920,29 @@ public Builder configurations(String configurations) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-         *             .configurationsJson("""
+         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -953,7 +959,8 @@ public Builder configurationsJson(@Nullable Output configurationsJson) { * > **NOTE on `configurations_json`:** If the `Configurations` value is empty then you should skip the `Configurations` field instead of providing an empty list as a value, `"Configurations": []`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -974,28 +981,29 @@ public Builder configurationsJson(@Nullable Output configurationsJson) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
-         *             .configurationsJson("""
+         *         var cluster = new Cluster("cluster", ClusterArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFilters.java b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFilters.java index f42c6186f41..d8a77ef9b52 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFilters.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFilters.java @@ -15,14 +15,14 @@ public final class GetReleaseLabelsFilters extends com.pulumi.resources.InvokeAr public static final GetReleaseLabelsFilters Empty = new GetReleaseLabelsFilters(); /** - * Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * */ @Import(name="application") private @Nullable String application; /** - * @return Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @return Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * */ public Optional application() { @@ -70,7 +70,7 @@ public Builder(GetReleaseLabelsFilters defaults) { } /** - * @param application Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @param application Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFiltersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFiltersArgs.java index 36e7e779f4b..ca8f4430eac 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFiltersArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/GetReleaseLabelsFiltersArgs.java @@ -16,14 +16,14 @@ public final class GetReleaseLabelsFiltersArgs extends com.pulumi.resources.Reso public static final GetReleaseLabelsFiltersArgs Empty = new GetReleaseLabelsFiltersArgs(); /** - * Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * */ @Import(name="application") private @Nullable Output application; /** - * @return Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @return Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * */ public Optional> application() { @@ -71,7 +71,7 @@ public Builder(GetReleaseLabelsFiltersArgs defaults) { } /** - * @param application Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @param application Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * * @return builder * @@ -82,7 +82,7 @@ public Builder application(@Nullable Output application) { } /** - * @param application Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @param application Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/InstanceGroupState.java b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/InstanceGroupState.java index 598311c4439..3e8c4f6d75c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/InstanceGroupState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/inputs/InstanceGroupState.java @@ -68,7 +68,8 @@ public Optional> clusterId() { * A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,28 +90,29 @@ public Optional> clusterId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-     *             .configurationsJson("""
+     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -121,7 +123,8 @@ public Optional> clusterId() { * @return A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,28 +145,29 @@ public Optional> clusterId() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-     *             .configurationsJson("""
+     *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+     *             .configurationsJson("""
      * [
      * {
-     * "Classification": "hadoop-env",
-     * "Configurations": [
+     * "Classification": "hadoop-env",
+     * "Configurations": [
      * {
-     * "Classification": "export",
-     * "Properties": {
-     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+     * "Classification": "export",
+     * "Properties": {
+     * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
      * }
      * }
      * ],
-     * "Properties": {}
+     * "Properties": {}
      * }
      * ]
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -377,7 +381,8 @@ public Builder clusterId(String clusterId) { * @param configurationsJson A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -398,28 +403,29 @@ public Builder clusterId(String clusterId) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-         *             .configurationsJson("""
+         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -434,7 +440,8 @@ public Builder configurationsJson(@Nullable Output configurationsJson) { * @param configurationsJson A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later. * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -455,28 +462,29 @@ public Builder configurationsJson(@Nullable Output configurationsJson) {
          *     }
          * 
          *     public static void stack(Context ctx) {
-         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
-         *             .configurationsJson("""
+         *         var task = new InstanceGroup("task", InstanceGroupArgs.builder()        
+         *             .configurationsJson("""
          * [
          * {
-         * "Classification": "hadoop-env",
-         * "Configurations": [
+         * "Classification": "hadoop-env",
+         * "Configurations": [
          * {
-         * "Classification": "export",
-         * "Properties": {
-         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
+         * "Classification": "export",
+         * "Properties": {
+         * "JAVA_HOME": "/usr/lib/jvm/java-1.8.0"
          * }
          * }
          * ],
-         * "Properties": {}
+         * "Properties": {}
          * }
          * ]
-         *             """)
+         *             """)
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/emr/outputs/GetReleaseLabelsFilters.java b/sdk/java/src/main/java/com/pulumi/aws/emr/outputs/GetReleaseLabelsFilters.java index c320ec540e3..2b5bd36a461 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emr/outputs/GetReleaseLabelsFilters.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emr/outputs/GetReleaseLabelsFilters.java @@ -12,7 +12,7 @@ @CustomType public final class GetReleaseLabelsFilters { /** - * @return Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @return Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * */ private @Nullable String application; @@ -24,7 +24,7 @@ public final class GetReleaseLabelsFilters { private GetReleaseLabelsFilters() {} /** - * @return Optional release label application filter. For example, `Spark@2.1.0` or `Spark`. + * @return Optional release label application filter. For example, `Spark{@literal @}2.1.0` or `Spark`. * */ public Optional application() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/EmrcontainersFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/EmrcontainersFunctions.java index f35e28166c1..e8c276fda39 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/EmrcontainersFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/EmrcontainersFunctions.java @@ -20,7 +20,8 @@ public final class EmrcontainersFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,14 +43,15 @@ public final class EmrcontainersFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrcontainersFunctions.getVirtualCluster(GetVirtualClusterArgs.builder()
-     *             .virtualClusterId("example id")
+     *             .virtualClusterId("example id")
      *             .build());
      * 
-     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
-     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
+     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
+     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -62,7 +64,8 @@ public static Output getVirtualCluster(GetVirtualCluste * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -84,14 +87,15 @@ public static Output getVirtualCluster(GetVirtualCluste
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrcontainersFunctions.getVirtualCluster(GetVirtualClusterArgs.builder()
-     *             .virtualClusterId("example id")
+     *             .virtualClusterId("example id")
      *             .build());
      * 
-     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
-     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
+     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
+     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -104,7 +108,8 @@ public static CompletableFuture getVirtualClusterPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -126,14 +131,15 @@ public static CompletableFuture getVirtualClusterPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrcontainersFunctions.getVirtualCluster(GetVirtualClusterArgs.builder()
-     *             .virtualClusterId("example id")
+     *             .virtualClusterId("example id")
      *             .build());
      * 
-     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
-     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
+     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
+     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +152,8 @@ public static Output getVirtualCluster(GetVirtualCluste * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -168,14 +175,15 @@ public static Output getVirtualCluster(GetVirtualCluste
      * 
      *     public static void stack(Context ctx) {
      *         final var example = EmrcontainersFunctions.getVirtualCluster(GetVirtualClusterArgs.builder()
-     *             .virtualClusterId("example id")
+     *             .virtualClusterId("example id")
      *             .build());
      * 
-     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
-     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
+     *         ctx.export("name", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.name()));
+     *         ctx.export("arn", example.applyValue(getVirtualClusterResult -> getVirtualClusterResult.arn()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/JobTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/JobTemplate.java index b7fae39a580..22efe7f2c3b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/JobTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/JobTemplate.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new JobTemplate("example", JobTemplateArgs.builder()        
+ *         var example = new JobTemplate("example", JobTemplateArgs.builder()        
  *             .jobTemplateData(JobTemplateJobTemplateDataArgs.builder()
  *                 .executionRoleArn(exampleAwsIamRole.arn())
- *                 .releaseLabel("emr-6.10.0-latest")
+ *                 .releaseLabel("emr-6.10.0-latest")
  *                 .jobDriver(JobTemplateJobTemplateDataJobDriverArgs.builder()
  *                     .sparkSqlJobDriver(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs.builder()
- *                         .entryPoint("default")
+ *                         .entryPoint("default")
  *                         .build())
  *                     .build())
  *                 .build())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/VirtualCluster.java b/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/VirtualCluster.java index 814b55cdbef..966015f1c3d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/VirtualCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emrcontainers/VirtualCluster.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VirtualCluster("example", VirtualClusterArgs.builder()        
+ *         var example = new VirtualCluster("example", VirtualClusterArgs.builder()        
  *             .containerProvider(VirtualClusterContainerProviderArgs.builder()
  *                 .id(exampleAwsEksCluster.name())
- *                 .type("EKS")
+ *                 .type("EKS")
  *                 .info(VirtualClusterContainerProviderInfoArgs.builder()
  *                     .eksInfo(VirtualClusterContainerProviderInfoEksInfoArgs.builder()
- *                         .namespace("default")
+ *                         .namespace("default")
  *                         .build())
  *                     .build())
  *                 .build())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/emrserverless/Application.java b/sdk/java/src/main/java/com/pulumi/aws/emrserverless/Application.java index a7e493fc5e1..bb894bde9cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/emrserverless/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/emrserverless/Application.java @@ -30,7 +30,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,21 +52,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .name("example")
- *             .releaseLabel("emr-6.6.0")
- *             .type("hive")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .name("example")
+ *             .releaseLabel("emr-6.6.0")
+ *             .type("hive")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Initial Capacity Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,17 +92,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .name("example")
- *             .releaseLabel("emr-6.6.0")
- *             .type("hive")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .name("example")
+ *             .releaseLabel("emr-6.6.0")
+ *             .type("hive")
  *             .initialCapacities(ApplicationInitialCapacityArgs.builder()
- *                 .initialCapacityType("HiveDriver")
+ *                 .initialCapacityType("HiveDriver")
  *                 .initialCapacityConfig(ApplicationInitialCapacityInitialCapacityConfigArgs.builder()
  *                     .workerCount(1)
  *                     .workerConfiguration(ApplicationInitialCapacityInitialCapacityConfigWorkerConfigurationArgs.builder()
- *                         .cpu("2 vCPU")
- *                         .memory("10 GB")
+ *                         .cpu("2 vCPU")
+ *                         .memory("10 GB")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -107,13 +110,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Maximum Capacity Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -135,19 +140,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .name("example")
- *             .releaseLabel("emr-6.6.0")
- *             .type("hive")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .name("example")
+ *             .releaseLabel("emr-6.6.0")
+ *             .type("hive")
  *             .maximumCapacity(ApplicationMaximumCapacityArgs.builder()
- *                 .cpu("2 vCPU")
- *                 .memory("10 GB")
+ *                 .cpu("2 vCPU")
+ *                 .memory("10 GB")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/evidently/Feature.java b/sdk/java/src/main/java/com/pulumi/aws/evidently/Feature.java index 0c06379c664..8c694a81f21 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/evidently/Feature.java +++ b/sdk/java/src/main/java/com/pulumi/aws/evidently/Feature.java @@ -26,7 +26,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,28 +50,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Feature("example", FeatureArgs.builder()        
- *             .name("example")
+ *         var example = new Feature("example", FeatureArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
- *             .description("example description")
+ *             .description("example description")
  *             .variations(FeatureVariationArgs.builder()
- *                 .name("Variation1")
+ *                 .name("Variation1")
  *                 .value(FeatureVariationValueArgs.builder()
- *                     .stringValue("example")
+ *                     .stringValue("example")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Key1", "example Feature"))
+ *             .tags(Map.of("Key1", "example Feature"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With default variation * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,34 +96,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Feature("example", FeatureArgs.builder()        
- *             .name("example")
+ *         var example = new Feature("example", FeatureArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
- *             .defaultVariation("Variation2")
+ *             .defaultVariation("Variation2")
  *             .variations(            
  *                 FeatureVariationArgs.builder()
- *                     .name("Variation1")
+ *                     .name("Variation1")
  *                     .value(FeatureVariationValueArgs.builder()
- *                         .stringValue("exampleval1")
+ *                         .stringValue("exampleval1")
  *                         .build())
  *                     .build(),
  *                 FeatureVariationArgs.builder()
- *                     .name("Variation2")
+ *                     .name("Variation2")
  *                     .value(FeatureVariationValueArgs.builder()
- *                         .stringValue("exampleval2")
+ *                         .stringValue("exampleval2")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With entity overrides * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -143,34 +148,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Feature("example", FeatureArgs.builder()        
- *             .name("example")
+ *         var example = new Feature("example", FeatureArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
- *             .entityOverrides(Map.of("test1", "Variation1"))
+ *             .entityOverrides(Map.of("test1", "Variation1"))
  *             .variations(            
  *                 FeatureVariationArgs.builder()
- *                     .name("Variation1")
+ *                     .name("Variation1")
  *                     .value(FeatureVariationValueArgs.builder()
- *                         .stringValue("exampleval1")
+ *                         .stringValue("exampleval1")
  *                         .build())
  *                     .build(),
  *                 FeatureVariationArgs.builder()
- *                     .name("Variation2")
+ *                     .name("Variation2")
  *                     .value(FeatureVariationValueArgs.builder()
- *                         .stringValue("exampleval2")
+ *                         .stringValue("exampleval2")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With evaluation strategy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -193,22 +200,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Feature("example", FeatureArgs.builder()        
- *             .name("example")
+ *         var example = new Feature("example", FeatureArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
- *             .evaluationStrategy("ALL_RULES")
- *             .entityOverrides(Map.of("test1", "Variation1"))
+ *             .evaluationStrategy("ALL_RULES")
+ *             .entityOverrides(Map.of("test1", "Variation1"))
  *             .variations(FeatureVariationArgs.builder()
- *                 .name("Variation1")
+ *                 .name("Variation1")
  *                 .value(FeatureVariationValueArgs.builder()
- *                     .stringValue("exampleval1")
+ *                     .stringValue("exampleval1")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/evidently/Launch.java b/sdk/java/src/main/java/com/pulumi/aws/evidently/Launch.java index 2346cd06a55..e039d63f786 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/evidently/Launch.java +++ b/sdk/java/src/main/java/com/pulumi/aws/evidently/Launch.java @@ -28,7 +28,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,31 +52,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
  *             .groups(LaunchGroupArgs.builder()
  *                 .feature(exampleAwsEvidentlyFeature.name())
- *                 .name("Variation1")
- *                 .variation("Variation1")
+ *                 .name("Variation1")
+ *                 .variation("Variation1")
  *                 .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(LaunchScheduledSplitsConfigStepArgs.builder()
- *                     .groupWeights(Map.of("Variation1", 0))
- *                     .startTime("2024-01-07 01:43:59+00:00")
+ *                     .groupWeights(Map.of("Variation1", 0))
+ *                     .startTime("2024-01-07 01:43:59+00:00")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With description * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,32 +101,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
- *             .description("example description")
+ *             .description("example description")
  *             .groups(LaunchGroupArgs.builder()
  *                 .feature(exampleAwsEvidentlyFeature.name())
- *                 .name("Variation1")
- *                 .variation("Variation1")
+ *                 .name("Variation1")
+ *                 .variation("Variation1")
  *                 .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(LaunchScheduledSplitsConfigStepArgs.builder()
- *                     .groupWeights(Map.of("Variation1", 0))
- *                     .startTime("2024-01-07 01:43:59+00:00")
+ *                     .groupWeights(Map.of("Variation1", 0))
+ *                     .startTime("2024-01-07 01:43:59+00:00")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With multiple groups * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -146,42 +151,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
  *             .groups(            
  *                 LaunchGroupArgs.builder()
  *                     .feature(exampleAwsEvidentlyFeature.name())
- *                     .name("Variation1")
- *                     .variation("Variation1")
- *                     .description("first-group")
+ *                     .name("Variation1")
+ *                     .variation("Variation1")
+ *                     .description("first-group")
  *                     .build(),
  *                 LaunchGroupArgs.builder()
  *                     .feature(exampleAwsEvidentlyFeature.name())
- *                     .name("Variation2")
- *                     .variation("Variation2")
- *                     .description("second-group")
+ *                     .name("Variation2")
+ *                     .variation("Variation2")
+ *                     .description("second-group")
  *                     .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(LaunchScheduledSplitsConfigStepArgs.builder()
  *                     .groupWeights(Map.ofEntries(
- *                         Map.entry("Variation1", 0),
- *                         Map.entry("Variation2", 0)
+ *                         Map.entry("Variation1", 0),
+ *                         Map.entry("Variation2", 0)
  *                     ))
- *                     .startTime("2024-01-07 01:43:59+00:00")
+ *                     .startTime("2024-01-07 01:43:59+00:00")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With metric_monitors * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -206,50 +213,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
  *             .groups(LaunchGroupArgs.builder()
  *                 .feature(exampleAwsEvidentlyFeature.name())
- *                 .name("Variation1")
- *                 .variation("Variation1")
+ *                 .name("Variation1")
+ *                 .variation("Variation1")
  *                 .build())
  *             .metricMonitors(            
  *                 LaunchMetricMonitorArgs.builder()
  *                     .metricDefinition(LaunchMetricMonitorMetricDefinitionArgs.builder()
- *                         .entityIdKey("entity_id_key1")
- *                         .eventPattern("{\"Price\":[{\"numeric\":[\">\",11,\"<=\",22]}]}")
- *                         .name("name1")
- *                         .unitLabel("unit_label1")
- *                         .valueKey("value_key1")
+ *                         .entityIdKey("entity_id_key1")
+ *                         .eventPattern("{\"Price\":[{\"numeric\":[\">\",11,\"<=\",22]}]}")
+ *                         .name("name1")
+ *                         .unitLabel("unit_label1")
+ *                         .valueKey("value_key1")
  *                         .build())
  *                     .build(),
  *                 LaunchMetricMonitorArgs.builder()
  *                     .metricDefinition(LaunchMetricMonitorMetricDefinitionArgs.builder()
- *                         .entityIdKey("entity_id_key2")
- *                         .eventPattern("{\"Price\":[{\"numeric\":[\">\",9,\"<=\",19]}]}")
- *                         .name("name2")
- *                         .unitLabel("unit_label2")
- *                         .valueKey("value_key2")
+ *                         .entityIdKey("entity_id_key2")
+ *                         .eventPattern("{\"Price\":[{\"numeric\":[\">\",9,\"<=\",19]}]}")
+ *                         .name("name2")
+ *                         .unitLabel("unit_label2")
+ *                         .valueKey("value_key2")
  *                         .build())
  *                     .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(LaunchScheduledSplitsConfigStepArgs.builder()
- *                     .groupWeights(Map.of("Variation1", 0))
- *                     .startTime("2024-01-07 01:43:59+00:00")
+ *                     .groupWeights(Map.of("Variation1", 0))
+ *                     .startTime("2024-01-07 01:43:59+00:00")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With randomization_salt * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -272,32 +281,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
- *             .randomizationSalt("example randomization salt")
+ *             .randomizationSalt("example randomization salt")
  *             .groups(LaunchGroupArgs.builder()
  *                 .feature(exampleAwsEvidentlyFeature.name())
- *                 .name("Variation1")
- *                 .variation("Variation1")
+ *                 .name("Variation1")
+ *                 .variation("Variation1")
  *                 .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(LaunchScheduledSplitsConfigStepArgs.builder()
- *                     .groupWeights(Map.of("Variation1", 0))
- *                     .startTime("2024-01-07 01:43:59+00:00")
+ *                     .groupWeights(Map.of("Variation1", 0))
+ *                     .startTime("2024-01-07 01:43:59+00:00")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With multiple steps * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -320,48 +331,50 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
  *             .groups(            
  *                 LaunchGroupArgs.builder()
  *                     .feature(exampleAwsEvidentlyFeature.name())
- *                     .name("Variation1")
- *                     .variation("Variation1")
+ *                     .name("Variation1")
+ *                     .variation("Variation1")
  *                     .build(),
  *                 LaunchGroupArgs.builder()
  *                     .feature(exampleAwsEvidentlyFeature.name())
- *                     .name("Variation2")
- *                     .variation("Variation2")
+ *                     .name("Variation2")
+ *                     .variation("Variation2")
  *                     .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(                
  *                     LaunchScheduledSplitsConfigStepArgs.builder()
  *                         .groupWeights(Map.ofEntries(
- *                             Map.entry("Variation1", 15),
- *                             Map.entry("Variation2", 10)
+ *                             Map.entry("Variation1", 15),
+ *                             Map.entry("Variation2", 10)
  *                         ))
- *                         .startTime("2024-01-07 01:43:59+00:00")
+ *                         .startTime("2024-01-07 01:43:59+00:00")
  *                         .build(),
  *                     LaunchScheduledSplitsConfigStepArgs.builder()
  *                         .groupWeights(Map.ofEntries(
- *                             Map.entry("Variation1", 20),
- *                             Map.entry("Variation2", 25)
+ *                             Map.entry("Variation1", 20),
+ *                             Map.entry("Variation2", 25)
  *                         ))
- *                         .startTime("2024-01-08 01:43:59+00:00")
+ *                         .startTime("2024-01-08 01:43:59+00:00")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With segment overrides * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -384,48 +397,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Launch("example", LaunchArgs.builder()        
- *             .name("example")
+ *         var example = new Launch("example", LaunchArgs.builder()        
+ *             .name("example")
  *             .project(exampleAwsEvidentlyProject.name())
  *             .groups(            
  *                 LaunchGroupArgs.builder()
  *                     .feature(exampleAwsEvidentlyFeature.name())
- *                     .name("Variation1")
- *                     .variation("Variation1")
+ *                     .name("Variation1")
+ *                     .variation("Variation1")
  *                     .build(),
  *                 LaunchGroupArgs.builder()
  *                     .feature(exampleAwsEvidentlyFeature.name())
- *                     .name("Variation2")
- *                     .variation("Variation2")
+ *                     .name("Variation2")
+ *                     .variation("Variation2")
  *                     .build())
  *             .scheduledSplitsConfig(LaunchScheduledSplitsConfigArgs.builder()
  *                 .steps(LaunchScheduledSplitsConfigStepArgs.builder()
  *                     .groupWeights(Map.ofEntries(
- *                         Map.entry("Variation1", 0),
- *                         Map.entry("Variation2", 0)
+ *                         Map.entry("Variation1", 0),
+ *                         Map.entry("Variation2", 0)
  *                     ))
  *                     .segmentOverrides(                    
  *                         LaunchScheduledSplitsConfigStepSegmentOverrideArgs.builder()
  *                             .evaluationOrder(1)
  *                             .segment(exampleAwsEvidentlySegment.name())
- *                             .weights(Map.of("Variation2", 10000))
+ *                             .weights(Map.of("Variation2", 10000))
  *                             .build(),
  *                         LaunchScheduledSplitsConfigStepSegmentOverrideArgs.builder()
  *                             .evaluationOrder(2)
  *                             .segment(exampleAwsEvidentlySegment.name())
  *                             .weights(Map.ofEntries(
- *                                 Map.entry("Variation1", 40000),
- *                                 Map.entry("Variation2", 30000)
+ *                                 Map.entry("Variation1", 40000),
+ *                                 Map.entry("Variation2", 30000)
  *                             ))
  *                             .build())
- *                     .startTime("2024-01-08 01:43:59+00:00")
+ *                     .startTime("2024-01-08 01:43:59+00:00")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/evidently/Project.java b/sdk/java/src/main/java/com/pulumi/aws/evidently/Project.java index 9f0dfec9ce8..811537dc668 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/evidently/Project.java +++ b/sdk/java/src/main/java/com/pulumi/aws/evidently/Project.java @@ -25,7 +25,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .name("Example")
- *             .description("Example Description")
- *             .tags(Map.of("Key1", "example Project"))
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .name("Example")
+ *             .description("Example Description")
+ *             .tags(Map.of("Key1", "example Project"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Store evaluation events in a CloudWatch Log Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,26 +86,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .name("Example")
- *             .description("Example Description")
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .name("Example")
+ *             .description("Example Description")
  *             .dataDelivery(ProjectDataDeliveryArgs.builder()
  *                 .cloudwatchLogs(ProjectDataDeliveryCloudwatchLogsArgs.builder()
- *                     .logGroup("example-log-group-name")
+ *                     .logGroup("example-log-group-name")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Key1", "example Project"))
+ *             .tags(Map.of("Key1", "example Project"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Store evaluation events in an S3 bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,21 +130,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .name("Example")
- *             .description("Example Description")
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .name("Example")
+ *             .description("Example Description")
  *             .dataDelivery(ProjectDataDeliveryArgs.builder()
  *                 .s3Destination(ProjectDataDeliveryS3DestinationArgs.builder()
- *                     .bucket("example-bucket-name")
- *                     .prefix("example")
+ *                     .bucket("example-bucket-name")
+ *                     .prefix("example")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Key1", "example Project"))
+ *             .tags(Map.of("Key1", "example Project"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/evidently/Segment.java b/sdk/java/src/main/java/com/pulumi/aws/evidently/Segment.java index 38d1e95cd93..38039b5dcd1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/evidently/Segment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/evidently/Segment.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Segment("example", SegmentArgs.builder()        
- *             .name("example")
- *             .pattern("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}")
- *             .tags(Map.of("Key1", "example Segment"))
+ *         var example = new Segment("example", SegmentArgs.builder()        
+ *             .name("example")
+ *             .pattern("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}")
+ *             .tags(Map.of("Key1", "example Segment"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With JSON object in pattern * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,29 +83,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Segment("example", SegmentArgs.builder()        
- *             .name("example")
- *             .pattern("""
+ *         var example = new Segment("example", SegmentArgs.builder()        
+ *             .name("example")
+ *             .pattern("""
  *   {
- *     "Price": [
+ *     "Price": [
  *       {
- *         "numeric": [">",10,"<=",20]
+ *         "numeric": [">",10,"<=",20]
  *       }
  *     ]
  *   }
- *             """)
- *             .tags(Map.of("Key1", "example Segment"))
+ *             """)
+ *             .tags(Map.of("Key1", "example Segment"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Description * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,15 +128,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Segment("example", SegmentArgs.builder()        
- *             .name("example")
- *             .pattern("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}")
- *             .description("example")
+ *         var example = new Segment("example", SegmentArgs.builder()        
+ *             .name("example")
+ *             .pattern("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}")
+ *             .description("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxCluster.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxCluster.java index 43dc9c562d2..0106b46b51d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxCluster.java @@ -33,7 +33,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,25 +60,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new KxCluster("example", KxClusterArgs.builder()        
- *             .name("my-tf-kx-cluster")
+ *         var example = new KxCluster("example", KxClusterArgs.builder()        
+ *             .name("my-tf-kx-cluster")
  *             .environmentId(exampleAwsFinspaceKxEnvironment.id())
- *             .type("HDB")
- *             .releaseLabel("1.0")
- *             .azMode("SINGLE")
- *             .availabilityZoneId("use1-az2")
+ *             .type("HDB")
+ *             .releaseLabel("1.0")
+ *             .azMode("SINGLE")
+ *             .availabilityZoneId("use1-az2")
  *             .capacityConfiguration(KxClusterCapacityConfigurationArgs.builder()
- *                 .nodeType("kx.s.2xlarge")
+ *                 .nodeType("kx.s.2xlarge")
  *                 .nodeCount(2)
  *                 .build())
  *             .vpcConfiguration(KxClusterVpcConfigurationArgs.builder()
  *                 .vpcId(test.id())
  *                 .securityGroupIds(exampleAwsSecurityGroup.id())
  *                 .subnetIds(exampleAwsSubnet.id())
- *                 .ipAddressType("IP_V4")
+ *                 .ipAddressType("IP_V4")
  *                 .build())
  *             .cacheStorageConfigurations(KxClusterCacheStorageConfigurationArgs.builder()
- *                 .type("CACHE_1000")
+ *                 .type("CACHE_1000")
  *                 .size(1200)
  *                 .build())
  *             .databases(KxClusterDatabaseArgs.builder()
@@ -92,7 +93,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDatabase.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDatabase.java index 533111e96cc..4094d7fb3ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDatabase.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,25 +49,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("Example KMS Key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("Example KMS Key")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var exampleKxEnvironment = new KxEnvironment("exampleKxEnvironment", KxEnvironmentArgs.builder()        
- *             .name("my-tf-kx-environment")
+ *         var exampleKxEnvironment = new KxEnvironment("exampleKxEnvironment", KxEnvironmentArgs.builder()        
+ *             .name("my-tf-kx-environment")
  *             .kmsKeyId(example.arn())
  *             .build());
  * 
- *         var exampleKxDatabase = new KxDatabase("exampleKxDatabase", KxDatabaseArgs.builder()        
+ *         var exampleKxDatabase = new KxDatabase("exampleKxDatabase", KxDatabaseArgs.builder()        
  *             .environmentId(exampleKxEnvironment.id())
- *             .name("my-tf-kx-database")
- *             .description("Example database description")
+ *             .name("my-tf-kx-database")
+ *             .description("Example database description")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDataview.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDataview.java index 4fb8924ebbe..a7283244f2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDataview.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxDataview.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new KxDataview("example", KxDataviewArgs.builder()        
- *             .name("my-tf-kx-dataview")
+ *         var example = new KxDataview("example", KxDataviewArgs.builder()        
+ *             .name("my-tf-kx-dataview")
  *             .environmentId(exampleAwsFinspaceKxEnvironment.id())
  *             .databaseName(exampleAwsFinspaceKxDatabase.name())
- *             .availabilityZoneId("use1-az2")
- *             .description("Terraform managed Kx Dataview")
- *             .azMode("SINGLE")
+ *             .availabilityZoneId("use1-az2")
+ *             .description("Terraform managed Kx Dataview")
+ *             .azMode("SINGLE")
  *             .autoUpdate(true)
  *             .segmentConfigurations(KxDataviewSegmentConfigurationArgs.builder()
  *                 .volumeName(exampleAwsFinspaceKxVolume.name())
- *                 .dbPaths("/*")
+ *                 .dbPaths("/*")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxEnvironment.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxEnvironment.java index 647db873a81..91442091f81 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxEnvironment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxEnvironment.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,25 +50,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("Sample KMS Key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("Sample KMS Key")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var exampleKxEnvironment = new KxEnvironment("exampleKxEnvironment", KxEnvironmentArgs.builder()        
- *             .name("my-tf-kx-environment")
+ *         var exampleKxEnvironment = new KxEnvironment("exampleKxEnvironment", KxEnvironmentArgs.builder()        
+ *             .name("my-tf-kx-environment")
  *             .kmsKeyId(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Transit Gateway Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,32 +97,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("Sample KMS Key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("Sample KMS Key")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway", TransitGatewayArgs.builder()        
- *             .description("example")
+ *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway", TransitGatewayArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
- *         var exampleEnv = new KxEnvironment("exampleEnv", KxEnvironmentArgs.builder()        
- *             .name("my-tf-kx-environment")
- *             .description("Environment description")
+ *         var exampleEnv = new KxEnvironment("exampleEnv", KxEnvironmentArgs.builder()        
+ *             .name("my-tf-kx-environment")
+ *             .description("Environment description")
  *             .kmsKeyId(example.arn())
  *             .transitGatewayConfiguration(KxEnvironmentTransitGatewayConfigurationArgs.builder()
  *                 .transitGatewayId(exampleTransitGateway.id())
- *                 .routableCidrSpace("100.64.0.0/26")
+ *                 .routableCidrSpace("100.64.0.0/26")
  *                 .build())
  *             .customDnsConfigurations(KxEnvironmentCustomDnsConfigurationArgs.builder()
- *                 .customDnsServerName("example.finspace.amazonaws.com")
- *                 .customDnsServerIp("10.0.0.76")
+ *                 .customDnsServerName("example.finspace.amazonaws.com")
+ *                 .customDnsServerIp("10.0.0.76")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Transit Gateway Attachment Network ACL Configuration diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxScalingGroup.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxScalingGroup.java index 82cb77118ba..20da9352c80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxScalingGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxScalingGroup.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new KxScalingGroup("example", KxScalingGroupArgs.builder()        
- *             .name("my-tf-kx-scalinggroup")
+ *         var example = new KxScalingGroup("example", KxScalingGroupArgs.builder()        
+ *             .name("my-tf-kx-scalinggroup")
  *             .environmentId(exampleAwsFinspaceKxEnvironment.id())
- *             .availabilityZoneId("use1-az2")
- *             .hostType("kx.sg.4xlarge")
+ *             .availabilityZoneId("use1-az2")
+ *             .hostType("kx.sg.4xlarge")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxUser.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxUser.java index 36e6a0d7552..ae10d51aed0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxUser.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxUser.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,41 +52,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("Example KMS Key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("Example KMS Key")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var exampleKxEnvironment = new KxEnvironment("exampleKxEnvironment", KxEnvironmentArgs.builder()        
- *             .name("my-tf-kx-environment")
+ *         var exampleKxEnvironment = new KxEnvironment("exampleKxEnvironment", KxEnvironmentArgs.builder()        
+ *             .name("my-tf-kx-environment")
  *             .kmsKeyId(example.arn())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example-role")
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example-role")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "ec2.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "ec2.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleKxUser = new KxUser("exampleKxUser", KxUserArgs.builder()        
- *             .name("my-tf-kx-user")
+ *         var exampleKxUser = new KxUser("exampleKxUser", KxUserArgs.builder()        
+ *             .name("my-tf-kx-user")
  *             .environmentId(exampleKxEnvironment.id())
  *             .iamRole(exampleRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxVolume.java b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxVolume.java index 1e00a8aa45d..1ef67fdbbb1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/finspace/KxVolume.java +++ b/sdk/java/src/main/java/com/pulumi/aws/finspace/KxVolume.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,21 +49,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new KxVolume("example", KxVolumeArgs.builder()        
- *             .name("my-tf-kx-volume")
+ *         var example = new KxVolume("example", KxVolumeArgs.builder()        
+ *             .name("my-tf-kx-volume")
  *             .environmentId(exampleAwsFinspaceKxEnvironment.id())
- *             .availabilityZones("use1-az2")
- *             .azMode("SINGLE")
- *             .type("NAS_1")
+ *             .availabilityZones("use1-az2")
+ *             .azMode("SINGLE")
+ *             .type("NAS_1")
  *             .nas1Configurations(KxVolumeNas1ConfigurationArgs.builder()
  *                 .size(1200)
- *                 .type("SSD_250")
+ *                 .type("SSD_250")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fis/ExperimentTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/fis/ExperimentTemplate.java index fa3bd611c2c..21feb8a784d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fis/ExperimentTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fis/ExperimentTemplate.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,34 +56,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ExperimentTemplate("example", ExperimentTemplateArgs.builder()        
- *             .description("example")
+ *         var example = new ExperimentTemplate("example", ExperimentTemplateArgs.builder()        
+ *             .description("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .stopConditions(ExperimentTemplateStopConditionArgs.builder()
- *                 .source("none")
+ *                 .source("none")
  *                 .build())
  *             .actions(ExperimentTemplateActionArgs.builder()
- *                 .name("example-action")
- *                 .actionId("aws:ec2:terminate-instances")
+ *                 .name("example-action")
+ *                 .actionId("aws:ec2:terminate-instances")
  *                 .target(ExperimentTemplateActionTargetArgs.builder()
- *                     .key("Instances")
- *                     .value("example-target")
+ *                     .key("Instances")
+ *                     .value("example-target")
  *                     .build())
  *                 .build())
  *             .targets(ExperimentTemplateTargetArgs.builder()
- *                 .name("example-target")
- *                 .resourceType("aws:ec2:instance")
- *                 .selectionMode("COUNT(1)")
+ *                 .name("example-target")
+ *                 .resourceType("aws:ec2:instance")
+ *                 .selectionMode("COUNT(1)")
  *                 .resourceTags(ExperimentTemplateTargetResourceTagArgs.builder()
- *                     .key("env")
- *                     .value("example")
+ *                     .key("env")
+ *                     .value("example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fms/AdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/fms/AdminAccount.java index 59c2ea8e846..c46ce0d6839 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fms/AdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fms/AdminAccount.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -39,11 +40,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AdminAccount("example");
+ *         var example = new AdminAccount("example");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fms/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/fms/Policy.java index 5f8d2e1b005..fe4a8809ba7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fms/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fms/Policy.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,39 +54,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
- *             .metricName("WAFRuleGroupExample")
- *             .name("WAF-Rule-Group-Example")
+ *         var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
+ *             .metricName("WAFRuleGroupExample")
+ *             .name("WAF-Rule-Group-Example")
  *             .build());
  * 
- *         var example = new Policy("example", PolicyArgs.builder()        
- *             .name("FMS-Policy-Example")
+ *         var example = new Policy("example", PolicyArgs.builder()        
+ *             .name("FMS-Policy-Example")
  *             .excludeResourceTags(false)
  *             .remediationEnabled(false)
- *             .resourceType("AWS::ElasticLoadBalancingV2::LoadBalancer")
+ *             .resourceType("AWS::ElasticLoadBalancingV2::LoadBalancer")
  *             .securityServicePolicyData(PolicySecurityServicePolicyDataArgs.builder()
- *                 .type("WAF")
- *                 .managedServiceData(exampleRuleGroup.id().applyValue(id -> serializeJson(
+ *                 .type("WAF")
+ *                 .managedServiceData(exampleRuleGroup.id().applyValue(id -> serializeJson(
  *                     jsonObject(
- *                         jsonProperty("type", "WAF"),
- *                         jsonProperty("ruleGroups", jsonArray(jsonObject(
- *                             jsonProperty("id", id),
- *                             jsonProperty("overrideAction", jsonObject(
- *                                 jsonProperty("type", "COUNT")
+ *                         jsonProperty("type", "WAF"),
+ *                         jsonProperty("ruleGroups", jsonArray(jsonObject(
+ *                             jsonProperty("id", id),
+ *                             jsonProperty("overrideAction", jsonObject(
+ *                                 jsonProperty("type", "COUNT")
  *                             ))
  *                         ))),
- *                         jsonProperty("defaultAction", jsonObject(
- *                             jsonProperty("type", "BLOCK")
+ *                         jsonProperty("defaultAction", jsonObject(
+ *                             jsonProperty("type", "BLOCK")
  *                         )),
- *                         jsonProperty("overrideCustomerWebACLAssociation", false)
+ *                         jsonProperty("overrideCustomerWebACLAssociation", false)
  *                     ))))
  *                 .build())
- *             .tags(Map.of("Name", "example-fms-policy"))
+ *             .tags(Map.of("Name", "example-fms-policy"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/Backup.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/Backup.java index 94203736318..34cb86b6183 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/Backup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/Backup.java @@ -21,7 +21,8 @@ * ## Lustre Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,26 +45,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleLustreFileSystem = new LustreFileSystem("exampleLustreFileSystem", LustreFileSystemArgs.builder()        
+ *         var exampleLustreFileSystem = new LustreFileSystem("exampleLustreFileSystem", LustreFileSystemArgs.builder()        
  *             .storageCapacity(1200)
  *             .subnetIds(exampleAwsSubnet.id())
- *             .deploymentType("PERSISTENT_1")
+ *             .deploymentType("PERSISTENT_1")
  *             .perUnitStorageThroughput(50)
  *             .build());
  * 
- *         var example = new Backup("example", BackupArgs.builder()        
+ *         var example = new Backup("example", BackupArgs.builder()        
  *             .fileSystemId(exampleLustreFileSystem.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Windows Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,7 +89,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleWindowsFileSystem = new WindowsFileSystem("exampleWindowsFileSystem", WindowsFileSystemArgs.builder()        
+ *         var exampleWindowsFileSystem = new WindowsFileSystem("exampleWindowsFileSystem", WindowsFileSystemArgs.builder()        
  *             .activeDirectoryId(eample.id())
  *             .skipFinalBackup(true)
  *             .storageCapacity(32)
@@ -94,19 +97,21 @@
  *             .throughputCapacity(8)
  *             .build());
  * 
- *         var example = new Backup("example", BackupArgs.builder()        
+ *         var example = new Backup("example", BackupArgs.builder()        
  *             .fileSystemId(exampleWindowsFileSystem.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## ONTAP Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -129,27 +134,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleOntapVolume = new OntapVolume("exampleOntapVolume", OntapVolumeArgs.builder()        
- *             .name("example")
- *             .junctionPath("/example")
+ *         var exampleOntapVolume = new OntapVolume("exampleOntapVolume", OntapVolumeArgs.builder()        
+ *             .name("example")
+ *             .junctionPath("/example")
  *             .sizeInMegabytes(1024)
  *             .storageEfficiencyEnabled(true)
  *             .storageVirtualMachineId(test.id())
  *             .build());
  * 
- *         var example = new Backup("example", BackupArgs.builder()        
+ *         var example = new Backup("example", BackupArgs.builder()        
  *             .volumeId(exampleOntapVolume.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## OpenZFS Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -172,20 +179,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
+ *         var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
  *             .storageCapacity(64)
  *             .subnetIds(exampleAwsSubnet.id())
- *             .deploymentType("SINGLE_AZ_1")
+ *             .deploymentType("SINGLE_AZ_1")
  *             .throughputCapacity(64)
  *             .build());
  * 
- *         var example = new Backup("example", BackupArgs.builder()        
+ *         var example = new Backup("example", BackupArgs.builder()        
  *             .fileSystemId(exampleOpenZfsFileSystem.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/DataRepositoryAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/DataRepositoryAssociation.java index 24bbccdbc1d..2bfe77e0360 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/DataRepositoryAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/DataRepositoryAssociation.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,45 +57,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-bucket")
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleLustreFileSystem = new LustreFileSystem("exampleLustreFileSystem", LustreFileSystemArgs.builder()        
+ *         var exampleLustreFileSystem = new LustreFileSystem("exampleLustreFileSystem", LustreFileSystemArgs.builder()        
  *             .storageCapacity(1200)
  *             .subnetIds(exampleAwsSubnet.id())
- *             .deploymentType("PERSISTENT_2")
+ *             .deploymentType("PERSISTENT_2")
  *             .perUnitStorageThroughput(125)
  *             .build());
  * 
- *         var exampleDataRepositoryAssociation = new DataRepositoryAssociation("exampleDataRepositoryAssociation", DataRepositoryAssociationArgs.builder()        
+ *         var exampleDataRepositoryAssociation = new DataRepositoryAssociation("exampleDataRepositoryAssociation", DataRepositoryAssociationArgs.builder()        
  *             .fileSystemId(exampleLustreFileSystem.id())
- *             .dataRepositoryPath(example.id().applyValue(id -> String.format("s3://%s", id)))
- *             .fileSystemPath("/my-bucket")
+ *             .dataRepositoryPath(example.id().applyValue(id -> String.format("s3://%s", id)))
+ *             .fileSystemPath("/my-bucket")
  *             .s3(DataRepositoryAssociationS3Args.builder()
  *                 .autoExportPolicy(DataRepositoryAssociationS3AutoExportPolicyArgs.builder()
  *                     .events(                    
- *                         "NEW",
- *                         "CHANGED",
- *                         "DELETED")
+ *                         "NEW",
+ *                         "CHANGED",
+ *                         "DELETED")
  *                     .build())
  *                 .autoImportPolicy(DataRepositoryAssociationS3AutoImportPolicyArgs.builder()
  *                     .events(                    
- *                         "NEW",
- *                         "CHANGED",
- *                         "DELETED")
+ *                         "NEW",
+ *                         "CHANGED",
+ *                         "DELETED")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/FileCache.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/FileCache.java index aaa02045a9a..3750db6c51e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/FileCache.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/FileCache.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,29 +51,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FileCache("example", FileCacheArgs.builder()        
+ *         var example = new FileCache("example", FileCacheArgs.builder()        
  *             .dataRepositoryAssociations(FileCacheDataRepositoryAssociationArgs.builder()
- *                 .dataRepositoryPath("nfs://filer.domain.com")
+ *                 .dataRepositoryPath("nfs://filer.domain.com")
  *                 .dataRepositorySubdirectories(                
- *                     "test",
- *                     "test2")
- *                 .fileCachePath("/ns1")
+ *                     "test",
+ *                     "test2")
+ *                 .fileCachePath("/ns1")
  *                 .nfs(FileCacheDataRepositoryAssociationNfArgs.builder()
  *                     .dnsIps(                    
- *                         "192.168.0.1",
- *                         "192.168.0.2")
- *                     .version("NFS3")
+ *                         "192.168.0.1",
+ *                         "192.168.0.2")
+ *                     .version("NFS3")
  *                     .build())
  *                 .build())
- *             .fileCacheType("LUSTRE")
- *             .fileCacheTypeVersion("2.12")
+ *             .fileCacheType("LUSTRE")
+ *             .fileCacheTypeVersion("2.12")
  *             .lustreConfigurations(FileCacheLustreConfigurationArgs.builder()
- *                 .deploymentType("CACHE_1")
+ *                 .deploymentType("CACHE_1")
  *                 .metadataConfigurations(FileCacheLustreConfigurationMetadataConfigurationArgs.builder()
  *                     .storageCapacity(2400)
  *                     .build())
  *                 .perUnitStorageThroughput(1000)
- *                 .weeklyMaintenanceStartTime("2:05:00")
+ *                 .weeklyMaintenanceStartTime("2:05:00")
  *                 .build())
  *             .subnetIds(test1.id())
  *             .storageCapacity(1200)
@@ -80,7 +81,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java index 05781530dcd..f6b2b0d5e97 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/FsxFunctions.java @@ -34,7 +34,8 @@ public final class FsxFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -56,12 +57,13 @@ public final class FsxFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -76,7 +78,8 @@ public static Output getOntapFileSystem(GetOntapFileSy * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -98,12 +101,13 @@ public static Output getOntapFileSystem(GetOntapFileSy
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -118,7 +122,8 @@ public static CompletableFuture getOntapFileSystemPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -140,12 +145,13 @@ public static CompletableFuture getOntapFileSystemPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -160,7 +166,8 @@ public static Output getOntapFileSystem(GetOntapFileSy * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -182,12 +189,13 @@ public static Output getOntapFileSystem(GetOntapFileSy
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapFileSystem(GetOntapFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -202,7 +210,8 @@ public static CompletableFuture getOntapFileSystemPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -224,18 +233,20 @@ public static CompletableFuture getOntapFileSystemPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
-     *             .id("svm-12345678")
+     *             .id("svm-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -258,14 +269,15 @@ public static CompletableFuture getOntapFileSystemPlai
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
      *             .filters(GetOntapStorageVirtualMachineFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -280,7 +292,8 @@ public static Output getOntapStorageVirtual * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -302,18 +315,20 @@ public static Output getOntapStorageVirtual
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
-     *             .id("svm-12345678")
+     *             .id("svm-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -336,14 +351,15 @@ public static Output getOntapStorageVirtual
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
      *             .filters(GetOntapStorageVirtualMachineFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -358,7 +374,8 @@ public static CompletableFuture getOntapSto * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -380,18 +397,20 @@ public static CompletableFuture getOntapSto
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
-     *             .id("svm-12345678")
+     *             .id("svm-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,14 +433,15 @@ public static CompletableFuture getOntapSto
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
      *             .filters(GetOntapStorageVirtualMachineFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +456,8 @@ public static Output getOntapStorageVirtual * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,18 +479,20 @@ public static Output getOntapStorageVirtual
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
-     *             .id("svm-12345678")
+     *             .id("svm-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -492,14 +515,15 @@ public static Output getOntapStorageVirtual
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
      *             .filters(GetOntapStorageVirtualMachineFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -514,7 +538,8 @@ public static CompletableFuture getOntapSto * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -536,18 +561,20 @@ public static CompletableFuture getOntapSto
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
-     *             .id("svm-12345678")
+     *             .id("svm-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -570,14 +597,15 @@ public static CompletableFuture getOntapSto
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
      *             .filters(GetOntapStorageVirtualMachineFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -592,7 +620,8 @@ public static Output getOntapStorageVirtual * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -614,18 +643,20 @@ public static Output getOntapStorageVirtual
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
-     *             .id("svm-12345678")
+     *             .id("svm-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -648,14 +679,15 @@ public static Output getOntapStorageVirtual
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachine(GetOntapStorageVirtualMachineArgs.builder()
      *             .filters(GetOntapStorageVirtualMachineFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -670,7 +702,8 @@ public static CompletableFuture getOntapSto * The following shows outputting all SVM IDs for a given FSx ONTAP File System. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -693,14 +726,15 @@ public static CompletableFuture getOntapSto
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()
      *             .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -715,7 +749,8 @@ public static Output getOntapStorageVirtua * The following shows outputting all SVM IDs for a given FSx ONTAP File System. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -738,14 +773,15 @@ public static Output getOntapStorageVirtua
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()
      *             .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -760,7 +796,8 @@ public static CompletableFuture getOntapSt * The following shows outputting all SVM IDs for a given FSx ONTAP File System. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -783,14 +820,15 @@ public static CompletableFuture getOntapSt
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()
      *             .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -805,7 +843,8 @@ public static Output getOntapStorageVirtua * The following shows outputting all SVM IDs for a given FSx ONTAP File System. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -828,14 +867,15 @@ public static Output getOntapStorageVirtua
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()
      *             .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -850,7 +890,8 @@ public static CompletableFuture getOntapSt * The following shows outputting all SVM IDs for a given FSx ONTAP File System. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -873,14 +914,15 @@ public static CompletableFuture getOntapSt
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()
      *             .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -895,7 +937,8 @@ public static Output getOntapStorageVirtua * The following shows outputting all SVM IDs for a given FSx ONTAP File System. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -918,14 +961,15 @@ public static Output getOntapStorageVirtua
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getOntapStorageVirtualMachines(GetOntapStorageVirtualMachinesArgs.builder()
      *             .filters(GetOntapStorageVirtualMachinesFilterArgs.builder()
-     *                 .name("file-system-id")
-     *                 .values("fs-12345678")
+     *                 .name("file-system-id")
+     *                 .values("fs-12345678")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -940,7 +984,8 @@ public static CompletableFuture getOntapSt * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -964,14 +1009,15 @@ public static CompletableFuture getOntapSt
      *         final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()
      *             .mostRecent(true)
      *             .filters(GetOpenZfsSnapshotFilterArgs.builder()
-     *                 .name("volume-id")
-     *                 .values("fsvol-073a32b6098a73feb")
+     *                 .name("volume-id")
+     *                 .values("fsvol-073a32b6098a73feb")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -986,7 +1032,8 @@ public static Output getOpenZfsSnapshot() { * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1010,14 +1057,15 @@ public static Output getOpenZfsSnapshot() {
      *         final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()
      *             .mostRecent(true)
      *             .filters(GetOpenZfsSnapshotFilterArgs.builder()
-     *                 .name("volume-id")
-     *                 .values("fsvol-073a32b6098a73feb")
+     *                 .name("volume-id")
+     *                 .values("fsvol-073a32b6098a73feb")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1032,7 +1080,8 @@ public static CompletableFuture getOpenZfsSnapshotPlai * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1056,14 +1105,15 @@ public static CompletableFuture getOpenZfsSnapshotPlai
      *         final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()
      *             .mostRecent(true)
      *             .filters(GetOpenZfsSnapshotFilterArgs.builder()
-     *                 .name("volume-id")
-     *                 .values("fsvol-073a32b6098a73feb")
+     *                 .name("volume-id")
+     *                 .values("fsvol-073a32b6098a73feb")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1078,7 +1128,8 @@ public static Output getOpenZfsSnapshot(GetOpenZfsSnap * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1102,14 +1153,15 @@ public static Output getOpenZfsSnapshot(GetOpenZfsSnap
      *         final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()
      *             .mostRecent(true)
      *             .filters(GetOpenZfsSnapshotFilterArgs.builder()
-     *                 .name("volume-id")
-     *                 .values("fsvol-073a32b6098a73feb")
+     *                 .name("volume-id")
+     *                 .values("fsvol-073a32b6098a73feb")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1124,7 +1176,8 @@ public static CompletableFuture getOpenZfsSnapshotPlai * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1148,14 +1201,15 @@ public static CompletableFuture getOpenZfsSnapshotPlai
      *         final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()
      *             .mostRecent(true)
      *             .filters(GetOpenZfsSnapshotFilterArgs.builder()
-     *                 .name("volume-id")
-     *                 .values("fsvol-073a32b6098a73feb")
+     *                 .name("volume-id")
+     *                 .values("fsvol-073a32b6098a73feb")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1170,7 +1224,8 @@ public static Output getOpenZfsSnapshot(GetOpenZfsSnap * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1194,14 +1249,15 @@ public static Output getOpenZfsSnapshot(GetOpenZfsSnap
      *         final var example = FsxFunctions.getOpenZfsSnapshot(GetOpenZfsSnapshotArgs.builder()
      *             .mostRecent(true)
      *             .filters(GetOpenZfsSnapshotFilterArgs.builder()
-     *                 .name("volume-id")
-     *                 .values("fsvol-073a32b6098a73feb")
+     *                 .name("volume-id")
+     *                 .values("fsvol-073a32b6098a73feb")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1216,7 +1272,8 @@ public static CompletableFuture getOpenZfsSnapshotPlai * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1238,12 +1295,13 @@ public static CompletableFuture getOpenZfsSnapshotPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getWindowsFileSystem(GetWindowsFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1258,7 +1316,8 @@ public static Output getWindowsFileSystem(GetWindows * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1280,12 +1339,13 @@ public static Output getWindowsFileSystem(GetWindows
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getWindowsFileSystem(GetWindowsFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1300,7 +1360,8 @@ public static CompletableFuture getWindowsFileSystem * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1322,12 +1383,13 @@ public static CompletableFuture getWindowsFileSystem
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getWindowsFileSystem(GetWindowsFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1342,7 +1404,8 @@ public static Output getWindowsFileSystem(GetWindows * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1364,12 +1427,13 @@ public static Output getWindowsFileSystem(GetWindows
      * 
      *     public static void stack(Context ctx) {
      *         final var example = FsxFunctions.getWindowsFileSystem(GetWindowsFileSystemArgs.builder()
-     *             .id("fs-12345678")
+     *             .id("fs-12345678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/LustreFileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/LustreFileSystem.java index 55d537fd085..271256a2c2e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/LustreFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/LustreFileSystem.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,15 +50,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LustreFileSystem("example", LustreFileSystemArgs.builder()        
- *             .importPath(String.format("s3://%s", exampleAwsS3Bucket.bucket()))
+ *         var example = new LustreFileSystem("example", LustreFileSystemArgs.builder()        
+ *             .importPath(String.format("s3://%s", exampleAwsS3Bucket.bucket()))
  *             .storageCapacity(1200)
  *             .subnetIds(exampleAwsSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapFileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapFileSystem.java index 92ff2b5d181..f5a5bbf7664 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapFileSystem.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,23 +48,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OntapFileSystem("test", OntapFileSystemArgs.builder()        
+ *         var test = new OntapFileSystem("test", OntapFileSystemArgs.builder()        
  *             .storageCapacity(1024)
  *             .subnetIds(            
  *                 test1.id(),
  *                 test2.id())
- *             .deploymentType("MULTI_AZ_1")
+ *             .deploymentType("MULTI_AZ_1")
  *             .throughputCapacity(512)
  *             .preferredSubnetId(test1.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -84,17 +87,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testhapairs = new OntapFileSystem("testhapairs", OntapFileSystemArgs.builder()        
+ *         var testhapairs = new OntapFileSystem("testhapairs", OntapFileSystemArgs.builder()        
  *             .storageCapacity(2048)
  *             .subnetIds(test1.id())
- *             .deploymentType("SINGLE_AZ_2")
+ *             .deploymentType("SINGLE_AZ_2")
  *             .throughputCapacityPerHaPair(3072)
  *             .preferredSubnetId(test1.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapStorageVirtualMachine.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapStorageVirtualMachine.java index 8eba3ab1375..a586cf5c76b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapStorageVirtualMachine.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapStorageVirtualMachine.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OntapStorageVirtualMachine("test", OntapStorageVirtualMachineArgs.builder()        
+ *         var test = new OntapStorageVirtualMachine("test", OntapStorageVirtualMachineArgs.builder()        
  *             .fileSystemId(testAwsFsxOntapFileSystem.id())
- *             .name("test")
+ *             .name("test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using a Self-Managed Microsoft Active Directory @@ -63,7 +65,8 @@ * Additional information for using AWS Directory Service with ONTAP File Systems can be found in the [FSx ONTAP Guide](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/self-managed-AD.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,25 +89,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OntapStorageVirtualMachine("test", OntapStorageVirtualMachineArgs.builder()        
+ *         var test = new OntapStorageVirtualMachine("test", OntapStorageVirtualMachineArgs.builder()        
  *             .fileSystemId(testAwsFsxOntapFileSystem.id())
- *             .name("mysvm")
+ *             .name("mysvm")
  *             .activeDirectoryConfiguration(OntapStorageVirtualMachineActiveDirectoryConfigurationArgs.builder()
- *                 .netbiosName("mysvm")
+ *                 .netbiosName("mysvm")
  *                 .selfManagedActiveDirectoryConfiguration(OntapStorageVirtualMachineActiveDirectoryConfigurationSelfManagedActiveDirectoryConfigurationArgs.builder()
  *                     .dnsIps(                    
- *                         "10.0.0.111",
- *                         "10.0.0.222")
- *                     .domainName("corp.example.com")
- *                     .password("avoid-plaintext-passwords")
- *                     .username("Admin")
+ *                         "10.0.0.111",
+ *                         "10.0.0.222")
+ *                     .domainName("corp.example.com")
+ *                     .password("avoid-plaintext-passwords")
+ *                     .username("Admin")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapVolume.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapVolume.java index f049309e39a..e9dcbeeeca3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapVolume.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/OntapVolume.java @@ -29,7 +29,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,9 +51,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OntapVolume("test", OntapVolumeArgs.builder()        
- *             .name("test")
- *             .junctionPath("/test")
+ *         var test = new OntapVolume("test", OntapVolumeArgs.builder()        
+ *             .name("test")
+ *             .junctionPath("/test")
  *             .sizeInMegabytes(1024)
  *             .storageEfficiencyEnabled(true)
  *             .storageVirtualMachineId(testAwsFsxOntapStorageVirtualMachine.id())
@@ -60,7 +61,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using Tiering Policy @@ -68,7 +70,8 @@ * Additional information on tiering policy with ONTAP Volumes can be found in the [FSx ONTAP Guide](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,21 +93,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OntapVolume("test", OntapVolumeArgs.builder()        
- *             .name("test")
- *             .junctionPath("/test")
+ *         var test = new OntapVolume("test", OntapVolumeArgs.builder()        
+ *             .name("test")
+ *             .junctionPath("/test")
  *             .sizeInMegabytes(1024)
  *             .storageEfficiencyEnabled(true)
  *             .storageVirtualMachineId(testAwsFsxOntapStorageVirtualMachine.id())
  *             .tieringPolicy(OntapVolumeTieringPolicyArgs.builder()
- *                 .name("AUTO")
+ *                 .name("AUTO")
  *                 .coolingPeriod(31)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsFileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsFileSystem.java index 8484353b7e2..62a4aad0652 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsFileSystem.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,16 +49,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OpenZfsFileSystem("test", OpenZfsFileSystemArgs.builder()        
+ *         var test = new OpenZfsFileSystem("test", OpenZfsFileSystemArgs.builder()        
  *             .storageCapacity(64)
  *             .subnetIds(test1.id())
- *             .deploymentType("SINGLE_AZ_1")
+ *             .deploymentType("SINGLE_AZ_1")
  *             .throughputCapacity(64)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsSnapshot.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsSnapshot.java index bafcf6cf6a7..9a1a09fb15b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsSnapshot.java @@ -24,7 +24,8 @@ * ### Root volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,27 +48,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
+ *         var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
  *             .storageCapacity(64)
  *             .subnetIds(exampleAwsSubnet.id())
- *             .deploymentType("SINGLE_AZ_1")
+ *             .deploymentType("SINGLE_AZ_1")
  *             .throughputCapacity(64)
  *             .build());
  * 
- *         var example = new OpenZfsSnapshot("example", OpenZfsSnapshotArgs.builder()        
- *             .name("example")
+ *         var example = new OpenZfsSnapshot("example", OpenZfsSnapshotArgs.builder()        
+ *             .name("example")
  *             .volumeId(exampleOpenZfsFileSystem.rootVolumeId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Child volume Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,26 +95,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
+ *         var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
  *             .storageCapacity(64)
  *             .subnetIds(exampleAwsSubnet.id())
- *             .deploymentType("SINGLE_AZ_1")
+ *             .deploymentType("SINGLE_AZ_1")
  *             .throughputCapacity(64)
  *             .build());
  * 
- *         var exampleOpenZfsVolume = new OpenZfsVolume("exampleOpenZfsVolume", OpenZfsVolumeArgs.builder()        
- *             .name("example")
+ *         var exampleOpenZfsVolume = new OpenZfsVolume("exampleOpenZfsVolume", OpenZfsVolumeArgs.builder()        
+ *             .name("example")
  *             .parentVolumeId(exampleOpenZfsFileSystem.rootVolumeId())
  *             .build());
  * 
- *         var example = new OpenZfsSnapshot("example", OpenZfsSnapshotArgs.builder()        
- *             .name("example")
+ *         var example = new OpenZfsSnapshot("example", OpenZfsSnapshotArgs.builder()        
+ *             .name("example")
  *             .volumeId(exampleOpenZfsVolume.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsVolume.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsVolume.java index 788919bafc2..f7899b60225 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsVolume.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/OpenZfsVolume.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,14 +50,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new OpenZfsVolume("test", OpenZfsVolumeArgs.builder()        
- *             .name("testvolume")
+ *         var test = new OpenZfsVolume("test", OpenZfsVolumeArgs.builder()        
+ *             .name("testvolume")
  *             .parentVolumeId(testAwsFsxOpenzfsFileSystem.rootVolumeId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/WindowsFileSystem.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/WindowsFileSystem.java index 00a1a305ce3..25a3d11a5c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/WindowsFileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/WindowsFileSystem.java @@ -33,7 +33,8 @@ * Additional information for using AWS Directory Service with Windows File Systems can be found in the [FSx Windows Guide](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/fsx-aws-managed-ad.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,7 +55,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WindowsFileSystem("example", WindowsFileSystemArgs.builder()        
+ *         var example = new WindowsFileSystem("example", WindowsFileSystemArgs.builder()        
  *             .activeDirectoryId(exampleAwsDirectoryServiceDirectory.id())
  *             .kmsKeyId(exampleAwsKmsKey.arn())
  *             .storageCapacity(300)
@@ -64,7 +65,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using a Self-Managed Microsoft Active Directory @@ -72,7 +74,8 @@ * Additional information for using AWS Directory Service with Windows File Systems can be found in the [FSx Windows Guide](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,24 +97,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WindowsFileSystem("example", WindowsFileSystemArgs.builder()        
+ *         var example = new WindowsFileSystem("example", WindowsFileSystemArgs.builder()        
  *             .kmsKeyId(exampleAwsKmsKey.arn())
  *             .storageCapacity(300)
  *             .subnetIds(exampleAwsSubnet.id())
  *             .throughputCapacity(1024)
  *             .selfManagedActiveDirectory(WindowsFileSystemSelfManagedActiveDirectoryArgs.builder()
  *                 .dnsIps(                
- *                     "10.0.0.111",
- *                     "10.0.0.222")
- *                 .domainName("corp.example.com")
- *                 .password("avoid-plaintext-passwords")
- *                 .username("Admin")
+ *                     "10.0.0.111",
+ *                     "10.0.0.222")
+ *                 .domainName("corp.example.com")
+ *                 .password("avoid-plaintext-passwords")
+ *                 .username("Admin")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/LustreFileSystemRootSquashConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/LustreFileSystemRootSquashConfigurationArgs.java index 661d57e9f35..1d588add236 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/LustreFileSystemRootSquashConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/inputs/LustreFileSystemRootSquashConfigurationArgs.java @@ -17,14 +17,14 @@ public final class LustreFileSystemRootSquashConfigurationArgs extends com.pulum public static final LustreFileSystemRootSquashConfigurationArgs Empty = new LustreFileSystemRootSquashConfigurationArgs(); /** - * When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * */ @Import(name="noSquashNids") private @Nullable Output> noSquashNids; /** - * @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * */ public Optional>> noSquashNids() { @@ -72,7 +72,7 @@ public Builder(LustreFileSystemRootSquashConfigurationArgs defaults) { } /** - * @param noSquashNids When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * @param noSquashNids When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * * @return builder * @@ -83,7 +83,7 @@ public Builder noSquashNids(@Nullable Output> noSquashNids) { } /** - * @param noSquashNids When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * @param noSquashNids When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * * @return builder * @@ -93,7 +93,7 @@ public Builder noSquashNids(List noSquashNids) { } /** - * @param noSquashNids When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * @param noSquashNids When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/LustreFileSystemRootSquashConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/LustreFileSystemRootSquashConfiguration.java index e8db60e8538..14007f5ecb4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/LustreFileSystemRootSquashConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/fsx/outputs/LustreFileSystemRootSquashConfiguration.java @@ -13,7 +13,7 @@ @CustomType public final class LustreFileSystemRootSquashConfiguration { /** - * @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * */ private @Nullable List noSquashNids; @@ -25,7 +25,7 @@ public final class LustreFileSystemRootSquashConfiguration { private LustreFileSystemRootSquashConfiguration() {} /** - * @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + * @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp). * */ public List noSquashNids() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Alias.java b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Alias.java index ace217b2d59..06ad58ec469 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Alias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Alias.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Alias("example", AliasArgs.builder()        
- *             .name("example-alias")
- *             .description("Example Description")
+ *         var example = new Alias("example", AliasArgs.builder()        
+ *             .name("example-alias")
+ *             .description("Example Description")
  *             .routingStrategy(AliasRoutingStrategyArgs.builder()
- *                 .message("Example Message")
- *                 .type("TERMINAL")
+ *                 .message("Example Message")
+ *                 .type("TERMINAL")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Build.java b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Build.java index 48a39cbd577..418f2bc492a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Build.java +++ b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Build.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,9 +45,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Build("test", BuildArgs.builder()        
- *             .name("example-build")
- *             .operatingSystem("WINDOWS_2012")
+ *         var test = new Build("test", BuildArgs.builder()        
+ *             .name("example-build")
+ *             .operatingSystem("WINDOWS_2012")
  *             .storageLocation(BuildStorageLocationArgs.builder()
  *                 .bucket(testAwsS3Bucket.id())
  *                 .key(testAwsS3Object.key())
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Fleet.java b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Fleet.java index aab54a8d894..8b3289de3d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Fleet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Fleet.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Fleet("example", FleetArgs.builder()        
+ *         var example = new Fleet("example", FleetArgs.builder()        
  *             .buildId(exampleAwsGameliftBuild.id())
- *             .ec2InstanceType("t2.micro")
- *             .fleetType("ON_DEMAND")
- *             .name("example-fleet-name")
+ *             .ec2InstanceType("t2.micro")
+ *             .fleetType("ON_DEMAND")
+ *             .name("example-fleet-name")
  *             .runtimeConfiguration(FleetRuntimeConfigurationArgs.builder()
  *                 .serverProcesses(FleetRuntimeConfigurationServerProcessArgs.builder()
  *                     .concurrentExecutions(1)
- *                     .launchPath("C:\\game\\GomokuServer.exe")
+ *                     .launchPath("C:\\game\\GomokuServer.exe")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameServerGroup.java b/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameServerGroup.java index 23715aaab83..5d82788dd8d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameServerGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameServerGroup.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GameServerGroup("example", GameServerGroupArgs.builder()        
- *             .gameServerGroupName("example")
+ *         var example = new GameServerGroup("example", GameServerGroupArgs.builder()        
+ *             .gameServerGroupName("example")
  *             .instanceDefinitions(            
  *                 GameServerGroupInstanceDefinitionArgs.builder()
- *                     .instanceType("c5.large")
+ *                     .instanceType("c5.large")
  *                     .build(),
  *                 GameServerGroupInstanceDefinitionArgs.builder()
- *                     .instanceType("c5a.large")
+ *                     .instanceType("c5a.large")
  *                     .build())
  *             .launchTemplate(GameServerGroupLaunchTemplateArgs.builder()
  *                 .id(exampleAwsLaunchTemplate.id())
@@ -71,13 +72,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Full usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -103,49 +106,51 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GameServerGroup("example", GameServerGroupArgs.builder()        
+ *         var example = new GameServerGroup("example", GameServerGroupArgs.builder()        
  *             .autoScalingPolicy(GameServerGroupAutoScalingPolicyArgs.builder()
  *                 .estimatedInstanceWarmup(60)
  *                 .targetTrackingConfiguration(GameServerGroupAutoScalingPolicyTargetTrackingConfigurationArgs.builder()
  *                     .targetValue(75)
  *                     .build())
  *                 .build())
- *             .balancingStrategy("SPOT_ONLY")
- *             .gameServerGroupName("example")
- *             .gameServerProtectionPolicy("FULL_PROTECTION")
+ *             .balancingStrategy("SPOT_ONLY")
+ *             .gameServerGroupName("example")
+ *             .gameServerProtectionPolicy("FULL_PROTECTION")
  *             .instanceDefinitions(            
  *                 GameServerGroupInstanceDefinitionArgs.builder()
- *                     .instanceType("c5.large")
- *                     .weightedCapacity("1")
+ *                     .instanceType("c5.large")
+ *                     .weightedCapacity("1")
  *                     .build(),
  *                 GameServerGroupInstanceDefinitionArgs.builder()
- *                     .instanceType("c5.2xlarge")
- *                     .weightedCapacity("2")
+ *                     .instanceType("c5.2xlarge")
+ *                     .weightedCapacity("2")
  *                     .build())
  *             .launchTemplate(GameServerGroupLaunchTemplateArgs.builder()
  *                 .id(exampleAwsLaunchTemplate.id())
- *                 .version("1")
+ *                 .version("1")
  *                 .build())
  *             .maxSize(1)
  *             .minSize(1)
  *             .roleArn(exampleAwsIamRole.arn())
- *             .tags(Map.of("Name", "example"))
+ *             .tags(Map.of("Name", "example"))
  *             .vpcSubnets(            
- *                 "subnet-12345678",
- *                 "subnet-23456789")
+ *                 "subnet-12345678",
+ *                 "subnet-23456789")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsIamRolePolicyAttachment)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example IAM Role for GameLift Game Server Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -176,30 +181,31 @@
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
+ *                     .type("Service")
  *                     .identifiers(                    
- *                         "autoscaling.amazonaws.com",
- *                         "gamelift.amazonaws.com")
+ *                         "autoscaling.amazonaws.com",
+ *                         "gamelift.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .name("gamelift-game-server-group-example")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .name("gamelift-game-server-group-example")
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
- *             .policyArn(String.format("arn:%s:iam::aws:policy/GameLiftGameServerGroupPolicy", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn(String.format("arn:%s:iam::aws:policy/GameLiftGameServerGroupPolicy", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
  *             .role(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameSessionQueue.java b/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameSessionQueue.java index 3c54c642aaf..643910b71ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameSessionQueue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/gamelift/GameSessionQueue.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,8 +47,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new GameSessionQueue("test", GameSessionQueueArgs.builder()        
- *             .name("example-session-queue")
+ *         var test = new GameSessionQueue("test", GameSessionQueueArgs.builder()        
+ *             .name("example-session-queue")
  *             .destinations(            
  *                 usWest2Fleet.arn(),
  *                 euCentral1Fleet.arn())
@@ -65,7 +66,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Script.java b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Script.java index a5c331b8f8c..ed89d481a82 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/gamelift/Script.java +++ b/sdk/java/src/main/java/com/pulumi/aws/gamelift/Script.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,8 +45,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Script("example", ScriptArgs.builder()        
- *             .name("example-script")
+ *         var example = new Script("example", ScriptArgs.builder()        
+ *             .name("example-script")
  *             .storageLocation(ScriptStorageLocationArgs.builder()
  *                 .bucket(exampleAwsS3Bucket.id())
  *                 .key(exampleAwsS3Object.key())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glacier/Vault.java b/sdk/java/src/main/java/com/pulumi/aws/glacier/Vault.java index 873ff5f2bd1..f0d0bb5f2d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glacier/Vault.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glacier/Vault.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,40 +51,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var awsSnsTopic = new Topic("awsSnsTopic", TopicArgs.builder()        
- *             .name("glacier-sns-topic")
+ *         var awsSnsTopic = new Topic("awsSnsTopic", TopicArgs.builder()        
+ *             .name("glacier-sns-topic")
  *             .build());
  * 
  *         final var myArchive = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("add-read-only-perm")
- *                 .effect("Allow")
+ *                 .sid("add-read-only-perm")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
  *                 .actions(                
- *                     "glacier:InitiateJob",
- *                     "glacier:GetJobOutput")
- *                 .resources("arn:aws:glacier:eu-west-1:432981146916:vaults/MyArchive")
+ *                     "glacier:InitiateJob",
+ *                     "glacier:GetJobOutput")
+ *                 .resources("arn:aws:glacier:eu-west-1:432981146916:vaults/MyArchive")
  *                 .build())
  *             .build());
  * 
- *         var myArchiveVault = new Vault("myArchiveVault", VaultArgs.builder()        
- *             .name("MyArchive")
+ *         var myArchiveVault = new Vault("myArchiveVault", VaultArgs.builder()        
+ *             .name("MyArchive")
  *             .notification(VaultNotificationArgs.builder()
  *                 .snsTopic(awsSnsTopic.arn())
  *                 .events(                
- *                     "ArchiveRetrievalCompleted",
- *                     "InventoryRetrievalCompleted")
+ *                     "ArchiveRetrievalCompleted",
+ *                     "InventoryRetrievalCompleted")
  *                 .build())
- *             .accessPolicy(myArchive.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .tags(Map.of("Test", "MyArchive"))
+ *             .accessPolicy(myArchive.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .tags(Map.of("Test", "MyArchive"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glacier/VaultLock.java b/sdk/java/src/main/java/com/pulumi/aws/glacier/VaultLock.java index 7776198a5b5..f97231bcccd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glacier/VaultLock.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glacier/VaultLock.java @@ -21,7 +21,8 @@ * ### Testing Glacier Vault Lock Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,38 +47,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleVault = new Vault("exampleVault", VaultArgs.builder()        
- *             .name("example")
+ *         var exampleVault = new Vault("exampleVault", VaultArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("glacier:DeleteArchive")
- *                 .effect("Deny")
+ *                 .actions("glacier:DeleteArchive")
+ *                 .effect("Deny")
  *                 .resources(exampleVault.arn())
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("NumericLessThanEquals")
- *                     .variable("glacier:ArchiveAgeinDays")
- *                     .values("365")
+ *                     .test("NumericLessThanEquals")
+ *                     .variable("glacier:ArchiveAgeinDays")
+ *                     .values("365")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleVaultLock = new VaultLock("exampleVaultLock", VaultLockArgs.builder()        
+ *         var exampleVaultLock = new VaultLock("exampleVaultLock", VaultLockArgs.builder()        
  *             .completeLock(false)
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .vaultName(exampleVault.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Permanently Applying Glacier Vault Lock Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,7 +101,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VaultLock("example", VaultLockArgs.builder()        
+ *         var example = new VaultLock("example", VaultLockArgs.builder()        
  *             .completeLock(true)
  *             .policy(exampleAwsIamPolicyDocument.json())
  *             .vaultName(exampleAwsGlacierVault.name())
@@ -106,7 +109,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Accelerator.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Accelerator.java index 7a003112415..7ea7d1f073c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Accelerator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Accelerator.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Accelerator("example", AcceleratorArgs.builder()        
- *             .name("Example")
- *             .ipAddressType("IPV4")
- *             .ipAddresses("1.2.3.4")
+ *         var example = new Accelerator("example", AcceleratorArgs.builder()        
+ *             .name("Example")
+ *             .ipAddressType("IPV4")
+ *             .ipAddresses("1.2.3.4")
  *             .enabled(true)
  *             .attributes(AcceleratorAttributesArgs.builder()
  *                 .flowLogsEnabled(true)
- *                 .flowLogsS3Bucket("example-bucket")
- *                 .flowLogsS3Prefix("flow-logs/")
+ *                 .flowLogsS3Bucket("example-bucket")
+ *                 .flowLogsS3Prefix("flow-logs/")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CrossAccountAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CrossAccountAttachment.java index fb762a69555..4efe2b99218 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CrossAccountAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CrossAccountAttachment.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CrossAccountAttachment("example", CrossAccountAttachmentArgs.builder()        
- *             .name("example-cross-account-attachment")
+ *         var example = new CrossAccountAttachment("example", CrossAccountAttachmentArgs.builder()        
+ *             .name("example-cross-account-attachment")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with Optional Arguments * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,18 +83,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CrossAccountAttachment("example", CrossAccountAttachmentArgs.builder()        
- *             .name("example-cross-account-attachment")
- *             .principals("123456789012")
+ *         var example = new CrossAccountAttachment("example", CrossAccountAttachmentArgs.builder()        
+ *             .name("example-cross-account-attachment")
+ *             .principals("123456789012")
  *             .resources(CrossAccountAttachmentResourceArgs.builder()
- *                 .endpointId("arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188")
- *                 .region("us-west-2")
+ *                 .endpointId("arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188")
+ *                 .region("us-west-2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingAccelerator.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingAccelerator.java index a552a9a5618..1e9eda42051 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingAccelerator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingAccelerator.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CustomRoutingAccelerator("example", CustomRoutingAcceleratorArgs.builder()        
- *             .name("Example")
- *             .ipAddressType("IPV4")
- *             .ipAddresses("1.2.3.4")
+ *         var example = new CustomRoutingAccelerator("example", CustomRoutingAcceleratorArgs.builder()        
+ *             .name("Example")
+ *             .ipAddressType("IPV4")
+ *             .ipAddresses("1.2.3.4")
  *             .enabled(true)
  *             .attributes(CustomRoutingAcceleratorAttributesArgs.builder()
  *                 .flowLogsEnabled(true)
- *                 .flowLogsS3Bucket("example-bucket")
- *                 .flowLogsS3Prefix("flow-logs/")
+ *                 .flowLogsS3Bucket("example-bucket")
+ *                 .flowLogsS3Prefix("flow-logs/")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingEndpointGroup.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingEndpointGroup.java index 0327c7de187..e95ad44feb2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingEndpointGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingEndpointGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,12 +47,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CustomRoutingEndpointGroup("example", CustomRoutingEndpointGroupArgs.builder()        
+ *         var example = new CustomRoutingEndpointGroup("example", CustomRoutingEndpointGroupArgs.builder()        
  *             .listenerArn(exampleAwsGlobalacceleratorCustomRoutingListener.id())
  *             .destinationConfigurations(CustomRoutingEndpointGroupDestinationConfigurationArgs.builder()
  *                 .fromPort(80)
  *                 .toPort(8080)
- *                 .protocols("TCP")
+ *                 .protocols("TCP")
  *                 .build())
  *             .endpointConfigurations(CustomRoutingEndpointGroupEndpointConfigurationArgs.builder()
  *                 .endpointId(exampleAwsSubnet.id())
@@ -60,7 +61,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingListener.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingListener.java index d1a6fbd2f82..9a276abffd9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingListener.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/CustomRoutingListener.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CustomRoutingAccelerator("example", CustomRoutingAcceleratorArgs.builder()        
- *             .name("Example")
- *             .ipAddressType("IPV4")
+ *         var example = new CustomRoutingAccelerator("example", CustomRoutingAcceleratorArgs.builder()        
+ *             .name("Example")
+ *             .ipAddressType("IPV4")
  *             .enabled(true)
  *             .attributes(CustomRoutingAcceleratorAttributesArgs.builder()
  *                 .flowLogsEnabled(true)
- *                 .flowLogsS3Bucket("example-bucket")
- *                 .flowLogsS3Prefix("flow-logs/")
+ *                 .flowLogsS3Bucket("example-bucket")
+ *                 .flowLogsS3Prefix("flow-logs/")
  *                 .build())
  *             .build());
  * 
- *         var exampleCustomRoutingListener = new CustomRoutingListener("exampleCustomRoutingListener", CustomRoutingListenerArgs.builder()        
+ *         var exampleCustomRoutingListener = new CustomRoutingListener("exampleCustomRoutingListener", CustomRoutingListenerArgs.builder()        
  *             .acceleratorArn(example.id())
  *             .portRanges(CustomRoutingListenerPortRangeArgs.builder()
  *                 .fromPort(80)
@@ -67,7 +68,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/EndpointGroup.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/EndpointGroup.java index 9a92f630c76..712b452ff2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/EndpointGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/EndpointGroup.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,7 +48,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EndpointGroup("example", EndpointGroupArgs.builder()        
+ *         var example = new EndpointGroup("example", EndpointGroupArgs.builder()        
  *             .listenerArn(exampleAwsGlobalacceleratorListener.id())
  *             .endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
  *                 .endpointId(exampleAwsLb.arn())
@@ -57,7 +58,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/GlobalacceleratorFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/GlobalacceleratorFunctions.java index db399acf8e9..0a6b8c52d90 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/GlobalacceleratorFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/GlobalacceleratorFunctions.java @@ -23,7 +23,8 @@ public final class GlobalacceleratorFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,8 +46,8 @@ public final class GlobalacceleratorFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getAccelerator(GetAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -54,7 +55,8 @@ public final class GlobalacceleratorFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getAccelerator() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,8 +92,8 @@ public static Output getAccelerator() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getAccelerator(GetAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -98,7 +101,8 @@ public static Output getAccelerator() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getAcceleratorPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,8 +138,8 @@ public static CompletableFuture getAcceleratorPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getAccelerator(GetAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -142,7 +147,8 @@ public static CompletableFuture getAcceleratorPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getAccelerator(GetAcceleratorArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -177,8 +184,8 @@ public static Output getAccelerator(GetAcceleratorArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getAccelerator(GetAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -186,7 +193,8 @@ public static Output getAccelerator(GetAcceleratorArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -199,7 +207,8 @@ public static CompletableFuture getAcceleratorPlain(GetAcc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -221,8 +230,8 @@ public static CompletableFuture getAcceleratorPlain(GetAcc
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getAccelerator(GetAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -230,7 +239,8 @@ public static CompletableFuture getAcceleratorPlain(GetAcc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -243,7 +253,8 @@ public static Output getAccelerator(GetAcceleratorArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -265,8 +276,8 @@ public static Output getAccelerator(GetAcceleratorArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getAccelerator(GetAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -274,7 +285,8 @@ public static Output getAccelerator(GetAcceleratorArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -287,7 +299,8 @@ public static CompletableFuture getAcceleratorPlain(GetAcc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -309,8 +322,8 @@ public static CompletableFuture getAcceleratorPlain(GetAcc
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getCustomRoutingAccelerator(GetCustomRoutingAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -318,7 +331,8 @@ public static CompletableFuture getAcceleratorPlain(GetAcc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -331,7 +345,8 @@ public static Output getCustomRoutingAccelera * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -353,8 +368,8 @@ public static Output getCustomRoutingAccelera
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getCustomRoutingAccelerator(GetCustomRoutingAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -362,7 +377,8 @@ public static Output getCustomRoutingAccelera
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -375,7 +391,8 @@ public static CompletableFuture getCustomRout * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -397,8 +414,8 @@ public static CompletableFuture getCustomRout
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getCustomRoutingAccelerator(GetCustomRoutingAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -406,7 +423,8 @@ public static CompletableFuture getCustomRout
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -419,7 +437,8 @@ public static Output getCustomRoutingAccelera * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -441,8 +460,8 @@ public static Output getCustomRoutingAccelera
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getCustomRoutingAccelerator(GetCustomRoutingAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -450,7 +469,8 @@ public static Output getCustomRoutingAccelera
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -463,7 +483,8 @@ public static CompletableFuture getCustomRout * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -485,8 +506,8 @@ public static CompletableFuture getCustomRout
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getCustomRoutingAccelerator(GetCustomRoutingAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -494,7 +515,8 @@ public static CompletableFuture getCustomRout
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -507,7 +529,8 @@ public static Output getCustomRoutingAccelera * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -529,8 +552,8 @@ public static Output getCustomRoutingAccelera
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
-     *         final var acceleratorName = config.get("acceleratorName").orElse("");
+     *         final var acceleratorArn = config.get("acceleratorArn").orElse("");
+     *         final var acceleratorName = config.get("acceleratorName").orElse("");
      *         final var example = GlobalacceleratorFunctions.getCustomRoutingAccelerator(GetCustomRoutingAcceleratorArgs.builder()
      *             .arn(acceleratorArn)
      *             .name(acceleratorName)
@@ -538,7 +561,8 @@ public static Output getCustomRoutingAccelera
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Listener.java b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Listener.java index 3f806dd4313..63f1cc30b2f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Listener.java +++ b/sdk/java/src/main/java/com/pulumi/aws/globalaccelerator/Listener.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Accelerator("example", AcceleratorArgs.builder()        
- *             .name("Example")
- *             .ipAddressType("IPV4")
+ *         var example = new Accelerator("example", AcceleratorArgs.builder()        
+ *             .name("Example")
+ *             .ipAddressType("IPV4")
  *             .enabled(true)
  *             .attributes(AcceleratorAttributesArgs.builder()
  *                 .flowLogsEnabled(true)
- *                 .flowLogsS3Bucket("example-bucket")
- *                 .flowLogsS3Prefix("flow-logs/")
+ *                 .flowLogsS3Bucket("example-bucket")
+ *                 .flowLogsS3Prefix("flow-logs/")
  *                 .build())
  *             .build());
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
  *             .acceleratorArn(example.id())
- *             .clientAffinity("SOURCE_IP")
- *             .protocol("TCP")
+ *             .clientAffinity("SOURCE_IP")
+ *             .protocol("TCP")
  *             .portRanges(ListenerPortRangeArgs.builder()
  *                 .fromPort(80)
  *                 .toPort(80)
@@ -70,7 +71,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogDatabase.java b/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogDatabase.java index 69c772ef217..be0f94e5b9a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogDatabase.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
- *             .name("MyCatalogDatabase")
+ *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
+ *             .name("MyCatalogDatabase")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create Table Default Permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,19 +84,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
- *             .name("MyCatalogDatabase")
+ *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
+ *             .name("MyCatalogDatabase")
  *             .createTableDefaultPermissions(CatalogDatabaseCreateTableDefaultPermissionArgs.builder()
- *                 .permissions("SELECT")
+ *                 .permissions("SELECT")
  *                 .principal(CatalogDatabaseCreateTableDefaultPermissionPrincipalArgs.builder()
- *                     .dataLakePrincipalIdentifier("IAM_ALLOWED_PRINCIPALS")
+ *                     .dataLakePrincipalIdentifier("IAM_ALLOWED_PRINCIPALS")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogTable.java b/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogTable.java index 717bb7914ce..9b1604f9d84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogTable.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/CatalogTable.java @@ -30,7 +30,8 @@ * ### Basic Table * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,20 +52,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var awsGlueCatalogTable = new CatalogTable("awsGlueCatalogTable", CatalogTableArgs.builder()        
- *             .name("MyCatalogTable")
- *             .databaseName("MyCatalogDatabase")
+ *         var awsGlueCatalogTable = new CatalogTable("awsGlueCatalogTable", CatalogTableArgs.builder()        
+ *             .name("MyCatalogTable")
+ *             .databaseName("MyCatalogDatabase")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Parquet Table for Athena * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,53 +90,54 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var awsGlueCatalogTable = new CatalogTable("awsGlueCatalogTable", CatalogTableArgs.builder()        
- *             .name("MyCatalogTable")
- *             .databaseName("MyCatalogDatabase")
- *             .tableType("EXTERNAL_TABLE")
+ *         var awsGlueCatalogTable = new CatalogTable("awsGlueCatalogTable", CatalogTableArgs.builder()        
+ *             .name("MyCatalogTable")
+ *             .databaseName("MyCatalogDatabase")
+ *             .tableType("EXTERNAL_TABLE")
  *             .parameters(Map.ofEntries(
- *                 Map.entry("EXTERNAL", "TRUE"),
- *                 Map.entry("parquet.compression", "SNAPPY")
+ *                 Map.entry("EXTERNAL", "TRUE"),
+ *                 Map.entry("parquet.compression", "SNAPPY")
  *             ))
  *             .storageDescriptor(CatalogTableStorageDescriptorArgs.builder()
- *                 .location("s3://my-bucket/event-streams/my-stream")
- *                 .inputFormat("org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat")
- *                 .outputFormat("org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat")
+ *                 .location("s3://my-bucket/event-streams/my-stream")
+ *                 .inputFormat("org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat")
+ *                 .outputFormat("org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat")
  *                 .serDeInfo(CatalogTableStorageDescriptorSerDeInfoArgs.builder()
- *                     .name("my-stream")
- *                     .serializationLibrary("org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe")
- *                     .parameters(Map.of("serialization.format", 1))
+ *                     .name("my-stream")
+ *                     .serializationLibrary("org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe")
+ *                     .parameters(Map.of("serialization.format", 1))
  *                     .build())
  *                 .columns(                
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_string")
- *                         .type("string")
+ *                         .name("my_string")
+ *                         .type("string")
  *                         .build(),
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_double")
- *                         .type("double")
+ *                         .name("my_double")
+ *                         .type("double")
  *                         .build(),
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_date")
- *                         .type("date")
- *                         .comment("")
+ *                         .name("my_date")
+ *                         .type("date")
+ *                         .comment("")
  *                         .build(),
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_bigint")
- *                         .type("bigint")
- *                         .comment("")
+ *                         .name("my_bigint")
+ *                         .type("bigint")
+ *                         .comment("")
  *                         .build(),
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_struct")
- *                         .type("struct<my_nested_string:string>")
- *                         .comment("")
+ *                         .name("my_struct")
+ *                         .type("struct")
+ *                         .comment("")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Classifier.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Classifier.java index f8f41d64bdd..e12ff329d84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Classifier.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Classifier.java @@ -28,7 +28,8 @@ * ### Csv Classifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,29 +51,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Classifier("example", ClassifierArgs.builder()        
- *             .name("example")
+ *         var example = new Classifier("example", ClassifierArgs.builder()        
+ *             .name("example")
  *             .csvClassifier(ClassifierCsvClassifierArgs.builder()
  *                 .allowSingleColumn(false)
- *                 .containsHeader("PRESENT")
- *                 .delimiter(",")
+ *                 .containsHeader("PRESENT")
+ *                 .delimiter(",")
  *                 .disableValueTrimming(false)
  *                 .headers(                
- *                     "example1",
- *                     "example2")
- *                 .quoteSymbol("'")
+ *                     "example1",
+ *                     "example2")
+ *                 .quoteSymbol("'")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Grok Classifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,23 +97,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Classifier("example", ClassifierArgs.builder()        
- *             .name("example")
+ *         var example = new Classifier("example", ClassifierArgs.builder()        
+ *             .name("example")
  *             .grokClassifier(ClassifierGrokClassifierArgs.builder()
- *                 .classification("example")
- *                 .grokPattern("example")
+ *                 .classification("example")
+ *                 .grokPattern("example")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### JSON Classifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -132,22 +137,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Classifier("example", ClassifierArgs.builder()        
- *             .name("example")
+ *         var example = new Classifier("example", ClassifierArgs.builder()        
+ *             .name("example")
  *             .jsonClassifier(ClassifierJsonClassifierArgs.builder()
- *                 .jsonPath("example")
+ *                 .jsonPath("example")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### XML Classifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -169,17 +176,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Classifier("example", ClassifierArgs.builder()        
- *             .name("example")
+ *         var example = new Classifier("example", ClassifierArgs.builder()        
+ *             .name("example")
  *             .xmlClassifier(ClassifierXmlClassifierArgs.builder()
- *                 .classification("example")
- *                 .rowTag("example")
+ *                 .classification("example")
+ *                 .rowTag("example")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Connection.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Connection.java index 0412cd2b9be..ba947c7b8ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Connection.java @@ -25,7 +25,8 @@ * ### Non-VPC Connection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
+ *         var example = new Connection("example", ConnectionArgs.builder()        
  *             .connectionProperties(Map.ofEntries(
- *                 Map.entry("JDBC_CONNECTION_URL", "jdbc:mysql://example.com/exampledatabase"),
- *                 Map.entry("PASSWORD", "examplepassword"),
- *                 Map.entry("USERNAME", "exampleusername")
+ *                 Map.entry("JDBC_CONNECTION_URL", "jdbc:mysql://example.com/exampledatabase"),
+ *                 Map.entry("PASSWORD", "examplepassword"),
+ *                 Map.entry("USERNAME", "exampleusername")
  *             ))
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### VPC Connection @@ -65,7 +67,8 @@ * For more information, see the [AWS Documentation](https://docs.aws.amazon.com/glue/latest/dg/populate-add-connection.html#connection-JDBC-VPC). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,13 +90,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
+ *         var example = new Connection("example", ConnectionArgs.builder()        
  *             .connectionProperties(Map.ofEntries(
- *                 Map.entry("JDBC_CONNECTION_URL", String.format("jdbc:mysql://%s/exampledatabase", exampleAwsRdsCluster.endpoint())),
- *                 Map.entry("PASSWORD", "examplepassword"),
- *                 Map.entry("USERNAME", "exampleusername")
+ *                 Map.entry("JDBC_CONNECTION_URL", String.format("jdbc:mysql://%s/exampledatabase", exampleAwsRdsCluster.endpoint())),
+ *                 Map.entry("PASSWORD", "examplepassword"),
+ *                 Map.entry("USERNAME", "exampleusername")
  *             ))
- *             .name("example")
+ *             .name("example")
  *             .physicalConnectionRequirements(ConnectionPhysicalConnectionRequirementsArgs.builder()
  *                 .availabilityZone(exampleAwsSubnet.availabilityZone())
  *                 .securityGroupIdLists(exampleAwsSecurityGroup.id())
@@ -103,7 +106,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Crawler.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Crawler.java index 7ab5a1cdd1a..3bc5cf1f98a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Crawler.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Crawler.java @@ -36,7 +36,8 @@ * ### DynamoDB Target Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,24 +59,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Crawler("example", CrawlerArgs.builder()        
+ *         var example = new Crawler("example", CrawlerArgs.builder()        
  *             .databaseName(exampleAwsGlueCatalogDatabase.name())
- *             .name("example")
+ *             .name("example")
  *             .role(exampleAwsIamRole.arn())
  *             .dynamodbTargets(CrawlerDynamodbTargetArgs.builder()
- *                 .path("table-name")
+ *                 .path("table-name")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### JDBC Target Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,25 +100,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Crawler("example", CrawlerArgs.builder()        
+ *         var example = new Crawler("example", CrawlerArgs.builder()        
  *             .databaseName(exampleAwsGlueCatalogDatabase.name())
- *             .name("example")
+ *             .name("example")
  *             .role(exampleAwsIamRole.arn())
  *             .jdbcTargets(CrawlerJdbcTargetArgs.builder()
  *                 .connectionName(exampleAwsGlueConnection.name())
- *                 .path("database-name/%")
+ *                 .path("database-name/%")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Target Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -137,24 +142,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Crawler("example", CrawlerArgs.builder()        
+ *         var example = new Crawler("example", CrawlerArgs.builder()        
  *             .databaseName(exampleAwsGlueCatalogDatabase.name())
- *             .name("example")
+ *             .name("example")
  *             .role(exampleAwsIamRole.arn())
  *             .s3Targets(CrawlerS3TargetArgs.builder()
- *                 .path(String.format("s3://%s", exampleAwsS3Bucket.bucket()))
+ *                 .path(String.format("s3://%s", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Catalog Target Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -177,36 +184,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Crawler("example", CrawlerArgs.builder()        
+ *         var example = new Crawler("example", CrawlerArgs.builder()        
  *             .databaseName(exampleAwsGlueCatalogDatabase.name())
- *             .name("example")
+ *             .name("example")
  *             .role(exampleAwsIamRole.arn())
  *             .catalogTargets(CrawlerCatalogTargetArgs.builder()
  *                 .databaseName(exampleAwsGlueCatalogDatabase.name())
  *                 .tables(exampleAwsGlueCatalogTable.name())
  *                 .build())
  *             .schemaChangePolicy(CrawlerSchemaChangePolicyArgs.builder()
- *                 .deleteBehavior("LOG")
+ *                 .deleteBehavior("LOG")
  *                 .build())
- *             .configuration("""
+ *             .configuration("""
  * {
- *   "Version":1.0,
- *   "Grouping": {
- *     "TableGroupingPolicy": "CombineCompatibleSchemas"
+ *   "Version":1.0,
+ *   "Grouping": {
+ *     "TableGroupingPolicy": "CombineCompatibleSchemas"
  *   }
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### MongoDB Target Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -228,25 +237,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Crawler("example", CrawlerArgs.builder()        
+ *         var example = new Crawler("example", CrawlerArgs.builder()        
  *             .databaseName(exampleAwsGlueCatalogDatabase.name())
- *             .name("example")
+ *             .name("example")
  *             .role(exampleAwsIamRole.arn())
  *             .mongodbTargets(CrawlerMongodbTargetArgs.builder()
  *                 .connectionName(exampleAwsGlueConnection.name())
- *                 .path("database-name/%")
+ *                 .path("database-name/%")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Configuration Settings Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -269,32 +280,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var eventsCrawler = new Crawler("eventsCrawler", CrawlerArgs.builder()        
+ *         var eventsCrawler = new Crawler("eventsCrawler", CrawlerArgs.builder()        
  *             .databaseName(glueDatabase.name())
- *             .schedule("cron(0 1 * * ? *)")
- *             .name(String.format("events_crawler_%s", environmentName))
+ *             .schedule("cron(0 1 * * ? *)")
+ *             .name(String.format("events_crawler_%s", environmentName))
  *             .role(glueRole.arn())
  *             .tags(tags)
  *             .configuration(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Grouping", jsonObject(
- *                         jsonProperty("TableGroupingPolicy", "CombineCompatibleSchemas")
+ *                     jsonProperty("Grouping", jsonObject(
+ *                         jsonProperty("TableGroupingPolicy", "CombineCompatibleSchemas")
  *                     )),
- *                     jsonProperty("CrawlerOutput", jsonObject(
- *                         jsonProperty("Partitions", jsonObject(
- *                             jsonProperty("AddOrUpdateBehavior", "InheritFromTable")
+ *                     jsonProperty("CrawlerOutput", jsonObject(
+ *                         jsonProperty("Partitions", jsonObject(
+ *                             jsonProperty("AddOrUpdateBehavior", "InheritFromTable")
  *                         ))
  *                     )),
- *                     jsonProperty("Version", 1)
+ *                     jsonProperty("Version", 1)
  *                 )))
  *             .s3Targets(CrawlerS3TargetArgs.builder()
- *                 .path(String.format("s3://%s", dataLakeBucket.bucket()))
+ *                 .path(String.format("s3://%s", dataLakeBucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/DataCatalogEncryptionSettings.java b/sdk/java/src/main/java/com/pulumi/aws/glue/DataCatalogEncryptionSettings.java index a26472eb01b..bcb9d3102ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/DataCatalogEncryptionSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/DataCatalogEncryptionSettings.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataCatalogEncryptionSettings("example", DataCatalogEncryptionSettingsArgs.builder()        
+ *         var example = new DataCatalogEncryptionSettings("example", DataCatalogEncryptionSettingsArgs.builder()        
  *             .dataCatalogEncryptionSettings(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs.builder()
  *                 .connectionPasswordEncryption(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs.builder()
  *                     .awsKmsKeyId(test.arn())
  *                     .returnConnectionPasswordEncrypted(true)
  *                     .build())
  *                 .encryptionAtRest(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs.builder()
- *                     .catalogEncryptionMode("SSE-KMS")
+ *                     .catalogEncryptionMode("SSE-KMS")
  *                     .catalogEncryptionServiceRole(role.test().arn())
  *                     .sseAwsKmsKeyId(test.arn())
  *                     .build())
@@ -60,7 +61,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/DataQualityRuleset.java b/sdk/java/src/main/java/com/pulumi/aws/glue/DataQualityRuleset.java index e4637680817..1095ec5e73a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/DataQualityRuleset.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/DataQualityRuleset.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
- *             .name("example")
- *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
+ *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
+ *             .name("example")
+ *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With description * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -79,21 +82,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
- *             .name("example")
- *             .description("example")
- *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
+ *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
+ *             .name("example")
+ *             .description("example")
+ *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -114,21 +119,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
- *             .name("example")
- *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
- *             .tags(Map.of("hello", "world"))
+ *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
+ *             .name("example")
+ *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
+ *             .tags(Map.of("hello", "world"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With target_table * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -150,9 +157,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
- *             .name("example")
- *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
+ *         var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
+ *             .name("example")
+ *             .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
  *             .targetTable(DataQualityRulesetTargetTableArgs.builder()
  *                 .databaseName(exampleAwsGlueCatalogDatabase.name())
  *                 .tableName(exampleAwsGlueCatalogTable.name())
@@ -161,7 +168,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/DevEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/glue/DevEndpoint.java index c684b88f38e..f832f72719d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/DevEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/DevEndpoint.java @@ -25,7 +25,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,32 +55,33 @@
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("glue.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("glue.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("AWSGlueServiceRole-foo")
- *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("AWSGlueServiceRole-foo")
+ *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleDevEndpoint = new DevEndpoint("exampleDevEndpoint", DevEndpointArgs.builder()        
- *             .name("foo")
+ *         var exampleDevEndpoint = new DevEndpoint("exampleDevEndpoint", DevEndpointArgs.builder()        
+ *             .name("foo")
  *             .roleArn(exampleRole.arn())
  *             .build());
  * 
- *         var example_AWSGlueServiceRole = new RolePolicyAttachment("example-AWSGlueServiceRole", RolePolicyAttachmentArgs.builder()        
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole")
+ *         var example_AWSGlueServiceRole = new RolePolicyAttachment("example-AWSGlueServiceRole", RolePolicyAttachmentArgs.builder()        
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole")
  *             .role(exampleRole.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/GlueFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/glue/GlueFunctions.java index 60c5e7977d7..f9c0772251e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/GlueFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/GlueFunctions.java @@ -29,7 +29,8 @@ public final class GlueFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,13 +52,14 @@ public final class GlueFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getCatalogTable(GetCatalogTableArgs.builder()
-     *             .name("MyCatalogTable")
-     *             .databaseName("MyCatalogDatabase")
+     *             .name("MyCatalogTable")
+     *             .databaseName("MyCatalogDatabase")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getCatalogTable(GetCatalogTableArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,13 +95,14 @@ public static Output getCatalogTable(GetCatalogTableArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getCatalogTable(GetCatalogTableArgs.builder()
-     *             .name("MyCatalogTable")
-     *             .databaseName("MyCatalogDatabase")
+     *             .name("MyCatalogTable")
+     *             .databaseName("MyCatalogDatabase")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getCatalogTablePlain(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,13 +138,14 @@ public static CompletableFuture getCatalogTablePlain(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getCatalogTable(GetCatalogTableArgs.builder()
-     *             .name("MyCatalogTable")
-     *             .databaseName("MyCatalogDatabase")
+     *             .name("MyCatalogTable")
+     *             .databaseName("MyCatalogDatabase")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getCatalogTable(GetCatalogTableArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,13 +181,14 @@ public static Output getCatalogTable(GetCatalogTableArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getCatalogTable(GetCatalogTableArgs.builder()
-     *             .name("MyCatalogTable")
-     *             .databaseName("MyCatalogDatabase")
+     *             .name("MyCatalogTable")
+     *             .databaseName("MyCatalogDatabase")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getCatalogTablePlain(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -215,12 +224,13 @@ public static CompletableFuture getCatalogTablePlain(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getConnection(GetConnectionArgs.builder()
-     *             .id("123456789123:connection")
+     *             .id("123456789123:connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -233,7 +243,8 @@ public static Output getConnection(GetConnectionArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -255,12 +266,13 @@ public static Output getConnection(GetConnectionArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getConnection(GetConnectionArgs.builder()
-     *             .id("123456789123:connection")
+     *             .id("123456789123:connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -273,7 +285,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -295,12 +308,13 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getConnection(GetConnectionArgs.builder()
-     *             .id("123456789123:connection")
+     *             .id("123456789123:connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -313,7 +327,8 @@ public static Output getConnection(GetConnectionArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -335,12 +350,13 @@ public static Output getConnection(GetConnectionArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getConnection(GetConnectionArgs.builder()
-     *             .id("123456789123:connection")
+     *             .id("123456789123:connection")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -353,7 +369,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -375,12 +392,13 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getDataCatalogEncryptionSettings(GetDataCatalogEncryptionSettingsArgs.builder()
-     *             .id("123456789123")
+     *             .id("123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -393,7 +411,8 @@ public static Output getDataCatalogEncry * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -415,12 +434,13 @@ public static Output getDataCatalogEncry
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getDataCatalogEncryptionSettings(GetDataCatalogEncryptionSettingsArgs.builder()
-     *             .id("123456789123")
+     *             .id("123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -433,7 +453,8 @@ public static CompletableFuture getDataC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -455,12 +476,13 @@ public static CompletableFuture getDataC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getDataCatalogEncryptionSettings(GetDataCatalogEncryptionSettingsArgs.builder()
-     *             .id("123456789123")
+     *             .id("123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -473,7 +495,8 @@ public static Output getDataCatalogEncry * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -495,12 +518,13 @@ public static Output getDataCatalogEncry
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getDataCatalogEncryptionSettings(GetDataCatalogEncryptionSettingsArgs.builder()
-     *             .id("123456789123")
+     *             .id("123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -515,7 +539,8 @@ public static CompletableFuture getDataC * ### Generate Python Script * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -537,96 +562,98 @@ public static CompletableFuture getDataC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("PYTHON")
+     *             .language("PYTHON")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mapping")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mapping")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
+     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Generate Scala Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -648,90 +675,91 @@ public static CompletableFuture getDataC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("SCALA")
+     *             .language("SCALA")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mappings")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mappings")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
+     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -746,7 +774,8 @@ public static Output getScript(GetScriptArgs args) { * ### Generate Python Script * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -768,96 +797,98 @@ public static Output getScript(GetScriptArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("PYTHON")
+     *             .language("PYTHON")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mapping")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mapping")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
+     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Generate Scala Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -879,90 +910,91 @@ public static Output getScript(GetScriptArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("SCALA")
+     *             .language("SCALA")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mappings")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mappings")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
+     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -977,7 +1009,8 @@ public static CompletableFuture getScriptPlain(GetScriptPlainAr * ### Generate Python Script * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -999,96 +1032,98 @@ public static CompletableFuture getScriptPlain(GetScriptPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("PYTHON")
+     *             .language("PYTHON")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mapping")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mapping")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
+     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Generate Scala Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1110,90 +1145,91 @@ public static CompletableFuture getScriptPlain(GetScriptPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("SCALA")
+     *             .language("SCALA")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mappings")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mappings")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
+     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1208,7 +1244,8 @@ public static Output getScript(GetScriptArgs args, InvokeOption * ### Generate Python Script * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1230,96 +1267,98 @@ public static Output getScript(GetScriptArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("PYTHON")
+     *             .language("PYTHON")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mapping")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mapping")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
+     *         ctx.export("pythonScript", example.applyValue(getScriptResult -> getScriptResult.pythonScript()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Generate Scala Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1341,90 +1380,91 @@ public static Output getScript(GetScriptArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GlueFunctions.getScript(GetScriptArgs.builder()
-     *             .language("SCALA")
+     *             .language("SCALA")
      *             .dagEdges(            
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("datasource0")
-     *                     .target("applymapping1")
+     *                     .source("datasource0")
+     *                     .target("applymapping1")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("applymapping1")
-     *                     .target("selectfields2")
+     *                     .source("applymapping1")
+     *                     .target("selectfields2")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("selectfields2")
-     *                     .target("resolvechoice3")
+     *                     .source("selectfields2")
+     *                     .target("resolvechoice3")
      *                     .build(),
      *                 GetScriptDagEdgeArgs.builder()
-     *                     .source("resolvechoice3")
-     *                     .target("datasink4")
+     *                     .source("resolvechoice3")
+     *                     .target("datasink4")
      *                     .build())
      *             .dagNodes(            
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasource0")
-     *                     .nodeType("DataSource")
+     *                     .id("datasource0")
+     *                     .nodeType("DataSource")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", source.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", source.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", sourceAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("applymapping1")
-     *                     .nodeType("ApplyMapping")
+     *                     .id("applymapping1")
+     *                     .nodeType("ApplyMapping")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("mappings")
-     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
+     *                         .name("mappings")
+     *                         .value("[(\"column1\", \"string\", \"column1\", \"string\")]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("selectfields2")
-     *                     .nodeType("SelectFields")
+     *                     .id("selectfields2")
+     *                     .nodeType("SelectFields")
      *                     .args(GetScriptDagNodeArgArgs.builder()
-     *                         .name("paths")
-     *                         .value("[\"column1\"]")
+     *                         .name("paths")
+     *                         .value("[\"column1\"]")
      *                         .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("resolvechoice3")
-     *                     .nodeType("ResolveChoice")
+     *                     .id("resolvechoice3")
+     *                     .nodeType("ResolveChoice")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("choice")
-     *                             .value("\"MATCH_CATALOG\"")
+     *                             .name("choice")
+     *                             .value("\"MATCH_CATALOG\"")
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build(),
      *                 GetScriptDagNodeArgs.builder()
-     *                     .id("datasink4")
-     *                     .nodeType("DataSink")
+     *                     .id("datasink4")
+     *                     .nodeType("DataSink")
      *                     .args(                    
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("database")
-     *                             .value(String.format("\"%s\"", destination.name()))
+     *                             .name("database")
+     *                             .value(String.format("\"%s\"", destination.name()))
      *                             .build(),
      *                         GetScriptDagNodeArgArgs.builder()
-     *                             .name("table_name")
-     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
+     *                             .name("table_name")
+     *                             .value(String.format("\"%s\"", destinationAwsGlueCatalogTable.name()))
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
+     *         ctx.export("scalaCode", example.applyValue(getScriptResult -> getScriptResult.scalaCode()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Job.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Job.java index 55564d53a5a..5943d3e8ad3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Job.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Job.java @@ -31,7 +31,8 @@ * ### Python Job * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,23 +54,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Job("example", JobArgs.builder()        
- *             .name("example")
+ *         var example = new Job("example", JobArgs.builder()        
+ *             .name("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .command(JobCommandArgs.builder()
- *                 .scriptLocation(String.format("s3://%s/example.py", exampleAwsS3Bucket.bucket()))
+ *                 .scriptLocation(String.format("s3://%s/example.py", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Ray Job * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,28 +94,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Job("example", JobArgs.builder()        
- *             .name("example")
+ *         var example = new Job("example", JobArgs.builder()        
+ *             .name("example")
  *             .roleArn(exampleAwsIamRole.arn())
- *             .glueVersion("4.0")
- *             .workerType("Z.2X")
+ *             .glueVersion("4.0")
+ *             .workerType("Z.2X")
  *             .command(JobCommandArgs.builder()
- *                 .name("glueray")
- *                 .pythonVersion("3.9")
- *                 .runtime("Ray2.4")
- *                 .scriptLocation(String.format("s3://%s/example.py", exampleAwsS3Bucket.bucket()))
+ *                 .name("glueray")
+ *                 .pythonVersion("3.9")
+ *                 .runtime("Ray2.4")
+ *                 .scriptLocation(String.format("s3://%s/example.py", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Scala Job * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -134,24 +139,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Job("example", JobArgs.builder()        
- *             .name("example")
+ *         var example = new Job("example", JobArgs.builder()        
+ *             .name("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .command(JobCommandArgs.builder()
- *                 .scriptLocation(String.format("s3://%s/example.scala", exampleAwsS3Bucket.bucket()))
+ *                 .scriptLocation(String.format("s3://%s/example.scala", exampleAwsS3Bucket.bucket()))
  *                 .build())
- *             .defaultArguments(Map.of("--job-language", "scala"))
+ *             .defaultArguments(Map.of("--job-language", "scala"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Streaming Job * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -173,24 +180,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Job("example", JobArgs.builder()        
- *             .name("example streaming job")
+ *         var example = new Job("example", JobArgs.builder()        
+ *             .name("example streaming job")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .command(JobCommandArgs.builder()
- *                 .name("gluestreaming")
- *                 .scriptLocation(String.format("s3://%s/example.script", exampleAwsS3Bucket.bucket()))
+ *                 .name("gluestreaming")
+ *                 .scriptLocation(String.format("s3://%s/example.script", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enabling CloudWatch Logs and Metrics * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -213,23 +222,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("example")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("example")
  *             .retentionInDays(14)
  *             .build());
  * 
- *         var exampleJob = new Job("exampleJob", JobArgs.builder()        
+ *         var exampleJob = new Job("exampleJob", JobArgs.builder()        
  *             .defaultArguments(Map.ofEntries(
- *                 Map.entry("--continuous-log-logGroup", example.name()),
- *                 Map.entry("--enable-continuous-cloudwatch-log", "true"),
- *                 Map.entry("--enable-continuous-log-filter", "true"),
- *                 Map.entry("--enable-metrics", "")
+ *                 Map.entry("--continuous-log-logGroup", example.name()),
+ *                 Map.entry("--enable-continuous-cloudwatch-log", "true"),
+ *                 Map.entry("--enable-continuous-log-filter", "true"),
+ *                 Map.entry("--enable-metrics", "")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/MLTransform.java b/sdk/java/src/main/java/com/pulumi/aws/glue/MLTransform.java index e1da816c25d..c4f1561d7b7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/MLTransform.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/MLTransform.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,78 +61,78 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCatalogDatabase = new CatalogDatabase("testCatalogDatabase", CatalogDatabaseArgs.builder()        
- *             .name("example")
+ *         var testCatalogDatabase = new CatalogDatabase("testCatalogDatabase", CatalogDatabaseArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var testCatalogTable = new CatalogTable("testCatalogTable", CatalogTableArgs.builder()        
- *             .name("example")
+ *         var testCatalogTable = new CatalogTable("testCatalogTable", CatalogTableArgs.builder()        
+ *             .name("example")
  *             .databaseName(testCatalogDatabase.name())
- *             .owner("my_owner")
+ *             .owner("my_owner")
  *             .retention(1)
- *             .tableType("VIRTUAL_VIEW")
- *             .viewExpandedText("view_expanded_text_1")
- *             .viewOriginalText("view_original_text_1")
+ *             .tableType("VIRTUAL_VIEW")
+ *             .viewExpandedText("view_expanded_text_1")
+ *             .viewOriginalText("view_original_text_1")
  *             .storageDescriptor(CatalogTableStorageDescriptorArgs.builder()
- *                 .bucketColumns("bucket_column_1")
+ *                 .bucketColumns("bucket_column_1")
  *                 .compressed(false)
- *                 .inputFormat("SequenceFileInputFormat")
- *                 .location("my_location")
+ *                 .inputFormat("SequenceFileInputFormat")
+ *                 .location("my_location")
  *                 .numberOfBuckets(1)
- *                 .outputFormat("SequenceFileInputFormat")
+ *                 .outputFormat("SequenceFileInputFormat")
  *                 .storedAsSubDirectories(false)
- *                 .parameters(Map.of("param1", "param1_val"))
+ *                 .parameters(Map.of("param1", "param1_val"))
  *                 .columns(                
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_column_1")
- *                         .type("int")
- *                         .comment("my_column1_comment")
+ *                         .name("my_column_1")
+ *                         .type("int")
+ *                         .comment("my_column1_comment")
  *                         .build(),
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_column_2")
- *                         .type("string")
- *                         .comment("my_column2_comment")
+ *                         .name("my_column_2")
+ *                         .type("string")
+ *                         .comment("my_column2_comment")
  *                         .build())
  *                 .serDeInfo(CatalogTableStorageDescriptorSerDeInfoArgs.builder()
- *                     .name("ser_de_name")
- *                     .parameters(Map.of("param1", "param_val_1"))
- *                     .serializationLibrary("org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe")
+ *                     .name("ser_de_name")
+ *                     .parameters(Map.of("param1", "param_val_1"))
+ *                     .serializationLibrary("org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe")
  *                     .build())
  *                 .sortColumns(CatalogTableStorageDescriptorSortColumnArgs.builder()
- *                     .column("my_column_1")
+ *                     .column("my_column_1")
  *                     .sortOrder(1)
  *                     .build())
  *                 .skewedInfo(CatalogTableStorageDescriptorSkewedInfoArgs.builder()
- *                     .skewedColumnNames("my_column_1")
- *                     .skewedColumnValueLocationMaps(Map.of("my_column_1", "my_column_1_val_loc_map"))
- *                     .skewedColumnValues("skewed_val_1")
+ *                     .skewedColumnNames("my_column_1")
+ *                     .skewedColumnValueLocationMaps(Map.of("my_column_1", "my_column_1_val_loc_map"))
+ *                     .skewedColumnValues("skewed_val_1")
  *                     .build())
  *                 .build())
  *             .partitionKeys(            
  *                 CatalogTablePartitionKeyArgs.builder()
- *                     .name("my_column_1")
- *                     .type("int")
- *                     .comment("my_column_1_comment")
+ *                     .name("my_column_1")
+ *                     .type("int")
+ *                     .comment("my_column_1_comment")
  *                     .build(),
  *                 CatalogTablePartitionKeyArgs.builder()
- *                     .name("my_column_2")
- *                     .type("string")
- *                     .comment("my_column_2_comment")
+ *                     .name("my_column_2")
+ *                     .type("string")
+ *                     .comment("my_column_2_comment")
  *                     .build())
- *             .parameters(Map.of("param1", "param1_val"))
+ *             .parameters(Map.of("param1", "param1_val"))
  *             .build());
  * 
- *         var test = new MLTransform("test", MLTransformArgs.builder()        
- *             .name("example")
+ *         var test = new MLTransform("test", MLTransformArgs.builder()        
+ *             .name("example")
  *             .roleArn(testAwsIamRole.arn())
  *             .inputRecordTables(MLTransformInputRecordTableArgs.builder()
  *                 .databaseName(testCatalogTable.databaseName())
  *                 .tableName(testCatalogTable.name())
  *                 .build())
  *             .parameters(MLTransformParametersArgs.builder()
- *                 .transformType("FIND_MATCHES")
+ *                 .transformType("FIND_MATCHES")
  *                 .findMatchesParameters(MLTransformParametersFindMatchesParametersArgs.builder()
- *                     .primaryKeyColumnName("my_column_1")
+ *                     .primaryKeyColumnName("my_column_1")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -140,7 +141,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Partition.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Partition.java index dc6fc095191..af713e7515d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Partition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Partition.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Partition("example", PartitionArgs.builder()        
- *             .databaseName("some-database")
- *             .tableName("some-table")
- *             .values("some-value")
+ *         var example = new Partition("example", PartitionArgs.builder()        
+ *             .databaseName("some-database")
+ *             .tableName("some-table")
+ *             .values("some-value")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/PartitionIndex.java b/sdk/java/src/main/java/com/pulumi/aws/glue/PartitionIndex.java index 8543c9480bd..65193d7d1a1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/PartitionIndex.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/PartitionIndex.java @@ -18,7 +18,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,81 +49,82 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
- *             .name("example")
+ *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleCatalogTable = new CatalogTable("exampleCatalogTable", CatalogTableArgs.builder()        
- *             .name("example")
+ *         var exampleCatalogTable = new CatalogTable("exampleCatalogTable", CatalogTableArgs.builder()        
+ *             .name("example")
  *             .databaseName(example.name())
- *             .owner("my_owner")
+ *             .owner("my_owner")
  *             .retention(1)
- *             .tableType("VIRTUAL_VIEW")
- *             .viewExpandedText("view_expanded_text_1")
- *             .viewOriginalText("view_original_text_1")
+ *             .tableType("VIRTUAL_VIEW")
+ *             .viewExpandedText("view_expanded_text_1")
+ *             .viewOriginalText("view_original_text_1")
  *             .storageDescriptor(CatalogTableStorageDescriptorArgs.builder()
- *                 .bucketColumns("bucket_column_1")
+ *                 .bucketColumns("bucket_column_1")
  *                 .compressed(false)
- *                 .inputFormat("SequenceFileInputFormat")
- *                 .location("my_location")
+ *                 .inputFormat("SequenceFileInputFormat")
+ *                 .location("my_location")
  *                 .numberOfBuckets(1)
- *                 .outputFormat("SequenceFileInputFormat")
+ *                 .outputFormat("SequenceFileInputFormat")
  *                 .storedAsSubDirectories(false)
- *                 .parameters(Map.of("param1", "param1_val"))
+ *                 .parameters(Map.of("param1", "param1_val"))
  *                 .columns(                
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_column_1")
- *                         .type("int")
- *                         .comment("my_column1_comment")
+ *                         .name("my_column_1")
+ *                         .type("int")
+ *                         .comment("my_column1_comment")
  *                         .build(),
  *                     CatalogTableStorageDescriptorColumnArgs.builder()
- *                         .name("my_column_2")
- *                         .type("string")
- *                         .comment("my_column2_comment")
+ *                         .name("my_column_2")
+ *                         .type("string")
+ *                         .comment("my_column2_comment")
  *                         .build())
  *                 .serDeInfo(CatalogTableStorageDescriptorSerDeInfoArgs.builder()
- *                     .name("ser_de_name")
- *                     .parameters(Map.of("param1", "param_val_1"))
- *                     .serializationLibrary("org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe")
+ *                     .name("ser_de_name")
+ *                     .parameters(Map.of("param1", "param_val_1"))
+ *                     .serializationLibrary("org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe")
  *                     .build())
  *                 .sortColumns(CatalogTableStorageDescriptorSortColumnArgs.builder()
- *                     .column("my_column_1")
+ *                     .column("my_column_1")
  *                     .sortOrder(1)
  *                     .build())
  *                 .skewedInfo(CatalogTableStorageDescriptorSkewedInfoArgs.builder()
- *                     .skewedColumnNames("my_column_1")
- *                     .skewedColumnValueLocationMaps(Map.of("my_column_1", "my_column_1_val_loc_map"))
- *                     .skewedColumnValues("skewed_val_1")
+ *                     .skewedColumnNames("my_column_1")
+ *                     .skewedColumnValueLocationMaps(Map.of("my_column_1", "my_column_1_val_loc_map"))
+ *                     .skewedColumnValues("skewed_val_1")
  *                     .build())
  *                 .build())
  *             .partitionKeys(            
  *                 CatalogTablePartitionKeyArgs.builder()
- *                     .name("my_column_1")
- *                     .type("int")
- *                     .comment("my_column_1_comment")
+ *                     .name("my_column_1")
+ *                     .type("int")
+ *                     .comment("my_column_1_comment")
  *                     .build(),
  *                 CatalogTablePartitionKeyArgs.builder()
- *                     .name("my_column_2")
- *                     .type("string")
- *                     .comment("my_column_2_comment")
+ *                     .name("my_column_2")
+ *                     .type("string")
+ *                     .comment("my_column_2_comment")
  *                     .build())
- *             .parameters(Map.of("param1", "param1_val"))
+ *             .parameters(Map.of("param1", "param1_val"))
  *             .build());
  * 
- *         var examplePartitionIndex = new PartitionIndex("examplePartitionIndex", PartitionIndexArgs.builder()        
+ *         var examplePartitionIndex = new PartitionIndex("examplePartitionIndex", PartitionIndexArgs.builder()        
  *             .databaseName(example.name())
  *             .tableName(exampleCatalogTable.name())
  *             .partitionIndex(PartitionIndexPartitionIndexArgs.builder()
- *                 .indexName("example")
+ *                 .indexName("example")
  *                 .keys(                
- *                     "my_column_1",
- *                     "my_column_2")
+ *                     "my_column_1",
+ *                     "my_column_2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Registry.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Registry.java index 1bd89e0f8f7..97520512f04 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Registry.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Registry.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Registry("example", RegistryArgs.builder()        
- *             .registryName("example")
+ *         var example = new Registry("example", RegistryArgs.builder()        
+ *             .registryName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/glue/ResourcePolicy.java index 74403612afc..9519fb781fe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/ResourcePolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,22 +56,23 @@
  * 
  *         final var glue-example-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("glue:CreateTable")
- *                 .resources(String.format("arn:%s:glue:%s:%s:*", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                 .actions("glue:CreateTable")
+ *                 .resources(String.format("arn:%s:glue:%s:%s:*", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("*")
- *                     .type("AWS")
+ *                     .identifiers("*")
+ *                     .type("AWS")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .policy(glue_example_policy.json())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Schema.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Schema.java index 1744a3765d0..ef992cf29e2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Schema.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Schema.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Schema("example", SchemaArgs.builder()        
- *             .schemaName("example")
+ *         var example = new Schema("example", SchemaArgs.builder()        
+ *             .schemaName("example")
  *             .registryArn(test.arn())
- *             .dataFormat("AVRO")
- *             .compatibility("NONE")
- *             .schemaDefinition("{\"type\": \"record\", \"name\": \"r1\", \"fields\": [ {\"name\": \"f1\", \"type\": \"int\"}, {\"name\": \"f2\", \"type\": \"string\"} ]}")
+ *             .dataFormat("AVRO")
+ *             .compatibility("NONE")
+ *             .schemaDefinition("{\"type\": \"record\", \"name\": \"r1\", \"fields\": [ {\"name\": \"f1\", \"type\": \"int\"}, {\"name\": \"f2\", \"type\": \"string\"} ]}")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/SecurityConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/glue/SecurityConfiguration.java index 3f1395a0d66..c95e718dd54 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/SecurityConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/SecurityConfiguration.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,25 +46,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityConfiguration("example", SecurityConfigurationArgs.builder()        
- *             .name("example")
+ *         var example = new SecurityConfiguration("example", SecurityConfigurationArgs.builder()        
+ *             .name("example")
  *             .encryptionConfiguration(SecurityConfigurationEncryptionConfigurationArgs.builder()
  *                 .cloudwatchEncryption(SecurityConfigurationEncryptionConfigurationCloudwatchEncryptionArgs.builder()
- *                     .cloudwatchEncryptionMode("DISABLED")
+ *                     .cloudwatchEncryptionMode("DISABLED")
  *                     .build())
  *                 .jobBookmarksEncryption(SecurityConfigurationEncryptionConfigurationJobBookmarksEncryptionArgs.builder()
- *                     .jobBookmarksEncryptionMode("DISABLED")
+ *                     .jobBookmarksEncryptionMode("DISABLED")
  *                     .build())
  *                 .s3Encryption(SecurityConfigurationEncryptionConfigurationS3EncryptionArgs.builder()
  *                     .kmsKeyArn(exampleAwsKmsKey.arn())
- *                     .s3EncryptionMode("SSE-KMS")
+ *                     .s3EncryptionMode("SSE-KMS")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Trigger.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Trigger.java index 251a1c81689..dbc3609083e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Trigger.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Trigger.java @@ -28,7 +28,8 @@ * ### Conditional Trigger * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,29 +52,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trigger("example", TriggerArgs.builder()        
- *             .name("example")
- *             .type("CONDITIONAL")
+ *         var example = new Trigger("example", TriggerArgs.builder()        
+ *             .name("example")
+ *             .type("CONDITIONAL")
  *             .actions(TriggerActionArgs.builder()
  *                 .jobName(example1.name())
  *                 .build())
  *             .predicate(TriggerPredicateArgs.builder()
  *                 .conditions(TriggerPredicateConditionArgs.builder()
  *                     .jobName(example2.name())
- *                     .state("SUCCEEDED")
+ *                     .state("SUCCEEDED")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### On-Demand Trigger * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -95,9 +98,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trigger("example", TriggerArgs.builder()        
- *             .name("example")
- *             .type("ON_DEMAND")
+ *         var example = new Trigger("example", TriggerArgs.builder()        
+ *             .name("example")
+ *             .type("ON_DEMAND")
  *             .actions(TriggerActionArgs.builder()
  *                 .jobName(exampleAwsGlueJob.name())
  *                 .build())
@@ -105,13 +108,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Scheduled Trigger * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -133,10 +138,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trigger("example", TriggerArgs.builder()        
- *             .name("example")
- *             .schedule("cron(15 12 * * ? *)")
- *             .type("SCHEDULED")
+ *         var example = new Trigger("example", TriggerArgs.builder()        
+ *             .name("example")
+ *             .schedule("cron(15 12 * * ? *)")
+ *             .type("SCHEDULED")
  *             .actions(TriggerActionArgs.builder()
  *                 .jobName(exampleAwsGlueJob.name())
  *                 .build())
@@ -144,7 +149,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Conditional Trigger with Crawler Action @@ -152,7 +158,8 @@ * **Note:** Triggers can have both a crawler action and a crawler condition, just no example provided. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -175,23 +182,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trigger("example", TriggerArgs.builder()        
- *             .name("example")
- *             .type("CONDITIONAL")
+ *         var example = new Trigger("example", TriggerArgs.builder()        
+ *             .name("example")
+ *             .type("CONDITIONAL")
  *             .actions(TriggerActionArgs.builder()
  *                 .crawlerName(example1.name())
  *                 .build())
  *             .predicate(TriggerPredicateArgs.builder()
  *                 .conditions(TriggerPredicateConditionArgs.builder()
  *                     .jobName(example2.name())
- *                     .state("SUCCEEDED")
+ *                     .state("SUCCEEDED")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Conditional Trigger with Crawler Condition @@ -199,7 +207,8 @@ * **Note:** Triggers can have both a crawler action and a crawler condition, just no example provided. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -222,23 +231,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Trigger("example", TriggerArgs.builder()        
- *             .name("example")
- *             .type("CONDITIONAL")
+ *         var example = new Trigger("example", TriggerArgs.builder()        
+ *             .name("example")
+ *             .type("CONDITIONAL")
  *             .actions(TriggerActionArgs.builder()
  *                 .jobName(example1.name())
  *                 .build())
  *             .predicate(TriggerPredicateArgs.builder()
  *                 .conditions(TriggerPredicateConditionArgs.builder()
  *                     .crawlerName(example2.name())
- *                     .crawlState("SUCCEEDED")
+ *                     .crawlState("SUCCEEDED")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/UserDefinedFunction.java b/sdk/java/src/main/java/com/pulumi/aws/glue/UserDefinedFunction.java index 0f881b6d396..a9b0f6ef3ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/UserDefinedFunction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/UserDefinedFunction.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,26 +47,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
- *             .name("my_database")
+ *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
+ *             .name("my_database")
  *             .build());
  * 
- *         var exampleUserDefinedFunction = new UserDefinedFunction("exampleUserDefinedFunction", UserDefinedFunctionArgs.builder()        
- *             .name("my_func")
+ *         var exampleUserDefinedFunction = new UserDefinedFunction("exampleUserDefinedFunction", UserDefinedFunctionArgs.builder()        
+ *             .name("my_func")
  *             .catalogId(example.catalogId())
  *             .databaseName(example.name())
- *             .className("class")
- *             .ownerName("owner")
- *             .ownerType("GROUP")
+ *             .className("class")
+ *             .ownerName("owner")
+ *             .ownerType("GROUP")
  *             .resourceUris(UserDefinedFunctionResourceUriArgs.builder()
- *                 .resourceType("ARCHIVE")
- *                 .uri("uri")
+ *                 .resourceType("ARCHIVE")
+ *                 .uri("uri")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/glue/Workflow.java b/sdk/java/src/main/java/com/pulumi/aws/glue/Workflow.java index 78bde9193fa..16eabda0c07 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/glue/Workflow.java +++ b/sdk/java/src/main/java/com/pulumi/aws/glue/Workflow.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,37 +50,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workflow("example", WorkflowArgs.builder()        
- *             .name("example")
+ *         var example = new Workflow("example", WorkflowArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var example_start = new Trigger("example-start", TriggerArgs.builder()        
- *             .name("trigger-start")
- *             .type("ON_DEMAND")
+ *         var example_start = new Trigger("example-start", TriggerArgs.builder()        
+ *             .name("trigger-start")
+ *             .type("ON_DEMAND")
  *             .workflowName(example.name())
  *             .actions(TriggerActionArgs.builder()
- *                 .jobName("example-job")
+ *                 .jobName("example-job")
  *                 .build())
  *             .build());
  * 
- *         var example_inner = new Trigger("example-inner", TriggerArgs.builder()        
- *             .name("trigger-inner")
- *             .type("CONDITIONAL")
+ *         var example_inner = new Trigger("example-inner", TriggerArgs.builder()        
+ *             .name("trigger-inner")
+ *             .type("CONDITIONAL")
  *             .workflowName(example.name())
  *             .predicate(TriggerPredicateArgs.builder()
  *                 .conditions(TriggerPredicateConditionArgs.builder()
- *                     .jobName("example-job")
- *                     .state("SUCCEEDED")
+ *                     .jobName("example-job")
+ *                     .state("SUCCEEDED")
  *                     .build())
  *                 .build())
  *             .actions(TriggerActionArgs.builder()
- *                 .jobName("another-example-job")
+ *                 .jobName("another-example-job")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/grafana/GrafanaFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/grafana/GrafanaFunctions.java index 8c52832729d..a18c71d1a72 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/grafana/GrafanaFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/grafana/GrafanaFunctions.java @@ -22,7 +22,8 @@ public final class GrafanaFunctions { * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,12 +45,13 @@ public final class GrafanaFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GrafanaFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("g-2054c75a02")
+     *             .workspaceId("g-2054c75a02")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getWorkspace(GetWorkspaceArgs args) { * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,12 +89,13 @@ public static Output getWorkspace(GetWorkspaceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GrafanaFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("g-2054c75a02")
+     *             .workspaceId("g-2054c75a02")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GrafanaFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("g-2054c75a02")
+     *             .workspaceId("g-2054c75a02")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,12 +177,13 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = GrafanaFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("g-2054c75a02")
+     *             .workspaceId("g-2054c75a02")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/grafana/LicenseAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/grafana/LicenseAssociation.java index 83715310b12..f462c48443c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/grafana/LicenseAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/grafana/LicenseAssociation.java @@ -21,7 +21,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,37 +48,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var assume = new Role("assume", RoleArgs.builder()        
- *             .name("grafana-assume")
+ *         var assume = new Role("assume", RoleArgs.builder()        
+ *             .name("grafana-assume")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "grafana.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "grafana.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
- *             .accountAccessType("CURRENT_ACCOUNT")
- *             .authenticationProviders("SAML")
- *             .permissionType("SERVICE_MANAGED")
+ *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
+ *             .accountAccessType("CURRENT_ACCOUNT")
+ *             .authenticationProviders("SAML")
+ *             .permissionType("SERVICE_MANAGED")
  *             .roleArn(assume.arn())
  *             .build());
  * 
- *         var example = new LicenseAssociation("example", LicenseAssociationArgs.builder()        
- *             .licenseType("ENTERPRISE_FREE_TRIAL")
+ *         var example = new LicenseAssociation("example", LicenseAssociationArgs.builder()        
+ *             .licenseType("ENTERPRISE_FREE_TRIAL")
  *             .workspaceId(exampleWorkspace.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/grafana/RoleAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/grafana/RoleAssociation.java index b289c29bc76..08a92261e34 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/grafana/RoleAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/grafana/RoleAssociation.java @@ -23,7 +23,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,40 +50,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var assume = new Role("assume", RoleArgs.builder()        
- *             .name("grafana-assume")
+ *         var assume = new Role("assume", RoleArgs.builder()        
+ *             .name("grafana-assume")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "grafana.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "grafana.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
- *             .accountAccessType("CURRENT_ACCOUNT")
- *             .authenticationProviders("SAML")
- *             .permissionType("SERVICE_MANAGED")
+ *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
+ *             .accountAccessType("CURRENT_ACCOUNT")
+ *             .authenticationProviders("SAML")
+ *             .permissionType("SERVICE_MANAGED")
  *             .roleArn(assume.arn())
  *             .build());
  * 
- *         var example = new RoleAssociation("example", RoleAssociationArgs.builder()        
- *             .role("ADMIN")
+ *         var example = new RoleAssociation("example", RoleAssociationArgs.builder()        
+ *             .role("ADMIN")
  *             .userIds(            
- *                 "USER_ID_1",
- *                 "USER_ID_2")
+ *                 "USER_ID_1",
+ *                 "USER_ID_2")
  *             .workspaceId(exampleWorkspace.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/grafana/Workspace.java b/sdk/java/src/main/java/com/pulumi/aws/grafana/Workspace.java index 3df9be840a4..1db09e5cf2f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/grafana/Workspace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/grafana/Workspace.java @@ -26,7 +26,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,32 +51,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var assume = new Role("assume", RoleArgs.builder()        
- *             .name("grafana-assume")
+ *         var assume = new Role("assume", RoleArgs.builder()        
+ *             .name("grafana-assume")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "grafana.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "grafana.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var example = new Workspace("example", WorkspaceArgs.builder()        
- *             .accountAccessType("CURRENT_ACCOUNT")
- *             .authenticationProviders("SAML")
- *             .permissionType("SERVICE_MANAGED")
+ *         var example = new Workspace("example", WorkspaceArgs.builder()        
+ *             .accountAccessType("CURRENT_ACCOUNT")
+ *             .authenticationProviders("SAML")
+ *             .permissionType("SERVICE_MANAGED")
  *             .roleArn(assume.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceApiKey.java b/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceApiKey.java index a30cf7f959f..1cc2555c5bc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceApiKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceApiKey.java @@ -23,7 +23,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var key = new WorkspaceApiKey("key", WorkspaceApiKeyArgs.builder()        
- *             .keyName("test-key")
- *             .keyRole("VIEWER")
+ *         var key = new WorkspaceApiKey("key", WorkspaceApiKeyArgs.builder()        
+ *             .keyName("test-key")
+ *             .keyRole("VIEWER")
  *             .secondsToLive(3600)
  *             .workspaceId(test.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceSamlConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceSamlConfiguration.java index 93910b30d5e..7f7e0a2afc5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceSamlConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/grafana/WorkspaceSamlConfiguration.java @@ -24,7 +24,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,38 +51,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var assume = new Role("assume", RoleArgs.builder()        
- *             .name("grafana-assume")
+ *         var assume = new Role("assume", RoleArgs.builder()        
+ *             .name("grafana-assume")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "grafana.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "grafana.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
- *             .accountAccessType("CURRENT_ACCOUNT")
- *             .authenticationProviders("SAML")
- *             .permissionType("SERVICE_MANAGED")
+ *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
+ *             .accountAccessType("CURRENT_ACCOUNT")
+ *             .authenticationProviders("SAML")
+ *             .permissionType("SERVICE_MANAGED")
  *             .roleArn(assume.arn())
  *             .build());
  * 
- *         var example = new WorkspaceSamlConfiguration("example", WorkspaceSamlConfigurationArgs.builder()        
- *             .editorRoleValues("editor")
- *             .idpMetadataUrl("https://my_idp_metadata.url")
+ *         var example = new WorkspaceSamlConfiguration("example", WorkspaceSamlConfigurationArgs.builder()        
+ *             .editorRoleValues("editor")
+ *             .idpMetadataUrl("https://my_idp_metadata.url")
  *             .workspaceId(exampleWorkspace.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/Detector.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/Detector.java index e8b57a6bb29..569945630a3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/Detector.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/Detector.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,7 +54,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDetector = new Detector("myDetector", DetectorArgs.builder()        
+ *         var myDetector = new Detector("myDetector", DetectorArgs.builder()        
  *             .enable(true)
  *             .datasources(DetectorDatasourcesArgs.builder()
  *                 .s3Logs(DetectorDatasourcesS3LogsArgs.builder()
@@ -76,7 +77,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/DetectorFeature.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/DetectorFeature.java index 14605b7d96f..7914325ce2d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/DetectorFeature.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/DetectorFeature.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Detector("example", DetectorArgs.builder()        
+ *         var example = new Detector("example", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var eksRuntimeMonitoring = new DetectorFeature("eksRuntimeMonitoring", DetectorFeatureArgs.builder()        
+ *         var eksRuntimeMonitoring = new DetectorFeature("eksRuntimeMonitoring", DetectorFeatureArgs.builder()        
  *             .detectorId(example.id())
- *             .name("EKS_RUNTIME_MONITORING")
- *             .status("ENABLED")
+ *             .name("EKS_RUNTIME_MONITORING")
+ *             .status("ENABLED")
  *             .additionalConfigurations(DetectorFeatureAdditionalConfigurationArgs.builder()
- *                 .name("EKS_ADDON_MANAGEMENT")
- *                 .status("ENABLED")
+ *                 .name("EKS_ADDON_MANAGEMENT")
+ *                 .status("ENABLED")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/Filter.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/Filter.java index 146fe126016..92185c3624b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/Filter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/Filter.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,38 +46,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myFilter = new Filter("myFilter", FilterArgs.builder()        
- *             .name("MyFilter")
- *             .action("ARCHIVE")
+ *         var myFilter = new Filter("myFilter", FilterArgs.builder()        
+ *             .name("MyFilter")
+ *             .action("ARCHIVE")
  *             .detectorId(example.id())
  *             .rank(1)
  *             .findingCriteria(FilterFindingCriteriaArgs.builder()
  *                 .criterions(                
  *                     FilterFindingCriteriaCriterionArgs.builder()
- *                         .field("region")
- *                         .equals("eu-west-1")
+ *                         .field("region")
+ *                         .equals("eu-west-1")
  *                         .build(),
  *                     FilterFindingCriteriaCriterionArgs.builder()
- *                         .field("service.additionalInfo.threatListName")
+ *                         .field("service.additionalInfo.threatListName")
  *                         .notEquals(                        
- *                             "some-threat",
- *                             "another-threat")
+ *                             "some-threat",
+ *                             "another-threat")
  *                         .build(),
  *                     FilterFindingCriteriaCriterionArgs.builder()
- *                         .field("updatedAt")
- *                         .greaterThan("2020-01-01T00:00:00Z")
- *                         .lessThan("2020-02-01T00:00:00Z")
+ *                         .field("updatedAt")
+ *                         .greaterThan("2020-01-01T00:00:00Z")
+ *                         .lessThan("2020-02-01T00:00:00Z")
  *                         .build(),
  *                     FilterFindingCriteriaCriterionArgs.builder()
- *                         .field("severity")
- *                         .greaterThanOrEqual("4")
+ *                         .field("severity")
+ *                         .greaterThanOrEqual("4")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/GuarddutyFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/GuarddutyFunctions.java index 021f5ba0204..fc2ed65de21 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/GuarddutyFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/GuarddutyFunctions.java @@ -23,7 +23,8 @@ public final class GuarddutyFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,7 +49,8 @@ public final class GuarddutyFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -61,7 +63,8 @@ public static Output getDetector() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,7 +89,8 @@ public static Output getDetector() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -99,7 +103,8 @@ public static CompletableFuture getDetectorPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -124,7 +129,8 @@ public static CompletableFuture getDetectorPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -137,7 +143,8 @@ public static Output getDetector(GetDetectorArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,7 +169,8 @@ public static Output getDetector(GetDetectorArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -175,7 +183,8 @@ public static CompletableFuture getDetectorPlain(GetDetectorP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -200,7 +209,8 @@ public static CompletableFuture getDetectorPlain(GetDetectorP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -213,7 +223,8 @@ public static Output getDetector(GetDetectorArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -238,7 +249,8 @@ public static Output getDetector(GetDetectorArgs args, Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -253,7 +265,8 @@ public static CompletableFuture getDetectorPlain(GetDetectorP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -280,7 +293,8 @@ public static CompletableFuture getDetectorPlain(GetDetectorP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -295,7 +309,8 @@ public static Output getFindingIds(GetFindingIdsArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -322,7 +337,8 @@ public static Output getFindingIds(GetFindingIdsArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -337,7 +353,8 @@ public static CompletableFuture getFindingIdsPlain(GetFindi * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -364,7 +381,8 @@ public static CompletableFuture getFindingIdsPlain(GetFindi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -379,7 +397,8 @@ public static Output getFindingIds(GetFindingIdsArgs args, * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -406,7 +425,8 @@ public static Output getFindingIds(GetFindingIdsArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/IPSet.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/IPSet.java index c6253e762ec..842120a9b8d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/IPSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/IPSet.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,40 +53,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Detector("primary", DetectorArgs.builder()        
+ *         var primary = new Detector("primary", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket");
+ *         var bucket = new BucketV2("bucket");
  * 
- *         var myIPSet = new BucketObjectv2("myIPSet", BucketObjectv2Args.builder()        
- *             .content("""
+ *         var myIPSet = new BucketObjectv2("myIPSet", BucketObjectv2Args.builder()        
+ *             .content("""
  * 10.0.0.0/8
- *             """)
+ *             """)
  *             .bucket(bucket.id())
- *             .key("MyIPSet")
+ *             .key("MyIPSet")
  *             .build());
  * 
- *         var example = new IPSet("example", IPSetArgs.builder()        
+ *         var example = new IPSet("example", IPSetArgs.builder()        
  *             .activate(true)
  *             .detectorId(primary.id())
- *             .format("TXT")
- *             .location(Output.tuple(myIPSet.bucket(), myIPSet.key()).applyValue(values -> {
+ *             .format("TXT")
+ *             .location(Output.tuple(myIPSet.bucket(), myIPSet.key()).applyValue(values -> {
  *                 var bucket = values.t1;
  *                 var key = values.t2;
- *                 return String.format("https://s3.amazonaws.com/%s/%s", bucket,key);
+ *                 return String.format("https://s3.amazonaws.com/%s/%s", bucket,key);
  *             }))
- *             .name("MyIPSet")
+ *             .name("MyIPSet")
  *             .build());
  * 
- *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
+ *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
  *             .bucket(bucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/InviteAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/InviteAccepter.java index 2fcf75e57d7..8b220a69755 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/InviteAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/InviteAccepter.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Detector("primary");
+ *         var primary = new Detector("primary");
  * 
- *         var memberDetector = new Detector("memberDetector");
+ *         var memberDetector = new Detector("memberDetector");
  * 
- *         var memberMember = new Member("memberMember", MemberArgs.builder()        
+ *         var memberMember = new Member("memberMember", MemberArgs.builder()        
  *             .accountId(memberDetector.accountId())
  *             .detectorId(primary.id())
- *             .email("required@example.com")
+ *             .email("required{@literal @}example.com")
  *             .invite(true)
  *             .build());
  * 
- *         var member = new InviteAccepter("member", InviteAccepterArgs.builder()        
+ *         var member = new InviteAccepter("member", InviteAccepterArgs.builder()        
  *             .detectorId(memberDetector.id())
  *             .masterAccountId(primary.accountId())
  *             .build(), CustomResourceOptions.builder()
@@ -64,7 +65,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/Member.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/Member.java index fdf3fbc38be..e764f9f3f71 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/Member.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/Member.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,25 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Detector("primary", DetectorArgs.builder()        
+ *         var primary = new Detector("primary", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var member = new Detector("member", DetectorArgs.builder()        
+ *         var member = new Detector("member", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var memberMember = new Member("memberMember", MemberArgs.builder()        
+ *         var memberMember = new Member("memberMember", MemberArgs.builder()        
  *             .accountId(member.accountId())
  *             .detectorId(primary.id())
- *             .email("required@example.com")
+ *             .email("required{@literal @}example.com")
  *             .invite(true)
- *             .invitationMessage("please accept guardduty invitation")
+ *             .invitationMessage("please accept guardduty invitation")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationAdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationAdminAccount.java index 4ac5ab8010a..cc2cf224378 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationAdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationAdminAccount.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Organization("example", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("guardduty.amazonaws.com")
- *             .featureSet("ALL")
+ *         var example = new Organization("example", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("guardduty.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleDetector = new Detector("exampleDetector");
+ *         var exampleDetector = new Detector("exampleDetector");
  * 
- *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
- *             .adminAccountId("123456789012")
+ *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
+ *             .adminAccountId("123456789012")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfiguration.java index aa589beb1e8..af21511e57e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfiguration.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,12 +54,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Detector("example", DetectorArgs.builder()        
+ *         var example = new Detector("example", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
- *             .autoEnableOrganizationMembers("ALL")
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *             .autoEnableOrganizationMembers("ALL")
  *             .detectorId(example.id())
  *             .datasources(OrganizationConfigurationDatasourcesArgs.builder()
  *                 .s3Logs(OrganizationConfigurationDatasourcesS3LogsArgs.builder()
@@ -81,7 +82,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfigurationFeature.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfigurationFeature.java index d2a731cc349..210c9875978 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfigurationFeature.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/OrganizationConfigurationFeature.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Detector("example", DetectorArgs.builder()        
+ *         var example = new Detector("example", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var eksRuntimeMonitoring = new OrganizationConfigurationFeature("eksRuntimeMonitoring", OrganizationConfigurationFeatureArgs.builder()        
+ *         var eksRuntimeMonitoring = new OrganizationConfigurationFeature("eksRuntimeMonitoring", OrganizationConfigurationFeatureArgs.builder()        
  *             .detectorId(example.id())
- *             .name("EKS_RUNTIME_MONITORING")
- *             .autoEnable("ALL")
+ *             .name("EKS_RUNTIME_MONITORING")
+ *             .autoEnable("ALL")
  *             .additionalConfigurations(OrganizationConfigurationFeatureAdditionalConfigurationArgs.builder()
- *                 .name("EKS_ADDON_MANAGEMENT")
- *                 .autoEnable("NEW")
+ *                 .name("EKS_ADDON_MANAGEMENT")
+ *                 .autoEnable("NEW")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/PublishingDestination.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/PublishingDestination.java index 387bfb307e4..182b77de4c8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/PublishingDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/PublishingDestination.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,29 +62,29 @@
  * 
  *         final var currentGetRegion = AwsFunctions.getRegion();
  * 
- *         var gdBucket = new BucketV2("gdBucket", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var gdBucket = new BucketV2("gdBucket", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .forceDestroy(true)
  *             .build());
  * 
  *         final var bucketPol = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("Allow PutObject")
- *                     .actions("s3:PutObject")
- *                     .resources(gdBucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                     .sid("Allow PutObject")
+ *                     .actions("s3:PutObject")
+ *                     .resources(gdBucket.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("guardduty.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("guardduty.amazonaws.com")
  *                         .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("Allow GetBucketLocation")
- *                     .actions("s3:GetBucketLocation")
+ *                     .sid("Allow GetBucketLocation")
+ *                     .actions("s3:GetBucketLocation")
  *                     .resources(gdBucket.arn())
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("guardduty.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("guardduty.amazonaws.com")
  *                         .build())
  *                     .build())
  *             .build());
@@ -91,46 +92,46 @@
  *         final var kmsPol = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("Allow GuardDuty to encrypt findings")
- *                     .actions("kms:GenerateDataKey")
- *                     .resources(String.format("arn:aws:kms:%s:%s:key/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     .sid("Allow GuardDuty to encrypt findings")
+ *                     .actions("kms:GenerateDataKey")
+ *                     .resources(String.format("arn:aws:kms:%s:%s:key/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("guardduty.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("guardduty.amazonaws.com")
  *                         .build())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("Allow all users to modify/delete key (test only)")
- *                     .actions("kms:*")
- *                     .resources(String.format("arn:aws:kms:%s:%s:key/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     .sid("Allow all users to modify/delete key (test only)")
+ *                     .actions("kms:*")
+ *                     .resources(String.format("arn:aws:kms:%s:%s:key/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
- *                         .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                         .type("AWS")
+ *                         .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var testGd = new Detector("testGd", DetectorArgs.builder()        
+ *         var testGd = new Detector("testGd", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var gdBucketAcl = new BucketAclV2("gdBucketAcl", BucketAclV2Args.builder()        
+ *         var gdBucketAcl = new BucketAclV2("gdBucketAcl", BucketAclV2Args.builder()        
  *             .bucket(gdBucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var gdBucketPolicy = new BucketPolicy("gdBucketPolicy", BucketPolicyArgs.builder()        
+ *         var gdBucketPolicy = new BucketPolicy("gdBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(gdBucket.id())
- *             .policy(bucketPol.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(bucketPol -> bucketPol.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(bucketPol.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(bucketPol -> bucketPol.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var gdKey = new Key("gdKey", KeyArgs.builder()        
- *             .description("Temporary key for AccTest of TF")
+ *         var gdKey = new Key("gdKey", KeyArgs.builder()        
+ *             .description("Temporary key for AccTest of TF")
  *             .deletionWindowInDays(7)
- *             .policy(kmsPol.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(kmsPol.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var test = new PublishingDestination("test", PublishingDestinationArgs.builder()        
+ *         var test = new PublishingDestination("test", PublishingDestinationArgs.builder()        
  *             .detectorId(testGd.id())
  *             .destinationArn(gdBucket.arn())
  *             .kmsKeyArn(gdKey.arn())
@@ -140,7 +141,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **Note:** Please do not use this simple example for Bucket-Policy and KMS Key Policy in a production environment. It is much too open for such a use-case. Refer to the AWS documentation here: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/ThreatIntelSet.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/ThreatIntelSet.java index 40196917e26..525ce807868 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/ThreatIntelSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/ThreatIntelSet.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,41 +53,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Detector("primary", DetectorArgs.builder()        
+ *         var primary = new Detector("primary", DetectorArgs.builder()        
  *             .enable(true)
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket");
+ *         var bucket = new BucketV2("bucket");
  * 
- *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
+ *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
  *             .bucket(bucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var myThreatIntelSet = new BucketObjectv2("myThreatIntelSet", BucketObjectv2Args.builder()        
- *             .acl("public-read")
- *             .content("""
+ *         var myThreatIntelSet = new BucketObjectv2("myThreatIntelSet", BucketObjectv2Args.builder()        
+ *             .acl("public-read")
+ *             .content("""
  * 10.0.0.0/8
- *             """)
+ *             """)
  *             .bucket(bucket.id())
- *             .key("MyThreatIntelSet")
+ *             .key("MyThreatIntelSet")
  *             .build());
  * 
- *         var myThreatIntelSetThreatIntelSet = new ThreatIntelSet("myThreatIntelSetThreatIntelSet", ThreatIntelSetArgs.builder()        
+ *         var myThreatIntelSetThreatIntelSet = new ThreatIntelSet("myThreatIntelSetThreatIntelSet", ThreatIntelSetArgs.builder()        
  *             .activate(true)
  *             .detectorId(primary.id())
- *             .format("TXT")
- *             .location(Output.tuple(myThreatIntelSet.bucket(), myThreatIntelSet.key()).applyValue(values -> {
+ *             .format("TXT")
+ *             .location(Output.tuple(myThreatIntelSet.bucket(), myThreatIntelSet.key()).applyValue(values -> {
  *                 var bucket = values.t1;
  *                 var key = values.t2;
- *                 return String.format("https://s3.amazonaws.com/%s/%s", bucket,key);
+ *                 return String.format("https://s3.amazonaws.com/%s/%s", bucket,key);
  *             }))
- *             .name("MyThreatIntelSet")
+ *             .name("MyThreatIntelSet")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/AccessKey.java b/sdk/java/src/main/java/com/pulumi/aws/iam/AccessKey.java index d6b7deae907..a9ac4c12886 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/AccessKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/AccessKey.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,38 +49,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lbUser = new User("lbUser", UserArgs.builder()        
- *             .name("loadbalancer")
- *             .path("/system/")
+ *         var lbUser = new User("lbUser", UserArgs.builder()        
+ *             .name("loadbalancer")
+ *             .path("/system/")
  *             .build());
  * 
- *         var lb = new AccessKey("lb", AccessKeyArgs.builder()        
+ *         var lb = new AccessKey("lb", AccessKeyArgs.builder()        
  *             .user(lbUser.name())
- *             .pgpKey("keybase:some_person_that_exists")
+ *             .pgpKey("keybase:some_person_that_exists")
  *             .build());
  * 
  *         final var lbRo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("ec2:Describe*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("ec2:Describe*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var lbRoUserPolicy = new UserPolicy("lbRoUserPolicy", UserPolicyArgs.builder()        
- *             .name("test")
+ *         var lbRoUserPolicy = new UserPolicy("lbRoUserPolicy", UserPolicyArgs.builder()        
+ *             .name("test")
  *             .user(lbUser.name())
- *             .policy(lbRo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(lbRo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         ctx.export("secret", lb.encryptedSecret());
+ *         ctx.export("secret", lb.encryptedSecret());
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -102,19 +105,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new User("test", UserArgs.builder()        
- *             .name("test")
- *             .path("/test/")
+ *         var test = new User("test", UserArgs.builder()        
+ *             .name("test")
+ *             .path("/test/")
  *             .build());
  * 
- *         var testAccessKey = new AccessKey("testAccessKey", AccessKeyArgs.builder()        
+ *         var testAccessKey = new AccessKey("testAccessKey", AccessKeyArgs.builder()        
  *             .user(test.name())
  *             .build());
  * 
- *         ctx.export("awsIamSmtpPasswordV4", testAccessKey.sesSmtpPasswordV4());
+ *         ctx.export("awsIamSmtpPasswordV4", testAccessKey.sesSmtpPasswordV4());
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/AccountAlias.java b/sdk/java/src/main/java/com/pulumi/aws/iam/AccountAlias.java index c390c2b6adb..59fd1234d3b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/AccountAlias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/AccountAlias.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var alias = new AccountAlias("alias", AccountAliasArgs.builder()        
- *             .accountAlias("my-account-alias")
+ *         var alias = new AccountAlias("alias", AccountAliasArgs.builder()        
+ *             .accountAlias("my-account-alias")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/AccountPasswordPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/iam/AccountPasswordPolicy.java index 5e71fe56446..7043ada51d0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/AccountPasswordPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/AccountPasswordPolicy.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,7 +47,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var strict = new AccountPasswordPolicy("strict", AccountPasswordPolicyArgs.builder()        
+ *         var strict = new AccountPasswordPolicy("strict", AccountPasswordPolicyArgs.builder()        
  *             .minimumPasswordLength(8)
  *             .requireLowercaseCharacters(true)
  *             .requireNumbers(true)
@@ -57,7 +58,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/Group.java b/sdk/java/src/main/java/com/pulumi/aws/iam/Group.java index 89f3407d069..4a3e5190afb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/Group.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var developers = new Group("developers", GroupArgs.builder()        
- *             .name("developers")
- *             .path("/users/")
+ *         var developers = new Group("developers", GroupArgs.builder()        
+ *             .name("developers")
+ *             .path("/users/")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -79,14 +81,14 @@ public Output arn() { return this.arn; } /** - * The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @return The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupArgs.java index 62934df85ce..761fce355f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupArgs.java @@ -16,14 +16,14 @@ public final class GroupArgs extends com.pulumi.resources.ResourceArgs { public static final GroupArgs Empty = new GroupArgs(); /** - * The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * */ @Import(name="name") private @Nullable Output name; /** - * @return The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @return The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * */ public Optional> name() { @@ -71,7 +71,7 @@ public Builder(GroupArgs defaults) { } /** - * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * * @return builder * @@ -82,7 +82,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupMembership.java b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupMembership.java index babf4670961..3a03b8dcd6b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupMembership.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupMembership.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,20 +53,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var group = new Group("group", GroupArgs.builder()        
- *             .name("test-group")
+ *         var group = new Group("group", GroupArgs.builder()        
+ *             .name("test-group")
  *             .build());
  * 
- *         var userOne = new User("userOne", UserArgs.builder()        
- *             .name("test-user")
+ *         var userOne = new User("userOne", UserArgs.builder()        
+ *             .name("test-user")
  *             .build());
  * 
- *         var userTwo = new User("userTwo", UserArgs.builder()        
- *             .name("test-user-two")
+ *         var userTwo = new User("userTwo", UserArgs.builder()        
+ *             .name("test-user-two")
  *             .build());
  * 
- *         var team = new GroupMembership("team", GroupMembershipArgs.builder()        
- *             .name("tf-testing-group-membership")
+ *         var team = new GroupMembership("team", GroupMembershipArgs.builder()        
+ *             .name("tf-testing-group-membership")
  *             .users(            
  *                 userOne.name(),
  *                 userTwo.name())
@@ -74,7 +75,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicy.java index 2b6a5d48b7c..d120723f7bb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,28 +46,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDevelopers = new Group("myDevelopers", GroupArgs.builder()        
- *             .name("developers")
- *             .path("/users/")
+ *         var myDevelopers = new Group("myDevelopers", GroupArgs.builder()        
+ *             .name("developers")
+ *             .path("/users/")
  *             .build());
  * 
- *         var myDeveloperPolicy = new GroupPolicy("myDeveloperPolicy", GroupPolicyArgs.builder()        
- *             .name("my_developer_policy")
+ *         var myDeveloperPolicy = new GroupPolicy("myDeveloperPolicy", GroupPolicyArgs.builder()        
+ *             .name("my_developer_policy")
  *             .group(myDevelopers.name())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicyAttachment.java index 1d57c5a76bf..f599c612bcf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/GroupPolicyAttachment.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var group = new Group("group", GroupArgs.builder()        
- *             .name("test-group")
+ *         var group = new Group("group", GroupArgs.builder()        
+ *             .name("test-group")
  *             .build());
  * 
- *         var policy = new Policy("policy", PolicyArgs.builder()        
- *             .name("test-policy")
- *             .description("A test policy")
- *             .policy("{ ... policy JSON ... }")
+ *         var policy = new Policy("policy", PolicyArgs.builder()        
+ *             .name("test-policy")
+ *             .description("A test policy")
+ *             .policy("{ ... policy JSON ... }")
  *             .build());
  * 
- *         var test_attach = new GroupPolicyAttachment("test-attach", GroupPolicyAttachmentArgs.builder()        
+ *         var test_attach = new GroupPolicyAttachment("test-attach", GroupPolicyAttachmentArgs.builder()        
  *             .group(group.name())
  *             .policyArn(policy.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/IamFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/iam/IamFunctions.java index 1472161f36a..8ca6589ada9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/IamFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/IamFunctions.java @@ -68,7 +68,8 @@ public final class IamFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,12 +91,13 @@ public final class IamFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getAccessKeys(GetAccessKeysArgs.builder()
-     *             .user("an_example_user_name")
+     *             .user("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +111,8 @@ public static Output getAccessKeys(GetAccessKeysArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +134,13 @@ public static Output getAccessKeys(GetAccessKeysArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getAccessKeys(GetAccessKeysArgs.builder()
-     *             .user("an_example_user_name")
+     *             .user("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -150,7 +154,8 @@ public static CompletableFuture getAccessKeysPlain(GetAcces * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -172,12 +177,13 @@ public static CompletableFuture getAccessKeysPlain(GetAcces
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getAccessKeys(GetAccessKeysArgs.builder()
-     *             .user("an_example_user_name")
+     *             .user("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -191,7 +197,8 @@ public static Output getAccessKeys(GetAccessKeysArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -213,12 +220,13 @@ public static Output getAccessKeys(GetAccessKeysArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getAccessKeys(GetAccessKeysArgs.builder()
-     *             .user("an_example_user_name")
+     *             .user("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -232,7 +240,8 @@ public static CompletableFuture getAccessKeysPlain(GetAcces * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -254,10 +263,11 @@ public static CompletableFuture getAccessKeysPlain(GetAcces
      *     public static void stack(Context ctx) {
      *         final var current = IamFunctions.getAccountAlias();
      * 
-     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
+     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -271,7 +281,8 @@ public static Output getAccountAlias() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -293,10 +304,11 @@ public static Output getAccountAlias() {
      *     public static void stack(Context ctx) {
      *         final var current = IamFunctions.getAccountAlias();
      * 
-     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
+     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -310,7 +322,8 @@ public static CompletableFuture getAccountAliasPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -332,10 +345,11 @@ public static CompletableFuture getAccountAliasPlain() {
      *     public static void stack(Context ctx) {
      *         final var current = IamFunctions.getAccountAlias();
      * 
-     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
+     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -349,7 +363,8 @@ public static Output getAccountAlias(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -371,10 +386,11 @@ public static Output getAccountAlias(InvokeArgs args) {
      *     public static void stack(Context ctx) {
      *         final var current = IamFunctions.getAccountAlias();
      * 
-     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
+     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -388,7 +404,8 @@ public static CompletableFuture getAccountAliasPlain(Invo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -410,10 +427,11 @@ public static CompletableFuture getAccountAliasPlain(Invo
      *     public static void stack(Context ctx) {
      *         final var current = IamFunctions.getAccountAlias();
      * 
-     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
+     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -427,7 +445,8 @@ public static Output getAccountAlias(InvokeArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -449,10 +468,11 @@ public static Output getAccountAlias(InvokeArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var current = IamFunctions.getAccountAlias();
      * 
-     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
+     *         ctx.export("accountId", current.applyValue(getAccountAliasResult -> getAccountAliasResult.accountAlias()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -467,7 +487,8 @@ public static CompletableFuture getAccountAliasPlain(Invo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -489,12 +510,13 @@ public static CompletableFuture getAccountAliasPlain(Invo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getGroup(GetGroupArgs.builder()
-     *             .groupName("an_example_group_name")
+     *             .groupName("an_example_group_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -509,7 +531,8 @@ public static Output getGroup(GetGroupArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -531,12 +554,13 @@ public static Output getGroup(GetGroupArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getGroup(GetGroupArgs.builder()
-     *             .groupName("an_example_group_name")
+     *             .groupName("an_example_group_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -551,7 +575,8 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -573,12 +598,13 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getGroup(GetGroupArgs.builder()
-     *             .groupName("an_example_group_name")
+     *             .groupName("an_example_group_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -593,7 +619,8 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -615,12 +642,13 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getGroup(GetGroupArgs.builder()
-     *             .groupName("an_example_group_name")
+     *             .groupName("an_example_group_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -635,7 +663,8 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -657,12 +686,13 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfile(GetInstanceProfileArgs.builder()
-     *             .name("an_example_instance_profile_name")
+     *             .name("an_example_instance_profile_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -677,7 +707,8 @@ public static Output getInstanceProfile(GetInstancePro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -699,12 +730,13 @@ public static Output getInstanceProfile(GetInstancePro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfile(GetInstanceProfileArgs.builder()
-     *             .name("an_example_instance_profile_name")
+     *             .name("an_example_instance_profile_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -719,7 +751,8 @@ public static CompletableFuture getInstanceProfilePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -741,12 +774,13 @@ public static CompletableFuture getInstanceProfilePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfile(GetInstanceProfileArgs.builder()
-     *             .name("an_example_instance_profile_name")
+     *             .name("an_example_instance_profile_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -761,7 +795,8 @@ public static Output getInstanceProfile(GetInstancePro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -783,12 +818,13 @@ public static Output getInstanceProfile(GetInstancePro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfile(GetInstanceProfileArgs.builder()
-     *             .name("an_example_instance_profile_name")
+     *             .name("an_example_instance_profile_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -803,7 +839,8 @@ public static CompletableFuture getInstanceProfilePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -825,12 +862,13 @@ public static CompletableFuture getInstanceProfilePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfiles(GetInstanceProfilesArgs.builder()
-     *             .roleName("an_example_iam_role_name")
+     *             .roleName("an_example_iam_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -845,7 +883,8 @@ public static Output getInstanceProfiles(GetInstanceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -867,12 +906,13 @@ public static Output getInstanceProfiles(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfiles(GetInstanceProfilesArgs.builder()
-     *             .roleName("an_example_iam_role_name")
+     *             .roleName("an_example_iam_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -887,7 +927,8 @@ public static CompletableFuture getInstanceProfilesPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -909,12 +950,13 @@ public static CompletableFuture getInstanceProfilesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfiles(GetInstanceProfilesArgs.builder()
-     *             .roleName("an_example_iam_role_name")
+     *             .roleName("an_example_iam_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -929,7 +971,8 @@ public static Output getInstanceProfiles(GetInstanceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -951,12 +994,13 @@ public static Output getInstanceProfiles(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getInstanceProfiles(GetInstanceProfilesArgs.builder()
-     *             .roleName("an_example_iam_role_name")
+     *             .roleName("an_example_iam_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -971,7 +1015,8 @@ public static CompletableFuture getInstanceProfilesPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -993,16 +1038,18 @@ public static CompletableFuture getInstanceProfilesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
+     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1024,12 +1071,13 @@ public static CompletableFuture getInstanceProfilesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .url("https://accounts.google.com")
+     *             .url("https://accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1044,7 +1092,8 @@ public static Output getOpenIdConnectProvider() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1066,16 +1115,18 @@ public static Output getOpenIdConnectProvider()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
+     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1097,12 +1148,13 @@ public static Output getOpenIdConnectProvider()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .url("https://accounts.google.com")
+     *             .url("https://accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1117,7 +1169,8 @@ public static CompletableFuture getOpenIdConnect * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1139,16 +1192,18 @@ public static CompletableFuture getOpenIdConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
+     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1170,12 +1225,13 @@ public static CompletableFuture getOpenIdConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .url("https://accounts.google.com")
+     *             .url("https://accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1190,7 +1246,8 @@ public static Output getOpenIdConnectProvider(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1212,16 +1269,18 @@ public static Output getOpenIdConnectProvider(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
+     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1243,12 +1302,13 @@ public static Output getOpenIdConnectProvider(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .url("https://accounts.google.com")
+     *             .url("https://accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1263,7 +1323,8 @@ public static CompletableFuture getOpenIdConnect * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1285,16 +1346,18 @@ public static CompletableFuture getOpenIdConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
+     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1316,12 +1379,13 @@ public static CompletableFuture getOpenIdConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .url("https://accounts.google.com")
+     *             .url("https://accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1336,7 +1400,8 @@ public static Output getOpenIdConnectProvider(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1358,16 +1423,18 @@ public static Output getOpenIdConnectProvider(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
+     *             .arn("arn:aws:iam::123456789012:oidc-provider/accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1389,12 +1456,13 @@ public static Output getOpenIdConnectProvider(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getOpenIdConnectProvider(GetOpenIdConnectProviderArgs.builder()
-     *             .url("https://accounts.google.com")
+     *             .url("https://accounts.google.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1410,7 +1478,8 @@ public static CompletableFuture getOpenIdConnect * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1432,18 +1501,20 @@ public static CompletableFuture getOpenIdConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
+     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1465,12 +1536,13 @@ public static CompletableFuture getOpenIdConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .name("test_policy")
+     *             .name("test_policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1486,7 +1558,8 @@ public static Output getPolicy() { * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1508,18 +1581,20 @@ public static Output getPolicy() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
+     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1541,12 +1616,13 @@ public static Output getPolicy() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .name("test_policy")
+     *             .name("test_policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1562,7 +1638,8 @@ public static CompletableFuture getPolicyPlain() { * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1584,18 +1661,20 @@ public static CompletableFuture getPolicyPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
+     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1617,12 +1696,13 @@ public static CompletableFuture getPolicyPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .name("test_policy")
+     *             .name("test_policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1638,7 +1718,8 @@ public static Output getPolicy(GetPolicyArgs args) { * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1660,18 +1741,20 @@ public static Output getPolicy(GetPolicyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
+     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1693,12 +1776,13 @@ public static Output getPolicy(GetPolicyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .name("test_policy")
+     *             .name("test_policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1714,7 +1798,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1736,18 +1821,20 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
+     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1769,12 +1856,13 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .name("test_policy")
+     *             .name("test_policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1790,7 +1878,8 @@ public static Output getPolicy(GetPolicyArgs args, InvokeOption * ### By ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1812,18 +1901,20 @@ public static Output getPolicy(GetPolicyArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
+     *             .arn("arn:aws:iam::123456789012:policy/UsersManageOwnCredentials")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1845,12 +1936,13 @@ public static Output getPolicy(GetPolicyArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getPolicy(GetPolicyArgs.builder()
-     *             .name("test_policy")
+     *             .name("test_policy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1867,7 +1959,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1893,41 +1986,42 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("1")
+     *                     .sid("1")
      *                     .actions(                    
-     *                         "s3:ListAllMyBuckets",
-     *                         "s3:GetBucketLocation")
-     *                     .resources("arn:aws:s3:::*")
+     *                         "s3:ListAllMyBuckets",
+     *                         "s3:GetBucketLocation")
+     *                     .resources("arn:aws:s3:::*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:ListBucket")
-     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
+     *                     .actions("s3:ListBucket")
+     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
      *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("StringLike")
-     *                         .variable("s3:prefix")
+     *                         .test("StringLike")
+     *                         .variable("s3:prefix")
      *                         .values(                        
-     *                             "",
-     *                             "home/",
-     *                             "home/&{aws:username}/")
+     *                             "",
+     *                             "home/",
+     *                             "home/&{aws:username}/")
      *                         .build())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:*")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
      *                     .build())
      *             .build());
      * 
-     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
-     *             .name("example_policy")
-     *             .path("/")
-     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+     *             .name("example_policy")
+     *             .path("/")
+     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Multiple Condition Keys and Values @@ -1935,7 +2029,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * You can specify a [condition with multiple keys and values](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html) by supplying multiple `condition` blocks with the same `test` value, but differing `variable` and `values` values. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1959,33 +2054,34 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *         final var exampleMultipleConditionKeysAndValues = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
      *                 .actions(                
-     *                     "kms:Decrypt",
-     *                     "kms:GenerateDataKey")
-     *                 .resources("*")
+     *                     "kms:Decrypt",
+     *                     "kms:GenerateDataKey")
+     *                 .resources("*")
      *                 .conditions(                
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:service")
-     *                         .values("pi")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:service")
+     *                         .values("pi")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:pi:service")
-     *                         .values("rds")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:pi:service")
+     *                         .values("rds")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
      *                         .values(                        
-     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
-     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
+     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
+     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.example_multiple_condition_keys_and_values.json` will evaluate to: @@ -1995,7 +2091,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * You can specify multiple principal blocks with different types. You can also use this data source to generate an assume-role policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2018,34 +2115,36 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *     public static void stack(Context ctx) {
      *         final var eventStreamBucketRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .actions("sts:AssumeRole")
+     *                 .actions("sts:AssumeRole")
      *                 .principals(                
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Service")
-     *                         .identifiers("firehose.amazonaws.com")
+     *                         .type("Service")
+     *                         .identifiers("firehose.amazonaws.com")
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
+     *                         .type("AWS")
      *                         .identifiers(trustedRoleArn)
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Federated")
+     *                         .type("Federated")
      *                         .identifiers(                        
-     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
-     *                             "cognito-identity.amazonaws.com")
+     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
+     *                             "cognito-identity.amazonaws.com")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Using A Source Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2069,30 +2168,31 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
      *                 .resources(                
-     *                     "arn:aws:s3:::somebucket",
-     *                     "arn:aws:s3:::somebucket/*")
+     *                     "arn:aws:s3:::somebucket",
+     *                     "arn:aws:s3:::somebucket/*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.source_document_example.json` will evaluate to: @@ -2100,7 +2200,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * ### Example Using An Override Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2123,31 +2224,32 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *     public static void stack(Context ctx) {
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var overridePolicyDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         "arn:aws:s3:::somebucket",
-     *                         "arn:aws:s3:::somebucket/*")
+     *                         "arn:aws:s3:::somebucket",
+     *                         "arn:aws:s3:::somebucket/*")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.override_policy_document_example.json` will evaluate to: @@ -2157,7 +2259,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * You can also combine `source_policy_documents` and `override_policy_documents` in the same document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2180,28 +2283,29 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *     public static void stack(Context ctx) {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("ec2:DescribeAccountAttributes")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("ec2:DescribeAccountAttributes")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("s3:GetObject")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("s3:GetObject")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var politik = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.politik.json` will evaluate to: @@ -2211,7 +2315,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * Multiple documents can be combined using the `source_policy_documents` or `override_policy_documents` attributes. `source_policy_documents` requires that all documents have unique Sids, while `override_policy_documents` will iteratively override matching Sids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2235,38 +2340,39 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *         final var sourceOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidOne")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidOne")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidTwo")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidTwo")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("lambda:*")
-     *                     .resources("*")
+     *                     .actions("lambda:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .sourcePolicyDocuments(            
-     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -2274,7 +2380,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * ### Example of Merging Override Documents * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2297,53 +2404,54 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      *     public static void stack(Context ctx) {
      *         final var policyOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Allow")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Allow")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var policyTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .effect("Allow")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("OverridePlaceHolderTwo")
-     *                     .effect("Allow")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("OverridePlaceHolderTwo")
+     *                     .effect("Allow")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var policyThree = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Deny")
-     *                 .actions("logs:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Deny")
+     *                 .actions("logs:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .overridePolicyDocuments(            
-     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderTwo")
-     *                 .effect("Deny")
-     *                 .actions("*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderTwo")
+     *                 .effect("Deny")
+     *                 .actions("*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -2362,7 +2470,8 @@ public static Output getPolicyDocument() { * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2388,41 +2497,42 @@ public static Output getPolicyDocument() {
      *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("1")
+     *                     .sid("1")
      *                     .actions(                    
-     *                         "s3:ListAllMyBuckets",
-     *                         "s3:GetBucketLocation")
-     *                     .resources("arn:aws:s3:::*")
+     *                         "s3:ListAllMyBuckets",
+     *                         "s3:GetBucketLocation")
+     *                     .resources("arn:aws:s3:::*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:ListBucket")
-     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
+     *                     .actions("s3:ListBucket")
+     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
      *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("StringLike")
-     *                         .variable("s3:prefix")
+     *                         .test("StringLike")
+     *                         .variable("s3:prefix")
      *                         .values(                        
-     *                             "",
-     *                             "home/",
-     *                             "home/&{aws:username}/")
+     *                             "",
+     *                             "home/",
+     *                             "home/&{aws:username}/")
      *                         .build())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:*")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
      *                     .build())
      *             .build());
      * 
-     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
-     *             .name("example_policy")
-     *             .path("/")
-     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+     *             .name("example_policy")
+     *             .path("/")
+     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Multiple Condition Keys and Values @@ -2430,7 +2540,8 @@ public static Output getPolicyDocument() { * You can specify a [condition with multiple keys and values](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html) by supplying multiple `condition` blocks with the same `test` value, but differing `variable` and `values` values. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2454,33 +2565,34 @@ public static Output getPolicyDocument() {
      *         final var exampleMultipleConditionKeysAndValues = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
      *                 .actions(                
-     *                     "kms:Decrypt",
-     *                     "kms:GenerateDataKey")
-     *                 .resources("*")
+     *                     "kms:Decrypt",
+     *                     "kms:GenerateDataKey")
+     *                 .resources("*")
      *                 .conditions(                
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:service")
-     *                         .values("pi")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:service")
+     *                         .values("pi")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:pi:service")
-     *                         .values("rds")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:pi:service")
+     *                         .values("rds")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
      *                         .values(                        
-     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
-     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
+     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
+     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.example_multiple_condition_keys_and_values.json` will evaluate to: @@ -2490,7 +2602,8 @@ public static Output getPolicyDocument() { * You can specify multiple principal blocks with different types. You can also use this data source to generate an assume-role policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2513,34 +2626,36 @@ public static Output getPolicyDocument() {
      *     public static void stack(Context ctx) {
      *         final var eventStreamBucketRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .actions("sts:AssumeRole")
+     *                 .actions("sts:AssumeRole")
      *                 .principals(                
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Service")
-     *                         .identifiers("firehose.amazonaws.com")
+     *                         .type("Service")
+     *                         .identifiers("firehose.amazonaws.com")
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
+     *                         .type("AWS")
      *                         .identifiers(trustedRoleArn)
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Federated")
+     *                         .type("Federated")
      *                         .identifiers(                        
-     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
-     *                             "cognito-identity.amazonaws.com")
+     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
+     *                             "cognito-identity.amazonaws.com")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Using A Source Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2564,30 +2679,31 @@ public static Output getPolicyDocument() {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
      *                 .resources(                
-     *                     "arn:aws:s3:::somebucket",
-     *                     "arn:aws:s3:::somebucket/*")
+     *                     "arn:aws:s3:::somebucket",
+     *                     "arn:aws:s3:::somebucket/*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.source_document_example.json` will evaluate to: @@ -2595,7 +2711,8 @@ public static Output getPolicyDocument() { * ### Example Using An Override Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2618,31 +2735,32 @@ public static Output getPolicyDocument() {
      *     public static void stack(Context ctx) {
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var overridePolicyDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         "arn:aws:s3:::somebucket",
-     *                         "arn:aws:s3:::somebucket/*")
+     *                         "arn:aws:s3:::somebucket",
+     *                         "arn:aws:s3:::somebucket/*")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.override_policy_document_example.json` will evaluate to: @@ -2652,7 +2770,8 @@ public static Output getPolicyDocument() { * You can also combine `source_policy_documents` and `override_policy_documents` in the same document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2675,28 +2794,29 @@ public static Output getPolicyDocument() {
      *     public static void stack(Context ctx) {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("ec2:DescribeAccountAttributes")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("ec2:DescribeAccountAttributes")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("s3:GetObject")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("s3:GetObject")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var politik = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.politik.json` will evaluate to: @@ -2706,7 +2826,8 @@ public static Output getPolicyDocument() { * Multiple documents can be combined using the `source_policy_documents` or `override_policy_documents` attributes. `source_policy_documents` requires that all documents have unique Sids, while `override_policy_documents` will iteratively override matching Sids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2730,38 +2851,39 @@ public static Output getPolicyDocument() {
      *         final var sourceOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidOne")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidOne")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidTwo")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidTwo")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("lambda:*")
-     *                     .resources("*")
+     *                     .actions("lambda:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .sourcePolicyDocuments(            
-     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -2769,7 +2891,8 @@ public static Output getPolicyDocument() { * ### Example of Merging Override Documents * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2792,53 +2915,54 @@ public static Output getPolicyDocument() {
      *     public static void stack(Context ctx) {
      *         final var policyOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Allow")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Allow")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var policyTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .effect("Allow")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("OverridePlaceHolderTwo")
-     *                     .effect("Allow")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("OverridePlaceHolderTwo")
+     *                     .effect("Allow")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var policyThree = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Deny")
-     *                 .actions("logs:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Deny")
+     *                 .actions("logs:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .overridePolicyDocuments(            
-     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderTwo")
-     *                 .effect("Deny")
-     *                 .actions("*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderTwo")
+     *                 .effect("Deny")
+     *                 .actions("*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -2857,7 +2981,8 @@ public static CompletableFuture getPolicyDocumentPlain( * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2883,41 +3008,42 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("1")
+     *                     .sid("1")
      *                     .actions(                    
-     *                         "s3:ListAllMyBuckets",
-     *                         "s3:GetBucketLocation")
-     *                     .resources("arn:aws:s3:::*")
+     *                         "s3:ListAllMyBuckets",
+     *                         "s3:GetBucketLocation")
+     *                     .resources("arn:aws:s3:::*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:ListBucket")
-     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
+     *                     .actions("s3:ListBucket")
+     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
      *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("StringLike")
-     *                         .variable("s3:prefix")
+     *                         .test("StringLike")
+     *                         .variable("s3:prefix")
      *                         .values(                        
-     *                             "",
-     *                             "home/",
-     *                             "home/&{aws:username}/")
+     *                             "",
+     *                             "home/",
+     *                             "home/&{aws:username}/")
      *                         .build())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:*")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
      *                     .build())
      *             .build());
      * 
-     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
-     *             .name("example_policy")
-     *             .path("/")
-     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+     *             .name("example_policy")
+     *             .path("/")
+     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Multiple Condition Keys and Values @@ -2925,7 +3051,8 @@ public static CompletableFuture getPolicyDocumentPlain( * You can specify a [condition with multiple keys and values](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html) by supplying multiple `condition` blocks with the same `test` value, but differing `variable` and `values` values. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2949,33 +3076,34 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var exampleMultipleConditionKeysAndValues = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
      *                 .actions(                
-     *                     "kms:Decrypt",
-     *                     "kms:GenerateDataKey")
-     *                 .resources("*")
+     *                     "kms:Decrypt",
+     *                     "kms:GenerateDataKey")
+     *                 .resources("*")
      *                 .conditions(                
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:service")
-     *                         .values("pi")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:service")
+     *                         .values("pi")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:pi:service")
-     *                         .values("rds")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:pi:service")
+     *                         .values("rds")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
      *                         .values(                        
-     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
-     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
+     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
+     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.example_multiple_condition_keys_and_values.json` will evaluate to: @@ -2985,7 +3113,8 @@ public static CompletableFuture getPolicyDocumentPlain( * You can specify multiple principal blocks with different types. You can also use this data source to generate an assume-role policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3008,34 +3137,36 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var eventStreamBucketRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .actions("sts:AssumeRole")
+     *                 .actions("sts:AssumeRole")
      *                 .principals(                
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Service")
-     *                         .identifiers("firehose.amazonaws.com")
+     *                         .type("Service")
+     *                         .identifiers("firehose.amazonaws.com")
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
+     *                         .type("AWS")
      *                         .identifiers(trustedRoleArn)
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Federated")
+     *                         .type("Federated")
      *                         .identifiers(                        
-     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
-     *                             "cognito-identity.amazonaws.com")
+     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
+     *                             "cognito-identity.amazonaws.com")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Using A Source Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3059,30 +3190,31 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
      *                 .resources(                
-     *                     "arn:aws:s3:::somebucket",
-     *                     "arn:aws:s3:::somebucket/*")
+     *                     "arn:aws:s3:::somebucket",
+     *                     "arn:aws:s3:::somebucket/*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.source_document_example.json` will evaluate to: @@ -3090,7 +3222,8 @@ public static CompletableFuture getPolicyDocumentPlain( * ### Example Using An Override Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3113,31 +3246,32 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var overridePolicyDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         "arn:aws:s3:::somebucket",
-     *                         "arn:aws:s3:::somebucket/*")
+     *                         "arn:aws:s3:::somebucket",
+     *                         "arn:aws:s3:::somebucket/*")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.override_policy_document_example.json` will evaluate to: @@ -3147,7 +3281,8 @@ public static CompletableFuture getPolicyDocumentPlain( * You can also combine `source_policy_documents` and `override_policy_documents` in the same document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3170,28 +3305,29 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("ec2:DescribeAccountAttributes")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("ec2:DescribeAccountAttributes")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("s3:GetObject")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("s3:GetObject")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var politik = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.politik.json` will evaluate to: @@ -3201,7 +3337,8 @@ public static CompletableFuture getPolicyDocumentPlain( * Multiple documents can be combined using the `source_policy_documents` or `override_policy_documents` attributes. `source_policy_documents` requires that all documents have unique Sids, while `override_policy_documents` will iteratively override matching Sids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3225,38 +3362,39 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var sourceOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidOne")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidOne")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidTwo")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidTwo")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("lambda:*")
-     *                     .resources("*")
+     *                     .actions("lambda:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .sourcePolicyDocuments(            
-     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -3264,7 +3402,8 @@ public static CompletableFuture getPolicyDocumentPlain( * ### Example of Merging Override Documents * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3287,53 +3426,54 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var policyOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Allow")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Allow")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var policyTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .effect("Allow")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("OverridePlaceHolderTwo")
-     *                     .effect("Allow")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("OverridePlaceHolderTwo")
+     *                     .effect("Allow")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var policyThree = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Deny")
-     *                 .actions("logs:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Deny")
+     *                 .actions("logs:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .overridePolicyDocuments(            
-     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderTwo")
-     *                 .effect("Deny")
-     *                 .actions("*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderTwo")
+     *                 .effect("Deny")
+     *                 .actions("*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -3352,7 +3492,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3378,41 +3519,42 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("1")
+     *                     .sid("1")
      *                     .actions(                    
-     *                         "s3:ListAllMyBuckets",
-     *                         "s3:GetBucketLocation")
-     *                     .resources("arn:aws:s3:::*")
+     *                         "s3:ListAllMyBuckets",
+     *                         "s3:GetBucketLocation")
+     *                     .resources("arn:aws:s3:::*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:ListBucket")
-     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
+     *                     .actions("s3:ListBucket")
+     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
      *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("StringLike")
-     *                         .variable("s3:prefix")
+     *                         .test("StringLike")
+     *                         .variable("s3:prefix")
      *                         .values(                        
-     *                             "",
-     *                             "home/",
-     *                             "home/&{aws:username}/")
+     *                             "",
+     *                             "home/",
+     *                             "home/&{aws:username}/")
      *                         .build())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:*")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
      *                     .build())
      *             .build());
      * 
-     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
-     *             .name("example_policy")
-     *             .path("/")
-     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+     *             .name("example_policy")
+     *             .path("/")
+     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Multiple Condition Keys and Values @@ -3420,7 +3562,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * You can specify a [condition with multiple keys and values](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html) by supplying multiple `condition` blocks with the same `test` value, but differing `variable` and `values` values. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3444,33 +3587,34 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var exampleMultipleConditionKeysAndValues = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
      *                 .actions(                
-     *                     "kms:Decrypt",
-     *                     "kms:GenerateDataKey")
-     *                 .resources("*")
+     *                     "kms:Decrypt",
+     *                     "kms:GenerateDataKey")
+     *                 .resources("*")
      *                 .conditions(                
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:service")
-     *                         .values("pi")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:service")
+     *                         .values("pi")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:pi:service")
-     *                         .values("rds")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:pi:service")
+     *                         .values("rds")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
      *                         .values(                        
-     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
-     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
+     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
+     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.example_multiple_condition_keys_and_values.json` will evaluate to: @@ -3480,7 +3624,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * You can specify multiple principal blocks with different types. You can also use this data source to generate an assume-role policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3503,34 +3648,36 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var eventStreamBucketRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .actions("sts:AssumeRole")
+     *                 .actions("sts:AssumeRole")
      *                 .principals(                
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Service")
-     *                         .identifiers("firehose.amazonaws.com")
+     *                         .type("Service")
+     *                         .identifiers("firehose.amazonaws.com")
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
+     *                         .type("AWS")
      *                         .identifiers(trustedRoleArn)
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Federated")
+     *                         .type("Federated")
      *                         .identifiers(                        
-     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
-     *                             "cognito-identity.amazonaws.com")
+     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
+     *                             "cognito-identity.amazonaws.com")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Using A Source Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3554,30 +3701,31 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
      *                 .resources(                
-     *                     "arn:aws:s3:::somebucket",
-     *                     "arn:aws:s3:::somebucket/*")
+     *                     "arn:aws:s3:::somebucket",
+     *                     "arn:aws:s3:::somebucket/*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.source_document_example.json` will evaluate to: @@ -3585,7 +3733,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * ### Example Using An Override Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3608,31 +3757,32 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var overridePolicyDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         "arn:aws:s3:::somebucket",
-     *                         "arn:aws:s3:::somebucket/*")
+     *                         "arn:aws:s3:::somebucket",
+     *                         "arn:aws:s3:::somebucket/*")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.override_policy_document_example.json` will evaluate to: @@ -3642,7 +3792,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * You can also combine `source_policy_documents` and `override_policy_documents` in the same document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3665,28 +3816,29 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("ec2:DescribeAccountAttributes")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("ec2:DescribeAccountAttributes")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("s3:GetObject")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("s3:GetObject")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var politik = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.politik.json` will evaluate to: @@ -3696,7 +3848,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * Multiple documents can be combined using the `source_policy_documents` or `override_policy_documents` attributes. `source_policy_documents` requires that all documents have unique Sids, while `override_policy_documents` will iteratively override matching Sids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3720,38 +3873,39 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var sourceOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidOne")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidOne")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidTwo")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidTwo")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("lambda:*")
-     *                     .resources("*")
+     *                     .actions("lambda:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .sourcePolicyDocuments(            
-     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -3759,7 +3913,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * ### Example of Merging Override Documents * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3782,53 +3937,54 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var policyOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Allow")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Allow")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var policyTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .effect("Allow")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("OverridePlaceHolderTwo")
-     *                     .effect("Allow")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("OverridePlaceHolderTwo")
+     *                     .effect("Allow")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var policyThree = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Deny")
-     *                 .actions("logs:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Deny")
+     *                 .actions("logs:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .overridePolicyDocuments(            
-     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderTwo")
-     *                 .effect("Deny")
-     *                 .actions("*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderTwo")
+     *                 .effect("Deny")
+     *                 .actions("*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -3847,7 +4003,8 @@ public static CompletableFuture getPolicyDocumentPlain( * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3873,41 +4030,42 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("1")
+     *                     .sid("1")
      *                     .actions(                    
-     *                         "s3:ListAllMyBuckets",
-     *                         "s3:GetBucketLocation")
-     *                     .resources("arn:aws:s3:::*")
+     *                         "s3:ListAllMyBuckets",
+     *                         "s3:GetBucketLocation")
+     *                     .resources("arn:aws:s3:::*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:ListBucket")
-     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
+     *                     .actions("s3:ListBucket")
+     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
      *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("StringLike")
-     *                         .variable("s3:prefix")
+     *                         .test("StringLike")
+     *                         .variable("s3:prefix")
      *                         .values(                        
-     *                             "",
-     *                             "home/",
-     *                             "home/&{aws:username}/")
+     *                             "",
+     *                             "home/",
+     *                             "home/&{aws:username}/")
      *                         .build())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:*")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
      *                     .build())
      *             .build());
      * 
-     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
-     *             .name("example_policy")
-     *             .path("/")
-     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+     *             .name("example_policy")
+     *             .path("/")
+     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Multiple Condition Keys and Values @@ -3915,7 +4073,8 @@ public static CompletableFuture getPolicyDocumentPlain( * You can specify a [condition with multiple keys and values](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html) by supplying multiple `condition` blocks with the same `test` value, but differing `variable` and `values` values. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3939,33 +4098,34 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var exampleMultipleConditionKeysAndValues = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
      *                 .actions(                
-     *                     "kms:Decrypt",
-     *                     "kms:GenerateDataKey")
-     *                 .resources("*")
+     *                     "kms:Decrypt",
+     *                     "kms:GenerateDataKey")
+     *                 .resources("*")
      *                 .conditions(                
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:service")
-     *                         .values("pi")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:service")
+     *                         .values("pi")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:pi:service")
-     *                         .values("rds")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:pi:service")
+     *                         .values("rds")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
      *                         .values(                        
-     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
-     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
+     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
+     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.example_multiple_condition_keys_and_values.json` will evaluate to: @@ -3975,7 +4135,8 @@ public static CompletableFuture getPolicyDocumentPlain( * You can specify multiple principal blocks with different types. You can also use this data source to generate an assume-role policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3998,34 +4159,36 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var eventStreamBucketRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .actions("sts:AssumeRole")
+     *                 .actions("sts:AssumeRole")
      *                 .principals(                
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Service")
-     *                         .identifiers("firehose.amazonaws.com")
+     *                         .type("Service")
+     *                         .identifiers("firehose.amazonaws.com")
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
+     *                         .type("AWS")
      *                         .identifiers(trustedRoleArn)
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Federated")
+     *                         .type("Federated")
      *                         .identifiers(                        
-     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
-     *                             "cognito-identity.amazonaws.com")
+     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
+     *                             "cognito-identity.amazonaws.com")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Using A Source Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4049,30 +4212,31 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
      *                 .resources(                
-     *                     "arn:aws:s3:::somebucket",
-     *                     "arn:aws:s3:::somebucket/*")
+     *                     "arn:aws:s3:::somebucket",
+     *                     "arn:aws:s3:::somebucket/*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.source_document_example.json` will evaluate to: @@ -4080,7 +4244,8 @@ public static CompletableFuture getPolicyDocumentPlain( * ### Example Using An Override Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4103,31 +4268,32 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var overridePolicyDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         "arn:aws:s3:::somebucket",
-     *                         "arn:aws:s3:::somebucket/*")
+     *                         "arn:aws:s3:::somebucket",
+     *                         "arn:aws:s3:::somebucket/*")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.override_policy_document_example.json` will evaluate to: @@ -4137,7 +4303,8 @@ public static CompletableFuture getPolicyDocumentPlain( * You can also combine `source_policy_documents` and `override_policy_documents` in the same document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4160,28 +4327,29 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("ec2:DescribeAccountAttributes")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("ec2:DescribeAccountAttributes")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("s3:GetObject")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("s3:GetObject")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var politik = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.politik.json` will evaluate to: @@ -4191,7 +4359,8 @@ public static CompletableFuture getPolicyDocumentPlain( * Multiple documents can be combined using the `source_policy_documents` or `override_policy_documents` attributes. `source_policy_documents` requires that all documents have unique Sids, while `override_policy_documents` will iteratively override matching Sids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4215,38 +4384,39 @@ public static CompletableFuture getPolicyDocumentPlain(
      *         final var sourceOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidOne")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidOne")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidTwo")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidTwo")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("lambda:*")
-     *                     .resources("*")
+     *                     .actions("lambda:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .sourcePolicyDocuments(            
-     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -4254,7 +4424,8 @@ public static CompletableFuture getPolicyDocumentPlain( * ### Example of Merging Override Documents * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4277,53 +4448,54 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var policyOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Allow")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Allow")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var policyTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .effect("Allow")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("OverridePlaceHolderTwo")
-     *                     .effect("Allow")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("OverridePlaceHolderTwo")
+     *                     .effect("Allow")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var policyThree = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Deny")
-     *                 .actions("logs:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Deny")
+     *                 .actions("logs:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .overridePolicyDocuments(            
-     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderTwo")
-     *                 .effect("Deny")
-     *                 .actions("*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderTwo")
+     *                 .effect("Deny")
+     *                 .actions("*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -4342,7 +4514,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4368,41 +4541,42 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("1")
+     *                     .sid("1")
      *                     .actions(                    
-     *                         "s3:ListAllMyBuckets",
-     *                         "s3:GetBucketLocation")
-     *                     .resources("arn:aws:s3:::*")
+     *                         "s3:ListAllMyBuckets",
+     *                         "s3:GetBucketLocation")
+     *                     .resources("arn:aws:s3:::*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:ListBucket")
-     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
+     *                     .actions("s3:ListBucket")
+     *                     .resources(String.format("arn:aws:s3:::%s", s3BucketName))
      *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("StringLike")
-     *                         .variable("s3:prefix")
+     *                         .test("StringLike")
+     *                         .variable("s3:prefix")
      *                         .values(                        
-     *                             "",
-     *                             "home/",
-     *                             "home/&{aws:username}/")
+     *                             "",
+     *                             "home/",
+     *                             "home/&{aws:username}/")
      *                         .build())
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("s3:*")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
-     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}", s3BucketName),
+     *                         String.format("arn:aws:s3:::%s/home/&{{aws:username}}/*", s3BucketName))
      *                     .build())
      *             .build());
      * 
-     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
-     *             .name("example_policy")
-     *             .path("/")
-     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+     *             .name("example_policy")
+     *             .path("/")
+     *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Multiple Condition Keys and Values @@ -4410,7 +4584,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * You can specify a [condition with multiple keys and values](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html) by supplying multiple `condition` blocks with the same `test` value, but differing `variable` and `values` values. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4434,33 +4609,34 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var exampleMultipleConditionKeysAndValues = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
      *                 .actions(                
-     *                     "kms:Decrypt",
-     *                     "kms:GenerateDataKey")
-     *                 .resources("*")
+     *                     "kms:Decrypt",
+     *                     "kms:GenerateDataKey")
+     *                 .resources("*")
      *                 .conditions(                
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:service")
-     *                         .values("pi")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:service")
+     *                         .values("pi")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:pi:service")
-     *                         .values("rds")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:pi:service")
+     *                         .values("rds")
      *                         .build(),
      *                     GetPolicyDocumentStatementConditionArgs.builder()
-     *                         .test("ForAnyValue:StringEquals")
-     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
+     *                         .test("ForAnyValue:StringEquals")
+     *                         .variable("kms:EncryptionContext:aws:rds:db-id")
      *                         .values(                        
-     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
-     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
+     *                             "db-AAAAABBBBBCCCCCDDDDDEEEEE",
+     *                             "db-EEEEEDDDDDCCCCCBBBBBAAAAA")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.example_multiple_condition_keys_and_values.json` will evaluate to: @@ -4470,7 +4646,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * You can specify multiple principal blocks with different types. You can also use this data source to generate an assume-role policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4493,34 +4670,36 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var eventStreamBucketRoleAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .actions("sts:AssumeRole")
+     *                 .actions("sts:AssumeRole")
      *                 .principals(                
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Service")
-     *                         .identifiers("firehose.amazonaws.com")
+     *                         .type("Service")
+     *                         .identifiers("firehose.amazonaws.com")
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
+     *                         .type("AWS")
      *                         .identifiers(trustedRoleArn)
      *                         .build(),
      *                     GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("Federated")
+     *                         .type("Federated")
      *                         .identifiers(                        
-     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
-     *                             "cognito-identity.amazonaws.com")
+     *                             String.format("arn:aws:iam::%s:saml-provider/%s", accountId,providerName),
+     *                             "cognito-identity.amazonaws.com")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Example Using A Source Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4544,30 +4723,31 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
      *                 .resources(                
-     *                     "arn:aws:s3:::somebucket",
-     *                     "arn:aws:s3:::somebucket/*")
+     *                     "arn:aws:s3:::somebucket",
+     *                     "arn:aws:s3:::somebucket/*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.source_document_example.json` will evaluate to: @@ -4575,7 +4755,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * ### Example Using An Override Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4598,31 +4779,32 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("SidToOverride")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("SidToOverride")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var overridePolicyDocumentExample = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("SidToOverride")
-     *                     .actions("s3:*")
+     *                     .sid("SidToOverride")
+     *                     .actions("s3:*")
      *                     .resources(                    
-     *                         "arn:aws:s3:::somebucket",
-     *                         "arn:aws:s3:::somebucket/*")
+     *                         "arn:aws:s3:::somebucket",
+     *                         "arn:aws:s3:::somebucket/*")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.override_policy_document_example.json` will evaluate to: @@ -4632,7 +4814,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * You can also combine `source_policy_documents` and `override_policy_documents` in the same document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4655,28 +4838,29 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var source = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("ec2:DescribeAccountAttributes")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("ec2:DescribeAccountAttributes")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var override = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceholder")
-     *                 .actions("s3:GetObject")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceholder")
+     *                 .actions("s3:GetObject")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var politik = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
-     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
-     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .sourcePolicyDocuments(source.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *             .overridePolicyDocuments(override.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.politik.json` will evaluate to: @@ -4686,7 +4870,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * Multiple documents can be combined using the `source_policy_documents` or `override_policy_documents` attributes. `source_policy_documents` requires that all documents have unique Sids, while `override_policy_documents` will iteratively override matching Sids. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4710,38 +4895,39 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *         final var sourceOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidOne")
-     *                     .actions("s3:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidOne")
+     *                     .actions("s3:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var sourceTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("UniqueSidTwo")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("UniqueSidTwo")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .actions("lambda:*")
-     *                     .resources("*")
+     *                     .actions("lambda:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .sourcePolicyDocuments(            
-     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 sourceOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 sourceTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -4749,7 +4935,8 @@ public static Output getPolicyDocument(GetPolicyDocumen * ### Example of Merging Override Documents * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4772,53 +4959,54 @@ public static Output getPolicyDocument(GetPolicyDocumen
      *     public static void stack(Context ctx) {
      *         final var policyOne = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Allow")
-     *                 .actions("s3:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Allow")
+     *                 .actions("s3:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var policyTwo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .effect("Allow")
-     *                     .actions("ec2:*")
-     *                     .resources("*")
+     *                     .effect("Allow")
+     *                     .actions("ec2:*")
+     *                     .resources("*")
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("OverridePlaceHolderTwo")
-     *                     .effect("Allow")
-     *                     .actions("iam:*")
-     *                     .resources("*")
+     *                     .sid("OverridePlaceHolderTwo")
+     *                     .effect("Allow")
+     *                     .actions("iam:*")
+     *                     .resources("*")
      *                     .build())
      *             .build());
      * 
      *         final var policyThree = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderOne")
-     *                 .effect("Deny")
-     *                 .actions("logs:*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderOne")
+     *                 .effect("Deny")
+     *                 .actions("logs:*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *         final var combined = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .overridePolicyDocuments(            
-     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
-     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+     *                 policyOne.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyTwo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()),
+     *                 policyThree.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .sid("OverridePlaceHolderTwo")
-     *                 .effect("Deny")
-     *                 .actions("*")
-     *                 .resources("*")
+     *                 .sid("OverridePlaceHolderTwo")
+     *                 .effect("Deny")
+     *                 .actions("*")
+     *                 .resources("*")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_iam_policy_document.combined.json` will evaluate to: @@ -4842,7 +5030,8 @@ public static CompletableFuture getPolicyDocumentPlain( * The following example raises an error if the credentials passed to the AWS provider do not have access to perform the three actions `s3:GetObject`, `s3:PutObject`, and `s3:DeleteObject` on the S3 bucket with the given ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4869,22 +5058,24 @@ public static CompletableFuture getPolicyDocumentPlain(
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
      *             .actionNames(            
-     *                 "s3:GetObject",
-     *                 "s3:PutObject",
-     *                 "s3:DeleteObject")
-     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
-     *             .resourceArns("arn:aws:s3:::my-test-bucket")
+     *                 "s3:GetObject",
+     *                 "s3:PutObject",
+     *                 "s3:DeleteObject")
+     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .resourceArns("arn:aws:s3:::my-test-bucket")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * If you intend to use this data source to quickly raise an error when the given credentials are insufficient then you must use `depends_on` inside any resource which would require those credentials, to ensure that the policy check will run first: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4906,15 +5097,16 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
-     *             .bucket("my-test-bucket")
+     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
+     *             .bucket("my-test-bucket")
      *             .build(), CustomResourceOptions.builder()
      *                 .dependsOn(s3ObjectAccess)
      *                 .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Testing the Effect of a Declared Policy @@ -4922,7 +5114,8 @@ public static CompletableFuture getPolicyDocumentPlain( * The following example declares an S3 bucket and a user that should have access to the bucket, and then uses `aws.iam.getPrincipalPolicySimulation` to verify that the user does indeed have access to perform needed operations against the bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4956,45 +5149,45 @@ public static CompletableFuture getPolicyDocumentPlain(
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         var example = new User("example", UserArgs.builder()        
-     *             .name("example")
+     *         var example = new User("example", UserArgs.builder()        
+     *             .name("example")
      *             .build());
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("my-test-bucket")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("my-test-bucket")
      *             .build());
      * 
-     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
-     *             .name("example_s3_access")
+     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
+     *             .name("example_s3_access")
      *             .user(example.name())
-     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
+     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
      *                 jsonObject(
-     *                     jsonProperty("Version", "2012-10-17"),
-     *                     jsonProperty("Statement", jsonArray(jsonObject(
-     *                         jsonProperty("Action", "s3:GetObject"),
-     *                         jsonProperty("Effect", "Allow"),
-     *                         jsonProperty("Resource", arn)
+     *                     jsonProperty("Version", "2012-10-17"),
+     *                     jsonProperty("Statement", jsonArray(jsonObject(
+     *                         jsonProperty("Action", "s3:GetObject"),
+     *                         jsonProperty("Effect", "Allow"),
+     *                         jsonProperty("Resource", arn)
      *                     )))
      *                 ))))
      *             .build());
      * 
-     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
+     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
      *             .bucket(exampleBucketV2.bucket())
-     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
+     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
      *                 var exampleBucketV2Arn = values.t1;
      *                 var exampleBucketV2Arn1 = values.t2;
      *                 return serializeJson(
      *                     jsonObject(
-     *                         jsonProperty("Version", "2012-10-17"),
-     *                         jsonProperty("Statement", jsonArray(jsonObject(
-     *                             jsonProperty("Action", "s3:*"),
-     *                             jsonProperty("Effect", "Allow"),
-     *                             jsonProperty("Principal", jsonObject(
-     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *                         jsonProperty("Version", "2012-10-17"),
+     *                         jsonProperty("Statement", jsonArray(jsonObject(
+     *                             jsonProperty("Action", "s3:*"),
+     *                             jsonProperty("Effect", "Allow"),
+     *                             jsonProperty("Principal", jsonObject(
+     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *                             )),
-     *                             jsonProperty("Resource", jsonArray(
+     *                             jsonProperty("Resource", jsonArray(
      *                                 exampleBucketV2Arn, 
-     *                                 String.format("%s/*", exampleBucketV2Arn1)
+     *                                 String.format("%s/*", exampleBucketV2Arn1)
      *                             ))
      *                         )))
      *                     ));
@@ -5002,7 +5195,7 @@ public static CompletableFuture getPolicyDocumentPlain(
      *             .build());
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
-     *             .actionNames("s3:GetObject")
+     *             .actionNames("s3:GetObject")
      *             .policySourceArn(example.arn())
      *             .resourceArns(exampleBucketV2.arn())
      *             .resourcePolicyJson(accountAccess.policy())
@@ -5010,7 +5203,8 @@ public static CompletableFuture getPolicyDocumentPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * When using `aws.iam.getPrincipalPolicySimulation` to test the effect of a policy declared elsewhere in the same configuration, it's important to use `depends_on` to make sure that the needed policy has been fully created or updated before running the simulation. @@ -5034,7 +5228,8 @@ public static Output getPrincipalPolic * The following example raises an error if the credentials passed to the AWS provider do not have access to perform the three actions `s3:GetObject`, `s3:PutObject`, and `s3:DeleteObject` on the S3 bucket with the given ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5061,22 +5256,24 @@ public static Output getPrincipalPolic
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
      *             .actionNames(            
-     *                 "s3:GetObject",
-     *                 "s3:PutObject",
-     *                 "s3:DeleteObject")
-     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
-     *             .resourceArns("arn:aws:s3:::my-test-bucket")
+     *                 "s3:GetObject",
+     *                 "s3:PutObject",
+     *                 "s3:DeleteObject")
+     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .resourceArns("arn:aws:s3:::my-test-bucket")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * If you intend to use this data source to quickly raise an error when the given credentials are insufficient then you must use `depends_on` inside any resource which would require those credentials, to ensure that the policy check will run first: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5098,15 +5295,16 @@ public static Output getPrincipalPolic
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
-     *             .bucket("my-test-bucket")
+     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
+     *             .bucket("my-test-bucket")
      *             .build(), CustomResourceOptions.builder()
      *                 .dependsOn(s3ObjectAccess)
      *                 .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Testing the Effect of a Declared Policy @@ -5114,7 +5312,8 @@ public static Output getPrincipalPolic * The following example declares an S3 bucket and a user that should have access to the bucket, and then uses `aws.iam.getPrincipalPolicySimulation` to verify that the user does indeed have access to perform needed operations against the bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5148,45 +5347,45 @@ public static Output getPrincipalPolic
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         var example = new User("example", UserArgs.builder()        
-     *             .name("example")
+     *         var example = new User("example", UserArgs.builder()        
+     *             .name("example")
      *             .build());
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("my-test-bucket")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("my-test-bucket")
      *             .build());
      * 
-     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
-     *             .name("example_s3_access")
+     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
+     *             .name("example_s3_access")
      *             .user(example.name())
-     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
+     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
      *                 jsonObject(
-     *                     jsonProperty("Version", "2012-10-17"),
-     *                     jsonProperty("Statement", jsonArray(jsonObject(
-     *                         jsonProperty("Action", "s3:GetObject"),
-     *                         jsonProperty("Effect", "Allow"),
-     *                         jsonProperty("Resource", arn)
+     *                     jsonProperty("Version", "2012-10-17"),
+     *                     jsonProperty("Statement", jsonArray(jsonObject(
+     *                         jsonProperty("Action", "s3:GetObject"),
+     *                         jsonProperty("Effect", "Allow"),
+     *                         jsonProperty("Resource", arn)
      *                     )))
      *                 ))))
      *             .build());
      * 
-     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
+     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
      *             .bucket(exampleBucketV2.bucket())
-     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
+     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
      *                 var exampleBucketV2Arn = values.t1;
      *                 var exampleBucketV2Arn1 = values.t2;
      *                 return serializeJson(
      *                     jsonObject(
-     *                         jsonProperty("Version", "2012-10-17"),
-     *                         jsonProperty("Statement", jsonArray(jsonObject(
-     *                             jsonProperty("Action", "s3:*"),
-     *                             jsonProperty("Effect", "Allow"),
-     *                             jsonProperty("Principal", jsonObject(
-     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *                         jsonProperty("Version", "2012-10-17"),
+     *                         jsonProperty("Statement", jsonArray(jsonObject(
+     *                             jsonProperty("Action", "s3:*"),
+     *                             jsonProperty("Effect", "Allow"),
+     *                             jsonProperty("Principal", jsonObject(
+     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *                             )),
-     *                             jsonProperty("Resource", jsonArray(
+     *                             jsonProperty("Resource", jsonArray(
      *                                 exampleBucketV2Arn, 
-     *                                 String.format("%s/*", exampleBucketV2Arn1)
+     *                                 String.format("%s/*", exampleBucketV2Arn1)
      *                             ))
      *                         )))
      *                     ));
@@ -5194,7 +5393,7 @@ public static Output getPrincipalPolic
      *             .build());
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
-     *             .actionNames("s3:GetObject")
+     *             .actionNames("s3:GetObject")
      *             .policySourceArn(example.arn())
      *             .resourceArns(exampleBucketV2.arn())
      *             .resourcePolicyJson(accountAccess.policy())
@@ -5202,7 +5401,8 @@ public static Output getPrincipalPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * When using `aws.iam.getPrincipalPolicySimulation` to test the effect of a policy declared elsewhere in the same configuration, it's important to use `depends_on` to make sure that the needed policy has been fully created or updated before running the simulation. @@ -5226,7 +5426,8 @@ public static CompletableFuture getPri * The following example raises an error if the credentials passed to the AWS provider do not have access to perform the three actions `s3:GetObject`, `s3:PutObject`, and `s3:DeleteObject` on the S3 bucket with the given ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5253,22 +5454,24 @@ public static CompletableFuture getPri
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
      *             .actionNames(            
-     *                 "s3:GetObject",
-     *                 "s3:PutObject",
-     *                 "s3:DeleteObject")
-     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
-     *             .resourceArns("arn:aws:s3:::my-test-bucket")
+     *                 "s3:GetObject",
+     *                 "s3:PutObject",
+     *                 "s3:DeleteObject")
+     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .resourceArns("arn:aws:s3:::my-test-bucket")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * If you intend to use this data source to quickly raise an error when the given credentials are insufficient then you must use `depends_on` inside any resource which would require those credentials, to ensure that the policy check will run first: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5290,15 +5493,16 @@ public static CompletableFuture getPri
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
-     *             .bucket("my-test-bucket")
+     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
+     *             .bucket("my-test-bucket")
      *             .build(), CustomResourceOptions.builder()
      *                 .dependsOn(s3ObjectAccess)
      *                 .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Testing the Effect of a Declared Policy @@ -5306,7 +5510,8 @@ public static CompletableFuture getPri * The following example declares an S3 bucket and a user that should have access to the bucket, and then uses `aws.iam.getPrincipalPolicySimulation` to verify that the user does indeed have access to perform needed operations against the bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5340,45 +5545,45 @@ public static CompletableFuture getPri
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         var example = new User("example", UserArgs.builder()        
-     *             .name("example")
+     *         var example = new User("example", UserArgs.builder()        
+     *             .name("example")
      *             .build());
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("my-test-bucket")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("my-test-bucket")
      *             .build());
      * 
-     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
-     *             .name("example_s3_access")
+     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
+     *             .name("example_s3_access")
      *             .user(example.name())
-     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
+     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
      *                 jsonObject(
-     *                     jsonProperty("Version", "2012-10-17"),
-     *                     jsonProperty("Statement", jsonArray(jsonObject(
-     *                         jsonProperty("Action", "s3:GetObject"),
-     *                         jsonProperty("Effect", "Allow"),
-     *                         jsonProperty("Resource", arn)
+     *                     jsonProperty("Version", "2012-10-17"),
+     *                     jsonProperty("Statement", jsonArray(jsonObject(
+     *                         jsonProperty("Action", "s3:GetObject"),
+     *                         jsonProperty("Effect", "Allow"),
+     *                         jsonProperty("Resource", arn)
      *                     )))
      *                 ))))
      *             .build());
      * 
-     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
+     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
      *             .bucket(exampleBucketV2.bucket())
-     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
+     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
      *                 var exampleBucketV2Arn = values.t1;
      *                 var exampleBucketV2Arn1 = values.t2;
      *                 return serializeJson(
      *                     jsonObject(
-     *                         jsonProperty("Version", "2012-10-17"),
-     *                         jsonProperty("Statement", jsonArray(jsonObject(
-     *                             jsonProperty("Action", "s3:*"),
-     *                             jsonProperty("Effect", "Allow"),
-     *                             jsonProperty("Principal", jsonObject(
-     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *                         jsonProperty("Version", "2012-10-17"),
+     *                         jsonProperty("Statement", jsonArray(jsonObject(
+     *                             jsonProperty("Action", "s3:*"),
+     *                             jsonProperty("Effect", "Allow"),
+     *                             jsonProperty("Principal", jsonObject(
+     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *                             )),
-     *                             jsonProperty("Resource", jsonArray(
+     *                             jsonProperty("Resource", jsonArray(
      *                                 exampleBucketV2Arn, 
-     *                                 String.format("%s/*", exampleBucketV2Arn1)
+     *                                 String.format("%s/*", exampleBucketV2Arn1)
      *                             ))
      *                         )))
      *                     ));
@@ -5386,7 +5591,7 @@ public static CompletableFuture getPri
      *             .build());
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
-     *             .actionNames("s3:GetObject")
+     *             .actionNames("s3:GetObject")
      *             .policySourceArn(example.arn())
      *             .resourceArns(exampleBucketV2.arn())
      *             .resourcePolicyJson(accountAccess.policy())
@@ -5394,7 +5599,8 @@ public static CompletableFuture getPri
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * When using `aws.iam.getPrincipalPolicySimulation` to test the effect of a policy declared elsewhere in the same configuration, it's important to use `depends_on` to make sure that the needed policy has been fully created or updated before running the simulation. @@ -5418,7 +5624,8 @@ public static Output getPrincipalPolic * The following example raises an error if the credentials passed to the AWS provider do not have access to perform the three actions `s3:GetObject`, `s3:PutObject`, and `s3:DeleteObject` on the S3 bucket with the given ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5445,22 +5652,24 @@ public static Output getPrincipalPolic
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
      *             .actionNames(            
-     *                 "s3:GetObject",
-     *                 "s3:PutObject",
-     *                 "s3:DeleteObject")
-     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
-     *             .resourceArns("arn:aws:s3:::my-test-bucket")
+     *                 "s3:GetObject",
+     *                 "s3:PutObject",
+     *                 "s3:DeleteObject")
+     *             .policySourceArn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .resourceArns("arn:aws:s3:::my-test-bucket")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * If you intend to use this data source to quickly raise an error when the given credentials are insufficient then you must use `depends_on` inside any resource which would require those credentials, to ensure that the policy check will run first: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5482,15 +5691,16 @@ public static Output getPrincipalPolic
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
-     *             .bucket("my-test-bucket")
+     *         var example = new BucketObject("example", BucketObjectArgs.builder()        
+     *             .bucket("my-test-bucket")
      *             .build(), CustomResourceOptions.builder()
      *                 .dependsOn(s3ObjectAccess)
      *                 .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Testing the Effect of a Declared Policy @@ -5498,7 +5708,8 @@ public static Output getPrincipalPolic * The following example declares an S3 bucket and a user that should have access to the bucket, and then uses `aws.iam.getPrincipalPolicySimulation` to verify that the user does indeed have access to perform needed operations against the bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5532,45 +5743,45 @@ public static Output getPrincipalPolic
      *     public static void stack(Context ctx) {
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
-     *         var example = new User("example", UserArgs.builder()        
-     *             .name("example")
+     *         var example = new User("example", UserArgs.builder()        
+     *             .name("example")
      *             .build());
      * 
-     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
-     *             .bucket("my-test-bucket")
+     *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+     *             .bucket("my-test-bucket")
      *             .build());
      * 
-     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
-     *             .name("example_s3_access")
+     *         var s3Access = new UserPolicy("s3Access", UserPolicyArgs.builder()        
+     *             .name("example_s3_access")
      *             .user(example.name())
-     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
+     *             .policy(exampleBucketV2.arn().applyValue(arn -> serializeJson(
      *                 jsonObject(
-     *                     jsonProperty("Version", "2012-10-17"),
-     *                     jsonProperty("Statement", jsonArray(jsonObject(
-     *                         jsonProperty("Action", "s3:GetObject"),
-     *                         jsonProperty("Effect", "Allow"),
-     *                         jsonProperty("Resource", arn)
+     *                     jsonProperty("Version", "2012-10-17"),
+     *                     jsonProperty("Statement", jsonArray(jsonObject(
+     *                         jsonProperty("Action", "s3:GetObject"),
+     *                         jsonProperty("Effect", "Allow"),
+     *                         jsonProperty("Resource", arn)
      *                     )))
      *                 ))))
      *             .build());
      * 
-     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
+     *         var accountAccess = new BucketPolicy("accountAccess", BucketPolicyArgs.builder()        
      *             .bucket(exampleBucketV2.bucket())
-     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
+     *             .policy(Output.tuple(exampleBucketV2.arn(), exampleBucketV2.arn()).applyValue(values -> {
      *                 var exampleBucketV2Arn = values.t1;
      *                 var exampleBucketV2Arn1 = values.t2;
      *                 return serializeJson(
      *                     jsonObject(
-     *                         jsonProperty("Version", "2012-10-17"),
-     *                         jsonProperty("Statement", jsonArray(jsonObject(
-     *                             jsonProperty("Action", "s3:*"),
-     *                             jsonProperty("Effect", "Allow"),
-     *                             jsonProperty("Principal", jsonObject(
-     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+     *                         jsonProperty("Version", "2012-10-17"),
+     *                         jsonProperty("Statement", jsonArray(jsonObject(
+     *                             jsonProperty("Action", "s3:*"),
+     *                             jsonProperty("Effect", "Allow"),
+     *                             jsonProperty("Principal", jsonObject(
+     *                                 jsonProperty("AWS", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
      *                             )),
-     *                             jsonProperty("Resource", jsonArray(
+     *                             jsonProperty("Resource", jsonArray(
      *                                 exampleBucketV2Arn, 
-     *                                 String.format("%s/*", exampleBucketV2Arn1)
+     *                                 String.format("%s/*", exampleBucketV2Arn1)
      *                             ))
      *                         )))
      *                     ));
@@ -5578,7 +5789,7 @@ public static Output getPrincipalPolic
      *             .build());
      * 
      *         final var s3ObjectAccess = IamFunctions.getPrincipalPolicySimulation(GetPrincipalPolicySimulationArgs.builder()
-     *             .actionNames("s3:GetObject")
+     *             .actionNames("s3:GetObject")
      *             .policySourceArn(example.arn())
      *             .resourceArns(exampleBucketV2.arn())
      *             .resourcePolicyJson(accountAccess.policy())
@@ -5586,7 +5797,8 @@ public static Output getPrincipalPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * When using `aws.iam.getPrincipalPolicySimulation` to test the effect of a policy declared elsewhere in the same configuration, it's important to use `depends_on` to make sure that the needed policy has been fully created or updated before running the simulation. @@ -5603,7 +5815,8 @@ public static CompletableFuture getPri * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5625,12 +5838,13 @@ public static CompletableFuture getPri
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getRole(GetRoleArgs.builder()
-     *             .name("an_example_role_name")
+     *             .name("an_example_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5645,7 +5859,8 @@ public static Output getRole(GetRoleArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5667,12 +5882,13 @@ public static Output getRole(GetRoleArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getRole(GetRoleArgs.builder()
-     *             .name("an_example_role_name")
+     *             .name("an_example_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5687,7 +5903,8 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5709,12 +5926,13 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getRole(GetRoleArgs.builder()
-     *             .name("an_example_role_name")
+     *             .name("an_example_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5729,7 +5947,8 @@ public static Output getRole(GetRoleArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5751,12 +5970,13 @@ public static Output getRole(GetRoleArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getRole(GetRoleArgs.builder()
-     *             .name("an_example_role_name")
+     *             .name("an_example_role_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5771,7 +5991,8 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg * ### All roles in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5796,7 +6017,8 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by name regex @@ -5804,7 +6026,8 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg * Roles whose role-name contains `project` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5826,18 +6049,20 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex(".*project.*")
+     *             .nameRegex(".*project.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5859,12 +6084,13 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles provisioned by AWS SSO @@ -5872,7 +6098,8 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg * Roles in the account filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5894,18 +6121,20 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Specific role in the account filtered by name regex and path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5927,13 +6156,14 @@ public static CompletableFuture getRolePlain(GetRolePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -5948,7 +6178,8 @@ public static Output getRoles() { * ### All roles in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -5973,7 +6204,8 @@ public static Output getRoles() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by name regex @@ -5981,7 +6213,8 @@ public static Output getRoles() { * Roles whose role-name contains `project` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6003,18 +6236,20 @@ public static Output getRoles() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex(".*project.*")
+     *             .nameRegex(".*project.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6036,12 +6271,13 @@ public static Output getRoles() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles provisioned by AWS SSO @@ -6049,7 +6285,8 @@ public static Output getRoles() { * Roles in the account filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6071,18 +6308,20 @@ public static Output getRoles() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Specific role in the account filtered by name regex and path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6104,13 +6343,14 @@ public static Output getRoles() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6125,7 +6365,8 @@ public static CompletableFuture getRolesPlain() { * ### All roles in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6150,7 +6391,8 @@ public static CompletableFuture getRolesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by name regex @@ -6158,7 +6400,8 @@ public static CompletableFuture getRolesPlain() { * Roles whose role-name contains `project` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6180,18 +6423,20 @@ public static CompletableFuture getRolesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex(".*project.*")
+     *             .nameRegex(".*project.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6213,12 +6458,13 @@ public static CompletableFuture getRolesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles provisioned by AWS SSO @@ -6226,7 +6472,8 @@ public static CompletableFuture getRolesPlain() { * Roles in the account filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6248,18 +6495,20 @@ public static CompletableFuture getRolesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Specific role in the account filtered by name regex and path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6281,13 +6530,14 @@ public static CompletableFuture getRolesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6302,7 +6552,8 @@ public static Output getRoles(GetRolesArgs args) { * ### All roles in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6327,7 +6578,8 @@ public static Output getRoles(GetRolesArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by name regex @@ -6335,7 +6587,8 @@ public static Output getRoles(GetRolesArgs args) { * Roles whose role-name contains `project` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6357,18 +6610,20 @@ public static Output getRoles(GetRolesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex(".*project.*")
+     *             .nameRegex(".*project.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6390,12 +6645,13 @@ public static Output getRoles(GetRolesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles provisioned by AWS SSO @@ -6403,7 +6659,8 @@ public static Output getRoles(GetRolesArgs args) { * Roles in the account filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6425,18 +6682,20 @@ public static Output getRoles(GetRolesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Specific role in the account filtered by name regex and path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6458,13 +6717,14 @@ public static Output getRoles(GetRolesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6479,7 +6739,8 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs * ### All roles in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6504,7 +6765,8 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by name regex @@ -6512,7 +6774,8 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs * Roles whose role-name contains `project` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6534,18 +6797,20 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex(".*project.*")
+     *             .nameRegex(".*project.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6567,12 +6832,13 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles provisioned by AWS SSO @@ -6580,7 +6846,8 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs * Roles in the account filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6602,18 +6869,20 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Specific role in the account filtered by name regex and path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6635,13 +6904,14 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6656,7 +6926,8 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o * ### All roles in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6681,7 +6952,8 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by name regex @@ -6689,7 +6961,8 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o * Roles whose role-name contains `project` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6711,18 +6984,20 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex(".*project.*")
+     *             .nameRegex(".*project.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6744,12 +7019,13 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Roles provisioned by AWS SSO @@ -6757,7 +7033,8 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o * Roles in the account filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6779,18 +7056,20 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Specific role in the account filtered by name regex and path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6812,13 +7091,14 @@ public static Output getRoles(GetRolesArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var roles = IamFunctions.getRoles(GetRolesArgs.builder()
-     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
-     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
+     *             .nameRegex("AWSReservedSSO_permission_set_name_.*")
+     *             .pathPrefix("/aws-reserved/sso.amazonaws.com/")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6833,7 +7113,8 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6855,12 +7136,13 @@ public static CompletableFuture getRolesPlain(GetRolesPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSamlProvider(GetSamlProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
+     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6875,7 +7157,8 @@ public static Output getSamlProvider(GetSamlProviderArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6897,12 +7180,13 @@ public static Output getSamlProvider(GetSamlProviderArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSamlProvider(GetSamlProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
+     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6917,7 +7201,8 @@ public static CompletableFuture getSamlProviderPlain(GetS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6939,12 +7224,13 @@ public static CompletableFuture getSamlProviderPlain(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSamlProvider(GetSamlProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
+     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6959,7 +7245,8 @@ public static Output getSamlProvider(GetSamlProviderArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -6981,12 +7268,13 @@ public static Output getSamlProvider(GetSamlProviderArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSamlProvider(GetSamlProviderArgs.builder()
-     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
+     *             .arn("arn:aws:iam::123456789:saml-provider/myprovider")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -6999,7 +7287,8 @@ public static CompletableFuture getSamlProviderPlain(GetS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7024,24 +7313,25 @@ public static CompletableFuture getSamlProviderPlain(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var my-domain = IamFunctions.getServerCertificate(GetServerCertificateArgs.builder()
-     *             .namePrefix("my-domain.org")
+     *             .namePrefix("my-domain.org")
      *             .latest(true)
      *             .build());
      * 
-     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
-     *             .name("my-domain-elb")
+     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
+     *             .name("my-domain-elb")
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("https")
+     *                 .instanceProtocol("https")
      *                 .lbPort(443)
-     *                 .lbProtocol("https")
+     *                 .lbProtocol("https")
      *                 .sslCertificateId(my_domain.arn())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7054,7 +7344,8 @@ public static Output getServerCertificate() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7079,24 +7370,25 @@ public static Output getServerCertificate() {
      * 
      *     public static void stack(Context ctx) {
      *         final var my-domain = IamFunctions.getServerCertificate(GetServerCertificateArgs.builder()
-     *             .namePrefix("my-domain.org")
+     *             .namePrefix("my-domain.org")
      *             .latest(true)
      *             .build());
      * 
-     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
-     *             .name("my-domain-elb")
+     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
+     *             .name("my-domain-elb")
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("https")
+     *                 .instanceProtocol("https")
      *                 .lbPort(443)
-     *                 .lbProtocol("https")
+     *                 .lbProtocol("https")
      *                 .sslCertificateId(my_domain.arn())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7109,7 +7401,8 @@ public static CompletableFuture getServerCertificate * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7134,24 +7427,25 @@ public static CompletableFuture getServerCertificate
      * 
      *     public static void stack(Context ctx) {
      *         final var my-domain = IamFunctions.getServerCertificate(GetServerCertificateArgs.builder()
-     *             .namePrefix("my-domain.org")
+     *             .namePrefix("my-domain.org")
      *             .latest(true)
      *             .build());
      * 
-     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
-     *             .name("my-domain-elb")
+     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
+     *             .name("my-domain-elb")
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("https")
+     *                 .instanceProtocol("https")
      *                 .lbPort(443)
-     *                 .lbProtocol("https")
+     *                 .lbProtocol("https")
      *                 .sslCertificateId(my_domain.arn())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7164,7 +7458,8 @@ public static Output getServerCertificate(GetServerC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7189,24 +7484,25 @@ public static Output getServerCertificate(GetServerC
      * 
      *     public static void stack(Context ctx) {
      *         final var my-domain = IamFunctions.getServerCertificate(GetServerCertificateArgs.builder()
-     *             .namePrefix("my-domain.org")
+     *             .namePrefix("my-domain.org")
      *             .latest(true)
      *             .build());
      * 
-     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
-     *             .name("my-domain-elb")
+     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
+     *             .name("my-domain-elb")
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("https")
+     *                 .instanceProtocol("https")
      *                 .lbPort(443)
-     *                 .lbProtocol("https")
+     *                 .lbProtocol("https")
      *                 .sslCertificateId(my_domain.arn())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7219,7 +7515,8 @@ public static CompletableFuture getServerCertificate * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7244,24 +7541,25 @@ public static CompletableFuture getServerCertificate
      * 
      *     public static void stack(Context ctx) {
      *         final var my-domain = IamFunctions.getServerCertificate(GetServerCertificateArgs.builder()
-     *             .namePrefix("my-domain.org")
+     *             .namePrefix("my-domain.org")
      *             .latest(true)
      *             .build());
      * 
-     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
-     *             .name("my-domain-elb")
+     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
+     *             .name("my-domain-elb")
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("https")
+     *                 .instanceProtocol("https")
      *                 .lbPort(443)
-     *                 .lbProtocol("https")
+     *                 .lbProtocol("https")
      *                 .sslCertificateId(my_domain.arn())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7274,7 +7572,8 @@ public static Output getServerCertificate(GetServerC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7299,24 +7598,25 @@ public static Output getServerCertificate(GetServerC
      * 
      *     public static void stack(Context ctx) {
      *         final var my-domain = IamFunctions.getServerCertificate(GetServerCertificateArgs.builder()
-     *             .namePrefix("my-domain.org")
+     *             .namePrefix("my-domain.org")
      *             .latest(true)
      *             .build());
      * 
-     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
-     *             .name("my-domain-elb")
+     *         var elb = new LoadBalancer("elb", LoadBalancerArgs.builder()        
+     *             .name("my-domain-elb")
      *             .listeners(LoadBalancerListenerArgs.builder()
      *                 .instancePort(8000)
-     *                 .instanceProtocol("https")
+     *                 .instanceProtocol("https")
      *                 .lbPort(443)
-     *                 .lbProtocol("https")
+     *                 .lbProtocol("https")
      *                 .sslCertificateId(my_domain.arn())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7333,7 +7633,8 @@ public static CompletableFuture getServerCertificate * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7355,12 +7656,13 @@ public static CompletableFuture getServerCertificate
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
+     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find the Runner's Source Role @@ -7368,7 +7670,8 @@ public static CompletableFuture getServerCertificate * Combined with `aws.getCallerIdentity`, you can get the current user's source IAM role ARN (`issuer_arn`) if you're using an assumed role. If you're not using an assumed role, the caller's (e.g., an IAM user's) ARN will simply be passed through. In environments where both IAM users and individuals using assumed roles need to apply the same configurations, this data source enables seamless use. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7394,12 +7697,13 @@ public static CompletableFuture getServerCertificate
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7416,7 +7720,8 @@ public static Output getSessionContext(GetSessionContex * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7438,12 +7743,13 @@ public static Output getSessionContext(GetSessionContex
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
+     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find the Runner's Source Role @@ -7451,7 +7757,8 @@ public static Output getSessionContext(GetSessionContex * Combined with `aws.getCallerIdentity`, you can get the current user's source IAM role ARN (`issuer_arn`) if you're using an assumed role. If you're not using an assumed role, the caller's (e.g., an IAM user's) ARN will simply be passed through. In environments where both IAM users and individuals using assumed roles need to apply the same configurations, this data source enables seamless use. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7477,12 +7784,13 @@ public static Output getSessionContext(GetSessionContex
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7499,7 +7807,8 @@ public static CompletableFuture getSessionContextPlain( * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7521,12 +7830,13 @@ public static CompletableFuture getSessionContextPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
+     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find the Runner's Source Role @@ -7534,7 +7844,8 @@ public static CompletableFuture getSessionContextPlain( * Combined with `aws.getCallerIdentity`, you can get the current user's source IAM role ARN (`issuer_arn`) if you're using an assumed role. If you're not using an assumed role, the caller's (e.g., an IAM user's) ARN will simply be passed through. In environments where both IAM users and individuals using assumed roles need to apply the same configurations, this data source enables seamless use. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7560,12 +7871,13 @@ public static CompletableFuture getSessionContextPlain(
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7582,7 +7894,8 @@ public static Output getSessionContext(GetSessionContex * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7604,12 +7917,13 @@ public static Output getSessionContext(GetSessionContex
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
+     *             .arn("arn:aws:sts::123456789012:assumed-role/Audien-Heaven/MatyNoyes")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find the Runner's Source Role @@ -7617,7 +7931,8 @@ public static Output getSessionContext(GetSessionContex * Combined with `aws.getCallerIdentity`, you can get the current user's source IAM role ARN (`issuer_arn`) if you're using an assumed role. If you're not using an assumed role, the caller's (e.g., an IAM user's) ARN will simply be passed through. In environments where both IAM users and individuals using assumed roles need to apply the same configurations, this data source enables seamless use. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7643,12 +7958,13 @@ public static Output getSessionContext(GetSessionContex
      *         final var current = AwsFunctions.getCallerIdentity();
      * 
      *         final var example = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
-     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+     *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7663,7 +7979,8 @@ public static CompletableFuture getSessionContextPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7685,12 +8002,13 @@ public static CompletableFuture getSessionContextPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUser(GetUserArgs.builder()
-     *             .userName("an_example_user_name")
+     *             .userName("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7705,7 +8023,8 @@ public static Output getUser(GetUserArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7727,12 +8046,13 @@ public static Output getUser(GetUserArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUser(GetUserArgs.builder()
-     *             .userName("an_example_user_name")
+     *             .userName("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7747,7 +8067,8 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7769,12 +8090,13 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUser(GetUserArgs.builder()
-     *             .userName("an_example_user_name")
+     *             .userName("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7789,7 +8111,8 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7811,12 +8134,13 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUser(GetUserArgs.builder()
-     *             .userName("an_example_user_name")
+     *             .userName("an_example_user_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7829,7 +8153,8 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7851,14 +8176,15 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUserSshKey(GetUserSshKeyArgs.builder()
-     *             .encoding("SSH")
-     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
-     *             .username("test-user")
+     *             .encoding("SSH")
+     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
+     *             .username("test-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7871,7 +8197,8 @@ public static Output getUserSshKey(GetUserSshKeyArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7893,14 +8220,15 @@ public static Output getUserSshKey(GetUserSshKeyArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUserSshKey(GetUserSshKeyArgs.builder()
-     *             .encoding("SSH")
-     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
-     *             .username("test-user")
+     *             .encoding("SSH")
+     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
+     *             .username("test-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7913,7 +8241,8 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7935,14 +8264,15 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUserSshKey(GetUserSshKeyArgs.builder()
-     *             .encoding("SSH")
-     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
-     *             .username("test-user")
+     *             .encoding("SSH")
+     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
+     *             .username("test-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7955,7 +8285,8 @@ public static Output getUserSshKey(GetUserSshKeyArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -7977,14 +8308,15 @@ public static Output getUserSshKey(GetUserSshKeyArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IamFunctions.getUserSshKey(GetUserSshKeyArgs.builder()
-     *             .encoding("SSH")
-     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
-     *             .username("test-user")
+     *             .encoding("SSH")
+     *             .sshPublicKeyId("APKARUZ32GUTKIGARLXE")
+     *             .username("test-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -7999,7 +8331,8 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS * ### All users in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8024,7 +8357,8 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by name regex @@ -8032,7 +8366,8 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS * Users whose username contains `abc` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8054,18 +8389,20 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8087,12 +8424,13 @@ public static CompletableFuture getUserSshKeyPlain(GetUserS
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8107,7 +8445,8 @@ public static Output getUsers() { * ### All users in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8132,7 +8471,8 @@ public static Output getUsers() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by name regex @@ -8140,7 +8480,8 @@ public static Output getUsers() { * Users whose username contains `abc` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8162,18 +8503,20 @@ public static Output getUsers() {
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8195,12 +8538,13 @@ public static Output getUsers() {
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8215,7 +8559,8 @@ public static CompletableFuture getUsersPlain() { * ### All users in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8240,7 +8585,8 @@ public static CompletableFuture getUsersPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by name regex @@ -8248,7 +8594,8 @@ public static CompletableFuture getUsersPlain() { * Users whose username contains `abc` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8270,18 +8617,20 @@ public static CompletableFuture getUsersPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8303,12 +8652,13 @@ public static CompletableFuture getUsersPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8323,7 +8673,8 @@ public static Output getUsers(GetUsersArgs args) { * ### All users in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8348,7 +8699,8 @@ public static Output getUsers(GetUsersArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by name regex @@ -8356,7 +8708,8 @@ public static Output getUsers(GetUsersArgs args) { * Users whose username contains `abc` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8378,18 +8731,20 @@ public static Output getUsers(GetUsersArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8411,12 +8766,13 @@ public static Output getUsers(GetUsersArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8431,7 +8787,8 @@ public static CompletableFuture getUsersPlain(GetUsersPlainArgs * ### All users in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8456,7 +8813,8 @@ public static CompletableFuture getUsersPlain(GetUsersPlainArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by name regex @@ -8464,7 +8822,8 @@ public static CompletableFuture getUsersPlain(GetUsersPlainArgs * Users whose username contains `abc` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8486,18 +8845,20 @@ public static CompletableFuture getUsersPlain(GetUsersPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8519,12 +8880,13 @@ public static CompletableFuture getUsersPlain(GetUsersPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -8539,7 +8901,8 @@ public static Output getUsers(GetUsersArgs args, InvokeOptions o * ### All users in an account * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8564,7 +8927,8 @@ public static Output getUsers(GetUsersArgs args, InvokeOptions o
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by name regex @@ -8572,7 +8936,8 @@ public static Output getUsers(GetUsersArgs args, InvokeOptions o * Users whose username contains `abc` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8594,18 +8959,20 @@ public static Output getUsers(GetUsersArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Users filtered by path prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -8627,12 +8994,13 @@ public static Output getUsers(GetUsersArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var users = IamFunctions.getUsers(GetUsersArgs.builder()
-     *             .pathPrefix("/custom-path")
+     *             .pathPrefix("/custom-path")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfile.java b/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfile.java index b41cd28279b..e116f6df1eb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfile.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,29 +51,30 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ec2.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ec2.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var role = new Role("role", RoleArgs.builder()        
- *             .name("test_role")
- *             .path("/")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var role = new Role("role", RoleArgs.builder()        
+ *             .name("test_role")
+ *             .path("/")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testProfile = new InstanceProfile("testProfile", InstanceProfileArgs.builder()        
- *             .name("test_profile")
+ *         var testProfile = new InstanceProfile("testProfile", InstanceProfileArgs.builder()        
+ *             .name("test_profile")
  *             .role(role.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -115,14 +117,14 @@ public Output createDate() { return this.createDate; } /** - * Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @return Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfileArgs.java b/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfileArgs.java index 77b0400b1e1..c9bd267fa06 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfileArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/InstanceProfileArgs.java @@ -17,14 +17,14 @@ public final class InstanceProfileArgs extends com.pulumi.resources.ResourceArgs public static final InstanceProfileArgs Empty = new InstanceProfileArgs(); /** - * Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * */ @Import(name="name") private @Nullable Output name; /** - * @return Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @return Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * */ public Optional> name() { @@ -120,7 +120,7 @@ public Builder(InstanceProfileArgs defaults) { } /** - * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * * @return builder * @@ -131,7 +131,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/OpenIdConnectProvider.java b/sdk/java/src/main/java/com/pulumi/aws/iam/OpenIdConnectProvider.java index a0c01b1422b..d84e23fe091 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/OpenIdConnectProvider.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/OpenIdConnectProvider.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new OpenIdConnectProvider("default", OpenIdConnectProviderArgs.builder()        
- *             .url("https://accounts.google.com")
- *             .clientIdLists("266362248691-342342xasdasdasda-apps.googleusercontent.com")
- *             .thumbprintLists("cf23df2207d99a74fbe169e3eba035e633b65d94")
+ *         var default_ = new OpenIdConnectProvider("default", OpenIdConnectProviderArgs.builder()        
+ *             .url("https://accounts.google.com")
+ *             .clientIdLists("266362248691-342342xasdasdasda-apps.googleusercontent.com")
+ *             .thumbprintLists("cf23df2207d99a74fbe169e3eba035e633b65d94")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/iam/Policy.java index 3fe64af6d73..0585241da4b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/Policy.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var policy = new Policy("policy", PolicyArgs.builder()        
- *             .name("test_policy")
- *             .path("/")
- *             .description("My test policy")
+ *         var policy = new Policy("policy", PolicyArgs.builder()        
+ *             .name("test_policy")
+ *             .path("/")
+ *             .description("My test policy")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/PolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/iam/PolicyAttachment.java index a3afca270fc..33a33f2e9f1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/PolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/PolicyAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,46 +51,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var user = new User("user", UserArgs.builder()        
- *             .name("test-user")
+ *         var user = new User("user", UserArgs.builder()        
+ *             .name("test-user")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ec2.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ec2.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var role = new Role("role", RoleArgs.builder()        
- *             .name("test-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var role = new Role("role", RoleArgs.builder()        
+ *             .name("test-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var group = new Group("group", GroupArgs.builder()        
- *             .name("test-group")
+ *         var group = new Group("group", GroupArgs.builder()        
+ *             .name("test-group")
  *             .build());
  * 
  *         final var policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("ec2:Describe*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("ec2:Describe*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var policyPolicy = new Policy("policyPolicy", PolicyArgs.builder()        
- *             .name("test-policy")
- *             .description("A test policy")
- *             .policy(policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var policyPolicy = new Policy("policyPolicy", PolicyArgs.builder()        
+ *             .name("test-policy")
+ *             .description("A test policy")
+ *             .policy(policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var test_attach = new PolicyAttachment("test-attach", PolicyAttachmentArgs.builder()        
- *             .name("test-attachment")
+ *         var test_attach = new PolicyAttachment("test-attach", PolicyAttachmentArgs.builder()        
+ *             .name("test-attachment")
  *             .users(user.name())
  *             .roles(role.name())
  *             .groups(group.name())
@@ -98,7 +99,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/Role.java b/sdk/java/src/main/java/com/pulumi/aws/iam/Role.java index b6955e5a5d5..e3fc265fe2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/Role.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/Role.java @@ -33,7 +33,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,32 +56,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .name("test_role")
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .name("test_role")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "ec2.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "ec2.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
- *             .tags(Map.of("tag-key", "tag-value"))
+ *             .tags(Map.of("tag-key", "tag-value"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example of Using Data Source for Assume Role Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -105,23 +108,24 @@
  *     public static void stack(Context ctx) {
  *         final var instanceAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ec2.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ec2.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var instance = new Role("instance", RoleArgs.builder()        
- *             .name("instance_role")
- *             .path("/system/")
- *             .assumeRolePolicy(instanceAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var instance = new Role("instance", RoleArgs.builder()        
+ *             .name("instance_role")
+ *             .path("/system/")
+ *             .assumeRolePolicy(instanceAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example of Exclusive Inline Policies @@ -129,7 +133,8 @@ * This example creates an IAM role with two inline IAM policies. If someone adds another inline policy out-of-band, on the next apply, this provider will remove that policy. If someone deletes these policies out-of-band, this provider will recreate them. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -156,36 +161,37 @@
  *     public static void stack(Context ctx) {
  *         final var inlinePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("ec2:DescribeAccountAttributes")
- *                 .resources("*")
+ *                 .actions("ec2:DescribeAccountAttributes")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("yak_role")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("yak_role")
  *             .assumeRolePolicy(instanceAssumeRolePolicy.json())
  *             .inlinePolicies(            
  *                 RoleInlinePolicyArgs.builder()
- *                     .name("my_inline_policy")
+ *                     .name("my_inline_policy")
  *                     .policy(serializeJson(
  *                         jsonObject(
- *                             jsonProperty("Version", "2012-10-17"),
- *                             jsonProperty("Statement", jsonArray(jsonObject(
- *                                 jsonProperty("Action", jsonArray("ec2:Describe*")),
- *                                 jsonProperty("Effect", "Allow"),
- *                                 jsonProperty("Resource", "*")
+ *                             jsonProperty("Version", "2012-10-17"),
+ *                             jsonProperty("Statement", jsonArray(jsonObject(
+ *                                 jsonProperty("Action", jsonArray("ec2:Describe*")),
+ *                                 jsonProperty("Effect", "Allow"),
+ *                                 jsonProperty("Resource", "*")
  *                             )))
  *                         )))
  *                     .build(),
  *                 RoleInlinePolicyArgs.builder()
- *                     .name("policy-8675309")
- *                     .policy(inlinePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *                     .name("policy-8675309")
+ *                     .policy(inlinePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example of Removing Inline Policies @@ -193,7 +199,8 @@ * This example creates an IAM role with what appears to be empty IAM `inline_policy` argument instead of using `inline_policy` as a configuration block. The result is that if someone were to add an inline policy out-of-band, on the next apply, this provider will remove that policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -215,15 +222,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
+ *         var example = new Role("example", RoleArgs.builder()        
  *             .inlinePolicies()
- *             .name("yak_role")
+ *             .name("yak_role")
  *             .assumeRolePolicy(instanceAssumeRolePolicy.json())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example of Exclusive Managed Policies @@ -231,7 +239,8 @@ * This example creates an IAM role and attaches two managed IAM policies. If someone attaches another managed policy out-of-band, on the next apply, this provider will detach that policy. If someone detaches these policies out-of-band, this provider will attach them again. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -255,38 +264,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var policyOne = new Policy("policyOne", PolicyArgs.builder()        
- *             .name("policy-618033")
+ *         var policyOne = new Policy("policyOne", PolicyArgs.builder()        
+ *             .name("policy-618033")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var policyTwo = new Policy("policyTwo", PolicyArgs.builder()        
- *             .name("policy-381966")
+ *         var policyTwo = new Policy("policyTwo", PolicyArgs.builder()        
+ *             .name("policy-381966")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray(
- *                             "s3:ListAllMyBuckets", 
- *                             "s3:ListBucket", 
- *                             "s3:HeadBucket"
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray(
+ *                             "s3:ListAllMyBuckets", 
+ *                             "s3:ListBucket", 
+ *                             "s3:HeadBucket"
  *                         )),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("yak_role")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("yak_role")
  *             .assumeRolePolicy(instanceAssumeRolePolicy.json())
  *             .managedPolicyArns(            
  *                 policyOne.arn(),
@@ -295,7 +304,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example of Removing Managed Policies @@ -303,7 +313,8 @@ * This example creates an IAM role with an empty `managed_policy_arns` argument. If someone attaches a policy out-of-band, on the next apply, this provider will detach that policy. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -324,15 +335,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
- *             .name("yak_role")
+ *         var example = new Role("example", RoleArgs.builder()        
+ *             .name("yak_role")
  *             .assumeRolePolicy(instanceAssumeRolePolicy.json())
  *             .managedPolicyArns()
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicy.java index 51f014f64ea..9718f4aa9c7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,39 +48,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .name("test_role")
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .name("test_role")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "ec2.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "ec2.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var testPolicy = new RolePolicy("testPolicy", RolePolicyArgs.builder()        
- *             .name("test_policy")
+ *         var testPolicy = new RolePolicy("testPolicy", RolePolicyArgs.builder()        
+ *             .name("test_policy")
  *             .role(testRole.id())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicyAttachment.java index cd818a04287..224ea35331e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/RolePolicyAttachment.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,42 +53,43 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ec2.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ec2.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var role = new Role("role", RoleArgs.builder()        
- *             .name("test-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var role = new Role("role", RoleArgs.builder()        
+ *             .name("test-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("ec2:Describe*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("ec2:Describe*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var policyPolicy = new Policy("policyPolicy", PolicyArgs.builder()        
- *             .name("test-policy")
- *             .description("A test policy")
- *             .policy(policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var policyPolicy = new Policy("policyPolicy", PolicyArgs.builder()        
+ *             .name("test-policy")
+ *             .description("A test policy")
+ *             .policy(policy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var test_attach = new RolePolicyAttachment("test-attach", RolePolicyAttachmentArgs.builder()        
+ *         var test_attach = new RolePolicyAttachment("test-attach", RolePolicyAttachmentArgs.builder()        
  *             .role(role.name())
  *             .policyArn(policyPolicy.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/SamlProvider.java b/sdk/java/src/main/java/com/pulumi/aws/iam/SamlProvider.java index 48092484aaf..0e9670c65ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/SamlProvider.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/SamlProvider.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new SamlProvider("default", SamlProviderArgs.builder()        
- *             .name("myprovider")
+ *         var default_ = new SamlProvider("default", SamlProviderArgs.builder()        
+ *             .name("myprovider")
  *             .samlMetadataDocument(StdFunctions.file(FileArgs.builder()
- *                 .input("saml-metadata.xml")
+ *                 .input("saml-metadata.xml")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/SecurityTokenServicePreferences.java b/sdk/java/src/main/java/com/pulumi/aws/iam/SecurityTokenServicePreferences.java index 9f0fe41f1be..c29eaf85146 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/SecurityTokenServicePreferences.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/SecurityTokenServicePreferences.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,13 +41,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityTokenServicePreferences("example", SecurityTokenServicePreferencesArgs.builder()        
- *             .globalEndpointTokenVersion("v2Token")
+ *         var example = new SecurityTokenServicePreferences("example", SecurityTokenServicePreferencesArgs.builder()        
+ *             .globalEndpointTokenVersion("v2Token")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/ServerCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/iam/ServerCertificate.java index 1d2385fa186..f09a301eb2e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/ServerCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/ServerCertificate.java @@ -33,7 +33,8 @@ * **Using certs on file:** * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,25 +55,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCert = new ServerCertificate("testCert", ServerCertificateArgs.builder()        
- *             .name("some_test_cert")
+ *         var testCert = new ServerCertificate("testCert", ServerCertificateArgs.builder()        
+ *             .name("some_test_cert")
  *             .certificateBody(StdFunctions.file(FileArgs.builder()
- *                 .input("self-ca-cert.pem")
+ *                 .input("self-ca-cert.pem")
  *                 .build()).result())
  *             .privateKey(StdFunctions.file(FileArgs.builder()
- *                 .input("test-key.pem")
+ *                 .input("test-key.pem")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * **Example with cert in-line:** * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,23 +96,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCertAlt = new ServerCertificate("testCertAlt", ServerCertificateArgs.builder()        
- *             .name("alt_test_cert")
- *             .certificateBody("""
+ *         var testCertAlt = new ServerCertificate("testCertAlt", ServerCertificateArgs.builder()        
+ *             .name("alt_test_cert")
+ *             .certificateBody("""
  * -----BEGIN CERTIFICATE-----
  * [......] # cert contents
  * -----END CERTIFICATE-----
- *             """)
- *             .privateKey("""
+ *             """)
+ *             .privateKey("""
  * -----BEGIN RSA PRIVATE KEY-----
  * [......] # cert contents
  * -----END RSA PRIVATE KEY-----
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * **Use in combination with an AWS ELB resource:** diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceLinkedRole.java b/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceLinkedRole.java index d1f2a36f98a..fc36117d406 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceLinkedRole.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceLinkedRole.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var elasticbeanstalk = new ServiceLinkedRole("elasticbeanstalk", ServiceLinkedRoleArgs.builder()        
- *             .awsServiceName("elasticbeanstalk.amazonaws.com")
+ *         var elasticbeanstalk = new ServiceLinkedRole("elasticbeanstalk", ServiceLinkedRoleArgs.builder()        
+ *             .awsServiceName("elasticbeanstalk.amazonaws.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceSpecificCredential.java b/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceSpecificCredential.java index 6b3c5267216..425ce0327da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceSpecificCredential.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/ServiceSpecificCredential.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
- *             .name("example")
+ *         var example = new User("example", UserArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleServiceSpecificCredential = new ServiceSpecificCredential("exampleServiceSpecificCredential", ServiceSpecificCredentialArgs.builder()        
- *             .serviceName("codecommit.amazonaws.com")
+ *         var exampleServiceSpecificCredential = new ServiceSpecificCredential("exampleServiceSpecificCredential", ServiceSpecificCredentialArgs.builder()        
+ *             .serviceName("codecommit.amazonaws.com")
  *             .userName(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/SigningCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/iam/SigningCertificate.java index 932ce48d0cf..9290556f1e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/SigningCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/SigningCertificate.java @@ -23,7 +23,8 @@ * **Using certs on file:** * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCert = new SigningCertificate("testCert", SigningCertificateArgs.builder()        
- *             .username("some_test_cert")
+ *         var testCert = new SigningCertificate("testCert", SigningCertificateArgs.builder()        
+ *             .username("some_test_cert")
  *             .certificateBody(StdFunctions.file(FileArgs.builder()
- *                 .input("self-ca-cert.pem")
+ *                 .input("self-ca-cert.pem")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * **Example with cert in-line:** * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,18 +83,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCertAlt = new SigningCertificate("testCertAlt", SigningCertificateArgs.builder()        
- *             .username("some_test_cert")
- *             .certificateBody("""
+ *         var testCertAlt = new SigningCertificate("testCertAlt", SigningCertificateArgs.builder()        
+ *             .username("some_test_cert")
+ *             .certificateBody("""
  * -----BEGIN CERTIFICATE-----
  * [......] # cert contents
  * -----END CERTIFICATE-----
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/SshKey.java b/sdk/java/src/main/java/com/pulumi/aws/iam/SshKey.java index 23bc355ff2a..d052818dd5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/SshKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/SshKey.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,20 +43,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var user = new User("user", UserArgs.builder()        
- *             .name("test-user")
- *             .path("/")
+ *         var user = new User("user", UserArgs.builder()        
+ *             .name("test-user")
+ *             .path("/")
  *             .build());
  * 
- *         var userSshKey = new SshKey("userSshKey", SshKeyArgs.builder()        
+ *         var userSshKey = new SshKey("userSshKey", SshKeyArgs.builder()        
  *             .username(user.name())
- *             .encoding("SSH")
- *             .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 mytest@mydomain.com")
+ *             .encoding("SSH")
+ *             .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 mytest{@literal @}mydomain.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/User.java b/sdk/java/src/main/java/com/pulumi/aws/iam/User.java index c0729089dde..28a4f65681f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/User.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,33 +52,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new User("lb", UserArgs.builder()        
- *             .name("loadbalancer")
- *             .path("/system/")
- *             .tags(Map.of("tag-key", "tag-value"))
+ *         var lb = new User("lb", UserArgs.builder()        
+ *             .name("loadbalancer")
+ *             .path("/system/")
+ *             .tags(Map.of("tag-key", "tag-value"))
  *             .build());
  * 
- *         var lbAccessKey = new AccessKey("lbAccessKey", AccessKeyArgs.builder()        
+ *         var lbAccessKey = new AccessKey("lbAccessKey", AccessKeyArgs.builder()        
  *             .user(lb.name())
  *             .build());
  * 
  *         final var lbRo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("ec2:Describe*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("ec2:Describe*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var lbRoUserPolicy = new UserPolicy("lbRoUserPolicy", UserPolicyArgs.builder()        
- *             .name("test")
+ *         var lbRoUserPolicy = new UserPolicy("lbRoUserPolicy", UserPolicyArgs.builder()        
+ *             .name("test")
  *             .user(lb.name())
- *             .policy(lbRo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(lbRo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -124,14 +126,14 @@ public Output> forceDestroy() { return Codegen.optional(this.forceDestroy); } /** - * The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @return The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/UserArgs.java b/sdk/java/src/main/java/com/pulumi/aws/iam/UserArgs.java index f8655c03888..3f756f46a06 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/UserArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/UserArgs.java @@ -37,14 +37,14 @@ public Optional> forceDestroy() { } /** - * The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * */ @Import(name="name") private @Nullable Output name; /** - * @return The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @return The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * */ public Optional> name() { @@ -150,7 +150,7 @@ public Builder forceDestroy(Boolean forceDestroy) { } /** - * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * * @return builder * @@ -161,7 +161,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/UserGroupMembership.java b/sdk/java/src/main/java/com/pulumi/aws/iam/UserGroupMembership.java index a89e43a8536..c19c5932c75 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/UserGroupMembership.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/UserGroupMembership.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,37 +51,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var user1 = new User("user1", UserArgs.builder()        
- *             .name("user1")
+ *         var user1 = new User("user1", UserArgs.builder()        
+ *             .name("user1")
  *             .build());
  * 
- *         var group1 = new Group("group1", GroupArgs.builder()        
- *             .name("group1")
+ *         var group1 = new Group("group1", GroupArgs.builder()        
+ *             .name("group1")
  *             .build());
  * 
- *         var group2 = new Group("group2", GroupArgs.builder()        
- *             .name("group2")
+ *         var group2 = new Group("group2", GroupArgs.builder()        
+ *             .name("group2")
  *             .build());
  * 
- *         var example1 = new UserGroupMembership("example1", UserGroupMembershipArgs.builder()        
+ *         var example1 = new UserGroupMembership("example1", UserGroupMembershipArgs.builder()        
  *             .user(user1.name())
  *             .groups(            
  *                 group1.name(),
  *                 group2.name())
  *             .build());
  * 
- *         var group3 = new Group("group3", GroupArgs.builder()        
- *             .name("group3")
+ *         var group3 = new Group("group3", GroupArgs.builder()        
+ *             .name("group3")
  *             .build());
  * 
- *         var example2 = new UserGroupMembership("example2", UserGroupMembershipArgs.builder()        
+ *         var example2 = new UserGroupMembership("example2", UserGroupMembershipArgs.builder()        
  *             .user(user1.name())
  *             .groups(group3.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/UserLoginProfile.java b/sdk/java/src/main/java/com/pulumi/aws/iam/UserLoginProfile.java index 52349be1c91..01533e79b5a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/UserLoginProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/UserLoginProfile.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
- *             .name("example")
- *             .path("/")
+ *         var example = new User("example", UserArgs.builder()        
+ *             .name("example")
+ *             .path("/")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var exampleUserLoginProfile = new UserLoginProfile("exampleUserLoginProfile", UserLoginProfileArgs.builder()        
+ *         var exampleUserLoginProfile = new UserLoginProfile("exampleUserLoginProfile", UserLoginProfileArgs.builder()        
  *             .user(example.name())
- *             .pgpKey("keybase:some_person_that_exists")
+ *             .pgpKey("keybase:some_person_that_exists")
  *             .build());
  * 
- *         ctx.export("password", exampleUserLoginProfile.encryptedPassword());
+ *         ctx.export("password", exampleUserLoginProfile.encryptedPassword());
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicy.java index 2af87e0c9f8..27073061d45 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,32 +48,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new User("lb", UserArgs.builder()        
- *             .name("loadbalancer")
- *             .path("/system/")
+ *         var lb = new User("lb", UserArgs.builder()        
+ *             .name("loadbalancer")
+ *             .path("/system/")
  *             .build());
  * 
- *         var lbRo = new UserPolicy("lbRo", UserPolicyArgs.builder()        
- *             .name("test")
+ *         var lbRo = new UserPolicy("lbRo", UserPolicyArgs.builder()        
+ *             .name("test")
  *             .user(lb.name())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray("ec2:Describe*")),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var lbAccessKey = new AccessKey("lbAccessKey", AccessKeyArgs.builder()        
+ *         var lbAccessKey = new AccessKey("lbAccessKey", AccessKeyArgs.builder()        
  *             .user(lb.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicyAttachment.java index e27df17bc10..8b347e4acc5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/UserPolicyAttachment.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var user = new User("user", UserArgs.builder()        
- *             .name("test-user")
+ *         var user = new User("user", UserArgs.builder()        
+ *             .name("test-user")
  *             .build());
  * 
- *         var policy = new Policy("policy", PolicyArgs.builder()        
- *             .name("test-policy")
- *             .description("A test policy")
- *             .policy("{ ... policy JSON ... }")
+ *         var policy = new Policy("policy", PolicyArgs.builder()        
+ *             .name("test-policy")
+ *             .description("A test policy")
+ *             .policy("{ ... policy JSON ... }")
  *             .build());
  * 
- *         var test_attach = new UserPolicyAttachment("test-attach", UserPolicyAttachmentArgs.builder()        
+ *         var test_attach = new UserPolicyAttachment("test-attach", UserPolicyAttachmentArgs.builder()        
  *             .user(user.name())
  *             .policyArn(policy.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/VirtualMfaDevice.java b/sdk/java/src/main/java/com/pulumi/aws/iam/VirtualMfaDevice.java index 6e4ec7b7123..da137c763b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/VirtualMfaDevice.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/VirtualMfaDevice.java @@ -28,7 +28,8 @@ * **Using certs on file:** * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,13 +50,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VirtualMfaDevice("example", VirtualMfaDeviceArgs.builder()        
- *             .virtualMfaDeviceName("example")
+ *         var example = new VirtualMfaDevice("example", VirtualMfaDeviceArgs.builder()        
+ *             .virtualMfaDeviceName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -126,14 +128,14 @@ public Output> path() { return Codegen.optional(this.path); } /** - * A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. + * A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName{@literal @}$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. * */ @Export(name="qrCodePng", refs={String.class}, tree="[0]") private Output qrCodePng; /** - * @return A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. + * @return A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName{@literal @}$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. * */ public Output qrCodePng() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/GroupState.java b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/GroupState.java index 83a9ee088dc..2fbeaf1ef76 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/GroupState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/GroupState.java @@ -31,14 +31,14 @@ public Optional> arn() { } /** - * The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * */ @Import(name="name") private @Nullable Output name; /** - * @return The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @return The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * */ public Optional> name() { @@ -124,7 +124,7 @@ public Builder arn(String arn) { } /** - * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * * @return builder * @@ -135,7 +135,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". + * @param name The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/InstanceProfileState.java b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/InstanceProfileState.java index cbcfe70f36a..57d88922020 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/InstanceProfileState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/InstanceProfileState.java @@ -47,14 +47,14 @@ public Optional> createDate() { } /** - * Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * */ @Import(name="name") private @Nullable Output name; /** - * @return Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @return Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * */ public Optional> name() { @@ -234,7 +234,7 @@ public Builder createDate(String createDate) { } /** - * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * * @return builder * @@ -245,7 +245,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. + * @param name Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `{@literal @}`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/UserState.java b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/UserState.java index 997544903b9..88540374ed4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/UserState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/UserState.java @@ -52,14 +52,14 @@ public Optional> forceDestroy() { } /** - * The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * */ @Import(name="name") private @Nullable Output name; /** - * @return The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @return The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * */ public Optional> name() { @@ -227,7 +227,7 @@ public Builder forceDestroy(Boolean forceDestroy) { } /** - * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * * @return builder * @@ -238,7 +238,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". + * @param name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.{@literal @}-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/VirtualMfaDeviceState.java b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/VirtualMfaDeviceState.java index d4968dc50ff..4046fe6287a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/VirtualMfaDeviceState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iam/inputs/VirtualMfaDeviceState.java @@ -77,14 +77,14 @@ public Optional> path() { } /** - * A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. + * A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName{@literal @}$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. * */ @Import(name="qrCodePng") private @Nullable Output qrCodePng; /** - * @return A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. + * @return A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName{@literal @}$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. * */ public Optional> qrCodePng() { @@ -276,7 +276,7 @@ public Builder path(String path) { } /** - * @param qrCodePng A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. + * @param qrCodePng A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName{@literal @}$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. * * @return builder * @@ -287,7 +287,7 @@ public Builder qrCodePng(@Nullable Output qrCodePng) { } /** - * @param qrCodePng A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. + * @param qrCodePng A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName{@literal @}$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID), and Base32String is the seed in base32 format. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/identitystore/IdentitystoreFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/identitystore/IdentitystoreFunctions.java index 0b32cb87f6d..297afc7174c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/identitystore/IdentitystoreFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/identitystore/IdentitystoreFunctions.java @@ -56,7 +56,8 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -81,12 +82,13 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      *         final var example = SsoadminFunctions.getInstances();
      * 
      *         final var exampleGetGroups = IdentitystoreFunctions.getGroups(GetGroupsArgs.builder()
-     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
+     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -101,7 +103,8 @@ public static Output getGroups(GetGroupsArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -126,12 +129,13 @@ public static Output getGroups(GetGroupsArgs args) {
      *         final var example = SsoadminFunctions.getInstances();
      * 
      *         final var exampleGetGroups = IdentitystoreFunctions.getGroups(GetGroupsArgs.builder()
-     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
+     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +150,8 @@ public static CompletableFuture getGroupsPlain(GetGroupsPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,12 +176,13 @@ public static CompletableFuture getGroupsPlain(GetGroupsPlainAr
      *         final var example = SsoadminFunctions.getInstances();
      * 
      *         final var exampleGetGroups = IdentitystoreFunctions.getGroups(GetGroupsArgs.builder()
-     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
+     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -191,7 +197,8 @@ public static Output getGroups(GetGroupsArgs args, InvokeOption * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -216,12 +223,13 @@ public static Output getGroups(GetGroupsArgs args, InvokeOption
      *         final var example = SsoadminFunctions.getInstances();
      * 
      *         final var exampleGetGroups = IdentitystoreFunctions.getGroups(GetGroupsArgs.builder()
-     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
+     *             .identityStoreId(example.applyValue(getInstancesResult -> getInstancesResult.identityStoreIds()[0]))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Component.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Component.java index aab7b5ead25..3ab2bd47513 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Component.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Component.java @@ -25,7 +25,8 @@ * ### URI Document * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Component("example", ComponentArgs.builder()        
- *             .name("example")
- *             .platform("Linux")
- *             .uri(String.format("s3://%s/%s", exampleAwsS3Object.bucket(),exampleAwsS3Object.key()))
- *             .version("1.0.0")
+ *         var example = new Component("example", ComponentArgs.builder()        
+ *             .name("example")
+ *             .platform("Linux")
+ *             .uri(String.format("s3://%s/%s", exampleAwsS3Object.bucket(),exampleAwsS3Object.key()))
+ *             .version("1.0.0")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ContainerRecipe.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ContainerRecipe.java index ca451d81ce0..955c9d327ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ContainerRecipe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ContainerRecipe.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,37 +50,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContainerRecipe("example", ContainerRecipeArgs.builder()        
- *             .name("example")
- *             .version("1.0.0")
- *             .containerType("DOCKER")
- *             .parentImage("arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x")
+ *         var example = new ContainerRecipe("example", ContainerRecipeArgs.builder()        
+ *             .name("example")
+ *             .version("1.0.0")
+ *             .containerType("DOCKER")
+ *             .parentImage("arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x")
  *             .targetRepository(ContainerRecipeTargetRepositoryArgs.builder()
  *                 .repositoryName(exampleAwsEcrRepository.name())
- *                 .service("ECR")
+ *                 .service("ECR")
  *                 .build())
  *             .components(ContainerRecipeComponentArgs.builder()
  *                 .componentArn(exampleAwsImagebuilderComponent.arn())
  *                 .parameters(                
  *                     ContainerRecipeComponentParameterArgs.builder()
- *                         .name("Parameter1")
- *                         .value("Value1")
+ *                         .name("Parameter1")
+ *                         .value("Value1")
  *                         .build(),
  *                     ContainerRecipeComponentParameterArgs.builder()
- *                         .name("Parameter2")
- *                         .value("Value2")
+ *                         .name("Parameter2")
+ *                         .value("Value2")
  *                         .build())
  *                 .build())
- *             .dockerfileTemplateData("""
+ *             .dockerfileTemplateData("""
  * FROM {{{ imagebuilder:parentImage }}}
  * {{{ imagebuilder:environments }}}
  * {{{ imagebuilder:components }}}
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/DistributionConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/DistributionConfiguration.java index 2ea3602df52..23ea3e22c82 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/DistributionConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/DistributionConfiguration.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,26 +48,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DistributionConfiguration("example", DistributionConfigurationArgs.builder()        
- *             .name("example")
+ *         var example = new DistributionConfiguration("example", DistributionConfigurationArgs.builder()        
+ *             .name("example")
  *             .distributions(DistributionConfigurationDistributionArgs.builder()
  *                 .amiDistributionConfiguration(DistributionConfigurationDistributionAmiDistributionConfigurationArgs.builder()
- *                     .amiTags(Map.of("CostCenter", "IT"))
- *                     .name("example-{{ imagebuilder:buildDate }}")
+ *                     .amiTags(Map.of("CostCenter", "IT"))
+ *                     .name("example-{{ imagebuilder:buildDate }}")
  *                     .launchPermission(DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs.builder()
- *                         .userIds("123456789012")
+ *                         .userIds("123456789012")
  *                         .build())
  *                     .build())
  *                 .launchTemplateConfigurations(DistributionConfigurationDistributionLaunchTemplateConfigurationArgs.builder()
- *                     .launchTemplateId("lt-0aaa1bcde2ff3456")
+ *                     .launchTemplateId("lt-0aaa1bcde2ff3456")
  *                     .build())
- *                 .region("us-east-1")
+ *                 .region("us-east-1")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Image.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Image.java index 28d9c2550e3..f32486ec114 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Image.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Image.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,7 +49,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Image("example", ImageArgs.builder()        
+ *         var example = new Image("example", ImageArgs.builder()        
  *             .distributionConfigurationArn(exampleAwsImagebuilderDistributionConfiguration.arn())
  *             .imageRecipeArn(exampleAwsImagebuilderImageRecipe.arn())
  *             .infrastructureConfigurationArn(exampleAwsImagebuilderInfrastructureConfiguration.arn())
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagePipeline.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagePipeline.java index 05e2bbf4d93..90cbbbbce4d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagePipeline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagePipeline.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ImagePipeline("example", ImagePipelineArgs.builder()        
+ *         var example = new ImagePipeline("example", ImagePipelineArgs.builder()        
  *             .imageRecipeArn(exampleAwsImagebuilderImageRecipe.arn())
  *             .infrastructureConfigurationArn(exampleAwsImagebuilderInfrastructureConfiguration.arn())
- *             .name("example")
+ *             .name("example")
  *             .schedule(ImagePipelineScheduleArgs.builder()
- *                 .scheduleExpression("cron(0 0 * * ? *)")
+ *                 .scheduleExpression("cron(0 0 * * ? *)")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImageRecipe.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImageRecipe.java index 444243146b9..e813bda7ba3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImageRecipe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImageRecipe.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,35 +50,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ImageRecipe("example", ImageRecipeArgs.builder()        
+ *         var example = new ImageRecipe("example", ImageRecipeArgs.builder()        
  *             .blockDeviceMappings(ImageRecipeBlockDeviceMappingArgs.builder()
- *                 .deviceName("/dev/xvdb")
+ *                 .deviceName("/dev/xvdb")
  *                 .ebs(ImageRecipeBlockDeviceMappingEbsArgs.builder()
  *                     .deleteOnTermination(true)
  *                     .volumeSize(100)
- *                     .volumeType("gp2")
+ *                     .volumeType("gp2")
  *                     .build())
  *                 .build())
  *             .components(ImageRecipeComponentArgs.builder()
  *                 .componentArn(exampleAwsImagebuilderComponent.arn())
  *                 .parameters(                
  *                     ImageRecipeComponentParameterArgs.builder()
- *                         .name("Parameter1")
- *                         .value("Value1")
+ *                         .name("Parameter1")
+ *                         .value("Value1")
  *                         .build(),
  *                     ImageRecipeComponentParameterArgs.builder()
- *                         .name("Parameter2")
- *                         .value("Value2")
+ *                         .name("Parameter2")
+ *                         .value("Value2")
  *                         .build())
  *                 .build())
- *             .name("example")
- *             .parentImage(String.format("arn:%s:imagebuilder:%s:aws:image/amazon-linux-2-x86/x.x.x", current.partition(),currentAwsRegion.name()))
- *             .version("1.0.0")
+ *             .name("example")
+ *             .parentImage(String.format("arn:%s:imagebuilder:%s:aws:image/amazon-linux-2-x86/x.x.x", current.partition(),currentAwsRegion.name()))
+ *             .version("1.0.0")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagebuilderFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagebuilderFunctions.java index 099f072ade6..5ed16323d32 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagebuilderFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/ImagebuilderFunctions.java @@ -56,7 +56,8 @@ public final class ImagebuilderFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -78,12 +79,13 @@ public final class ImagebuilderFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -96,7 +98,8 @@ public static Output getComponent(GetComponentArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -118,12 +121,13 @@ public static Output getComponent(GetComponentArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -136,7 +140,8 @@ public static CompletableFuture getComponentPlain(GetCompone * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -158,12 +163,13 @@ public static CompletableFuture getComponentPlain(GetCompone
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -176,7 +182,8 @@ public static Output getComponent(GetComponentArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -198,12 +205,13 @@ public static Output getComponent(GetComponentArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponent(GetComponentArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -216,7 +224,8 @@ public static CompletableFuture getComponentPlain(GetCompone * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -238,16 +247,17 @@ public static CompletableFuture getComponentPlain(GetCompone
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetComponentsFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -260,7 +270,8 @@ public static Output getComponents() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -282,16 +293,17 @@ public static Output getComponents() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetComponentsFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -304,7 +316,8 @@ public static CompletableFuture getComponentsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -326,16 +339,17 @@ public static CompletableFuture getComponentsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetComponentsFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -348,7 +362,8 @@ public static Output getComponents(GetComponentsArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -370,16 +385,17 @@ public static Output getComponents(GetComponentsArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetComponentsFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -392,7 +408,8 @@ public static CompletableFuture getComponentsPlain(GetCompo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,16 +431,17 @@ public static CompletableFuture getComponentsPlain(GetCompo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetComponentsFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +454,8 @@ public static Output getComponents(GetComponentsArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,16 +477,17 @@ public static Output getComponents(GetComponentsArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getComponents(GetComponentsArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetComponentsFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -480,7 +500,8 @@ public static CompletableFuture getComponentsPlain(GetCompo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -502,12 +523,13 @@ public static CompletableFuture getComponentsPlain(GetCompo
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -520,7 +542,8 @@ public static Output getContainerRecipe(GetContainerRe * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -542,12 +565,13 @@ public static Output getContainerRecipe(GetContainerRe
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -560,7 +584,8 @@ public static CompletableFuture getContainerRecipePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -582,12 +607,13 @@ public static CompletableFuture getContainerRecipePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -600,7 +626,8 @@ public static Output getContainerRecipe(GetContainerRe * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -622,12 +649,13 @@ public static Output getContainerRecipe(GetContainerRe
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipe(GetContainerRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:container-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -640,7 +668,8 @@ public static CompletableFuture getContainerRecipePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -662,16 +691,17 @@ public static CompletableFuture getContainerRecipePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetContainerRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -684,7 +714,8 @@ public static Output getContainerRecipes() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -706,16 +737,17 @@ public static Output getContainerRecipes() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetContainerRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -728,7 +760,8 @@ public static CompletableFuture getContainerRecipesPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -750,16 +783,17 @@ public static CompletableFuture getContainerRecipesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetContainerRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -772,7 +806,8 @@ public static Output getContainerRecipes(GetContainer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -794,16 +829,17 @@ public static Output getContainerRecipes(GetContainer
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetContainerRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -816,7 +852,8 @@ public static CompletableFuture getContainerRecipesPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -838,16 +875,17 @@ public static CompletableFuture getContainerRecipesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetContainerRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -860,7 +898,8 @@ public static Output getContainerRecipes(GetContainer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -882,16 +921,17 @@ public static Output getContainerRecipes(GetContainer
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getContainerRecipes(GetContainerRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetContainerRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -904,7 +944,8 @@ public static CompletableFuture getContainerRecipesPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -926,12 +967,13 @@ public static CompletableFuture getContainerRecipesPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -944,7 +986,8 @@ public static Output getDistributionConfigur * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -966,12 +1009,13 @@ public static Output getDistributionConfigur
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -984,7 +1028,8 @@ public static CompletableFuture getDistribut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1006,12 +1051,13 @@ public static CompletableFuture getDistribut
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1024,7 +1070,8 @@ public static Output getDistributionConfigur * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1046,12 +1093,13 @@ public static Output getDistributionConfigur
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfiguration(GetDistributionConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1064,7 +1112,8 @@ public static CompletableFuture getDistribut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1087,14 +1136,15 @@ public static CompletableFuture getDistribut
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
      *             .filters(GetDistributionConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1107,7 +1157,8 @@ public static Output getDistributionConfigu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1130,14 +1181,15 @@ public static Output getDistributionConfigu
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
      *             .filters(GetDistributionConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1150,7 +1202,8 @@ public static CompletableFuture getDistribu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1173,14 +1226,15 @@ public static CompletableFuture getDistribu
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
      *             .filters(GetDistributionConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1193,7 +1247,8 @@ public static Output getDistributionConfigu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1216,14 +1271,15 @@ public static Output getDistributionConfigu
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
      *             .filters(GetDistributionConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1236,7 +1292,8 @@ public static CompletableFuture getDistribu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1259,14 +1316,15 @@ public static CompletableFuture getDistribu
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
      *             .filters(GetDistributionConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1279,7 +1337,8 @@ public static Output getDistributionConfigu * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1302,14 +1361,15 @@ public static Output getDistributionConfigu
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getDistributionConfigurations(GetDistributionConfigurationsArgs.builder()
      *             .filters(GetDistributionConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1324,7 +1384,8 @@ public static CompletableFuture getDistribu * ### Latest * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1346,12 +1407,13 @@ public static CompletableFuture getDistribu
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImage(GetImageArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1366,7 +1428,8 @@ public static Output getImage(GetImageArgs args) { * ### Latest * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1388,12 +1451,13 @@ public static Output getImage(GetImageArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImage(GetImageArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1408,7 +1472,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ### Latest * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1430,12 +1495,13 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImage(GetImageArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1450,7 +1516,8 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * ### Latest * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1472,12 +1539,13 @@ public static Output getImage(GetImageArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImage(GetImageArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/x.x.x")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1490,7 +1558,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1512,12 +1581,13 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1530,7 +1600,8 @@ public static Output getImagePipeline(GetImagePipelineAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1552,12 +1623,13 @@ public static Output getImagePipeline(GetImagePipelineAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1570,7 +1642,8 @@ public static CompletableFuture getImagePipelinePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1592,12 +1665,13 @@ public static CompletableFuture getImagePipelinePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1610,7 +1684,8 @@ public static Output getImagePipeline(GetImagePipelineAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1632,12 +1707,13 @@ public static Output getImagePipeline(GetImagePipelineAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1650,7 +1726,8 @@ public static CompletableFuture getImagePipelinePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1673,14 +1750,15 @@ public static CompletableFuture getImagePipelinePlain(Ge
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
      *             .filters(GetImagePipelinesFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1693,7 +1771,8 @@ public static Output getImagePipelines() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1716,14 +1795,15 @@ public static Output getImagePipelines() {
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
      *             .filters(GetImagePipelinesFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1736,7 +1816,8 @@ public static CompletableFuture getImagePipelinesPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1759,14 +1840,15 @@ public static CompletableFuture getImagePipelinesPlain(
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
      *             .filters(GetImagePipelinesFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1779,7 +1861,8 @@ public static Output getImagePipelines(GetImagePipeline * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1802,14 +1885,15 @@ public static Output getImagePipelines(GetImagePipeline
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
      *             .filters(GetImagePipelinesFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1822,7 +1906,8 @@ public static CompletableFuture getImagePipelinesPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1845,14 +1930,15 @@ public static CompletableFuture getImagePipelinesPlain(
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
      *             .filters(GetImagePipelinesFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1865,7 +1951,8 @@ public static Output getImagePipelines(GetImagePipeline * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1888,14 +1975,15 @@ public static Output getImagePipelines(GetImagePipeline
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImagePipelines(GetImagePipelinesArgs.builder()
      *             .filters(GetImagePipelinesFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1908,7 +1996,8 @@ public static CompletableFuture getImagePipelinesPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1930,12 +2019,13 @@ public static CompletableFuture getImagePipelinesPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1948,7 +2038,8 @@ public static Output getImageRecipe(GetImageRecipeArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1970,12 +2061,13 @@ public static Output getImageRecipe(GetImageRecipeArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1988,7 +2080,8 @@ public static CompletableFuture getImageRecipePlain(GetIma * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2010,12 +2103,13 @@ public static CompletableFuture getImageRecipePlain(GetIma
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2028,7 +2122,8 @@ public static Output getImageRecipe(GetImageRecipeArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2050,12 +2145,13 @@ public static Output getImageRecipe(GetImageRecipeArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipe(GetImageRecipeArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
+     *             .arn("arn:aws:imagebuilder:us-east-1:aws:image-recipe/example/1.0.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2068,7 +2164,8 @@ public static CompletableFuture getImageRecipePlain(GetIma * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2090,16 +2187,17 @@ public static CompletableFuture getImageRecipePlain(GetIma
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetImageRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2112,7 +2210,8 @@ public static Output getImageRecipes() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2134,16 +2233,17 @@ public static Output getImageRecipes() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetImageRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2156,7 +2256,8 @@ public static CompletableFuture getImageRecipesPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2178,16 +2279,17 @@ public static CompletableFuture getImageRecipesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetImageRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2200,7 +2302,8 @@ public static Output getImageRecipes(GetImageRecipesArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2222,16 +2325,17 @@ public static Output getImageRecipes(GetImageRecipesArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetImageRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2244,7 +2348,8 @@ public static CompletableFuture getImageRecipesPlain(GetI * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2266,16 +2371,17 @@ public static CompletableFuture getImageRecipesPlain(GetI
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetImageRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2288,7 +2394,8 @@ public static Output getImageRecipes(GetImageRecipesArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2310,16 +2417,17 @@ public static Output getImageRecipes(GetImageRecipesArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getImageRecipes(GetImageRecipesArgs.builder()
-     *             .owner("Self")
+     *             .owner("Self")
      *             .filters(GetImageRecipesFilterArgs.builder()
-     *                 .name("platform")
-     *                 .values("Linux")
+     *                 .name("platform")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2332,7 +2440,8 @@ public static CompletableFuture getImageRecipesPlain(GetI * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2354,12 +2463,13 @@ public static CompletableFuture getImageRecipesPlain(GetI
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2372,7 +2482,8 @@ public static Output getInfrastructureConf * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2394,12 +2505,13 @@ public static Output getInfrastructureConf
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2412,7 +2524,8 @@ public static CompletableFuture getInfrast * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2434,12 +2547,13 @@ public static CompletableFuture getInfrast
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2452,7 +2566,8 @@ public static Output getInfrastructureConf * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2474,12 +2589,13 @@ public static Output getInfrastructureConf
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
-     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
+     *             .arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2492,7 +2608,8 @@ public static CompletableFuture getInfrast * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2515,14 +2632,15 @@ public static CompletableFuture getInfrast
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
      *             .filters(GetInfrastructureConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2535,7 +2653,8 @@ public static Output getInfrastructureCon * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2558,14 +2677,15 @@ public static Output getInfrastructureCon
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
      *             .filters(GetInfrastructureConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2578,7 +2698,8 @@ public static CompletableFuture getInfras * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2601,14 +2722,15 @@ public static CompletableFuture getInfras
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
      *             .filters(GetInfrastructureConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2621,7 +2743,8 @@ public static Output getInfrastructureCon * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2644,14 +2767,15 @@ public static Output getInfrastructureCon
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
      *             .filters(GetInfrastructureConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2664,7 +2788,8 @@ public static CompletableFuture getInfras * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2687,14 +2812,15 @@ public static CompletableFuture getInfras
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
      *             .filters(GetInfrastructureConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2707,7 +2833,8 @@ public static Output getInfrastructureCon * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2730,14 +2857,15 @@ public static Output getInfrastructureCon
      *     public static void stack(Context ctx) {
      *         final var example = ImagebuilderFunctions.getInfrastructureConfigurations(GetInfrastructureConfigurationsArgs.builder()
      *             .filters(GetInfrastructureConfigurationsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/InfrastructureConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/InfrastructureConfiguration.java index b3c5801b27e..5564552e94c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/InfrastructureConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/InfrastructureConfiguration.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InfrastructureConfiguration("example", InfrastructureConfigurationArgs.builder()        
- *             .description("example description")
+ *         var example = new InfrastructureConfiguration("example", InfrastructureConfigurationArgs.builder()        
+ *             .description("example description")
  *             .instanceProfileName(exampleAwsIamInstanceProfile.name())
  *             .instanceTypes(            
- *                 "t2.nano",
- *                 "t3.micro")
+ *                 "t2.nano",
+ *                 "t3.micro")
  *             .keyPair(exampleAwsKeyPair.keyName())
- *             .name("example")
+ *             .name("example")
  *             .securityGroupIds(exampleAwsSecurityGroup.id())
  *             .snsTopicArn(exampleAwsSnsTopic.arn())
  *             .subnetId(main.id())
@@ -63,15 +64,16 @@
  *             .logging(InfrastructureConfigurationLoggingArgs.builder()
  *                 .s3Logs(InfrastructureConfigurationLoggingS3LogsArgs.builder()
  *                     .s3BucketName(exampleAwsS3Bucket.bucket())
- *                     .s3KeyPrefix("logs")
+ *                     .s3KeyPrefix("logs")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("foo", "bar"))
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Workflow.java b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Workflow.java index 565da7f63d9..d24f5bdc7de 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Workflow.java +++ b/sdk/java/src/main/java/com/pulumi/aws/imagebuilder/Workflow.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,11 +45,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workflow("example", WorkflowArgs.builder()        
- *             .name("example")
- *             .version("1.0.0")
- *             .type("TEST")
- *             .data("""
+ *         var example = new Workflow("example", WorkflowArgs.builder()        
+ *             .name("example")
+ *             .version("1.0.0")
+ *             .type("TEST")
+ *             .data("""
  * name: example
  * description: Workflow to test an image
  * schemaVersion: 1.0
@@ -62,25 +63,26 @@
  *     action: LaunchInstance
  *     onFailure: Abort
  *     inputs:
- *       waitFor: "ssmAgent"
+ *       waitFor: "ssmAgent"
  * 
  *   - name: TerminateTestInstance
  *     action: TerminateInstance
  *     onFailure: Continue
  *     inputs:
- *       instanceId.$: "$.stepOutputs.LaunchTestInstance.instanceId"
+ *       instanceId.$: "$.stepOutputs.LaunchTestInstance.instanceId"
  * 
  *   - name: WaitForActionAtEnd
  *     action: WaitForAction
  *     if:
  *       booleanEquals: true
- *       value: "$.parameters.waitForActionAtEnd"
- *             """)
+ *       value: "$.parameters.waitForActionAtEnd"
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTarget.java b/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTarget.java index f976df4d427..608edee7683 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTarget.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,21 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new ResourceGroup("bar", ResourceGroupArgs.builder()        
+ *         var bar = new ResourceGroup("bar", ResourceGroupArgs.builder()        
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "foo"),
- *                 Map.entry("Env", "bar")
+ *                 Map.entry("Name", "foo"),
+ *                 Map.entry("Env", "bar")
  *             ))
  *             .build());
  * 
- *         var foo = new AssessmentTarget("foo", AssessmentTargetArgs.builder()        
- *             .name("assessment target")
+ *         var foo = new AssessmentTarget("foo", AssessmentTargetArgs.builder()        
+ *             .name("assessment target")
  *             .resourceGroupArn(bar.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTemplate.java index 662c28c2772..16ec2e8af3e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector/AssessmentTemplate.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AssessmentTemplate("example", AssessmentTemplateArgs.builder()        
- *             .name("example")
+ *         var example = new AssessmentTemplate("example", AssessmentTemplateArgs.builder()        
+ *             .name("example")
  *             .targetArn(exampleAwsInspectorAssessmentTarget.arn())
  *             .duration(3600)
  *             .rulesPackageArns(            
- *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p",
- *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc",
- *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ",
- *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD")
+ *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p",
+ *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc",
+ *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ",
+ *                 "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD")
  *             .eventSubscriptions(AssessmentTemplateEventSubscriptionArgs.builder()
- *                 .event("ASSESSMENT_RUN_COMPLETED")
+ *                 .event("ASSESSMENT_RUN_COMPLETED")
  *                 .topicArn(exampleAwsSnsTopic.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector/InspectorFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/inspector/InspectorFunctions.java index 9b2f274e6eb..9867845efe0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector/InspectorFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector/InspectorFunctions.java @@ -21,7 +21,8 @@ public final class InspectorFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,25 +52,26 @@ public final class InspectorFunctions {
      *         final var rules = InspectorFunctions.getRulesPackages();
      * 
      *         // e.g., Use in aws_inspector_assessment_template
-     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
-     *             .tags(Map.of("test", "test"))
+     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
+     *             .tags(Map.of("test", "test"))
      *             .build());
      * 
-     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
-     *             .name("test")
+     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
+     *             .name("test")
      *             .resourceGroupArn(group.arn())
      *             .build());
      * 
-     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
-     *             .name("Test")
+     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
+     *             .name("Test")
      *             .targetArn(assessment.arn())
-     *             .duration("60")
-     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
+     *             .duration("60")
+     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -84,7 +86,8 @@ public static Output getRulesPackages() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -114,25 +117,26 @@ public static Output getRulesPackages() {
      *         final var rules = InspectorFunctions.getRulesPackages();
      * 
      *         // e.g., Use in aws_inspector_assessment_template
-     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
-     *             .tags(Map.of("test", "test"))
+     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
+     *             .tags(Map.of("test", "test"))
      *             .build());
      * 
-     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
-     *             .name("test")
+     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
+     *             .name("test")
      *             .resourceGroupArn(group.arn())
      *             .build());
      * 
-     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
-     *             .name("Test")
+     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
+     *             .name("Test")
      *             .targetArn(assessment.arn())
-     *             .duration("60")
-     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
+     *             .duration("60")
+     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -147,7 +151,8 @@ public static CompletableFuture getRulesPackagesPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -177,25 +182,26 @@ public static CompletableFuture getRulesPackagesPlain()
      *         final var rules = InspectorFunctions.getRulesPackages();
      * 
      *         // e.g., Use in aws_inspector_assessment_template
-     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
-     *             .tags(Map.of("test", "test"))
+     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
+     *             .tags(Map.of("test", "test"))
      *             .build());
      * 
-     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
-     *             .name("test")
+     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
+     *             .name("test")
      *             .resourceGroupArn(group.arn())
      *             .build());
      * 
-     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
-     *             .name("Test")
+     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
+     *             .name("Test")
      *             .targetArn(assessment.arn())
-     *             .duration("60")
-     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
+     *             .duration("60")
+     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -210,7 +216,8 @@ public static Output getRulesPackages(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -240,25 +247,26 @@ public static Output getRulesPackages(InvokeArgs args) {
      *         final var rules = InspectorFunctions.getRulesPackages();
      * 
      *         // e.g., Use in aws_inspector_assessment_template
-     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
-     *             .tags(Map.of("test", "test"))
+     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
+     *             .tags(Map.of("test", "test"))
      *             .build());
      * 
-     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
-     *             .name("test")
+     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
+     *             .name("test")
      *             .resourceGroupArn(group.arn())
      *             .build());
      * 
-     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
-     *             .name("Test")
+     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
+     *             .name("Test")
      *             .targetArn(assessment.arn())
-     *             .duration("60")
-     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
+     *             .duration("60")
+     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -273,7 +281,8 @@ public static CompletableFuture getRulesPackagesPlain(In * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -303,25 +312,26 @@ public static CompletableFuture getRulesPackagesPlain(In
      *         final var rules = InspectorFunctions.getRulesPackages();
      * 
      *         // e.g., Use in aws_inspector_assessment_template
-     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
-     *             .tags(Map.of("test", "test"))
+     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
+     *             .tags(Map.of("test", "test"))
      *             .build());
      * 
-     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
-     *             .name("test")
+     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
+     *             .name("test")
      *             .resourceGroupArn(group.arn())
      *             .build());
      * 
-     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
-     *             .name("Test")
+     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
+     *             .name("Test")
      *             .targetArn(assessment.arn())
-     *             .duration("60")
-     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
+     *             .duration("60")
+     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -336,7 +346,8 @@ public static Output getRulesPackages(InvokeArgs args, I * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -366,25 +377,26 @@ public static Output getRulesPackages(InvokeArgs args, I
      *         final var rules = InspectorFunctions.getRulesPackages();
      * 
      *         // e.g., Use in aws_inspector_assessment_template
-     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
-     *             .tags(Map.of("test", "test"))
+     *         var group = new ResourceGroup("group", ResourceGroupArgs.builder()        
+     *             .tags(Map.of("test", "test"))
      *             .build());
      * 
-     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
-     *             .name("test")
+     *         var assessment = new AssessmentTarget("assessment", AssessmentTargetArgs.builder()        
+     *             .name("test")
      *             .resourceGroupArn(group.arn())
      *             .build());
      * 
-     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
-     *             .name("Test")
+     *         var assessmentAssessmentTemplate = new AssessmentTemplate("assessmentAssessmentTemplate", AssessmentTemplateArgs.builder()        
+     *             .name("Test")
      *             .targetArn(assessment.arn())
-     *             .duration("60")
-     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
+     *             .duration("60")
+     *             .rulesPackageArns(rules.applyValue(getRulesPackagesResult -> getRulesPackagesResult.arns()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector/ResourceGroup.java b/sdk/java/src/main/java/com/pulumi/aws/inspector/ResourceGroup.java index e9e2be39a00..bba324c9a94 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector/ResourceGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector/ResourceGroup.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,16 +42,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
+ *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "foo"),
- *                 Map.entry("Env", "bar")
+ *                 Map.entry("Name", "foo"),
+ *                 Map.entry("Env", "bar")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector2/DelegatedAdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/inspector2/DelegatedAdminAccount.java index 05ae723eb54..07d1227dcd6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector2/DelegatedAdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector2/DelegatedAdminAccount.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new DelegatedAdminAccount("example", DelegatedAdminAccountArgs.builder()        
- *             .accountId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *         var example = new DelegatedAdminAccount("example", DelegatedAdminAccountArgs.builder()        
+ *             .accountId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector2/Enabler.java b/sdk/java/src/main/java/com/pulumi/aws/inspector2/Enabler.java index d243c1b41af..950e62a0404 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector2/Enabler.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector2/Enabler.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Enabler("example", EnablerArgs.builder()        
- *             .accountIds("123456789012")
- *             .resourceTypes("EC2")
+ *         var example = new Enabler("example", EnablerArgs.builder()        
+ *             .accountIds("123456789012")
+ *             .resourceTypes("EC2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### For the Calling Account * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,16 +86,17 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var test = new Enabler("test", EnablerArgs.builder()        
- *             .accountIds(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *         var test = new Enabler("test", EnablerArgs.builder()        
+ *             .accountIds(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *             .resourceTypes(            
- *                 "ECR",
- *                 "EC2")
+ *                 "ECR",
+ *                 "EC2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector2/MemberAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/inspector2/MemberAssociation.java index e4089d67b77..12534c0563c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector2/MemberAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector2/MemberAssociation.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MemberAssociation("example", MemberAssociationArgs.builder()        
- *             .accountId("123456789012")
+ *         var example = new MemberAssociation("example", MemberAssociationArgs.builder()        
+ *             .accountId("123456789012")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/inspector2/OrganizationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/inspector2/OrganizationConfiguration.java index 23ac07eccf9..cdfbb1e9eb9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/inspector2/OrganizationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/inspector2/OrganizationConfiguration.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,7 +49,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OrganizationConfiguration("example", OrganizationConfigurationArgs.builder()        
+ *         var example = new OrganizationConfiguration("example", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(OrganizationConfigurationAutoEnableArgs.builder()
  *                 .ec2(true)
  *                 .ecr(false)
@@ -59,7 +60,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/Authorizer.java b/sdk/java/src/main/java/com/pulumi/aws/iot/Authorizer.java index 2e19a740b32..49f5e559a52 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/Authorizer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/Authorizer.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Authorizer("example", AuthorizerArgs.builder()        
- *             .name("example")
+ *         var example = new Authorizer("example", AuthorizerArgs.builder()        
+ *             .name("example")
  *             .authorizerFunctionArn(exampleAwsLambdaFunction.arn())
  *             .signingDisabled(false)
- *             .status("ACTIVE")
- *             .tokenKeyName("Token-Header")
- *             .tokenSigningPublicKeys(Map.of("Key1", StdFunctions.file(FileArgs.builder()
- *                 .input("test-fixtures/iot-authorizer-signing-key.pem")
+ *             .status("ACTIVE")
+ *             .tokenKeyName("Token-Header")
+ *             .tokenSigningPublicKeys(Map.of("Key1", StdFunctions.file(FileArgs.builder()
+ *                 .input("test-fixtures/iot-authorizer-signing-key.pem")
  *                 .build()).result()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/BillingGroup.java b/sdk/java/src/main/java/com/pulumi/aws/iot/BillingGroup.java index 8fe97a7b199..183cb6dccc8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/BillingGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/BillingGroup.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,17 +48,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BillingGroup("example", BillingGroupArgs.builder()        
- *             .name("example")
+ *         var example = new BillingGroup("example", BillingGroupArgs.builder()        
+ *             .name("example")
  *             .properties(BillingGroupPropertiesArgs.builder()
- *                 .description("This is my billing group")
+ *                 .description("This is my billing group")
  *                 .build())
- *             .tags(Map.of("terraform", "true"))
+ *             .tags(Map.of("terraform", "true"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/CaCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/iot/CaCertificate.java index 6b3b0ab1d8a..b1612ede087 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/CaCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/CaCertificate.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,49 +59,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var caPrivateKey = new PrivateKey("caPrivateKey", PrivateKeyArgs.builder()        
- *             .algorithm("RSA")
+ *         var caPrivateKey = new PrivateKey("caPrivateKey", PrivateKeyArgs.builder()        
+ *             .algorithm("RSA")
  *             .build());
  * 
- *         var ca = new SelfSignedCert("ca", SelfSignedCertArgs.builder()        
+ *         var ca = new SelfSignedCert("ca", SelfSignedCertArgs.builder()        
  *             .privateKeyPem(caPrivateKey.privateKeyPem())
  *             .subject(SelfSignedCertSubjectArgs.builder()
- *                 .commonName("example.com")
- *                 .organization("ACME Examples, Inc")
+ *                 .commonName("example.com")
+ *                 .organization("ACME Examples, Inc")
  *                 .build())
  *             .validityPeriodHours(12)
  *             .allowedUses(            
- *                 "key_encipherment",
- *                 "digital_signature",
- *                 "server_auth")
+ *                 "key_encipherment",
+ *                 "digital_signature",
+ *                 "server_auth")
  *             .isCaCertificate(true)
  *             .build());
  * 
- *         var verificationPrivateKey = new PrivateKey("verificationPrivateKey", PrivateKeyArgs.builder()        
- *             .algorithm("RSA")
+ *         var verificationPrivateKey = new PrivateKey("verificationPrivateKey", PrivateKeyArgs.builder()        
+ *             .algorithm("RSA")
  *             .build());
  * 
  *         final var example = IotFunctions.getRegistrationCode();
  * 
- *         var verification = new CertRequest("verification", CertRequestArgs.builder()        
+ *         var verification = new CertRequest("verification", CertRequestArgs.builder()        
  *             .privateKeyPem(verificationPrivateKey.privateKeyPem())
  *             .subject(CertRequestSubjectArgs.builder()
- *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+ *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
  *                 .build())
  *             .build());
  * 
- *         var verificationLocallySignedCert = new LocallySignedCert("verificationLocallySignedCert", LocallySignedCertArgs.builder()        
+ *         var verificationLocallySignedCert = new LocallySignedCert("verificationLocallySignedCert", LocallySignedCertArgs.builder()        
  *             .certRequestPem(verification.certRequestPem())
  *             .caPrivateKeyPem(caPrivateKey.privateKeyPem())
  *             .caCertPem(ca.certPem())
  *             .validityPeriodHours(12)
  *             .allowedUses(            
- *                 "key_encipherment",
- *                 "digital_signature",
- *                 "server_auth")
+ *                 "key_encipherment",
+ *                 "digital_signature",
+ *                 "server_auth")
  *             .build());
  * 
- *         var exampleCaCertificate = new CaCertificate("exampleCaCertificate", CaCertificateArgs.builder()        
+ *         var exampleCaCertificate = new CaCertificate("exampleCaCertificate", CaCertificateArgs.builder()        
  *             .active(true)
  *             .caCertificatePem(ca.certPem())
  *             .verificationCertificatePem(verificationLocallySignedCert.certPem())
@@ -109,7 +110,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/Certificate.java b/sdk/java/src/main/java/com/pulumi/aws/iot/Certificate.java index 695a04eda9d..a14e1d84901 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/Certificate.java @@ -24,7 +24,8 @@ * ### With CSR * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
  *             .csr(StdFunctions.file(FileArgs.builder()
- *                 .input("/my/csr.pem")
+ *                 .input("/my/csr.pem")
  *                 .build()).result())
  *             .active(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Without CSR * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,19 +84,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
  *             .active(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### From existing certificate without a CA * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -114,16 +119,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
  *             .certificatePem(StdFunctions.file(FileArgs.builder()
- *                 .input("/my/cert.pem")
+ *                 .input("/my/cert.pem")
  *                 .build()).result())
  *             .active(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/DomainConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/iot/DomainConfiguration.java index c60b33fb9e8..e08ae53b1a0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/DomainConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/DomainConfiguration.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var iot = new DomainConfiguration("iot", DomainConfigurationArgs.builder()        
- *             .name("iot-")
- *             .domainName("iot.example.com")
- *             .serviceType("DATA")
+ *         var iot = new DomainConfiguration("iot", DomainConfigurationArgs.builder()        
+ *             .name("iot-")
+ *             .domainName("iot.example.com")
+ *             .serviceType("DATA")
  *             .serverCertificateArns(cert.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/EventConfigurations.java b/sdk/java/src/main/java/com/pulumi/aws/iot/EventConfigurations.java index 7c1d2942628..1a4537086be 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/EventConfigurations.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/EventConfigurations.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,25 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventConfigurations("example", EventConfigurationsArgs.builder()        
+ *         var example = new EventConfigurations("example", EventConfigurationsArgs.builder()        
  *             .eventConfigurations(Map.ofEntries(
- *                 Map.entry("THING", true),
- *                 Map.entry("THING_GROUP", false),
- *                 Map.entry("THING_TYPE", false),
- *                 Map.entry("THING_GROUP_MEMBERSHIP", false),
- *                 Map.entry("THING_GROUP_HIERARCHY", false),
- *                 Map.entry("THING_TYPE_ASSOCIATION", false),
- *                 Map.entry("JOB", false),
- *                 Map.entry("JOB_EXECUTION", false),
- *                 Map.entry("POLICY", false),
- *                 Map.entry("CERTIFICATE", true),
- *                 Map.entry("CA_CERTIFICATE", false)
+ *                 Map.entry("THING", true),
+ *                 Map.entry("THING_GROUP", false),
+ *                 Map.entry("THING_TYPE", false),
+ *                 Map.entry("THING_GROUP_MEMBERSHIP", false),
+ *                 Map.entry("THING_GROUP_HIERARCHY", false),
+ *                 Map.entry("THING_TYPE_ASSOCIATION", false),
+ *                 Map.entry("JOB", false),
+ *                 Map.entry("JOB_EXECUTION", false),
+ *                 Map.entry("POLICY", false),
+ *                 Map.entry("CERTIFICATE", true),
+ *                 Map.entry("CA_CERTIFICATE", false)
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/IndexingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/iot/IndexingConfiguration.java index d4b8feefc5b..41ebbbc5e2a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/IndexingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/IndexingConfiguration.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,38 +44,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new IndexingConfiguration("example", IndexingConfigurationArgs.builder()        
+ *         var example = new IndexingConfiguration("example", IndexingConfigurationArgs.builder()        
  *             .thingIndexingConfiguration(IndexingConfigurationThingIndexingConfigurationArgs.builder()
- *                 .thingIndexingMode("REGISTRY_AND_SHADOW")
- *                 .thingConnectivityIndexingMode("STATUS")
- *                 .deviceDefenderIndexingMode("VIOLATIONS")
- *                 .namedShadowIndexingMode("ON")
+ *                 .thingIndexingMode("REGISTRY_AND_SHADOW")
+ *                 .thingConnectivityIndexingMode("STATUS")
+ *                 .deviceDefenderIndexingMode("VIOLATIONS")
+ *                 .namedShadowIndexingMode("ON")
  *                 .filter(IndexingConfigurationThingIndexingConfigurationFilterArgs.builder()
- *                     .namedShadowNames("thing1shadow")
+ *                     .namedShadowNames("thing1shadow")
  *                     .build())
  *                 .customFields(                
  *                     IndexingConfigurationThingIndexingConfigurationCustomFieldArgs.builder()
- *                         .name("shadow.desired.power")
- *                         .type("Boolean")
+ *                         .name("shadow.desired.power")
+ *                         .type("Boolean")
  *                         .build(),
  *                     IndexingConfigurationThingIndexingConfigurationCustomFieldArgs.builder()
- *                         .name("attributes.version")
- *                         .type("Number")
+ *                         .name("attributes.version")
+ *                         .type("Number")
  *                         .build(),
  *                     IndexingConfigurationThingIndexingConfigurationCustomFieldArgs.builder()
- *                         .name("shadow.name.thing1shadow.desired.DefaultDesired")
- *                         .type("String")
+ *                         .name("shadow.name.thing1shadow.desired.DefaultDesired")
+ *                         .type("String")
  *                         .build(),
  *                     IndexingConfigurationThingIndexingConfigurationCustomFieldArgs.builder()
- *                         .name("deviceDefender.securityProfile1.NUMBER_VALUE_BEHAVIOR.lastViolationValue.number")
- *                         .type("Number")
+ *                         .name("deviceDefender.securityProfile1.NUMBER_VALUE_BEHAVIOR.lastViolationValue.number")
+ *                         .type("Number")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/IotFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/iot/IotFunctions.java index af2a3563b8f..4626bfc5ef5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/IotFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/IotFunctions.java @@ -22,7 +22,8 @@ public final class IotFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -49,9 +50,9 @@ public final class IotFunctions {
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getEndpoint();
      * 
-     *         var agent = new Pod("agent", PodArgs.builder()        
+     *         var agent = new Pod("agent", PodArgs.builder()        
      *             .metadata(ObjectMetaArgs.builder()
-     *                 .name("my-device")
+     *                 .name("my-device")
      *                 .build())
      *             .spec(PodSpecArgs.builder()
      *                 .container(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
@@ -60,7 +61,8 @@ public final class IotFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -73,7 +75,8 @@ public static Output getEndpoint() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,9 +103,9 @@ public static Output getEndpoint() {
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getEndpoint();
      * 
-     *         var agent = new Pod("agent", PodArgs.builder()        
+     *         var agent = new Pod("agent", PodArgs.builder()        
      *             .metadata(ObjectMetaArgs.builder()
-     *                 .name("my-device")
+     *                 .name("my-device")
      *                 .build())
      *             .spec(PodSpecArgs.builder()
      *                 .container(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
@@ -111,7 +114,8 @@ public static Output getEndpoint() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -124,7 +128,8 @@ public static CompletableFuture getEndpointPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -151,9 +156,9 @@ public static CompletableFuture getEndpointPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getEndpoint();
      * 
-     *         var agent = new Pod("agent", PodArgs.builder()        
+     *         var agent = new Pod("agent", PodArgs.builder()        
      *             .metadata(ObjectMetaArgs.builder()
-     *                 .name("my-device")
+     *                 .name("my-device")
      *                 .build())
      *             .spec(PodSpecArgs.builder()
      *                 .container(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
@@ -162,7 +167,8 @@ public static CompletableFuture getEndpointPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -175,7 +181,8 @@ public static Output getEndpoint(GetEndpointArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -202,9 +209,9 @@ public static Output getEndpoint(GetEndpointArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getEndpoint();
      * 
-     *         var agent = new Pod("agent", PodArgs.builder()        
+     *         var agent = new Pod("agent", PodArgs.builder()        
      *             .metadata(ObjectMetaArgs.builder()
-     *                 .name("my-device")
+     *                 .name("my-device")
      *                 .build())
      *             .spec(PodSpecArgs.builder()
      *                 .container(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
@@ -213,7 +220,8 @@ public static Output getEndpoint(GetEndpointArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -226,7 +234,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -253,9 +262,9 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getEndpoint();
      * 
-     *         var agent = new Pod("agent", PodArgs.builder()        
+     *         var agent = new Pod("agent", PodArgs.builder()        
      *             .metadata(ObjectMetaArgs.builder()
-     *                 .name("my-device")
+     *                 .name("my-device")
      *                 .build())
      *             .spec(PodSpecArgs.builder()
      *                 .container(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
@@ -264,7 +273,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -277,7 +287,8 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -304,9 +315,9 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getEndpoint();
      * 
-     *         var agent = new Pod("agent", PodArgs.builder()        
+     *         var agent = new Pod("agent", PodArgs.builder()        
      *             .metadata(ObjectMetaArgs.builder()
-     *                 .name("my-device")
+     *                 .name("my-device")
      *                 .build())
      *             .spec(PodSpecArgs.builder()
      *                 .container(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
@@ -315,7 +326,8 @@ public static Output getEndpoint(GetEndpointArgs args, Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -328,7 +340,8 @@ public static CompletableFuture getEndpointPlain(GetEndpointP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -355,21 +368,22 @@ public static CompletableFuture getEndpointPlain(GetEndpointP
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getRegistrationCode();
      * 
-     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
-     *             .algorithm("RSA")
+     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
+     *             .algorithm("RSA")
      *             .build());
      * 
-     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
-     *             .keyAlgorithm("RSA")
+     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
+     *             .keyAlgorithm("RSA")
      *             .privateKeyPem(verification.privateKeyPem())
      *             .subject(CertRequestSubjectArgs.builder()
-     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -382,7 +396,8 @@ public static Output getRegistrationCode() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -409,21 +424,22 @@ public static Output getRegistrationCode() {
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getRegistrationCode();
      * 
-     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
-     *             .algorithm("RSA")
+     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
+     *             .algorithm("RSA")
      *             .build());
      * 
-     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
-     *             .keyAlgorithm("RSA")
+     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
+     *             .keyAlgorithm("RSA")
      *             .privateKeyPem(verification.privateKeyPem())
      *             .subject(CertRequestSubjectArgs.builder()
-     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +452,8 @@ public static CompletableFuture getRegistrationCodePl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -463,21 +480,22 @@ public static CompletableFuture getRegistrationCodePl
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getRegistrationCode();
      * 
-     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
-     *             .algorithm("RSA")
+     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
+     *             .algorithm("RSA")
      *             .build());
      * 
-     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
-     *             .keyAlgorithm("RSA")
+     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
+     *             .keyAlgorithm("RSA")
      *             .privateKeyPem(verification.privateKeyPem())
      *             .subject(CertRequestSubjectArgs.builder()
-     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -490,7 +508,8 @@ public static Output getRegistrationCode(InvokeArgs a * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -517,21 +536,22 @@ public static Output getRegistrationCode(InvokeArgs a
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getRegistrationCode();
      * 
-     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
-     *             .algorithm("RSA")
+     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
+     *             .algorithm("RSA")
      *             .build());
      * 
-     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
-     *             .keyAlgorithm("RSA")
+     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
+     *             .keyAlgorithm("RSA")
      *             .privateKeyPem(verification.privateKeyPem())
      *             .subject(CertRequestSubjectArgs.builder()
-     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -544,7 +564,8 @@ public static CompletableFuture getRegistrationCodePl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -571,21 +592,22 @@ public static CompletableFuture getRegistrationCodePl
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getRegistrationCode();
      * 
-     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
-     *             .algorithm("RSA")
+     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
+     *             .algorithm("RSA")
      *             .build());
      * 
-     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
-     *             .keyAlgorithm("RSA")
+     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
+     *             .keyAlgorithm("RSA")
      *             .privateKeyPem(verification.privateKeyPem())
      *             .subject(CertRequestSubjectArgs.builder()
-     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -598,7 +620,8 @@ public static Output getRegistrationCode(InvokeArgs a * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -625,21 +648,22 @@ public static Output getRegistrationCode(InvokeArgs a
      *     public static void stack(Context ctx) {
      *         final var example = IotFunctions.getRegistrationCode();
      * 
-     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
-     *             .algorithm("RSA")
+     *         var verification = new PrivateKey("verification", PrivateKeyArgs.builder()        
+     *             .algorithm("RSA")
      *             .build());
      * 
-     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
-     *             .keyAlgorithm("RSA")
+     *         var verificationCertRequest = new CertRequest("verificationCertRequest", CertRequestArgs.builder()        
+     *             .keyAlgorithm("RSA")
      *             .privateKeyPem(verification.privateKeyPem())
      *             .subject(CertRequestSubjectArgs.builder()
-     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
+     *                 .commonName(example.applyValue(getRegistrationCodeResult -> getRegistrationCodeResult.registrationCode()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/LoggingOptions.java b/sdk/java/src/main/java/com/pulumi/aws/iot/LoggingOptions.java index 947e3ecbb1d..100690e7426 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/LoggingOptions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/LoggingOptions.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoggingOptions("example", LoggingOptionsArgs.builder()        
- *             .defaultLogLevel("WARN")
+ *         var example = new LoggingOptions("example", LoggingOptionsArgs.builder()        
+ *             .defaultLogLevel("WARN")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/iot/Policy.java index 83b5e8c73ff..12af6093aab 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/Policy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var pubsub = new Policy("pubsub", PolicyArgs.builder()        
- *             .name("PubSubToAnyTopic")
+ *         var pubsub = new Policy("pubsub", PolicyArgs.builder()        
+ *             .name("PubSubToAnyTopic")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray("iot:*")),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray("iot:*")),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/PolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/iot/PolicyAttachment.java index c9a2a6d163f..e5abb9c4f42 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/PolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/PolicyAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,32 +49,33 @@
  *     public static void stack(Context ctx) {
  *         final var pubsub = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("iot:*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("iot:*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var pubsubPolicy = new Policy("pubsubPolicy", PolicyArgs.builder()        
- *             .name("PubSubToAnyTopic")
- *             .policy(pubsub.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var pubsubPolicy = new Policy("pubsubPolicy", PolicyArgs.builder()        
+ *             .name("PubSubToAnyTopic")
+ *             .policy(pubsub.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
  *             .csr(StdFunctions.file(FileArgs.builder()
- *                 .input("csr.pem")
+ *                 .input("csr.pem")
  *                 .build()).result())
  *             .active(true)
  *             .build());
  * 
- *         var att = new PolicyAttachment("att", PolicyAttachmentArgs.builder()        
+ *         var att = new PolicyAttachment("att", PolicyAttachmentArgs.builder()        
  *             .policy(pubsubPolicy.name())
  *             .target(cert.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/ProvisioningTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/iot/ProvisioningTemplate.java index 0c63d3ad6d4..544e76f6192 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/ProvisioningTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/ProvisioningTemplate.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,64 +57,64 @@
  *     public static void stack(Context ctx) {
  *         final var iotAssumeRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("iot.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("iot.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var iotFleetProvisioning = new Role("iotFleetProvisioning", RoleArgs.builder()        
- *             .name("IoTProvisioningServiceRole")
- *             .path("/service-role/")
- *             .assumeRolePolicy(iotAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var iotFleetProvisioning = new Role("iotFleetProvisioning", RoleArgs.builder()        
+ *             .name("IoTProvisioningServiceRole")
+ *             .path("/service-role/")
+ *             .assumeRolePolicy(iotAssumeRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var iotFleetProvisioningRegistration = new RolePolicyAttachment("iotFleetProvisioningRegistration", RolePolicyAttachmentArgs.builder()        
+ *         var iotFleetProvisioningRegistration = new RolePolicyAttachment("iotFleetProvisioningRegistration", RolePolicyAttachmentArgs.builder()        
  *             .role(iotFleetProvisioning.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSIoTThingsRegistration")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSIoTThingsRegistration")
  *             .build());
  * 
  *         final var devicePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("iot:Subscribe")
- *                 .resources("*")
+ *                 .actions("iot:Subscribe")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var devicePolicyPolicy = new Policy("devicePolicyPolicy", PolicyArgs.builder()        
- *             .name("DevicePolicy")
- *             .policy(devicePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var devicePolicyPolicy = new Policy("devicePolicyPolicy", PolicyArgs.builder()        
+ *             .name("DevicePolicy")
+ *             .policy(devicePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var fleet = new ProvisioningTemplate("fleet", ProvisioningTemplateArgs.builder()        
- *             .name("FleetTemplate")
- *             .description("My provisioning template")
+ *         var fleet = new ProvisioningTemplate("fleet", ProvisioningTemplateArgs.builder()        
+ *             .name("FleetTemplate")
+ *             .description("My provisioning template")
  *             .provisioningRoleArn(iotFleetProvisioning.arn())
  *             .enabled(true)
- *             .templateBody(devicePolicyPolicy.name().applyValue(name -> serializeJson(
+ *             .templateBody(devicePolicyPolicy.name().applyValue(name -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Parameters", jsonObject(
- *                         jsonProperty("SerialNumber", jsonObject(
- *                             jsonProperty("Type", "String")
+ *                     jsonProperty("Parameters", jsonObject(
+ *                         jsonProperty("SerialNumber", jsonObject(
+ *                             jsonProperty("Type", "String")
  *                         ))
  *                     )),
- *                     jsonProperty("Resources", jsonObject(
- *                         jsonProperty("certificate", jsonObject(
- *                             jsonProperty("Properties", jsonObject(
- *                                 jsonProperty("CertificateId", jsonObject(
- *                                     jsonProperty("Ref", "AWS::IoT::Certificate::Id")
+ *                     jsonProperty("Resources", jsonObject(
+ *                         jsonProperty("certificate", jsonObject(
+ *                             jsonProperty("Properties", jsonObject(
+ *                                 jsonProperty("CertificateId", jsonObject(
+ *                                     jsonProperty("Ref", "AWS::IoT::Certificate::Id")
  *                                 )),
- *                                 jsonProperty("Status", "Active")
+ *                                 jsonProperty("Status", "Active")
  *                             )),
- *                             jsonProperty("Type", "AWS::IoT::Certificate")
+ *                             jsonProperty("Type", "AWS::IoT::Certificate")
  *                         )),
- *                         jsonProperty("policy", jsonObject(
- *                             jsonProperty("Properties", jsonObject(
- *                                 jsonProperty("PolicyName", name)
+ *                         jsonProperty("policy", jsonObject(
+ *                             jsonProperty("Properties", jsonObject(
+ *                                 jsonProperty("PolicyName", name)
  *                             )),
- *                             jsonProperty("Type", "AWS::IoT::Policy")
+ *                             jsonProperty("Type", "AWS::IoT::Policy")
  *                         ))
  *                     ))
  *                 ))))
@@ -121,7 +122,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/RoleAlias.java b/sdk/java/src/main/java/com/pulumi/aws/iot/RoleAlias.java index 1541c85a18c..ebaead9f68b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/RoleAlias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/RoleAlias.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,25 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .effect("Allow")
+ *             .effect("Allow")
  *             .principals(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
- *             .actions("sts:AssumeRole")
+ *             .actions("sts:AssumeRole")
  *             .build());
  * 
- *         var role = new Role("role", RoleArgs.builder()        
- *             .name("dynamodb-access-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var role = new Role("role", RoleArgs.builder()        
+ *             .name("dynamodb-access-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var alias = new RoleAlias("alias", RoleAliasArgs.builder()        
- *             .alias("Thermostat-dynamodb-access-role-alias")
+ *         var alias = new RoleAlias("alias", RoleAliasArgs.builder()        
+ *             .alias("Thermostat-dynamodb-access-role-alias")
  *             .roleArn(role.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/Thing.java b/sdk/java/src/main/java/com/pulumi/aws/iot/Thing.java index 7e37b1f09ee..6c4fc6bcb19 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/Thing.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/Thing.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Thing("example", ThingArgs.builder()        
- *             .name("example")
- *             .attributes(Map.of("First", "examplevalue"))
+ *         var example = new Thing("example", ThingArgs.builder()        
+ *             .name("example")
+ *             .attributes(Map.of("First", "examplevalue"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroup.java b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroup.java index 320490987dd..6d29dc33940 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroup.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,28 +49,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var parent = new ThingGroup("parent", ThingGroupArgs.builder()        
- *             .name("parent")
+ *         var parent = new ThingGroup("parent", ThingGroupArgs.builder()        
+ *             .name("parent")
  *             .build());
  * 
- *         var example = new ThingGroup("example", ThingGroupArgs.builder()        
- *             .name("example")
+ *         var example = new ThingGroup("example", ThingGroupArgs.builder()        
+ *             .name("example")
  *             .parentGroupName(parent.name())
  *             .properties(ThingGroupPropertiesArgs.builder()
  *                 .attributePayload(ThingGroupPropertiesAttributePayloadArgs.builder()
  *                     .attributes(Map.ofEntries(
- *                         Map.entry("One", "11111"),
- *                         Map.entry("Two", "TwoTwo")
+ *                         Map.entry("One", "11111"),
+ *                         Map.entry("Two", "TwoTwo")
  *                     ))
  *                     .build())
- *                 .description("This is my thing group")
+ *                 .description("This is my thing group")
  *                 .build())
- *             .tags(Map.of("managed", "true"))
+ *             .tags(Map.of("managed", "true"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroupMembership.java b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroupMembership.java index 139fa3e773e..3d1ae6994f4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroupMembership.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingGroupMembership.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ThingGroupMembership("example", ThingGroupMembershipArgs.builder()        
- *             .thingName("example-thing")
- *             .thingGroupName("example-group")
+ *         var example = new ThingGroupMembership("example", ThingGroupMembershipArgs.builder()        
+ *             .thingName("example-thing")
+ *             .thingGroupName("example-group")
  *             .overrideDynamicGroup(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingPrincipalAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingPrincipalAttachment.java index 7ae71ead2c5..7464730c433 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingPrincipalAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingPrincipalAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,25 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Thing("example", ThingArgs.builder()        
- *             .name("example")
+ *         var example = new Thing("example", ThingArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var cert = new Certificate("cert", CertificateArgs.builder()        
+ *         var cert = new Certificate("cert", CertificateArgs.builder()        
  *             .csr(StdFunctions.file(FileArgs.builder()
- *                 .input("csr.pem")
+ *                 .input("csr.pem")
  *                 .build()).result())
  *             .active(true)
  *             .build());
  * 
- *         var att = new ThingPrincipalAttachment("att", ThingPrincipalAttachmentArgs.builder()        
+ *         var att = new ThingPrincipalAttachment("att", ThingPrincipalAttachmentArgs.builder()        
  *             .principal(cert.arn())
  *             .thing(example.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingType.java b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingType.java index 70a3e5ec7d1..a6d8ece111d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/ThingType.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/ThingType.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new ThingType("foo", ThingTypeArgs.builder()        
- *             .name("my_iot_thing")
+ *         var foo = new ThingType("foo", ThingTypeArgs.builder()        
+ *             .name("my_iot_thing")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRule.java b/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRule.java index 1f295fc9ce4..a21880ecb6d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRule.java @@ -43,7 +43,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -75,28 +76,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mytopic = new Topic("mytopic", TopicArgs.builder()        
- *             .name("mytopic")
+ *         var mytopic = new Topic("mytopic", TopicArgs.builder()        
+ *             .name("mytopic")
  *             .build());
  * 
- *         var myerrortopic = new Topic("myerrortopic", TopicArgs.builder()        
- *             .name("myerrortopic")
+ *         var myerrortopic = new Topic("myerrortopic", TopicArgs.builder()        
+ *             .name("myerrortopic")
  *             .build());
  * 
- *         var rule = new TopicRule("rule", TopicRuleArgs.builder()        
- *             .name("MyRule")
- *             .description("Example rule")
+ *         var rule = new TopicRule("rule", TopicRuleArgs.builder()        
+ *             .name("MyRule")
+ *             .description("Example rule")
  *             .enabled(true)
- *             .sql("SELECT * FROM 'topic/test'")
- *             .sqlVersion("2016-03-23")
+ *             .sql("SELECT * FROM 'topic/test'")
+ *             .sqlVersion("2016-03-23")
  *             .sns(TopicRuleSnsArgs.builder()
- *                 .messageFormat("RAW")
+ *                 .messageFormat("RAW")
  *                 .roleArn(role.arn())
  *                 .targetArn(mytopic.arn())
  *                 .build())
  *             .errorAction(TopicRuleErrorActionArgs.builder()
  *                 .sns(TopicRuleErrorActionSnsArgs.builder()
- *                     .messageFormat("RAW")
+ *                     .messageFormat("RAW")
  *                     .roleArn(role.arn())
  *                     .targetArn(myerrortopic.arn())
  *                     .build())
@@ -105,37 +106,38 @@
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("iot.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("iot.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var myrole = new Role("myrole", RoleArgs.builder()        
- *             .name("myrole")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var myrole = new Role("myrole", RoleArgs.builder()        
+ *             .name("myrole")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var mypolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("sns:Publish")
+ *                 .effect("Allow")
+ *                 .actions("sns:Publish")
  *                 .resources(mytopic.arn())
  *                 .build())
  *             .build());
  * 
- *         var mypolicyRolePolicy = new RolePolicy("mypolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("mypolicy")
+ *         var mypolicyRolePolicy = new RolePolicy("mypolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("mypolicy")
  *             .role(myrole.id())
- *             .policy(mypolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(mypolicy -> mypolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(mypolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(mypolicy -> mypolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRuleDestination.java b/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRuleDestination.java index b3272a6802b..db731c20d22 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRuleDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/iot/TopicRuleDestination.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,18 +43,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TopicRuleDestination("example", TopicRuleDestinationArgs.builder()        
+ *         var example = new TopicRuleDestination("example", TopicRuleDestinationArgs.builder()        
  *             .vpcConfiguration(TopicRuleDestinationVpcConfigurationArgs.builder()
  *                 .roleArn(exampleAwsIamRole.arn())
  *                 .securityGroups(exampleAwsSecurityGroup.id())
- *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *                 .vpcId(exampleAwsVpc.id())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ivs/Channel.java b/sdk/java/src/main/java/com/pulumi/aws/ivs/Channel.java index ae70e4b05fd..548d01f4804 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ivs/Channel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ivs/Channel.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,13 +46,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Channel("example", ChannelArgs.builder()        
- *             .name("channel-1")
+ *         var example = new Channel("example", ChannelArgs.builder()        
+ *             .name("channel-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ivs/IvsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ivs/IvsFunctions.java index 582432f8095..7f07004bc2a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ivs/IvsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ivs/IvsFunctions.java @@ -22,7 +22,8 @@ public final class IvsFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,12 +45,13 @@ public final class IvsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IvsFunctions.getStreamKey(GetStreamKeyArgs.builder()
-     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
+     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getStreamKey(GetStreamKeyArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,12 +89,13 @@ public static Output getStreamKey(GetStreamKeyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IvsFunctions.getStreamKey(GetStreamKeyArgs.builder()
-     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
+     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getStreamKeyPlain(GetStreamK * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getStreamKeyPlain(GetStreamK
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IvsFunctions.getStreamKey(GetStreamKeyArgs.builder()
-     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
+     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getStreamKey(GetStreamKeyArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,12 +177,13 @@ public static Output getStreamKey(GetStreamKeyArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = IvsFunctions.getStreamKey(GetStreamKeyArgs.builder()
-     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
+     *             .channelArn("arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ivs/PlaybackKeyPair.java b/sdk/java/src/main/java/com/pulumi/aws/ivs/PlaybackKeyPair.java index 7352500f18b..9ab4ab328e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ivs/PlaybackKeyPair.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ivs/PlaybackKeyPair.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PlaybackKeyPair("example", PlaybackKeyPairArgs.builder()        
+ *         var example = new PlaybackKeyPair("example", PlaybackKeyPairArgs.builder()        
  *             .publicKey(StdFunctions.file(FileArgs.builder()
- *                 .input("./public-key.pem")
+ *                 .input("./public-key.pem")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ivs/RecordingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/ivs/RecordingConfiguration.java index b4496ef2e56..ceeb8355957 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ivs/RecordingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ivs/RecordingConfiguration.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,18 +50,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RecordingConfiguration("example", RecordingConfigurationArgs.builder()        
- *             .name("recording_configuration-1")
+ *         var example = new RecordingConfiguration("example", RecordingConfigurationArgs.builder()        
+ *             .name("recording_configuration-1")
  *             .destinationConfiguration(RecordingConfigurationDestinationConfigurationArgs.builder()
  *                 .s3(RecordingConfigurationDestinationConfigurationS3Args.builder()
- *                     .bucketName("ivs-stream-archive")
+ *                     .bucketName("ivs-stream-archive")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ivschat/LoggingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/ivschat/LoggingConfiguration.java index 9658824af57..2dd942505aa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ivschat/LoggingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ivschat/LoggingConfiguration.java @@ -24,7 +24,8 @@ * ### Basic Usage - Logging to CloudWatch * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,9 +49,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example");
+ *         var example = new LogGroup("example");
  * 
- *         var exampleLoggingConfiguration = new LoggingConfiguration("exampleLoggingConfiguration", LoggingConfigurationArgs.builder()        
+ *         var exampleLoggingConfiguration = new LoggingConfiguration("exampleLoggingConfiguration", LoggingConfigurationArgs.builder()        
  *             .destinationConfiguration(LoggingConfigurationDestinationConfigurationArgs.builder()
  *                 .cloudwatchLogs(LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs.builder()
  *                     .logGroupName(example.name())
@@ -60,13 +61,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Usage - Logging to Kinesis Firehose with Extended S3 * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,42 +103,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucketPrefix("tf-ivschat-logging-bucket")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucketPrefix("tf-ivschat-logging-bucket")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("firehose.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("firehose.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("firehose_example_role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("firehose_example_role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var example = new FirehoseDeliveryStream("example", FirehoseDeliveryStreamArgs.builder()        
- *             .name("pulumi-kinesis-firehose-extended-s3-example-stream")
- *             .destination("extended_s3")
+ *         var example = new FirehoseDeliveryStream("example", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("pulumi-kinesis-firehose-extended-s3-example-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(exampleRole.arn())
  *                 .bucketArn(exampleBucketV2.arn())
  *                 .build())
- *             .tags(Map.of("LogDeliveryEnabled", "true"))
+ *             .tags(Map.of("LogDeliveryEnabled", "true"))
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleLoggingConfiguration = new LoggingConfiguration("exampleLoggingConfiguration", LoggingConfigurationArgs.builder()        
+ *         var exampleLoggingConfiguration = new LoggingConfiguration("exampleLoggingConfiguration", LoggingConfigurationArgs.builder()        
  *             .destinationConfiguration(LoggingConfigurationDestinationConfigurationArgs.builder()
  *                 .firehose(LoggingConfigurationDestinationConfigurationFirehoseArgs.builder()
  *                     .deliveryStreamName(example.name())
@@ -145,13 +148,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Usage - Logging to S3 * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -176,12 +181,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucketName("tf-ivschat-logging")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucketName("tf-ivschat-logging")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var exampleLoggingConfiguration = new LoggingConfiguration("exampleLoggingConfiguration", LoggingConfigurationArgs.builder()        
+ *         var exampleLoggingConfiguration = new LoggingConfiguration("exampleLoggingConfiguration", LoggingConfigurationArgs.builder()        
  *             .destinationConfiguration(LoggingConfigurationDestinationConfigurationArgs.builder()
  *                 .s3(LoggingConfigurationDestinationConfigurationS3Args.builder()
  *                     .bucketName(example.id())
@@ -191,7 +196,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ivschat/Room.java b/sdk/java/src/main/java/com/pulumi/aws/ivschat/Room.java index e5f29ea6d18..c702f74dae3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ivschat/Room.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ivschat/Room.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,13 +48,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Room("example", RoomArgs.builder()        
- *             .name("tf-room")
+ *         var example = new Room("example", RoomArgs.builder()        
+ *             .name("tf-room")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/DataSource.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/DataSource.java index 4acacefc503..92b92a5c171 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/DataSource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/DataSource.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .description("example")
- *             .languageCode("en")
- *             .type("CUSTOM")
- *             .tags(Map.of("hello", "world"))
+ *             .name("example")
+ *             .description("example")
+ *             .languageCode("en")
+ *             .type("CUSTOM")
+ *             .tags(Map.of("hello", "world"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Connector @@ -65,7 +67,8 @@ * ### With Schedule * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,12 +91,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("S3")
+ *             .name("example")
+ *             .type("S3")
  *             .roleArn(exampleAwsIamRole.arn())
- *             .schedule("cron(9 10 1 * ? *)")
+ *             .schedule("cron(9 10 1 * ? *)")
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .s3Configuration(DataSourceConfigurationS3ConfigurationArgs.builder()
  *                     .bucketName(exampleAwsS3Bucket.id())
@@ -103,13 +106,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Access Control List * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -133,16 +138,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("S3")
+ *             .name("example")
+ *             .type("S3")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .s3Configuration(DataSourceConfigurationS3ConfigurationArgs.builder()
  *                     .bucketName(exampleAwsS3Bucket.id())
  *                     .accessControlListConfiguration(DataSourceConfigurationS3ConfigurationAccessControlListConfigurationArgs.builder()
- *                         .keyPath(String.format("s3://%s/path-1", exampleAwsS3Bucket.id()))
+ *                         .keyPath(String.format("s3://%s/path-1", exampleAwsS3Bucket.id()))
  *                         .build())
  *                     .build())
  *                 .build())
@@ -150,13 +155,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Documents Metadata Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -180,19 +187,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("S3")
+ *             .name("example")
+ *             .type("S3")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .s3Configuration(DataSourceConfigurationS3ConfigurationArgs.builder()
  *                     .bucketName(exampleAwsS3Bucket.id())
- *                     .exclusionPatterns("example")
- *                     .inclusionPatterns("hello")
- *                     .inclusionPrefixes("world")
+ *                     .exclusionPatterns("example")
+ *                     .inclusionPatterns("hello")
+ *                     .inclusionPrefixes("world")
  *                     .documentsMetadataConfiguration(DataSourceConfigurationS3ConfigurationDocumentsMetadataConfigurationArgs.builder()
- *                         .s3Prefix("example")
+ *                         .s3Prefix("example")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -200,7 +207,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Web Crawler Connector @@ -208,7 +216,8 @@ * ### With Seed URLs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -233,16 +242,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -251,13 +260,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Site Maps * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -282,16 +293,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .siteMapsConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationArgs.builder()
- *                             .siteMaps("REPLACE_WITH_YOUR_URL")
+ *                             .siteMaps("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -300,13 +311,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Web Crawler Mode * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -331,17 +344,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .webCrawlerMode("SUBDOMAINS")
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .webCrawlerMode("SUBDOMAINS")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -350,13 +363,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Authentication Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -383,23 +398,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .authenticationConfiguration(DataSourceConfigurationWebCrawlerConfigurationAuthenticationConfigurationArgs.builder()
  *                         .basicAuthentications(DataSourceConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationArgs.builder()
  *                             .credentials(exampleAwsSecretsmanagerSecret.arn())
- *                             .host("a.example.com")
- *                             .port("443")
+ *                             .host("a.example.com")
+ *                             .port("443")
  *                             .build())
  *                         .build())
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -410,13 +425,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Crawl Depth * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -441,17 +458,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .crawlDepth(3)
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -460,13 +477,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Max Links Per Page * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -491,17 +510,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .maxLinksPerPage(100)
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -510,13 +529,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Max Urls Per Minute Crawl Rate * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -541,17 +562,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .maxUrlsPerMinuteCrawlRate(300)
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -560,13 +581,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Proxy Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -593,21 +616,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
  *                     .proxyConfiguration(DataSourceConfigurationWebCrawlerConfigurationProxyConfigurationArgs.builder()
  *                         .credentials(exampleAwsSecretsmanagerSecret.arn())
- *                         .host("a.example.com")
- *                         .port("443")
+ *                         .host("a.example.com")
+ *                         .port("443")
  *                         .build())
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -618,13 +641,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With URL Exclusion and Inclusion Patterns * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -649,18 +674,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSource("example", DataSourceArgs.builder()        
+ *         var example = new DataSource("example", DataSourceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("example")
- *             .type("WEBCRAWLER")
+ *             .name("example")
+ *             .type("WEBCRAWLER")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(DataSourceConfigurationArgs.builder()
  *                 .webCrawlerConfiguration(DataSourceConfigurationWebCrawlerConfigurationArgs.builder()
- *                     .urlExclusionPatterns("example")
- *                     .urlInclusionPatterns("hello")
+ *                     .urlExclusionPatterns("example")
+ *                     .urlInclusionPatterns("hello")
  *                     .urls(DataSourceConfigurationWebCrawlerConfigurationUrlsArgs.builder()
  *                         .seedUrlConfiguration(DataSourceConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationArgs.builder()
- *                             .seedUrls("REPLACE_WITH_YOUR_URL")
+ *                             .seedUrls("REPLACE_WITH_YOUR_URL")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -669,7 +694,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/Experience.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/Experience.java index d5c31a1e6ea..9af1c1b5d17 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/Experience.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/Experience.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,10 +50,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Experience("example", ExperienceArgs.builder()        
+ *         var example = new Experience("example", ExperienceArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .description("My Kendra Experience")
- *             .name("example")
+ *             .description("My Kendra Experience")
+ *             .name("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .configuration(ExperienceConfigurationArgs.builder()
  *                 .contentSourceConfiguration(ExperienceConfigurationContentSourceConfigurationArgs.builder()
@@ -60,14 +61,15 @@
  *                     .faqIds(exampleAwsKendraFaq.faqId())
  *                     .build())
  *                 .userIdentityConfiguration(ExperienceConfigurationUserIdentityConfigurationArgs.builder()
- *                     .identityAttributeName("12345ec453-1546651e-79c4-4554-91fa-00b43ccfa245")
+ *                     .identityAttributeName("12345ec453-1546651e-79c4-4554-91fa-00b43ccfa245")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/Faq.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/Faq.java index 7dce362ec9a..d57d93aad38 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/Faq.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/Faq.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,26 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Faq("example", FaqArgs.builder()        
+ *         var example = new Faq("example", FaqArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("Example")
+ *             .name("Example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .s3Path(FaqS3PathArgs.builder()
  *                 .bucket(exampleAwsS3Bucket.id())
  *                 .key(exampleAwsS3Object.key())
  *                 .build())
- *             .tags(Map.of("Name", "Example Kendra Faq"))
+ *             .tags(Map.of("Name", "Example Kendra Faq"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With File Format * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,10 +90,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Faq("example", FaqArgs.builder()        
+ *         var example = new Faq("example", FaqArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("Example")
- *             .fileFormat("CSV")
+ *             .name("Example")
+ *             .fileFormat("CSV")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .s3Path(FaqS3PathArgs.builder()
  *                 .bucket(exampleAwsS3Bucket.id())
@@ -100,13 +103,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -128,10 +133,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Faq("example", FaqArgs.builder()        
+ *         var example = new Faq("example", FaqArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("Example")
- *             .languageCode("en")
+ *             .name("Example")
+ *             .languageCode("en")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .s3Path(FaqS3PathArgs.builder()
  *                 .bucket(exampleAwsS3Bucket.id())
@@ -141,7 +146,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/Index.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/Index.java index bc5b81bba96..1f9acebca5b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/Index.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/Index.java @@ -30,7 +30,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,23 +52,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
- *             .description("example")
- *             .edition("DEVELOPER_EDITION")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
+ *             .description("example")
+ *             .edition("DEVELOPER_EDITION")
  *             .roleArn(this_.arn())
- *             .tags(Map.of("Key1", "Value1"))
+ *             .tags(Map.of("Key1", "Value1"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With capacity units * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,9 +92,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
- *             .edition("DEVELOPER_EDITION")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
+ *             .edition("DEVELOPER_EDITION")
  *             .roleArn(this_.arn())
  *             .capacityUnits(IndexCapacityUnitsArgs.builder()
  *                 .queryCapacityUnits(2)
@@ -101,13 +104,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With server side encryption configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -129,8 +134,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
  *             .roleArn(thisAwsIamRole.arn())
  *             .serverSideEncryptionConfiguration(IndexServerSideEncryptionConfigurationArgs.builder()
  *                 .kmsKeyId(this_.arn())
@@ -139,13 +144,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With user group resolution configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -167,17 +174,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
  *             .roleArn(this_.arn())
  *             .userGroupResolutionConfiguration(IndexUserGroupResolutionConfigurationArgs.builder()
- *                 .userGroupResolutionMode("AWS_SSO")
+ *                 .userGroupResolutionMode("AWS_SSO")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Document Metadata Configuration Updates @@ -187,7 +195,8 @@ * Refer to [Amazon Kendra documentation on built-in document fields](https://docs.aws.amazon.com/kendra/latest/dg/hiw-index.html#index-reserved-fields) for more information. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -211,13 +220,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
  *             .roleArn(this_.arn())
  *             .documentMetadataConfigurationUpdates(            
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_authors")
- *                     .type("STRING_LIST_VALUE")
+ *                     .name("_authors")
+ *                     .type("STRING_LIST_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -229,8 +238,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_category")
- *                     .type("STRING_VALUE")
+ *                     .name("_category")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -243,8 +252,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_created_at")
- *                     .type("DATE_VALUE")
+ *                     .name("_created_at")
+ *                     .type("DATE_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -254,13 +263,13 @@
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .freshness(false)
  *                         .importance(1)
- *                         .duration("25920000s")
- *                         .rankOrder("ASCENDING")
+ *                         .duration("25920000s")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_data_source_id")
- *                     .type("STRING_VALUE")
+ *                     .name("_data_source_id")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -273,8 +282,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_document_title")
- *                     .type("STRING_VALUE")
+ *                     .name("_document_title")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(false)
@@ -287,8 +296,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_excerpt_page_number")
- *                     .type("LONG_VALUE")
+ *                     .name("_excerpt_page_number")
+ *                     .type("LONG_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -297,12 +306,12 @@
  *                         .build())
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .importance(2)
- *                         .rankOrder("ASCENDING")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_faq_id")
- *                     .type("STRING_VALUE")
+ *                     .name("_faq_id")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -315,8 +324,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_file_type")
- *                     .type("STRING_VALUE")
+ *                     .name("_file_type")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -329,8 +338,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_language_code")
- *                     .type("STRING_VALUE")
+ *                     .name("_language_code")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -343,8 +352,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_last_updated_at")
- *                     .type("DATE_VALUE")
+ *                     .name("_last_updated_at")
+ *                     .type("DATE_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -354,13 +363,13 @@
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .freshness(false)
  *                         .importance(1)
- *                         .duration("25920000s")
- *                         .rankOrder("ASCENDING")
+ *                         .duration("25920000s")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_source_uri")
- *                     .type("STRING_VALUE")
+ *                     .name("_source_uri")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(false)
@@ -373,8 +382,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_tenant_id")
- *                     .type("STRING_VALUE")
+ *                     .name("_tenant_id")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -387,8 +396,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_version")
- *                     .type("STRING_VALUE")
+ *                     .name("_version")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -401,8 +410,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_view_count")
- *                     .type("LONG_VALUE")
+ *                     .name("_view_count")
+ *                     .type("LONG_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -411,14 +420,15 @@
  *                         .build())
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .importance(1)
- *                         .rankOrder("ASCENDING")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Appending additional elements @@ -426,7 +436,8 @@ * The example below shows additional elements with names, `example-string-value`, `example-long-value`, `example-string-list-value`, `example-date-value` representing the 4 types of `STRING_VALUE`, `LONG_VALUE`, `STRING_LIST_VALUE`, `DATE_VALUE` respectively. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -450,13 +461,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
  *             .roleArn(this_.arn())
  *             .documentMetadataConfigurationUpdates(            
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_authors")
- *                     .type("STRING_LIST_VALUE")
+ *                     .name("_authors")
+ *                     .type("STRING_LIST_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -468,8 +479,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_category")
- *                     .type("STRING_VALUE")
+ *                     .name("_category")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -482,8 +493,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_created_at")
- *                     .type("DATE_VALUE")
+ *                     .name("_created_at")
+ *                     .type("DATE_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -493,13 +504,13 @@
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .freshness(false)
  *                         .importance(1)
- *                         .duration("25920000s")
- *                         .rankOrder("ASCENDING")
+ *                         .duration("25920000s")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_data_source_id")
- *                     .type("STRING_VALUE")
+ *                     .name("_data_source_id")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -512,8 +523,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_document_title")
- *                     .type("STRING_VALUE")
+ *                     .name("_document_title")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(false)
@@ -526,8 +537,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_excerpt_page_number")
- *                     .type("LONG_VALUE")
+ *                     .name("_excerpt_page_number")
+ *                     .type("LONG_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -536,12 +547,12 @@
  *                         .build())
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .importance(2)
- *                         .rankOrder("ASCENDING")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_faq_id")
- *                     .type("STRING_VALUE")
+ *                     .name("_faq_id")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -554,8 +565,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_file_type")
- *                     .type("STRING_VALUE")
+ *                     .name("_file_type")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -568,8 +579,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_language_code")
- *                     .type("STRING_VALUE")
+ *                     .name("_language_code")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -582,8 +593,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_last_updated_at")
- *                     .type("DATE_VALUE")
+ *                     .name("_last_updated_at")
+ *                     .type("DATE_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -593,13 +604,13 @@
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .freshness(false)
  *                         .importance(1)
- *                         .duration("25920000s")
- *                         .rankOrder("ASCENDING")
+ *                         .duration("25920000s")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_source_uri")
- *                     .type("STRING_VALUE")
+ *                     .name("_source_uri")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(false)
@@ -612,8 +623,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_tenant_id")
- *                     .type("STRING_VALUE")
+ *                     .name("_tenant_id")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -626,8 +637,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_version")
- *                     .type("STRING_VALUE")
+ *                     .name("_version")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -640,8 +651,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("_view_count")
- *                     .type("LONG_VALUE")
+ *                     .name("_view_count")
+ *                     .type("LONG_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(false)
  *                         .facetable(false)
@@ -650,12 +661,12 @@
  *                         .build())
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .importance(1)
- *                         .rankOrder("ASCENDING")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("example-string-value")
- *                     .type("STRING_VALUE")
+ *                     .name("example-string-value")
+ *                     .type("STRING_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(true)
@@ -668,8 +679,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("example-long-value")
- *                     .type("LONG_VALUE")
+ *                     .name("example-long-value")
+ *                     .type("LONG_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(true)
@@ -678,12 +689,12 @@
  *                         .build())
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .importance(1)
- *                         .rankOrder("ASCENDING")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("example-string-list-value")
- *                     .type("STRING_LIST_VALUE")
+ *                     .name("example-string-list-value")
+ *                     .type("STRING_LIST_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(true)
@@ -695,8 +706,8 @@
  *                         .build())
  *                     .build(),
  *                 IndexDocumentMetadataConfigurationUpdateArgs.builder()
- *                     .name("example-date-value")
- *                     .type("DATE_VALUE")
+ *                     .name("example-date-value")
+ *                     .type("DATE_VALUE")
  *                     .search(IndexDocumentMetadataConfigurationUpdateSearchArgs.builder()
  *                         .displayable(true)
  *                         .facetable(true)
@@ -706,21 +717,23 @@
  *                     .relevance(IndexDocumentMetadataConfigurationUpdateRelevanceArgs.builder()
  *                         .freshness(false)
  *                         .importance(1)
- *                         .duration("25920000s")
- *                         .rankOrder("ASCENDING")
+ *                         .duration("25920000s")
+ *                         .rankOrder("ASCENDING")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With JSON token type configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -743,20 +756,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .name("example")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .name("example")
  *             .roleArn(this_.arn())
  *             .userTokenConfigurations(IndexUserTokenConfigurationsArgs.builder()
  *                 .jsonTokenTypeConfiguration(IndexUserTokenConfigurationsJsonTokenTypeConfigurationArgs.builder()
- *                     .groupAttributeField("groups")
- *                     .userNameAttributeField("username")
+ *                     .groupAttributeField("groups")
+ *                     .userNameAttributeField("username")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/KendraFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/KendraFunctions.java index fddd37aa30a..d42905980b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/KendraFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/KendraFunctions.java @@ -32,7 +32,8 @@ public final class KendraFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -54,13 +55,14 @@ public final class KendraFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getExperience(GetExperienceArgs.builder()
-     *             .experienceId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .experienceId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -73,7 +75,8 @@ public static Output getExperience(GetExperienceArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -95,13 +98,14 @@ public static Output getExperience(GetExperienceArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getExperience(GetExperienceArgs.builder()
-     *             .experienceId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .experienceId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -114,7 +118,8 @@ public static CompletableFuture getExperiencePlain(GetExper * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -136,13 +141,14 @@ public static CompletableFuture getExperiencePlain(GetExper
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getExperience(GetExperienceArgs.builder()
-     *             .experienceId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .experienceId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getExperience(GetExperienceArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -177,13 +184,14 @@ public static Output getExperience(GetExperienceArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getExperience(GetExperienceArgs.builder()
-     *             .experienceId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .experienceId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -196,7 +204,8 @@ public static CompletableFuture getExperiencePlain(GetExper * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -218,13 +227,14 @@ public static CompletableFuture getExperiencePlain(GetExper
      * 
      *     public static void stack(Context ctx) {
      *         final var test = KendraFunctions.getFaq(GetFaqArgs.builder()
-     *             .faqId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .faqId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -237,7 +247,8 @@ public static Output getFaq(GetFaqArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -259,13 +270,14 @@ public static Output getFaq(GetFaqArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = KendraFunctions.getFaq(GetFaqArgs.builder()
-     *             .faqId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .faqId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -278,7 +290,8 @@ public static CompletableFuture getFaqPlain(GetFaqPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -300,13 +313,14 @@ public static CompletableFuture getFaqPlain(GetFaqPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var test = KendraFunctions.getFaq(GetFaqArgs.builder()
-     *             .faqId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .faqId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -319,7 +333,8 @@ public static Output getFaq(GetFaqArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -341,13 +356,14 @@ public static Output getFaq(GetFaqArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var test = KendraFunctions.getFaq(GetFaqArgs.builder()
-     *             .faqId("87654321-1234-4321-4321-321987654321")
-     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .faqId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -360,7 +376,8 @@ public static CompletableFuture getFaqPlain(GetFaqPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -382,12 +399,13 @@ public static CompletableFuture getFaqPlain(GetFaqPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getIndex(GetIndexArgs.builder()
-     *             .id("12345678-1234-1234-1234-123456789123")
+     *             .id("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -400,7 +418,8 @@ public static Output getIndex(GetIndexArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -422,12 +441,13 @@ public static Output getIndex(GetIndexArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getIndex(GetIndexArgs.builder()
-     *             .id("12345678-1234-1234-1234-123456789123")
+     *             .id("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -440,7 +460,8 @@ public static CompletableFuture getIndexPlain(GetIndexPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -462,12 +483,13 @@ public static CompletableFuture getIndexPlain(GetIndexPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getIndex(GetIndexArgs.builder()
-     *             .id("12345678-1234-1234-1234-123456789123")
+     *             .id("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -480,7 +502,8 @@ public static Output getIndex(GetIndexArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -502,12 +525,13 @@ public static Output getIndex(GetIndexArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getIndex(GetIndexArgs.builder()
-     *             .id("12345678-1234-1234-1234-123456789123")
+     *             .id("12345678-1234-1234-1234-123456789123")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -520,7 +544,8 @@ public static CompletableFuture getIndexPlain(GetIndexPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -542,13 +567,14 @@ public static CompletableFuture getIndexPlain(GetIndexPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getQuerySuggestionsBlockList(GetQuerySuggestionsBlockListArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -561,7 +587,8 @@ public static Output getQuerySuggestionsBloc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -583,13 +610,14 @@ public static Output getQuerySuggestionsBloc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getQuerySuggestionsBlockList(GetQuerySuggestionsBlockListArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -602,7 +630,8 @@ public static CompletableFuture getQuerySugg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -624,13 +653,14 @@ public static CompletableFuture getQuerySugg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getQuerySuggestionsBlockList(GetQuerySuggestionsBlockListArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -643,7 +673,8 @@ public static Output getQuerySuggestionsBloc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -665,13 +696,14 @@ public static Output getQuerySuggestionsBloc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getQuerySuggestionsBlockList(GetQuerySuggestionsBlockListArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .querySuggestionsBlockListId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -684,7 +716,8 @@ public static CompletableFuture getQuerySugg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -706,13 +739,14 @@ public static CompletableFuture getQuerySugg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getThesaurus(GetThesaurusArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -725,7 +759,8 @@ public static Output getThesaurus(GetThesaurusArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -747,13 +782,14 @@ public static Output getThesaurus(GetThesaurusArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getThesaurus(GetThesaurusArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -766,7 +802,8 @@ public static CompletableFuture getThesaurusPlain(GetThesaur * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -788,13 +825,14 @@ public static CompletableFuture getThesaurusPlain(GetThesaur
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getThesaurus(GetThesaurusArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -807,7 +845,8 @@ public static Output getThesaurus(GetThesaurusArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -829,13 +868,14 @@ public static Output getThesaurus(GetThesaurusArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KendraFunctions.getThesaurus(GetThesaurusArgs.builder()
-     *             .indexId("12345678-1234-1234-1234-123456789123")
-     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
+     *             .indexId("12345678-1234-1234-1234-123456789123")
+     *             .thesaurusId("87654321-1234-4321-4321-321987654321")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/QuerySuggestionsBlockList.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/QuerySuggestionsBlockList.java index 6ee0be764d3..c51c47b5e25 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/QuerySuggestionsBlockList.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/QuerySuggestionsBlockList.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new QuerySuggestionsBlockList("example", QuerySuggestionsBlockListArgs.builder()        
+ *         var example = new QuerySuggestionsBlockList("example", QuerySuggestionsBlockListArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("Example")
+ *             .name("Example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .sourceS3Path(QuerySuggestionsBlockListSourceS3PathArgs.builder()
  *                 .bucket(exampleAwsS3Bucket.id())
- *                 .key("example/suggestions.txt")
+ *                 .key("example/suggestions.txt")
  *                 .build())
- *             .tags(Map.of("Name", "Example Kendra Index"))
+ *             .tags(Map.of("Name", "Example Kendra Index"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kendra/Thesaurus.java b/sdk/java/src/main/java/com/pulumi/aws/kendra/Thesaurus.java index 02df6087e02..492df60c40a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kendra/Thesaurus.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kendra/Thesaurus.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Thesaurus("example", ThesaurusArgs.builder()        
+ *         var example = new Thesaurus("example", ThesaurusArgs.builder()        
  *             .indexId(exampleAwsKendraIndex.id())
- *             .name("Example")
+ *             .name("Example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .sourceS3Path(ThesaurusSourceS3PathArgs.builder()
  *                 .bucket(exampleAwsS3Bucket.id())
  *                 .key(exampleAwsS3Object.key())
  *                 .build())
- *             .tags(Map.of("Name", "Example Kendra Thesaurus"))
+ *             .tags(Map.of("Name", "Example Kendra Thesaurus"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Keyspace.java b/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Keyspace.java index 9b3e585445f..30d92fdb462 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Keyspace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Keyspace.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Keyspace("example", KeyspaceArgs.builder()        
- *             .name("my_keyspace")
+ *         var example = new Keyspace("example", KeyspaceArgs.builder()        
+ *             .name("my_keyspace")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Table.java b/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Table.java index d9a5205aa9b..0e7118ce729 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Table.java +++ b/sdk/java/src/main/java/com/pulumi/aws/keyspaces/Table.java @@ -31,7 +31,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,23 +54,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
+ *         var example = new Table("example", TableArgs.builder()        
  *             .keyspaceName(exampleAwsKeyspacesKeyspace.name())
- *             .tableName("my_table")
+ *             .tableName("my_table")
  *             .schemaDefinition(TableSchemaDefinitionArgs.builder()
  *                 .columns(TableSchemaDefinitionColumnArgs.builder()
- *                     .name("Message")
- *                     .type("ASCII")
+ *                     .name("Message")
+ *                     .type("ASCII")
  *                     .build())
  *                 .partitionKeys(TableSchemaDefinitionPartitionKeyArgs.builder()
- *                     .name("Message")
+ *                     .name("Message")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/AnalyticsApplication.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/AnalyticsApplication.java index 57da1897bf9..ecc847ea557 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/AnalyticsApplication.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/AnalyticsApplication.java @@ -35,7 +35,8 @@ * ### Kinesis Stream Input * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -65,15 +66,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testStream = new Stream("testStream", StreamArgs.builder()        
- *             .name("kinesis-test")
+ *         var testStream = new Stream("testStream", StreamArgs.builder()        
+ *             .name("kinesis-test")
  *             .shardCount(1)
  *             .build());
  * 
- *         var testApplication = new AnalyticsApplication("testApplication", AnalyticsApplicationArgs.builder()        
- *             .name("kinesis-analytics-application-test")
+ *         var testApplication = new AnalyticsApplication("testApplication", AnalyticsApplicationArgs.builder()        
+ *             .name("kinesis-analytics-application-test")
  *             .inputs(AnalyticsApplicationInputsArgs.builder()
- *                 .namePrefix("test_prefix")
+ *                 .namePrefix("test_prefix")
  *                 .kinesisStream(AnalyticsApplicationInputsKinesisStreamArgs.builder()
  *                     .resourceArn(testStream.arn())
  *                     .roleArn(test.arn())
@@ -83,15 +84,15 @@
  *                     .build())
  *                 .schema(AnalyticsApplicationInputsSchemaArgs.builder()
  *                     .recordColumns(AnalyticsApplicationInputsSchemaRecordColumnArgs.builder()
- *                         .mapping("$.test")
- *                         .name("test")
- *                         .sqlType("VARCHAR(8)")
+ *                         .mapping("$.test")
+ *                         .name("test")
+ *                         .sqlType("VARCHAR(8)")
  *                         .build())
- *                     .recordEncoding("UTF-8")
+ *                     .recordEncoding("UTF-8")
  *                     .recordFormat(AnalyticsApplicationInputsSchemaRecordFormatArgs.builder()
  *                         .mappingParameters(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs.builder()
  *                             .json(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs.builder()
- *                                 .recordRowPath("$")
+ *                                 .recordRowPath("$")
  *                                 .build())
  *                             .build())
  *                         .build())
@@ -101,13 +102,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Starting An Application * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -147,47 +150,47 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("analytics")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("analytics")
  *             .build());
  * 
- *         var exampleLogStream = new LogStream("exampleLogStream", LogStreamArgs.builder()        
- *             .name("example-kinesis-application")
+ *         var exampleLogStream = new LogStream("exampleLogStream", LogStreamArgs.builder()        
+ *             .name("example-kinesis-application")
  *             .logGroupName(example.name())
  *             .build());
  * 
- *         var exampleStream = new Stream("exampleStream", StreamArgs.builder()        
- *             .name("example-kinesis-stream")
+ *         var exampleStream = new Stream("exampleStream", StreamArgs.builder()        
+ *             .name("example-kinesis-stream")
  *             .shardCount(1)
  *             .build());
  * 
- *         var exampleFirehoseDeliveryStream = new FirehoseDeliveryStream("exampleFirehoseDeliveryStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("example-kinesis-delivery-stream")
- *             .destination("extended_s3")
+ *         var exampleFirehoseDeliveryStream = new FirehoseDeliveryStream("exampleFirehoseDeliveryStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("example-kinesis-delivery-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .bucketArn(exampleAwsS3Bucket.arn())
  *                 .roleArn(exampleAwsIamRole.arn())
  *                 .build())
  *             .build());
  * 
- *         var test = new AnalyticsApplication("test", AnalyticsApplicationArgs.builder()        
- *             .name("example-application")
+ *         var test = new AnalyticsApplication("test", AnalyticsApplicationArgs.builder()        
+ *             .name("example-application")
  *             .cloudwatchLoggingOptions(AnalyticsApplicationCloudwatchLoggingOptionsArgs.builder()
  *                 .logStreamArn(exampleLogStream.arn())
  *                 .roleArn(exampleAwsIamRole.arn())
  *                 .build())
  *             .inputs(AnalyticsApplicationInputsArgs.builder()
- *                 .namePrefix("example_prefix")
+ *                 .namePrefix("example_prefix")
  *                 .schema(AnalyticsApplicationInputsSchemaArgs.builder()
  *                     .recordColumns(AnalyticsApplicationInputsSchemaRecordColumnArgs.builder()
- *                         .name("COLUMN_1")
- *                         .sqlType("INTEGER")
+ *                         .name("COLUMN_1")
+ *                         .sqlType("INTEGER")
  *                         .build())
  *                     .recordFormat(AnalyticsApplicationInputsSchemaRecordFormatArgs.builder()
  *                         .mappingParameters(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs.builder()
  *                             .csv(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs.builder()
- *                                 .recordColumnDelimiter(",")
- *                                 .recordRowDelimiter("|")
+ *                                 .recordColumnDelimiter(",")
+ *                                 .recordRowDelimiter("|")
  *                                 .build())
  *                             .build())
  *                         .build())
@@ -197,13 +200,13 @@
  *                     .roleArn(exampleAwsIamRole.arn())
  *                     .build())
  *                 .startingPositionConfigurations(AnalyticsApplicationInputsStartingPositionConfigurationArgs.builder()
- *                     .startingPosition("NOW")
+ *                     .startingPosition("NOW")
  *                     .build())
  *                 .build())
  *             .outputs(AnalyticsApplicationOutputArgs.builder()
- *                 .name("OUTPUT_1")
+ *                 .name("OUTPUT_1")
  *                 .schema(AnalyticsApplicationOutputSchemaArgs.builder()
- *                     .recordFormatType("CSV")
+ *                     .recordFormatType("CSV")
  *                     .build())
  *                 .kinesisFirehose(AnalyticsApplicationOutputKinesisFirehoseArgs.builder()
  *                     .resourceArn(exampleFirehoseDeliveryStream.arn())
@@ -215,7 +218,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/FirehoseDeliveryStream.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/FirehoseDeliveryStream.java index 8f2b5f34a63..a39c06171d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/FirehoseDeliveryStream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/FirehoseDeliveryStream.java @@ -36,7 +36,8 @@ * ### Extended S3 Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -70,77 +71,78 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("tf-test-bucket")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("tf-test-bucket")
  *             .build());
  * 
  *         final var firehoseAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("firehose.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("firehose.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var firehoseRole = new Role("firehoseRole", RoleArgs.builder()        
- *             .name("firehose_test_role")
- *             .assumeRolePolicy(firehoseAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var firehoseRole = new Role("firehoseRole", RoleArgs.builder()        
+ *             .name("firehose_test_role")
+ *             .assumeRolePolicy(firehoseAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var lambdaAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var lambdaIam = new Role("lambdaIam", RoleArgs.builder()        
- *             .name("lambda_iam")
- *             .assumeRolePolicy(lambdaAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var lambdaIam = new Role("lambdaIam", RoleArgs.builder()        
+ *             .name("lambda_iam")
+ *             .assumeRolePolicy(lambdaAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var lambdaProcessor = new Function("lambdaProcessor", FunctionArgs.builder()        
- *             .code(new FileArchive("lambda.zip"))
- *             .name("firehose_lambda_processor")
+ *         var lambdaProcessor = new Function("lambdaProcessor", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambda.zip"))
+ *             .name("firehose_lambda_processor")
  *             .role(lambdaIam.arn())
- *             .handler("exports.handler")
- *             .runtime("nodejs16.x")
+ *             .handler("exports.handler")
+ *             .runtime("nodejs16.x")
  *             .build());
  * 
- *         var extendedS3Stream = new FirehoseDeliveryStream("extendedS3Stream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-extended-s3-test-stream")
- *             .destination("extended_s3")
+ *         var extendedS3Stream = new FirehoseDeliveryStream("extendedS3Stream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-extended-s3-test-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(firehoseRole.arn())
  *                 .bucketArn(bucket.arn())
  *                 .processingConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .processors(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorArgs.builder()
- *                         .type("Lambda")
+ *                         .type("Lambda")
  *                         .parameters(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                             .parameterName("LambdaArn")
- *                             .parameterValue(lambdaProcessor.arn().applyValue(arn -> String.format("%s:$LATEST", arn)))
+ *                             .parameterName("LambdaArn")
+ *                             .parameterValue(lambdaProcessor.arn().applyValue(arn -> String.format("%s:$LATEST", arn)))
  *                             .build())
  *                         .build())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
+ *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
  *             .bucket(bucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Extended S3 Destination with dynamic partitioning @@ -148,7 +150,8 @@ * These examples use built-in Firehose functionality, rather than requiring a lambda. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -172,41 +175,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var extendedS3Stream = new FirehoseDeliveryStream("extendedS3Stream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-extended-s3-test-stream")
- *             .destination("extended_s3")
+ *         var extendedS3Stream = new FirehoseDeliveryStream("extendedS3Stream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-extended-s3-test-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(firehoseRole.arn())
  *                 .bucketArn(bucket.arn())
  *                 .bufferingSize(64)
  *                 .dynamicPartitioningConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationDynamicPartitioningConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .build())
- *                 .prefix("data/customer_id=!{partitionKeyFromQuery:customer_id}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/")
- *                 .errorOutputPrefix("errors/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/!{firehose:error-output-type}/")
+ *                 .prefix("data/customer_id=!{partitionKeyFromQuery:customer_id}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/")
+ *                 .errorOutputPrefix("errors/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/!{firehose:error-output-type}/")
  *                 .processingConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .processors(                    
  *                         FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorArgs.builder()
- *                             .type("RecordDeAggregation")
+ *                             .type("RecordDeAggregation")
  *                             .parameters(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                                 .parameterName("SubRecordType")
- *                                 .parameterValue("JSON")
+ *                                 .parameterName("SubRecordType")
+ *                                 .parameterValue("JSON")
  *                                 .build())
  *                             .build(),
  *                         FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorArgs.builder()
- *                             .type("AppendDelimiterToRecord")
+ *                             .type("AppendDelimiterToRecord")
  *                             .build(),
  *                         FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorArgs.builder()
- *                             .type("MetadataExtraction")
+ *                             .type("MetadataExtraction")
  *                             .parameters(                            
  *                                 FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                                     .parameterName("JsonParsingEngine")
- *                                     .parameterValue("JQ-1.6")
+ *                                     .parameterName("JsonParsingEngine")
+ *                                     .parameterValue("JQ-1.6")
  *                                     .build(),
  *                                 FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                                     .parameterName("MetadataExtractionQuery")
- *                                     .parameterValue("{customer_id:.customer_id}")
+ *                                     .parameterName("MetadataExtractionQuery")
+ *                                     .parameterValue("{customer_id:.customer_id}")
  *                                     .build())
  *                             .build())
  *                     .build())
@@ -215,7 +218,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Multiple Dynamic Partitioning Keys (maximum of 50) can be added by comma separating the `parameter_value`. @@ -223,7 +227,8 @@ * The following example adds the Dynamic Partitioning Keys: `store_id` and `customer_id` to the S3 prefix. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -247,30 +252,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var extendedS3Stream = new FirehoseDeliveryStream("extendedS3Stream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-extended-s3-test-stream")
- *             .destination("extended_s3")
+ *         var extendedS3Stream = new FirehoseDeliveryStream("extendedS3Stream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-extended-s3-test-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(firehoseRole.arn())
  *                 .bucketArn(bucket.arn())
  *                 .bufferingSize(64)
  *                 .dynamicPartitioningConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationDynamicPartitioningConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .build())
- *                 .prefix("data/store_id=!{partitionKeyFromQuery:store_id}/customer_id=!{partitionKeyFromQuery:customer_id}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/")
- *                 .errorOutputPrefix("errors/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/!{firehose:error-output-type}/")
+ *                 .prefix("data/store_id=!{partitionKeyFromQuery:store_id}/customer_id=!{partitionKeyFromQuery:customer_id}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/")
+ *                 .errorOutputPrefix("errors/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/!{firehose:error-output-type}/")
  *                 .processingConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .processors(FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorArgs.builder()
- *                         .type("MetadataExtraction")
+ *                         .type("MetadataExtraction")
  *                         .parameters(                        
  *                             FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                                 .parameterName("JsonParsingEngine")
- *                                 .parameterValue("JQ-1.6")
+ *                                 .parameterName("JsonParsingEngine")
+ *                                 .parameterValue("JQ-1.6")
  *                                 .build(),
  *                             FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                                 .parameterName("MetadataExtractionQuery")
- *                                 .parameterValue("{store_id:.store_id,customer_id:.customer_id}")
+ *                                 .parameterName("MetadataExtractionQuery")
+ *                                 .parameterValue("{store_id:.store_id,customer_id:.customer_id}")
  *                                 .build())
  *                         .build())
  *                     .build())
@@ -279,13 +284,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redshift Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -311,57 +318,59 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
- *             .clusterIdentifier("tf-redshift-cluster")
- *             .databaseName("test")
- *             .masterUsername("testuser")
- *             .masterPassword("T3stPass")
- *             .nodeType("dc1.large")
- *             .clusterType("single-node")
+ *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
+ *             .clusterIdentifier("tf-redshift-cluster")
+ *             .databaseName("test")
+ *             .masterUsername("testuser")
+ *             .masterPassword("T3stPass")
+ *             .nodeType("dc1.large")
+ *             .clusterType("single-node")
  *             .build());
  * 
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-test-stream")
- *             .destination("redshift")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-test-stream")
+ *             .destination("redshift")
  *             .redshiftConfiguration(FirehoseDeliveryStreamRedshiftConfigurationArgs.builder()
  *                 .roleArn(firehoseRole.arn())
- *                 .clusterJdbcurl(Output.tuple(testCluster.endpoint(), testCluster.databaseName()).applyValue(values -> {
+ *                 .clusterJdbcurl(Output.tuple(testCluster.endpoint(), testCluster.databaseName()).applyValue(values -> {
  *                     var endpoint = values.t1;
  *                     var databaseName = values.t2;
- *                     return String.format("jdbc:redshift://%s/%s", endpoint,databaseName);
+ *                     return String.format("jdbc:redshift://%s/%s", endpoint,databaseName);
  *                 }))
- *                 .username("testuser")
- *                 .password("T3stPass")
- *                 .dataTableName("test-table")
- *                 .copyOptions("delimiter '|'")
- *                 .dataTableColumns("test-col")
- *                 .s3BackupMode("Enabled")
+ *                 .username("testuser")
+ *                 .password("T3stPass")
+ *                 .dataTableName("test-table")
+ *                 .copyOptions("delimiter '|'")
+ *                 .dataTableColumns("test-col")
+ *                 .s3BackupMode("Enabled")
  *                 .s3Configuration(FirehoseDeliveryStreamRedshiftConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehoseRole.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .s3BackupConfiguration(FirehoseDeliveryStreamRedshiftConfigurationS3BackupConfigurationArgs.builder()
  *                     .roleArn(firehoseRole.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(15)
  *                     .bufferingInterval(300)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Elasticsearch Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -387,32 +396,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
- *             .domainName("firehose-es-test")
+ *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
+ *             .domainName("firehose-es-test")
  *             .build());
  * 
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-test-stream")
- *             .destination("elasticsearch")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-test-stream")
+ *             .destination("elasticsearch")
  *             .elasticsearchConfiguration(FirehoseDeliveryStreamElasticsearchConfigurationArgs.builder()
  *                 .domainArn(testCluster.arn())
  *                 .roleArn(firehoseRole.arn())
- *                 .indexName("test")
- *                 .typeName("test")
+ *                 .indexName("test")
+ *                 .typeName("test")
  *                 .s3Configuration(FirehoseDeliveryStreamElasticsearchConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehoseRole.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .processingConfiguration(FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .processors(FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfigurationProcessorArgs.builder()
- *                         .type("Lambda")
+ *                         .type("Lambda")
  *                         .parameters(FirehoseDeliveryStreamElasticsearchConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                             .parameterName("LambdaArn")
- *                             .parameterValue(String.format("%s:$LATEST", lambdaProcessor.arn()))
+ *                             .parameterName("LambdaArn")
+ *                             .parameterValue(String.format("%s:$LATEST", lambdaProcessor.arn()))
  *                             .build())
  *                         .build())
  *                     .build())
@@ -421,13 +430,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Elasticsearch Destination With VPC * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -461,12 +472,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
- *             .domainName("es-test")
+ *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
+ *             .domainName("es-test")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
  *                 .instanceCount(2)
  *                 .zoneAwarenessEnabled(true)
- *                 .instanceType("t2.small.elasticsearch")
+ *                 .instanceType("t2.small.elasticsearch")
  *                 .build())
  *             .ebsOptions(DomainEbsOptionsArgs.builder()
  *                 .ebsEnabled(true)
@@ -483,41 +494,41 @@
  *         final var firehose-elasticsearch = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
- *                     .actions("es:*")
+ *                     .effect("Allow")
+ *                     .actions("es:*")
  *                     .resources(                    
  *                         testCluster.arn(),
- *                         testCluster.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                         testCluster.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "ec2:DescribeVpcs",
- *                         "ec2:DescribeVpcAttribute",
- *                         "ec2:DescribeSubnets",
- *                         "ec2:DescribeSecurityGroups",
- *                         "ec2:DescribeNetworkInterfaces",
- *                         "ec2:CreateNetworkInterface",
- *                         "ec2:CreateNetworkInterfacePermission",
- *                         "ec2:DeleteNetworkInterface")
- *                     .resources("*")
+ *                         "ec2:DescribeVpcs",
+ *                         "ec2:DescribeVpcAttribute",
+ *                         "ec2:DescribeSubnets",
+ *                         "ec2:DescribeSecurityGroups",
+ *                         "ec2:DescribeNetworkInterfaces",
+ *                         "ec2:CreateNetworkInterface",
+ *                         "ec2:CreateNetworkInterfacePermission",
+ *                         "ec2:DeleteNetworkInterface")
+ *                     .resources("*")
  *                     .build())
  *             .build());
  * 
- *         var firehose_elasticsearchRolePolicy = new RolePolicy("firehose-elasticsearchRolePolicy", RolePolicyArgs.builder()        
- *             .name("elasticsearch")
+ *         var firehose_elasticsearchRolePolicy = new RolePolicy("firehose-elasticsearchRolePolicy", RolePolicyArgs.builder()        
+ *             .name("elasticsearch")
  *             .role(firehose.id())
- *             .policy(firehose_elasticsearch.applyValue(firehose_elasticsearch -> firehose_elasticsearch.json()))
+ *             .policy(firehose_elasticsearch.applyValue(firehose_elasticsearch -> firehose_elasticsearch.json()))
  *             .build());
  * 
- *         var test = new FirehoseDeliveryStream("test", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-es")
- *             .destination("elasticsearch")
+ *         var test = new FirehoseDeliveryStream("test", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-es")
+ *             .destination("elasticsearch")
  *             .elasticsearchConfiguration(FirehoseDeliveryStreamElasticsearchConfigurationArgs.builder()
  *                 .domainArn(testCluster.arn())
  *                 .roleArn(firehose.arn())
- *                 .indexName("test")
- *                 .typeName("test")
+ *                 .indexName("test")
+ *                 .typeName("test")
  *                 .s3Configuration(FirehoseDeliveryStreamElasticsearchConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehose.arn())
  *                     .bucketArn(bucket.arn())
@@ -536,13 +547,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### OpenSearch Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -568,31 +581,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
- *             .domainName("firehose-os-test")
+ *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
+ *             .domainName("firehose-os-test")
  *             .build());
  * 
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-test-stream")
- *             .destination("opensearch")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-test-stream")
+ *             .destination("opensearch")
  *             .opensearchConfiguration(FirehoseDeliveryStreamOpensearchConfigurationArgs.builder()
  *                 .domainArn(testCluster.arn())
  *                 .roleArn(firehoseRole.arn())
- *                 .indexName("test")
+ *                 .indexName("test")
  *                 .s3Configuration(FirehoseDeliveryStreamOpensearchConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehoseRole.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .processingConfiguration(FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .processors(FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorArgs.builder()
- *                         .type("Lambda")
+ *                         .type("Lambda")
  *                         .parameters(FirehoseDeliveryStreamOpensearchConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                             .parameterName("LambdaArn")
- *                             .parameterValue(String.format("%s:$LATEST", lambdaProcessor.arn()))
+ *                             .parameterName("LambdaArn")
+ *                             .parameterValue(String.format("%s:$LATEST", lambdaProcessor.arn()))
  *                             .build())
  *                         .build())
  *                     .build())
@@ -601,13 +614,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### OpenSearch Destination With VPC * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -639,12 +654,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
- *             .domainName("es-test")
+ *         var testCluster = new Domain("testCluster", DomainArgs.builder()        
+ *             .domainName("es-test")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
  *                 .instanceCount(2)
  *                 .zoneAwarenessEnabled(true)
- *                 .instanceType("m4.large.search")
+ *                 .instanceType("m4.large.search")
  *                 .build())
  *             .ebsOptions(DomainEbsOptionsArgs.builder()
  *                 .ebsEnabled(true)
@@ -658,55 +673,55 @@
  *                 .build())
  *             .build());
  * 
- *         var firehose_opensearch = new RolePolicy("firehose-opensearch", RolePolicyArgs.builder()        
- *             .name("opensearch")
+ *         var firehose_opensearch = new RolePolicy("firehose-opensearch", RolePolicyArgs.builder()        
+ *             .name("opensearch")
  *             .role(firehose.id())
- *             .policy(Output.tuple(testCluster.arn(), testCluster.arn()).applyValue(values -> {
+ *             .policy(Output.tuple(testCluster.arn(), testCluster.arn()).applyValue(values -> {
  *                 var testClusterArn = values.t1;
  *                 var testClusterArn1 = values.t2;
- *                 return """
+ *                 return """
  * {
- *   "Version": "2012-10-17",
- *   "Statement": [
+ *   "Version": "2012-10-17",
+ *   "Statement": [
  *     {
- *       "Effect": "Allow",
- *       "Action": [
- *         "es:*"
+ *       "Effect": "Allow",
+ *       "Action": [
+ *         "es:*"
  *       ],
- *       "Resource": [
- *         "%s",
- *         "%s/*"
+ *       "Resource": [
+ *         "%s",
+ *         "%s/*"
  *       ]
  *         },
  *         {
- *           "Effect": "Allow",
- *           "Action": [
- *             "ec2:DescribeVpcs",
- *             "ec2:DescribeVpcAttribute",
- *             "ec2:DescribeSubnets",
- *             "ec2:DescribeSecurityGroups",
- *             "ec2:DescribeNetworkInterfaces",
- *             "ec2:CreateNetworkInterface",
- *             "ec2:CreateNetworkInterfacePermission",
- *             "ec2:DeleteNetworkInterface"
+ *           "Effect": "Allow",
+ *           "Action": [
+ *             "ec2:DescribeVpcs",
+ *             "ec2:DescribeVpcAttribute",
+ *             "ec2:DescribeSubnets",
+ *             "ec2:DescribeSecurityGroups",
+ *             "ec2:DescribeNetworkInterfaces",
+ *             "ec2:CreateNetworkInterface",
+ *             "ec2:CreateNetworkInterfacePermission",
+ *             "ec2:DeleteNetworkInterface"
  *           ],
- *           "Resource": [
- *             "*"
+ *           "Resource": [
+ *             "*"
  *           ]
  *         }
  *   ]
  * }
- * ", testClusterArn,testClusterArn1);
+ * ", testClusterArn,testClusterArn1);
  *             }))
  *             .build());
  * 
- *         var test = new FirehoseDeliveryStream("test", FirehoseDeliveryStreamArgs.builder()        
- *             .name("pulumi-kinesis-firehose-os")
- *             .destination("opensearch")
+ *         var test = new FirehoseDeliveryStream("test", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("pulumi-kinesis-firehose-os")
+ *             .destination("opensearch")
  *             .opensearchConfiguration(FirehoseDeliveryStreamOpensearchConfigurationArgs.builder()
  *                 .domainArn(testCluster.arn())
  *                 .roleArn(firehose.arn())
- *                 .indexName("test")
+ *                 .indexName("test")
  *                 .s3Configuration(FirehoseDeliveryStreamOpensearchConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehose.arn())
  *                     .bucketArn(bucket.arn())
@@ -725,13 +740,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### OpenSearch Serverless Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -757,31 +774,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testCollection = new ServerlessCollection("testCollection", ServerlessCollectionArgs.builder()        
- *             .name("firehose-osserverless-test")
+ *         var testCollection = new ServerlessCollection("testCollection", ServerlessCollectionArgs.builder()        
+ *             .name("firehose-osserverless-test")
  *             .build());
  * 
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-test-stream")
- *             .destination("opensearchserverless")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-test-stream")
+ *             .destination("opensearchserverless")
  *             .opensearchserverlessConfiguration(FirehoseDeliveryStreamOpensearchserverlessConfigurationArgs.builder()
  *                 .collectionEndpoint(testCollection.collectionEndpoint())
  *                 .roleArn(firehoseRole.arn())
- *                 .indexName("test")
+ *                 .indexName("test")
  *                 .s3Configuration(FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehoseRole.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .processingConfiguration(FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationArgs.builder()
- *                     .enabled("true")
+ *                     .enabled("true")
  *                     .processors(FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationProcessorArgs.builder()
- *                         .type("Lambda")
+ *                         .type("Lambda")
  *                         .parameters(FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationProcessorParameterArgs.builder()
- *                             .parameterName("LambdaArn")
- *                             .parameterValue(String.format("%s:$LATEST", lambdaProcessor.arn()))
+ *                             .parameterName("LambdaArn")
+ *                             .parameterValue(String.format("%s:$LATEST", lambdaProcessor.arn()))
  *                             .build())
  *                         .build())
  *                     .build())
@@ -790,13 +807,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Splunk Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -819,34 +838,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-test-stream")
- *             .destination("splunk")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-test-stream")
+ *             .destination("splunk")
  *             .splunkConfiguration(FirehoseDeliveryStreamSplunkConfigurationArgs.builder()
- *                 .hecEndpoint("https://http-inputs-mydomain.splunkcloud.com:443")
- *                 .hecToken("51D4DA16-C61B-4F5F-8EC7-ED4301342A4A")
+ *                 .hecEndpoint("https://http-inputs-mydomain.splunkcloud.com:443")
+ *                 .hecToken("51D4DA16-C61B-4F5F-8EC7-ED4301342A4A")
  *                 .hecAcknowledgmentTimeout(600)
- *                 .hecEndpointType("Event")
- *                 .s3BackupMode("FailedEventsOnly")
+ *                 .hecEndpointType("Event")
+ *                 .s3BackupMode("FailedEventsOnly")
  *                 .s3Configuration(FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehose.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### HTTP Endpoint (e.g., New Relic) Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -870,34 +891,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-test-stream")
- *             .destination("http_endpoint")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-test-stream")
+ *             .destination("http_endpoint")
  *             .httpEndpointConfiguration(FirehoseDeliveryStreamHttpEndpointConfigurationArgs.builder()
- *                 .url("https://aws-api.newrelic.com/firehose/v1")
- *                 .name("New Relic")
- *                 .accessKey("my-key")
+ *                 .url("https://aws-api.newrelic.com/firehose/v1")
+ *                 .name("New Relic")
+ *                 .accessKey("my-key")
  *                 .bufferingSize(15)
  *                 .bufferingInterval(600)
  *                 .roleArn(firehose.arn())
- *                 .s3BackupMode("FailedDataOnly")
+ *                 .s3BackupMode("FailedDataOnly")
  *                 .s3Configuration(FirehoseDeliveryStreamHttpEndpointConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehose.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .requestConfiguration(FirehoseDeliveryStreamHttpEndpointConfigurationRequestConfigurationArgs.builder()
- *                     .contentEncoding("GZIP")
+ *                     .contentEncoding("GZIP")
  *                     .commonAttributes(                    
  *                         FirehoseDeliveryStreamHttpEndpointConfigurationRequestConfigurationCommonAttributeArgs.builder()
- *                             .name("testname")
- *                             .value("testvalue")
+ *                             .name("testname")
+ *                             .value("testvalue")
  *                             .build(),
  *                         FirehoseDeliveryStreamHttpEndpointConfigurationRequestConfigurationCommonAttributeArgs.builder()
- *                             .name("testname2")
- *                             .value("testvalue2")
+ *                             .name("testname2")
+ *                             .value("testvalue2")
  *                             .build())
  *                     .build())
  *                 .build())
@@ -905,13 +926,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Snowflake Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -934,30 +957,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleSnowflakeDestination = new FirehoseDeliveryStream("exampleSnowflakeDestination", FirehoseDeliveryStreamArgs.builder()        
- *             .name("example-snowflake-destination")
- *             .destination("snowflake")
+ *         var exampleSnowflakeDestination = new FirehoseDeliveryStream("exampleSnowflakeDestination", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("example-snowflake-destination")
+ *             .destination("snowflake")
  *             .snowflakeConfiguration(FirehoseDeliveryStreamSnowflakeConfigurationArgs.builder()
- *                 .accountUrl("https://example.snowflakecomputing.com")
- *                 .database("example-db")
- *                 .privateKey("...")
+ *                 .accountUrl("https://example.snowflakecomputing.com")
+ *                 .database("example-db")
+ *                 .privateKey("...")
  *                 .roleArn(firehose.arn())
- *                 .schema("example-schema")
- *                 .table("example-table")
- *                 .user("example-usr")
+ *                 .schema("example-schema")
+ *                 .table("example-table")
+ *                 .user("example-usr")
  *                 .s3Configuration(FirehoseDeliveryStreamSnowflakeConfigurationS3ConfigurationArgs.builder()
  *                     .roleArn(firehose.arn())
  *                     .bucketArn(bucket.arn())
  *                     .bufferingSize(10)
  *                     .bufferingInterval(400)
- *                     .compressionFormat("GZIP")
+ *                     .compressionFormat("GZIP")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/KinesisFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/KinesisFunctions.java index 90cf0fbcaa0..1430f2f1f1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/KinesisFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/KinesisFunctions.java @@ -28,7 +28,8 @@ public final class KinesisFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,12 +51,13 @@ public final class KinesisFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getFirehoseDeliveryStream(GetFirehoseDeliveryStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getFirehoseDeliveryStream( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,12 +95,13 @@ public static Output getFirehoseDeliveryStream(
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getFirehoseDeliveryStream(GetFirehoseDeliveryStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getFirehoseDeli * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getFirehoseDeli
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getFirehoseDeliveryStream(GetFirehoseDeliveryStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -154,7 +160,8 @@ public static Output getFirehoseDeliveryStream( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -176,12 +183,13 @@ public static Output getFirehoseDeliveryStream(
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getFirehoseDeliveryStream(GetFirehoseDeliveryStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -197,7 +205,8 @@ public static CompletableFuture getFirehoseDeli * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -219,12 +228,13 @@ public static CompletableFuture getFirehoseDeli
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getStream(GetStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -240,7 +250,8 @@ public static Output getStream(GetStreamArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -262,12 +273,13 @@ public static Output getStream(GetStreamArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getStream(GetStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -283,7 +295,8 @@ public static CompletableFuture getStreamPlain(GetStreamPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -305,12 +318,13 @@ public static CompletableFuture getStreamPlain(GetStreamPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getStream(GetStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -326,7 +340,8 @@ public static Output getStream(GetStreamArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -348,12 +363,13 @@ public static Output getStream(GetStreamArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var stream = KinesisFunctions.getStream(GetStreamArgs.builder()
-     *             .name("stream-name")
+     *             .name("stream-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -368,7 +384,8 @@ public static CompletableFuture getStreamPlain(GetStreamPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -390,13 +407,14 @@ public static CompletableFuture getStreamPlain(GetStreamPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KinesisFunctions.getStreamConsumer(GetStreamConsumerArgs.builder()
-     *             .name("example-consumer")
+     *             .name("example-consumer")
      *             .streamArn(exampleAwsKinesisStream.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -411,7 +429,8 @@ public static Output getStreamConsumer(GetStreamConsume * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -433,13 +452,14 @@ public static Output getStreamConsumer(GetStreamConsume
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KinesisFunctions.getStreamConsumer(GetStreamConsumerArgs.builder()
-     *             .name("example-consumer")
+     *             .name("example-consumer")
      *             .streamArn(exampleAwsKinesisStream.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -454,7 +474,8 @@ public static CompletableFuture getStreamConsumerPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -476,13 +497,14 @@ public static CompletableFuture getStreamConsumerPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KinesisFunctions.getStreamConsumer(GetStreamConsumerArgs.builder()
-     *             .name("example-consumer")
+     *             .name("example-consumer")
      *             .streamArn(exampleAwsKinesisStream.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -497,7 +519,8 @@ public static Output getStreamConsumer(GetStreamConsume * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -519,13 +542,14 @@ public static Output getStreamConsumer(GetStreamConsume
      * 
      *     public static void stack(Context ctx) {
      *         final var example = KinesisFunctions.getStreamConsumer(GetStreamConsumerArgs.builder()
-     *             .name("example-consumer")
+     *             .name("example-consumer")
      *             .streamArn(exampleAwsKinesisStream.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/ResourcePolicy.java index 9363ac16f46..8708f5a1df9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/ResourcePolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,33 +42,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .resourceArn(exampleAwsKinesisStream.arn())
- *             .policy("""
+ *             .policy("""
  * {
- *   "Version": "2012-10-17",
- *   "Id": "writePolicy",
- *   "Statement": [{
- *     "Sid": "writestatement",
- *     "Effect": "Allow",
- *     "Principal": {
- *       "AWS": "123456789456"
+ *   "Version": "2012-10-17",
+ *   "Id": "writePolicy",
+ *   "Statement": [{
+ *     "Sid": "writestatement",
+ *     "Effect": "Allow",
+ *     "Principal": {
+ *       "AWS": "123456789456"
  *     },
- *     "Action": [
- *       "kinesis:DescribeStreamSummary",
- *       "kinesis:ListShards",
- *       "kinesis:PutRecord",
- *       "kinesis:PutRecords"
+ *     "Action": [
+ *       "kinesis:DescribeStreamSummary",
+ *       "kinesis:ListShards",
+ *       "kinesis:PutRecord",
+ *       "kinesis:PutRecords"
  *     ],
- *     "Resource": "%s"
+ *     "Resource": "%s"
  *   }]
  * }
- * ", exampleAwsKinesisStream.arn()))
+ * ", exampleAwsKinesisStream.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/Stream.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/Stream.java index 42423da89d9..67cd48a083e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/Stream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/Stream.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,22 +51,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testStream = new Stream("testStream", StreamArgs.builder()        
- *             .name("kinesis-test")
+ *         var testStream = new Stream("testStream", StreamArgs.builder()        
+ *             .name("kinesis-test")
  *             .shardCount(1)
  *             .retentionPeriod(48)
  *             .shardLevelMetrics(            
- *                 "IncomingBytes",
- *                 "OutgoingBytes")
+ *                 "IncomingBytes",
+ *                 "OutgoingBytes")
  *             .streamModeDetails(StreamStreamModeDetailsArgs.builder()
- *                 .streamMode("PROVISIONED")
+ *                 .streamMode("PROVISIONED")
  *                 .build())
- *             .tags(Map.of("Environment", "test"))
+ *             .tags(Map.of("Environment", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/StreamConsumer.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/StreamConsumer.java index 9e4fe25a010..9f327a241c8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/StreamConsumer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/StreamConsumer.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Stream("example", StreamArgs.builder()        
- *             .name("example-stream")
+ *         var example = new Stream("example", StreamArgs.builder()        
+ *             .name("example-stream")
  *             .shardCount(1)
  *             .build());
  * 
- *         var exampleStreamConsumer = new StreamConsumer("exampleStreamConsumer", StreamConsumerArgs.builder()        
- *             .name("example-consumer")
+ *         var exampleStreamConsumer = new StreamConsumer("exampleStreamConsumer", StreamConsumerArgs.builder()        
+ *             .name("example-consumer")
  *             .streamArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/VideoStream.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/VideoStream.java index 9783eaba6c6..e6707e9ce8d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/VideoStream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/VideoStream.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,17 +46,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new VideoStream("default", VideoStreamArgs.builder()        
- *             .name("kinesis-video-stream")
+ *         var default_ = new VideoStream("default", VideoStreamArgs.builder()        
+ *             .name("kinesis-video-stream")
  *             .dataRetentionInHours(1)
- *             .deviceName("kinesis-video-device-name")
- *             .mediaType("video/h264")
- *             .tags(Map.of("Name", "kinesis-video-stream"))
+ *             .deviceName("kinesis-video-device-name")
+ *             .mediaType("video/h264")
+ *             .tags(Map.of("Name", "kinesis-video-stream"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java index 571b1b985b3..d4bdc497e47 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java @@ -30,7 +30,8 @@ * ### Apache Flink Application * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -65,19 +66,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example-flink-application")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example-flink-application")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(example.id())
- *             .key("example-flink-application")
- *             .source(new FileAsset("flink-app.jar"))
+ *             .key("example-flink-application")
+ *             .source(new FileAsset("flink-app.jar"))
  *             .build());
  * 
- *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
- *             .name("example-flink-application")
- *             .runtimeEnvironment("FLINK-1_8")
+ *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
+ *             .name("example-flink-application")
+ *             .runtimeEnvironment("FLINK-1_8")
  *             .serviceExecutionRole(exampleAwsIamRole.arn())
  *             .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()
  *                 .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()
@@ -87,51 +88,53 @@
  *                             .fileKey(exampleBucketObjectv2.key())
  *                             .build())
  *                         .build())
- *                     .codeContentType("ZIPFILE")
+ *                     .codeContentType("ZIPFILE")
  *                     .build())
  *                 .environmentProperties(ApplicationApplicationConfigurationEnvironmentPropertiesArgs.builder()
  *                     .propertyGroups(                    
  *                         ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs.builder()
- *                             .propertyGroupId("PROPERTY-GROUP-1")
- *                             .propertyMap(Map.of("Key1", "Value1"))
+ *                             .propertyGroupId("PROPERTY-GROUP-1")
+ *                             .propertyMap(Map.of("Key1", "Value1"))
  *                             .build(),
  *                         ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs.builder()
- *                             .propertyGroupId("PROPERTY-GROUP-2")
+ *                             .propertyGroupId("PROPERTY-GROUP-2")
  *                             .propertyMap(Map.ofEntries(
- *                                 Map.entry("KeyA", "ValueA"),
- *                                 Map.entry("KeyB", "ValueB")
+ *                                 Map.entry("KeyA", "ValueA"),
+ *                                 Map.entry("KeyB", "ValueB")
  *                             ))
  *                             .build())
  *                     .build())
  *                 .flinkApplicationConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs.builder()
  *                     .checkpointConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs.builder()
- *                         .configurationType("DEFAULT")
+ *                         .configurationType("DEFAULT")
  *                         .build())
  *                     .monitoringConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs.builder()
- *                         .configurationType("CUSTOM")
- *                         .logLevel("DEBUG")
- *                         .metricsLevel("TASK")
+ *                         .configurationType("CUSTOM")
+ *                         .logLevel("DEBUG")
+ *                         .metricsLevel("TASK")
  *                         .build())
  *                     .parallelismConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs.builder()
  *                         .autoScalingEnabled(true)
- *                         .configurationType("CUSTOM")
+ *                         .configurationType("CUSTOM")
  *                         .parallelism(10)
  *                         .parallelismPerKpu(4)
  *                         .build())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("Environment", "test"))
+ *             .tags(Map.of("Environment", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SQL Application * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -174,54 +177,54 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name("example-sql-application")
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name("example-sql-application")
  *             .build());
  * 
- *         var exampleLogStream = new LogStream("exampleLogStream", LogStreamArgs.builder()        
- *             .name("example-sql-application")
+ *         var exampleLogStream = new LogStream("exampleLogStream", LogStreamArgs.builder()        
+ *             .name("example-sql-application")
  *             .logGroupName(example.name())
  *             .build());
  * 
- *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
- *             .name("example-sql-application")
- *             .runtimeEnvironment("SQL-1_0")
+ *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
+ *             .name("example-sql-application")
+ *             .runtimeEnvironment("SQL-1_0")
  *             .serviceExecutionRole(exampleAwsIamRole.arn())
  *             .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()
  *                 .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()
  *                     .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()
- *                         .textContent("""
+ *                         .textContent("""
  * SELECT 1;
- *                         """)
+ *                         """)
  *                         .build())
- *                     .codeContentType("PLAINTEXT")
+ *                     .codeContentType("PLAINTEXT")
  *                     .build())
  *                 .sqlApplicationConfiguration(ApplicationApplicationConfigurationSqlApplicationConfigurationArgs.builder()
  *                     .input(ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs.builder()
- *                         .namePrefix("PREFIX_1")
+ *                         .namePrefix("PREFIX_1")
  *                         .inputParallelism(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs.builder()
  *                             .count(3)
  *                             .build())
  *                         .inputSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs.builder()
  *                             .recordColumns(                            
  *                                 ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs.builder()
- *                                     .name("COLUMN_1")
- *                                     .sqlType("VARCHAR(8)")
- *                                     .mapping("MAPPING-1")
+ *                                     .name("COLUMN_1")
+ *                                     .sqlType("VARCHAR(8)")
+ *                                     .mapping("MAPPING-1")
  *                                     .build(),
  *                                 ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs.builder()
- *                                     .name("COLUMN_2")
- *                                     .sqlType("DOUBLE")
+ *                                     .name("COLUMN_2")
+ *                                     .sqlType("DOUBLE")
  *                                     .build())
- *                             .recordEncoding("UTF-8")
+ *                             .recordEncoding("UTF-8")
  *                             .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs.builder()
- *                                 .recordFormatType("CSV")
+ *                                 .recordFormatType("CSV")
  *                                 .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.builder()
  *                                     .csvMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs.builder()
- *                                         .recordColumnDelimiter(",")
- *                                         .recordRowDelimiter("""
+ *                                         .recordColumnDelimiter(",")
+ *                                         .recordRowDelimiter("""
  * 
- *                                         """)
+ *                                         """)
  *                                         .build())
  *                                     .build())
  *                                 .build())
@@ -232,42 +235,42 @@
  *                         .build())
  *                     .outputs(                    
  *                         ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs.builder()
- *                             .name("OUTPUT_1")
+ *                             .name("OUTPUT_1")
  *                             .destinationSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs.builder()
- *                                 .recordFormatType("JSON")
+ *                                 .recordFormatType("JSON")
  *                                 .build())
  *                             .lambdaOutput(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs.builder()
  *                                 .resourceArn(exampleAwsLambdaFunction.arn())
  *                                 .build())
  *                             .build(),
  *                         ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs.builder()
- *                             .name("OUTPUT_2")
+ *                             .name("OUTPUT_2")
  *                             .destinationSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs.builder()
- *                                 .recordFormatType("CSV")
+ *                                 .recordFormatType("CSV")
  *                                 .build())
  *                             .kinesisFirehoseOutput(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs.builder()
  *                                 .resourceArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *                                 .build())
  *                             .build())
  *                     .referenceDataSource(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs.builder()
- *                         .tableName("TABLE-1")
+ *                         .tableName("TABLE-1")
  *                         .referenceSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs.builder()
  *                             .recordColumns(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs.builder()
- *                                 .name("COLUMN_1")
- *                                 .sqlType("INTEGER")
+ *                                 .name("COLUMN_1")
+ *                                 .sqlType("INTEGER")
  *                                 .build())
  *                             .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.builder()
- *                                 .recordFormatType("JSON")
+ *                                 .recordFormatType("JSON")
  *                                 .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs.builder()
  *                                     .jsonMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs.builder()
- *                                         .recordRowPath("$")
+ *                                         .recordRowPath("$")
  *                                         .build())
  *                                     .build())
  *                                 .build())
  *                             .build())
  *                         .s3ReferenceDataSource(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs.builder()
  *                             .bucketArn(exampleAwsS3Bucket.arn())
- *                             .fileKey("KEY-1")
+ *                             .fileKey("KEY-1")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -279,13 +282,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### VPC Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -316,19 +321,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example-flink-application")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example-flink-application")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(example.id())
- *             .key("example-flink-application")
- *             .source(new FileAsset("flink-app.jar"))
+ *             .key("example-flink-application")
+ *             .source(new FileAsset("flink-app.jar"))
  *             .build());
  * 
- *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
- *             .name("example-flink-application")
- *             .runtimeEnvironment("FLINK-1_8")
+ *         var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()        
+ *             .name("example-flink-application")
+ *             .runtimeEnvironment("FLINK-1_8")
  *             .serviceExecutionRole(exampleAwsIamRole.arn())
  *             .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()
  *                 .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()
@@ -338,7 +343,7 @@
  *                             .fileKey(exampleBucketObjectv2.key())
  *                             .build())
  *                         .build())
- *                     .codeContentType("ZIPFILE")
+ *                     .codeContentType("ZIPFILE")
  *                     .build())
  *                 .vpcConfiguration(ApplicationApplicationConfigurationVpcConfigurationArgs.builder()
  *                     .securityGroupIds(                    
@@ -351,7 +356,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/ApplicationSnapshot.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/ApplicationSnapshot.java index 1cd753148e2..d56f7a347a6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/ApplicationSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/ApplicationSnapshot.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApplicationSnapshot("example", ApplicationSnapshotArgs.builder()        
+ *         var example = new ApplicationSnapshot("example", ApplicationSnapshotArgs.builder()        
  *             .applicationName(exampleAwsKinesisanalyticsv2Application.name())
- *             .snapshotName("example-snapshot")
+ *             .snapshotName("example-snapshot")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/Alias.java b/sdk/java/src/main/java/com/pulumi/aws/kms/Alias.java index 848144afb4c..71f19632c4a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/Alias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/Alias.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,16 +44,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var a = new Key("a");
+ *         var a = new Key("a");
  * 
- *         var aAlias = new Alias("aAlias", AliasArgs.builder()        
- *             .name("alias/my-key-alias")
+ *         var aAlias = new Alias("aAlias", AliasArgs.builder()        
+ *             .name("alias/my-key-alias")
  *             .targetKeyId(a.keyId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/Ciphertext.java b/sdk/java/src/main/java/com/pulumi/aws/kms/Ciphertext.java index 1027e697583..944c3134517 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/Ciphertext.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/Ciphertext.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
- *             .description("oauth config")
+ *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
+ *             .description("oauth config")
  *             .isEnabled(true)
  *             .build());
  * 
- *         var oauth = new Ciphertext("oauth", CiphertextArgs.builder()        
+ *         var oauth = new Ciphertext("oauth", CiphertextArgs.builder()        
  *             .keyId(oauthConfig.keyId())
- *             .plaintext("""
+ *             .plaintext("""
  * {
- *   "client_id": "e587dbae22222f55da22",
- *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
+ *   "client_id": "e587dbae22222f55da22",
+ *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/CustomKeyStore.java b/sdk/java/src/main/java/com/pulumi/aws/kms/CustomKeyStore.java index b54d40c3524..ac4ee19d570 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/CustomKeyStore.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/CustomKeyStore.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,18 +43,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new CustomKeyStore("test", CustomKeyStoreArgs.builder()        
+ *         var test = new CustomKeyStore("test", CustomKeyStoreArgs.builder()        
  *             .cloudHsmClusterId(cloudHsmClusterId)
- *             .customKeyStoreName("kms-custom-key-store-test")
- *             .keyStorePassword("noplaintextpasswords1")
+ *             .customKeyStoreName("kms-custom-key-store-test")
+ *             .keyStorePassword("noplaintextpasswords1")
  *             .trustAnchorCertificate(StdFunctions.file(FileArgs.builder()
- *                 .input("anchor-certificate.crt")
+ *                 .input("anchor-certificate.crt")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/ExternalKey.java b/sdk/java/src/main/java/com/pulumi/aws/kms/ExternalKey.java index 11fa988638f..ed90e682407 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/ExternalKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/ExternalKey.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ExternalKey("example", ExternalKeyArgs.builder()        
- *             .description("KMS EXTERNAL for AMI encryption")
+ *         var example = new ExternalKey("example", ExternalKeyArgs.builder()        
+ *             .description("KMS EXTERNAL for AMI encryption")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/Key.java b/sdk/java/src/main/java/com/pulumi/aws/kms/Key.java index 6f9699902d1..b61c4c887c5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/Key.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/Key.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var a = new Key("a", KeyArgs.builder()        
- *             .description("KMS key 1")
+ *         var a = new Key("a", KeyArgs.builder()        
+ *             .description("KMS key 1")
  *             .deletionWindowInDays(10)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/KeyPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/kms/KeyPolicy.java index 297e9a5e5a6..aedfb665c42 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/KeyPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/KeyPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,31 +46,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("example")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
- *         var exampleKeyPolicy = new KeyPolicy("exampleKeyPolicy", KeyPolicyArgs.builder()        
+ *         var exampleKeyPolicy = new KeyPolicy("exampleKeyPolicy", KeyPolicyArgs.builder()        
  *             .keyId(example.id())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Id", "example"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "kms:*"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "*")
+ *                     jsonProperty("Id", "example"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "kms:*"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "*")
  *                         )),
- *                         jsonProperty("Resource", "*"),
- *                         jsonProperty("Sid", "Enable IAM User Permissions")
+ *                         jsonProperty("Resource", "*"),
+ *                         jsonProperty("Sid", "Enable IAM User Permissions")
  *                     ))),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/KmsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/kms/KmsFunctions.java index 32dc08c2030..3e80d1bcfed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/KmsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/KmsFunctions.java @@ -40,7 +40,8 @@ public final class KmsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -62,12 +63,13 @@ public final class KmsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = KmsFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("alias/aws/s3")
+     *             .name("alias/aws/s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -82,7 +84,8 @@ public static Output getAlias(GetAliasArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -104,12 +107,13 @@ public static Output getAlias(GetAliasArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = KmsFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("alias/aws/s3")
+     *             .name("alias/aws/s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -124,7 +128,8 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -146,12 +151,13 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = KmsFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("alias/aws/s3")
+     *             .name("alias/aws/s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -166,7 +172,8 @@ public static Output getAlias(GetAliasArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -188,12 +195,13 @@ public static Output getAlias(GetAliasArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var s3 = KmsFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("alias/aws/s3")
+     *             .name("alias/aws/s3")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -209,7 +217,8 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -232,24 +241,25 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
-     *             .description("oauth config")
+     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
+     *             .description("oauth config")
      *             .isEnabled(true)
      *             .build());
      * 
      *         final var oauth = KmsFunctions.getCipherText(GetCipherTextArgs.builder()
      *             .keyId(oauthConfig.keyId())
-     *             .plaintext("""
+     *             .plaintext("""
      * {
-     *   "client_id": "e587dbae22222f55da22",
-     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
+     *   "client_id": "e587dbae22222f55da22",
+     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -265,7 +275,8 @@ public static Output getCipherText(GetCipherTextArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -288,24 +299,25 @@ public static Output getCipherText(GetCipherTextArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
-     *             .description("oauth config")
+     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
+     *             .description("oauth config")
      *             .isEnabled(true)
      *             .build());
      * 
      *         final var oauth = KmsFunctions.getCipherText(GetCipherTextArgs.builder()
      *             .keyId(oauthConfig.keyId())
-     *             .plaintext("""
+     *             .plaintext("""
      * {
-     *   "client_id": "e587dbae22222f55da22",
-     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
+     *   "client_id": "e587dbae22222f55da22",
+     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -321,7 +333,8 @@ public static CompletableFuture getCipherTextPlain(GetCiphe * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -344,24 +357,25 @@ public static CompletableFuture getCipherTextPlain(GetCiphe
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
-     *             .description("oauth config")
+     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
+     *             .description("oauth config")
      *             .isEnabled(true)
      *             .build());
      * 
      *         final var oauth = KmsFunctions.getCipherText(GetCipherTextArgs.builder()
      *             .keyId(oauthConfig.keyId())
-     *             .plaintext("""
+     *             .plaintext("""
      * {
-     *   "client_id": "e587dbae22222f55da22",
-     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
+     *   "client_id": "e587dbae22222f55da22",
+     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -377,7 +391,8 @@ public static Output getCipherText(GetCipherTextArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -400,24 +415,25 @@ public static Output getCipherText(GetCipherTextArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
-     *             .description("oauth config")
+     *         var oauthConfig = new Key("oauthConfig", KeyArgs.builder()        
+     *             .description("oauth config")
      *             .isEnabled(true)
      *             .build());
      * 
      *         final var oauth = KmsFunctions.getCipherText(GetCipherTextArgs.builder()
      *             .keyId(oauthConfig.keyId())
-     *             .plaintext("""
+     *             .plaintext("""
      * {
-     *   "client_id": "e587dbae22222f55da22",
-     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
+     *   "client_id": "e587dbae22222f55da22",
+     *   "client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
      * }
-     *             """)
+     *             """)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -432,7 +448,8 @@ public static CompletableFuture getCipherTextPlain(GetCiphe * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -454,12 +471,13 @@ public static CompletableFuture getCipherTextPlain(GetCiphe
      * 
      *     public static void stack(Context ctx) {
      *         final var keystore = KmsFunctions.getCustomKeyStore(GetCustomKeyStoreArgs.builder()
-     *             .customKeyStoreName("my_cloudhsm")
+     *             .customKeyStoreName("my_cloudhsm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -474,7 +492,8 @@ public static Output getCustomKeyStore() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -496,12 +515,13 @@ public static Output getCustomKeyStore() {
      * 
      *     public static void stack(Context ctx) {
      *         final var keystore = KmsFunctions.getCustomKeyStore(GetCustomKeyStoreArgs.builder()
-     *             .customKeyStoreName("my_cloudhsm")
+     *             .customKeyStoreName("my_cloudhsm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -516,7 +536,8 @@ public static CompletableFuture getCustomKeyStorePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -538,12 +559,13 @@ public static CompletableFuture getCustomKeyStorePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var keystore = KmsFunctions.getCustomKeyStore(GetCustomKeyStoreArgs.builder()
-     *             .customKeyStoreName("my_cloudhsm")
+     *             .customKeyStoreName("my_cloudhsm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -558,7 +580,8 @@ public static Output getCustomKeyStore(GetCustomKeyStor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -580,12 +603,13 @@ public static Output getCustomKeyStore(GetCustomKeyStor
      * 
      *     public static void stack(Context ctx) {
      *         final var keystore = KmsFunctions.getCustomKeyStore(GetCustomKeyStoreArgs.builder()
-     *             .customKeyStoreName("my_cloudhsm")
+     *             .customKeyStoreName("my_cloudhsm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -600,7 +624,8 @@ public static CompletableFuture getCustomKeyStorePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -622,12 +647,13 @@ public static CompletableFuture getCustomKeyStorePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var keystore = KmsFunctions.getCustomKeyStore(GetCustomKeyStoreArgs.builder()
-     *             .customKeyStoreName("my_cloudhsm")
+     *             .customKeyStoreName("my_cloudhsm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -642,7 +668,8 @@ public static Output getCustomKeyStore(GetCustomKeyStor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -664,12 +691,13 @@ public static Output getCustomKeyStore(GetCustomKeyStor
      * 
      *     public static void stack(Context ctx) {
      *         final var keystore = KmsFunctions.getCustomKeyStore(GetCustomKeyStoreArgs.builder()
-     *             .customKeyStoreName("my_cloudhsm")
+     *             .customKeyStoreName("my_cloudhsm")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -685,7 +713,8 @@ public static CompletableFuture getCustomKeyStorePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -707,24 +736,25 @@ public static CompletableFuture getCustomKeyStorePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -740,7 +770,8 @@ public static Output getKey(GetKeyArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -762,24 +793,25 @@ public static Output getKey(GetKeyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -795,7 +827,8 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -817,24 +850,25 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -850,7 +884,8 @@ public static Output getKey(GetKeyArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -872,24 +907,25 @@ public static Output getKey(GetKeyArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getKey(GetKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -902,7 +938,8 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -924,24 +961,25 @@ public static CompletableFuture getKeyPlain(GetKeyPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -954,7 +992,8 @@ public static Output getPublicKey(GetPublicKeyArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -976,24 +1015,25 @@ public static Output getPublicKey(GetPublicKeyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1006,7 +1046,8 @@ public static CompletableFuture getPublicKeyPlain(GetPublicK * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1028,24 +1069,25 @@ public static CompletableFuture getPublicKeyPlain(GetPublicK
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1058,7 +1100,8 @@ public static Output getPublicKey(GetPublicKeyArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1080,24 +1123,25 @@ public static Output getPublicKey(GetPublicKeyArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var byAlias = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("alias/my-key")
+     *             .keyId("alias/my-key")
      *             .build());
      * 
      *         final var byId = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *         final var byAliasArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:alias/my-key")
      *             .build());
      * 
      *         final var byKeyArn = KmsFunctions.getPublicKey(GetPublicKeyArgs.builder()
-     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
+     *             .keyId("arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaExternalKey.java b/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaExternalKey.java index 47657c53ebb..7ed3b56c79b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaExternalKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaExternalKey.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new ExternalKey("primary", ExternalKeyArgs.builder()        
- *             .description("Multi-Region primary key")
+ *         var primary = new ExternalKey("primary", ExternalKeyArgs.builder()        
+ *             .description("Multi-Region primary key")
  *             .deletionWindowInDays(30)
  *             .multiRegion(true)
  *             .enabled(true)
- *             .keyMaterialBase64("...")
+ *             .keyMaterialBase64("...")
  *             .build());
  * 
- *         var replica = new ReplicaExternalKey("replica", ReplicaExternalKeyArgs.builder()        
- *             .description("Multi-Region replica key")
+ *         var replica = new ReplicaExternalKey("replica", ReplicaExternalKeyArgs.builder()        
+ *             .description("Multi-Region replica key")
  *             .deletionWindowInDays(7)
  *             .primaryKeyArn(primaryAwsKmsExternal.arn())
- *             .keyMaterialBase64("...")
+ *             .keyMaterialBase64("...")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaKey.java b/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaKey.java index 17625a06522..45c98989eca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kms/ReplicaKey.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Key("primary", KeyArgs.builder()        
- *             .description("Multi-Region primary key")
+ *         var primary = new Key("primary", KeyArgs.builder()        
+ *             .description("Multi-Region primary key")
  *             .deletionWindowInDays(30)
  *             .multiRegion(true)
  *             .build());
  * 
- *         var replica = new ReplicaKey("replica", ReplicaKeyArgs.builder()        
- *             .description("Multi-Region replica key")
+ *         var replica = new ReplicaKey("replica", ReplicaKeyArgs.builder()        
+ *             .description("Multi-Region replica key")
  *             .deletionWindowInDays(7)
  *             .primaryKeyArn(primary.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataCellsFilter.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataCellsFilter.java index 3893b5e196e..d87687112b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataCellsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataCellsFilter.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,22 +47,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataCellsFilter("example", DataCellsFilterArgs.builder()        
+ *         var example = new DataCellsFilter("example", DataCellsFilterArgs.builder()        
  *             .tableData(DataCellsFilterTableDataArgs.builder()
  *                 .databaseName(test.name())
- *                 .name("example")
+ *                 .name("example")
  *                 .tableCatalogId(current.accountId())
  *                 .tableName(testAwsGlueCatalogTable.name())
- *                 .columnNames("my_column")
+ *                 .columnNames("my_column")
  *                 .rowFilter(DataCellsFilterTableDataRowFilterArgs.builder()
- *                     .filterExpression("my_column='example'")
+ *                     .filterExpression("my_column='example'")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataLakeSettings.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataLakeSettings.java index 845e3c17eb2..e5e80a03b3c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataLakeSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/DataLakeSettings.java @@ -28,7 +28,8 @@ * ### Data Lake Admins * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,7 +50,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataLakeSettings("example", DataLakeSettingsArgs.builder()        
+ *         var example = new DataLakeSettings("example", DataLakeSettingsArgs.builder()        
  *             .admins(            
  *                 test.arn(),
  *                 testAwsIamRole.arn())
@@ -57,13 +58,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create Default Permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,32 +89,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataLakeSettings("example", DataLakeSettingsArgs.builder()        
+ *         var example = new DataLakeSettings("example", DataLakeSettingsArgs.builder()        
  *             .admins(            
  *                 test.arn(),
  *                 testAwsIamRole.arn())
  *             .createDatabaseDefaultPermissions(DataLakeSettingsCreateDatabaseDefaultPermissionArgs.builder()
  *                 .permissions(                
- *                     "SELECT",
- *                     "ALTER",
- *                     "DROP")
+ *                     "SELECT",
+ *                     "ALTER",
+ *                     "DROP")
  *                 .principal(test.arn())
  *                 .build())
  *             .createTableDefaultPermissions(DataLakeSettingsCreateTableDefaultPermissionArgs.builder()
- *                 .permissions("ALL")
+ *                 .permissions("ALL")
  *                 .principal(testAwsIamRole.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enable EMR access to LakeFormation resources * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -134,31 +139,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataLakeSettings("example", DataLakeSettingsArgs.builder()        
+ *         var example = new DataLakeSettings("example", DataLakeSettingsArgs.builder()        
  *             .admins(            
  *                 test.arn(),
  *                 testAwsIamRole.arn())
  *             .createDatabaseDefaultPermissions(DataLakeSettingsCreateDatabaseDefaultPermissionArgs.builder()
  *                 .permissions(                
- *                     "SELECT",
- *                     "ALTER",
- *                     "DROP")
+ *                     "SELECT",
+ *                     "ALTER",
+ *                     "DROP")
  *                 .principal(test.arn())
  *                 .build())
  *             .createTableDefaultPermissions(DataLakeSettingsCreateTableDefaultPermissionArgs.builder()
- *                 .permissions("ALL")
+ *                 .permissions("ALL")
  *                 .principal(testAwsIamRole.arn())
  *                 .build())
  *             .allowExternalDataFiltering(true)
  *             .externalDataFilteringAllowLists(            
  *                 current.accountId(),
  *                 thirdParty.accountId())
- *             .authorizedSessionTagValueLists("Amazon EMR")
+ *             .authorizedSessionTagValueLists("Amazon EMR")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LakeformationFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LakeformationFunctions.java index 39960f410c9..9457340d619 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LakeformationFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LakeformationFunctions.java @@ -26,7 +26,8 @@ public final class LakeformationFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,12 +49,13 @@ public final class LakeformationFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getDataLakeSettings(GetDataLakeSettingsArgs.builder()
-     *             .catalogId("14916253649")
+     *             .catalogId("14916253649")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ public static Output getDataLakeSettings() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -88,12 +91,13 @@ public static Output getDataLakeSettings() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getDataLakeSettings(GetDataLakeSettingsArgs.builder()
-     *             .catalogId("14916253649")
+     *             .catalogId("14916253649")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getDataLakeSettingsPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getDataLakeSettingsPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getDataLakeSettings(GetDataLakeSettingsArgs.builder()
-     *             .catalogId("14916253649")
+     *             .catalogId("14916253649")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +152,8 @@ public static Output getDataLakeSettings(GetDataLakeS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -168,12 +175,13 @@ public static Output getDataLakeSettings(GetDataLakeS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getDataLakeSettings(GetDataLakeSettingsArgs.builder()
-     *             .catalogId("14916253649")
+     *             .catalogId("14916253649")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -186,7 +194,8 @@ public static CompletableFuture getDataLakeSettingsPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -208,12 +217,13 @@ public static CompletableFuture getDataLakeSettingsPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getDataLakeSettings(GetDataLakeSettingsArgs.builder()
-     *             .catalogId("14916253649")
+     *             .catalogId("14916253649")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -226,7 +236,8 @@ public static Output getDataLakeSettings(GetDataLakeS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -248,12 +259,13 @@ public static Output getDataLakeSettings(GetDataLakeS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getDataLakeSettings(GetDataLakeSettingsArgs.builder()
-     *             .catalogId("14916253649")
+     *             .catalogId("14916253649")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -270,7 +282,8 @@ public static CompletableFuture getDataLakeSettingsPl * ### Permissions For A Lake Formation S3 Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -301,13 +314,15 @@ public static CompletableFuture getDataLakeSettingsPl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For A Glue Catalog Database * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -333,19 +348,21 @@ public static CompletableFuture getDataLakeSettingsPl
      *             .principal(workflowRole.arn())
      *             .database(GetPermissionsDatabaseArgs.builder()
      *                 .name(testAwsGlueCatalogDatabase.name())
-     *                 .catalogId("110376042874")
+     *                 .catalogId("110376042874")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For Tag-Based Access Control * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -370,24 +387,25 @@ public static CompletableFuture getDataLakeSettingsPl
      *         final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
      *             .principal(workflowRole.arn())
      *             .lfTagPolicy(GetPermissionsLfTagPolicyArgs.builder()
-     *                 .resourceType("DATABASE")
+     *                 .resourceType("DATABASE")
      *                 .expressions(                
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Team")
-     *                         .values("Sales")
+     *                         .key("Team")
+     *                         .values("Sales")
      *                         .build(),
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Environment")
+     *                         .key("Environment")
      *                         .values(                        
-     *                             "Dev",
-     *                             "Production")
+     *                             "Dev",
+     *                             "Production")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -404,7 +422,8 @@ public static Output getPermissions(GetPermissionsArgs arg * ### Permissions For A Lake Formation S3 Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -435,13 +454,15 @@ public static Output getPermissions(GetPermissionsArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For A Glue Catalog Database * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -467,19 +488,21 @@ public static Output getPermissions(GetPermissionsArgs arg
      *             .principal(workflowRole.arn())
      *             .database(GetPermissionsDatabaseArgs.builder()
      *                 .name(testAwsGlueCatalogDatabase.name())
-     *                 .catalogId("110376042874")
+     *                 .catalogId("110376042874")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For Tag-Based Access Control * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -504,24 +527,25 @@ public static Output getPermissions(GetPermissionsArgs arg
      *         final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
      *             .principal(workflowRole.arn())
      *             .lfTagPolicy(GetPermissionsLfTagPolicyArgs.builder()
-     *                 .resourceType("DATABASE")
+     *                 .resourceType("DATABASE")
      *                 .expressions(                
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Team")
-     *                         .values("Sales")
+     *                         .key("Team")
+     *                         .values("Sales")
      *                         .build(),
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Environment")
+     *                         .key("Environment")
      *                         .values(                        
-     *                             "Dev",
-     *                             "Production")
+     *                             "Dev",
+     *                             "Production")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -538,7 +562,8 @@ public static CompletableFuture getPermissionsPlain(GetPer * ### Permissions For A Lake Formation S3 Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -569,13 +594,15 @@ public static CompletableFuture getPermissionsPlain(GetPer
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For A Glue Catalog Database * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -601,19 +628,21 @@ public static CompletableFuture getPermissionsPlain(GetPer
      *             .principal(workflowRole.arn())
      *             .database(GetPermissionsDatabaseArgs.builder()
      *                 .name(testAwsGlueCatalogDatabase.name())
-     *                 .catalogId("110376042874")
+     *                 .catalogId("110376042874")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For Tag-Based Access Control * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -638,24 +667,25 @@ public static CompletableFuture getPermissionsPlain(GetPer
      *         final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
      *             .principal(workflowRole.arn())
      *             .lfTagPolicy(GetPermissionsLfTagPolicyArgs.builder()
-     *                 .resourceType("DATABASE")
+     *                 .resourceType("DATABASE")
      *                 .expressions(                
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Team")
-     *                         .values("Sales")
+     *                         .key("Team")
+     *                         .values("Sales")
      *                         .build(),
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Environment")
+     *                         .key("Environment")
      *                         .values(                        
-     *                             "Dev",
-     *                             "Production")
+     *                             "Dev",
+     *                             "Production")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -672,7 +702,8 @@ public static Output getPermissions(GetPermissionsArgs arg * ### Permissions For A Lake Formation S3 Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -703,13 +734,15 @@ public static Output getPermissions(GetPermissionsArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For A Glue Catalog Database * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -735,19 +768,21 @@ public static Output getPermissions(GetPermissionsArgs arg
      *             .principal(workflowRole.arn())
      *             .database(GetPermissionsDatabaseArgs.builder()
      *                 .name(testAwsGlueCatalogDatabase.name())
-     *                 .catalogId("110376042874")
+     *                 .catalogId("110376042874")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Permissions For Tag-Based Access Control * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -772,24 +807,25 @@ public static Output getPermissions(GetPermissionsArgs arg
      *         final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
      *             .principal(workflowRole.arn())
      *             .lfTagPolicy(GetPermissionsLfTagPolicyArgs.builder()
-     *                 .resourceType("DATABASE")
+     *                 .resourceType("DATABASE")
      *                 .expressions(                
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Team")
-     *                         .values("Sales")
+     *                         .key("Team")
+     *                         .values("Sales")
      *                         .build(),
      *                     GetPermissionsLfTagPolicyExpressionArgs.builder()
-     *                         .key("Environment")
+     *                         .key("Environment")
      *                         .values(                        
-     *                             "Dev",
-     *                             "Production")
+     *                             "Dev",
+     *                             "Production")
      *                         .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -802,7 +838,8 @@ public static CompletableFuture getPermissionsPlain(GetPer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -824,12 +861,13 @@ public static CompletableFuture getPermissionsPlain(GetPer
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getResource(GetResourceArgs.builder()
-     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
+     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -842,7 +880,8 @@ public static Output getResource(GetResourceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -864,12 +903,13 @@ public static Output getResource(GetResourceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getResource(GetResourceArgs.builder()
-     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
+     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -882,7 +922,8 @@ public static CompletableFuture getResourcePlain(GetResourceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -904,12 +945,13 @@ public static CompletableFuture getResourcePlain(GetResourceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getResource(GetResourceArgs.builder()
-     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
+     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -922,7 +964,8 @@ public static Output getResource(GetResourceArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -944,12 +987,13 @@ public static Output getResource(GetResourceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LakeformationFunctions.getResource(GetResourceArgs.builder()
-     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
+     *             .arn("arn:aws:s3:::tf-acc-test-9151654063908211878")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LfTag.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LfTag.java index ff179c8a3f9..c93cbe221b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LfTag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/LfTag.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,17 +42,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LfTag("example", LfTagArgs.builder()        
- *             .key("module")
+ *         var example = new LfTag("example", LfTagArgs.builder()        
+ *             .key("module")
  *             .values(            
- *                 "Orders",
- *                 "Sales",
- *                 "Customers")
+ *                 "Orders",
+ *                 "Sales",
+ *                 "Customers")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Permissions.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Permissions.java index 76708bc710a..841420bfb44 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Permissions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Permissions.java @@ -42,7 +42,8 @@ * This example shows removing the `IAMAllowedPrincipals` default security settings and making the caller a Lake Formation admin. Since `create_database_default_permissions` and `create_table_default_permissions` are not set in the `aws.lakeformation.DataLakeSettings` resource, they are cleared. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -70,16 +71,17 @@
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
  *         final var currentGetSessionContext = IamFunctions.getSessionContext(GetSessionContextArgs.builder()
- *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
+ *             .arn(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn()))
  *             .build());
  * 
- *         var test = new DataLakeSettings("test", DataLakeSettingsArgs.builder()        
- *             .admins(currentGetSessionContext.applyValue(getSessionContextResult -> getSessionContextResult.issuerArn()))
+ *         var test = new DataLakeSettings("test", DataLakeSettingsArgs.builder()        
+ *             .admins(currentGetSessionContext.applyValue(getSessionContextResult -> getSessionContextResult.issuerArn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * To remove existing `IAMAllowedPrincipals` permissions, use the [AWS Lake Formation Console](https://console.aws.amazon.com/lakeformation/) or [AWS CLI](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lakeformation/batch-revoke-permissions.html). @@ -98,7 +100,8 @@ * AWS does not support combining `IAMAllowedPrincipals` permissions and non-`IAMAllowedPrincipals` permissions. Doing so results in unexpected permissions and behaviors. For example, this configuration grants a user `SELECT` on a column in a table. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,34 +128,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
- *             .name("sadabate")
+ *         var example = new CatalogDatabase("example", CatalogDatabaseArgs.builder()        
+ *             .name("sadabate")
  *             .build());
  * 
- *         var exampleCatalogTable = new CatalogTable("exampleCatalogTable", CatalogTableArgs.builder()        
- *             .name("abelt")
+ *         var exampleCatalogTable = new CatalogTable("exampleCatalogTable", CatalogTableArgs.builder()        
+ *             .name("abelt")
  *             .databaseName(test.name())
  *             .storageDescriptor(CatalogTableStorageDescriptorArgs.builder()
  *                 .columns(CatalogTableStorageDescriptorColumnArgs.builder()
- *                     .name("event")
- *                     .type("string")
+ *                     .name("event")
+ *                     .type("string")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var examplePermissions = new Permissions("examplePermissions", PermissionsArgs.builder()        
- *             .permissions("SELECT")
- *             .principal("arn:aws:iam:us-east-1:123456789012:user/SanHolo")
+ *         var examplePermissions = new Permissions("examplePermissions", PermissionsArgs.builder()        
+ *             .permissions("SELECT")
+ *             .principal("arn:aws:iam:us-east-1:123456789012:user/SanHolo")
  *             .tableWithColumns(PermissionsTableWithColumnsArgs.builder()
  *                 .databaseName(exampleCatalogTable.databaseName())
  *                 .name(exampleCatalogTable.name())
- *                 .columnNames("event")
+ *                 .columnNames("event")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * The resulting permissions depend on whether the table had `IAMAllowedPrincipals` (IAP) permissions or not. @@ -174,7 +178,8 @@ * ### Grant Permissions For A Lake Formation S3 Resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -196,9 +201,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Permissions("example", PermissionsArgs.builder()        
+ *         var example = new Permissions("example", PermissionsArgs.builder()        
  *             .principal(workflowRole.arn())
- *             .permissions("DATA_LOCATION_ACCESS")
+ *             .permissions("DATA_LOCATION_ACCESS")
  *             .dataLocation(PermissionsDataLocationArgs.builder()
  *                 .arn(exampleAwsLakeformationResource.arn())
  *                 .build())
@@ -206,13 +211,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Grant Permissions For A Glue Catalog Database * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -234,27 +241,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Permissions("example", PermissionsArgs.builder()        
+ *         var example = new Permissions("example", PermissionsArgs.builder()        
  *             .principal(workflowRole.arn())
  *             .permissions(            
- *                 "CREATE_TABLE",
- *                 "ALTER",
- *                 "DROP")
+ *                 "CREATE_TABLE",
+ *                 "ALTER",
+ *                 "DROP")
  *             .database(PermissionsDatabaseArgs.builder()
  *                 .name(exampleAwsGlueCatalogDatabase.name())
- *                 .catalogId("110376042874")
+ *                 .catalogId("110376042874")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Grant Permissions Using Tag-Based Access Control * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -276,31 +285,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Permissions("test", PermissionsArgs.builder()        
+ *         var test = new Permissions("test", PermissionsArgs.builder()        
  *             .principal(salesRole.arn())
  *             .permissions(            
- *                 "CREATE_TABLE",
- *                 "ALTER",
- *                 "DROP")
+ *                 "CREATE_TABLE",
+ *                 "ALTER",
+ *                 "DROP")
  *             .lfTagPolicy(PermissionsLfTagPolicyArgs.builder()
- *                 .resourceType("DATABASE")
+ *                 .resourceType("DATABASE")
  *                 .expressions(                
  *                     PermissionsLfTagPolicyExpressionArgs.builder()
- *                         .key("Team")
- *                         .values("Sales")
+ *                         .key("Team")
+ *                         .values("Sales")
  *                         .build(),
  *                     PermissionsLfTagPolicyExpressionArgs.builder()
- *                         .key("Environment")
+ *                         .key("Environment")
  *                         .values(                        
- *                             "Dev",
- *                             "Production")
+ *                             "Dev",
+ *                             "Production")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Resource.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Resource.java index c204060191e..1f3fd16a7c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Resource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/Resource.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,16 +51,17 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = S3Functions.getBucket(GetBucketArgs.builder()
- *             .bucket("an-example-bucket")
+ *             .bucket("an-example-bucket")
  *             .build());
  * 
- *         var exampleResource = new Resource("exampleResource", ResourceArgs.builder()        
- *             .arn(example.applyValue(getBucketResult -> getBucketResult.arn()))
+ *         var exampleResource = new Resource("exampleResource", ResourceArgs.builder()        
+ *             .arn(example.applyValue(getBucketResult -> getBucketResult.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTag.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTag.java index ab18a8e3939..1f2877bf13a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTag.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,19 +51,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceLfTag("example", ResourceLfTagArgs.builder()        
+ *         var example = new ResourceLfTag("example", ResourceLfTagArgs.builder()        
  *             .database(ResourceLfTagDatabaseArgs.builder()
  *                 .name(exampleAwsGlueCatalogDatabase.name())
  *                 .build())
  *             .lfTag(ResourceLfTagLfTagArgs.builder()
  *                 .key(exampleAwsLakeformationLfTag.key())
- *                 .value("stowe")
+ *                 .value("stowe")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTags.java b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTags.java index 949714baf64..907b00b9300 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTags.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lakeformation/ResourceLfTags.java @@ -26,7 +26,8 @@ * ### Database Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,38 +52,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LfTag("example", LfTagArgs.builder()        
- *             .key("right")
+ *         var example = new LfTag("example", LfTagArgs.builder()        
+ *             .key("right")
  *             .values(            
- *                 "abbey",
- *                 "village",
- *                 "luffield",
- *                 "woodcote",
- *                 "copse",
- *                 "chapel",
- *                 "stowe",
- *                 "club")
+ *                 "abbey",
+ *                 "village",
+ *                 "luffield",
+ *                 "woodcote",
+ *                 "copse",
+ *                 "chapel",
+ *                 "stowe",
+ *                 "club")
  *             .build());
  * 
- *         var exampleResourceLfTags = new ResourceLfTags("exampleResourceLfTags", ResourceLfTagsArgs.builder()        
+ *         var exampleResourceLfTags = new ResourceLfTags("exampleResourceLfTags", ResourceLfTagsArgs.builder()        
  *             .database(ResourceLfTagsDatabaseArgs.builder()
  *                 .name(exampleAwsGlueCatalogDatabase.name())
  *                 .build())
  *             .lfTags(ResourceLfTagsLfTagArgs.builder()
  *                 .key(example.key())
- *                 .value("stowe")
+ *                 .value("stowe")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Multiple Tags Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,49 +110,50 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LfTag("example", LfTagArgs.builder()        
- *             .key("right")
+ *         var example = new LfTag("example", LfTagArgs.builder()        
+ *             .key("right")
  *             .values(            
- *                 "abbey",
- *                 "village",
- *                 "luffield",
- *                 "woodcote",
- *                 "copse",
- *                 "chapel",
- *                 "stowe",
- *                 "club")
+ *                 "abbey",
+ *                 "village",
+ *                 "luffield",
+ *                 "woodcote",
+ *                 "copse",
+ *                 "chapel",
+ *                 "stowe",
+ *                 "club")
  *             .build());
  * 
- *         var example2 = new LfTag("example2", LfTagArgs.builder()        
- *             .key("left")
+ *         var example2 = new LfTag("example2", LfTagArgs.builder()        
+ *             .key("left")
  *             .values(            
- *                 "farm",
- *                 "theloop",
- *                 "aintree",
- *                 "brooklands",
- *                 "maggotts",
- *                 "becketts",
- *                 "vale")
+ *                 "farm",
+ *                 "theloop",
+ *                 "aintree",
+ *                 "brooklands",
+ *                 "maggotts",
+ *                 "becketts",
+ *                 "vale")
  *             .build());
  * 
- *         var exampleResourceLfTags = new ResourceLfTags("exampleResourceLfTags", ResourceLfTagsArgs.builder()        
+ *         var exampleResourceLfTags = new ResourceLfTags("exampleResourceLfTags", ResourceLfTagsArgs.builder()        
  *             .database(ResourceLfTagsDatabaseArgs.builder()
  *                 .name(exampleAwsGlueCatalogDatabase.name())
  *                 .build())
  *             .lfTags(            
  *                 ResourceLfTagsLfTagArgs.builder()
- *                     .key("right")
- *                     .value("luffield")
+ *                     .key("right")
+ *                     .value("luffield")
  *                     .build(),
  *                 ResourceLfTagsLfTagArgs.builder()
- *                     .key("left")
- *                     .value("aintree")
+ *                     .key("left")
+ *                     .value("aintree")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/Alias.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/Alias.java index 9e0ffb56b66..f657a3a8ebb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/Alias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/Alias.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testLambdaAlias = new Alias("testLambdaAlias", AliasArgs.builder()        
- *             .name("my_alias")
- *             .description("a sample description")
+ *         var testLambdaAlias = new Alias("testLambdaAlias", AliasArgs.builder()        
+ *             .name("my_alias")
+ *             .description("a sample description")
  *             .functionName(lambdaFunctionTest.arn())
- *             .functionVersion("1")
+ *             .functionVersion("1")
  *             .routingConfig(AliasRoutingConfigArgs.builder()
- *                 .additionalVersionWeights(Map.of("2", 0.5))
+ *                 .additionalVersionWeights(Map.of("2", 0.5))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/CodeSigningConfig.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/CodeSigningConfig.java index 10d390d5201..5b99921e11b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/CodeSigningConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/CodeSigningConfig.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var newCsc = new CodeSigningConfig("newCsc", CodeSigningConfigArgs.builder()        
+ *         var newCsc = new CodeSigningConfig("newCsc", CodeSigningConfigArgs.builder()        
  *             .allowedPublishers(CodeSigningConfigAllowedPublishersArgs.builder()
  *                 .signingProfileVersionArns(                
  *                     example1.arn(),
  *                     example2.arn())
  *                 .build())
  *             .policies(CodeSigningConfigPoliciesArgs.builder()
- *                 .untrustedArtifactOnDeployment("Warn")
+ *                 .untrustedArtifactOnDeployment("Warn")
  *                 .build())
- *             .description("My awesome code signing config.")
+ *             .description("My awesome code signing config.")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/EventSourceMapping.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/EventSourceMapping.java index fffad9da3c1..535c6874645 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/EventSourceMapping.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/EventSourceMapping.java @@ -36,7 +36,8 @@ * ### DynamoDB * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,21 +58,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .eventSourceArn(exampleAwsDynamodbTable.streamArn())
  *             .functionName(exampleAwsLambdaFunction.arn())
- *             .startingPosition("LATEST")
+ *             .startingPosition("LATEST")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Kinesis * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,21 +95,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .eventSourceArn(exampleAwsKinesisStream.arn())
  *             .functionName(exampleAwsLambdaFunction.arn())
- *             .startingPosition("LATEST")
+ *             .startingPosition("LATEST")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Managed Streaming for Apache Kafka (MSK) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -127,22 +132,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .eventSourceArn(exampleAwsMskCluster.arn())
  *             .functionName(exampleAwsLambdaFunction.arn())
- *             .topics("Example")
- *             .startingPosition("TRIM_HORIZON")
+ *             .topics("Example")
+ *             .startingPosition("TRIM_HORIZON")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Self Managed Apache Kafka * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -165,37 +172,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .functionName(exampleAwsLambdaFunction.arn())
- *             .topics("Example")
- *             .startingPosition("TRIM_HORIZON")
+ *             .topics("Example")
+ *             .startingPosition("TRIM_HORIZON")
  *             .selfManagedEventSource(EventSourceMappingSelfManagedEventSourceArgs.builder()
- *                 .endpoints(Map.of("KAFKA_BOOTSTRAP_SERVERS", "kafka1.example.com:9092,kafka2.example.com:9092"))
+ *                 .endpoints(Map.of("KAFKA_BOOTSTRAP_SERVERS", "kafka1.example.com:9092,kafka2.example.com:9092"))
  *                 .build())
  *             .sourceAccessConfigurations(            
  *                 EventSourceMappingSourceAccessConfigurationArgs.builder()
- *                     .type("VPC_SUBNET")
- *                     .uri("subnet:subnet-example1")
+ *                     .type("VPC_SUBNET")
+ *                     .uri("subnet:subnet-example1")
  *                     .build(),
  *                 EventSourceMappingSourceAccessConfigurationArgs.builder()
- *                     .type("VPC_SUBNET")
- *                     .uri("subnet:subnet-example2")
+ *                     .type("VPC_SUBNET")
+ *                     .uri("subnet:subnet-example2")
  *                     .build(),
  *                 EventSourceMappingSourceAccessConfigurationArgs.builder()
- *                     .type("VPC_SECURITY_GROUP")
- *                     .uri("security_group:sg-example")
+ *                     .type("VPC_SECURITY_GROUP")
+ *                     .uri("security_group:sg-example")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SQS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -216,20 +225,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .eventSourceArn(sqsQueueTest.arn())
  *             .functionName(exampleAwsLambdaFunction.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SQS with event filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -252,23 +263,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .eventSourceArn(sqsQueueTest.arn())
  *             .functionName(exampleAwsLambdaFunction.arn())
  *             .filterCriteria(EventSourceMappingFilterCriteriaArgs.builder()
  *                 .filters(EventSourceMappingFilterCriteriaFilterArgs.builder()
  *                     .pattern(serializeJson(
  *                         jsonObject(
- *                             jsonProperty("body", jsonObject(
- *                                 jsonProperty("Temperature", jsonArray(jsonObject(
- *                                     jsonProperty("numeric", jsonArray(
- *                                         ">", 
+ *                             jsonProperty("body", jsonObject(
+ *                                 jsonProperty("Temperature", jsonArray(jsonObject(
+ *                                     jsonProperty("numeric", jsonArray(
+ *                                         ">", 
  *                                         0, 
- *                                         "<=", 
+ *                                         "<=", 
  *                                         100
  *                                     ))
  *                                 ))),
- *                                 jsonProperty("Location", jsonArray("New York"))
+ *                                 jsonProperty("Location", jsonArray("New York"))
  *                             ))
  *                         )))
  *                     .build())
@@ -277,13 +288,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Amazon MQ (ActiveMQ) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -305,27 +318,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .batchSize(10)
  *             .eventSourceArn(exampleAwsMqBroker.arn())
  *             .enabled(true)
  *             .functionName(exampleAwsLambdaFunction.arn())
- *             .queues("example")
+ *             .queues("example")
  *             .sourceAccessConfigurations(EventSourceMappingSourceAccessConfigurationArgs.builder()
- *                 .type("BASIC_AUTH")
+ *                 .type("BASIC_AUTH")
  *                 .uri(exampleAwsSecretsmanagerSecretVersion.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Amazon MQ (RabbitMQ) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -347,26 +362,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
+ *         var example = new EventSourceMapping("example", EventSourceMappingArgs.builder()        
  *             .batchSize(1)
  *             .eventSourceArn(exampleAwsMqBroker.arn())
  *             .enabled(true)
  *             .functionName(exampleAwsLambdaFunction.arn())
- *             .queues("example")
+ *             .queues("example")
  *             .sourceAccessConfigurations(            
  *                 EventSourceMappingSourceAccessConfigurationArgs.builder()
- *                     .type("VIRTUAL_HOST")
- *                     .uri("/example")
+ *                     .type("VIRTUAL_HOST")
+ *                     .uri("/example")
  *                     .build(),
  *                 EventSourceMappingSourceAccessConfigurationArgs.builder()
- *                     .type("BASIC_AUTH")
+ *                     .type("BASIC_AUTH")
  *                     .uri(exampleAwsSecretsmanagerSecretVersion.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/Function.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/Function.java index 42c8208d527..360cba308fd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/Function.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/Function.java @@ -44,7 +44,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -75,47 +76,49 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
- *             .name("iam_for_lambda")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
+ *             .name("iam_for_lambda")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var lambda = ArchiveFunctions.getFile(GetFileArgs.builder()
- *             .type("zip")
- *             .sourceFile("lambda.js")
- *             .outputPath("lambda_function_payload.zip")
+ *             .type("zip")
+ *             .sourceFile("lambda.js")
+ *             .outputPath("lambda_function_payload.zip")
  *             .build());
  * 
- *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
- *             .code(new FileArchive("lambda_function_payload.zip"))
- *             .name("lambda_function_name")
+ *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambda_function_payload.zip"))
+ *             .name("lambda_function_name")
  *             .role(iamForLambda.arn())
- *             .handler("index.test")
- *             .sourceCodeHash(lambda.applyValue(getFileResult -> getFileResult.outputBase64sha256()))
- *             .runtime("nodejs18.x")
+ *             .handler("index.test")
+ *             .sourceCodeHash(lambda.applyValue(getFileResult -> getFileResult.outputBase64sha256()))
+ *             .runtime("nodejs18.x")
  *             .environment(FunctionEnvironmentArgs.builder()
- *                 .variables(Map.of("foo", "bar"))
+ *                 .variables(Map.of("foo", "bar"))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Layers * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -137,15 +140,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LayerVersion("example");
+ *         var example = new LayerVersion("example");
  * 
- *         var exampleFunction = new Function("exampleFunction", FunctionArgs.builder()        
+ *         var exampleFunction = new Function("exampleFunction", FunctionArgs.builder()        
  *             .layers(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Ephemeral Storage @@ -153,7 +157,8 @@ * Lambda Function Ephemeral Storage(`/tmp`) allows you to configure the storage upto `10` GB. The default value set to `512` MB. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -182,26 +187,26 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
- *             .name("iam_for_lambda")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
+ *             .name("iam_for_lambda")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
- *             .code(new FileArchive("lambda_function_payload.zip"))
- *             .name("lambda_function_name")
+ *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambda_function_payload.zip"))
+ *             .name("lambda_function_name")
  *             .role(iamForLambda.arn())
- *             .handler("index.test")
- *             .runtime("nodejs18.x")
+ *             .handler("index.test")
+ *             .runtime("nodejs18.x")
  *             .ephemeralStorage(FunctionEphemeralStorageArgs.builder()
  *                 .size(10240)
  *                 .build())
@@ -209,7 +214,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda File Systems @@ -217,7 +223,8 @@ * Lambda File Systems allow you to connect an Amazon Elastic File System (EFS) file system to a Lambda function to share data across function invocations, access existing data including large files, and save function state. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -251,26 +258,26 @@
  * 
  *     public static void stack(Context ctx) {
  *         // EFS file system
- *         var efsForLambda = new FileSystem("efsForLambda", FileSystemArgs.builder()        
- *             .tags(Map.of("Name", "efs_for_lambda"))
+ *         var efsForLambda = new FileSystem("efsForLambda", FileSystemArgs.builder()        
+ *             .tags(Map.of("Name", "efs_for_lambda"))
  *             .build());
  * 
  *         // Mount target connects the file system to the subnet
- *         var alpha = new MountTarget("alpha", MountTargetArgs.builder()        
+ *         var alpha = new MountTarget("alpha", MountTargetArgs.builder()        
  *             .fileSystemId(efsForLambda.id())
  *             .subnetId(subnetForLambda.id())
  *             .securityGroups(sgForLambda.id())
  *             .build());
  * 
  *         // EFS access point used by lambda file system
- *         var accessPointForLambda = new AccessPoint("accessPointForLambda", AccessPointArgs.builder()        
+ *         var accessPointForLambda = new AccessPoint("accessPointForLambda", AccessPointArgs.builder()        
  *             .fileSystemId(efsForLambda.id())
  *             .rootDirectory(AccessPointRootDirectoryArgs.builder()
- *                 .path("/lambda")
+ *                 .path("/lambda")
  *                 .creationInfo(AccessPointRootDirectoryCreationInfoArgs.builder()
  *                     .ownerGid(1000)
  *                     .ownerUid(1000)
- *                     .permissions("777")
+ *                     .permissions("777")
  *                     .build())
  *                 .build())
  *             .posixUser(AccessPointPosixUserArgs.builder()
@@ -280,10 +287,10 @@
  *             .build());
  * 
  *         // A lambda function connected to an EFS file system
- *         var example = new Function("example", FunctionArgs.builder()        
+ *         var example = new Function("example", FunctionArgs.builder()        
  *             .fileSystemConfig(FunctionFileSystemConfigArgs.builder()
  *                 .arn(accessPointForLambda.arn())
- *                 .localMountPath("/mnt/efs")
+ *                 .localMountPath("/mnt/efs")
  *                 .build())
  *             .vpcConfig(FunctionVpcConfigArgs.builder()
  *                 .subnetIds(subnetForLambda.id())
@@ -295,7 +302,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda retries @@ -307,7 +315,8 @@ * For more information about CloudWatch Logs for Lambda, see the [Lambda User Guide](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-logs.html). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -339,42 +348,42 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var lambdaFunctionName = config.get("lambdaFunctionName").orElse("lambda_function_name");
+ *         final var lambdaFunctionName = config.get("lambdaFunctionName").orElse("lambda_function_name");
  *         // This is to optionally manage the CloudWatch Log Group for the Lambda Function.
- *         // If skipping this resource configuration, also add "logs:CreateLogGroup" to the IAM policy below.
- *         var example = new LogGroup("example", LogGroupArgs.builder()        
- *             .name(String.format("/aws/lambda/%s", lambdaFunctionName))
+ *         // If skipping this resource configuration, also add "logs:CreateLogGroup" to the IAM policy below.
+ *         var example = new LogGroup("example", LogGroupArgs.builder()        
+ *             .name(String.format("/aws/lambda/%s", lambdaFunctionName))
  *             .retentionInDays(14)
  *             .build());
  * 
  *         // See also the following AWS managed policy: AWSLambdaBasicExecutionRole
  *         final var lambdaLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "logs:CreateLogGroup",
- *                     "logs:CreateLogStream",
- *                     "logs:PutLogEvents")
- *                 .resources("arn:aws:logs:*:*:*")
+ *                     "logs:CreateLogGroup",
+ *                     "logs:CreateLogStream",
+ *                     "logs:PutLogEvents")
+ *                 .resources("arn:aws:logs:*:*:*")
  *                 .build())
  *             .build());
  * 
- *         var lambdaLoggingPolicy = new Policy("lambdaLoggingPolicy", PolicyArgs.builder()        
- *             .name("lambda_logging")
- *             .path("/")
- *             .description("IAM policy for logging from a lambda")
- *             .policy(lambdaLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var lambdaLoggingPolicy = new Policy("lambdaLoggingPolicy", PolicyArgs.builder()        
+ *             .name("lambda_logging")
+ *             .path("/")
+ *             .description("IAM policy for logging from a lambda")
+ *             .policy(lambdaLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var lambdaLogs = new RolePolicyAttachment("lambdaLogs", RolePolicyAttachmentArgs.builder()        
+ *         var lambdaLogs = new RolePolicyAttachment("lambdaLogs", RolePolicyAttachmentArgs.builder()        
  *             .role(iamForLambda.name())
  *             .policyArn(lambdaLoggingPolicy.arn())
  *             .build());
  * 
- *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+ *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
  *             .name(lambdaFunctionName)
  *             .loggingConfig(FunctionLoggingConfigArgs.builder()
- *                 .logFormat("Text")
+ *                 .logFormat("Text")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
@@ -384,7 +393,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Specifying the Deployment Package diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionEventInvokeConfig.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionEventInvokeConfig.java index f752273ffb5..b8a9fd16544 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionEventInvokeConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionEventInvokeConfig.java @@ -26,7 +26,8 @@ * > **NOTE:** Ensure the Lambda Function IAM Role has necessary permissions for the destination, such as `sqs:SendMessage` or `sns:Publish`, otherwise the API will return a generic `InvalidParameterValueException: The destination ARN arn:PARTITION:SERVICE:REGION:ACCOUNT:RESOURCE is invalid.` error. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,7 +51,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
+ *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaAlias.functionName())
  *             .destinationConfig(FunctionEventInvokeConfigDestinationConfigArgs.builder()
  *                 .onFailure(FunctionEventInvokeConfigDestinationConfigOnFailureArgs.builder()
@@ -64,13 +65,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Error Handling Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,7 +94,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
+ *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaAlias.functionName())
  *             .maximumEventAgeInSeconds(60)
  *             .maximumRetryAttempts(0)
@@ -99,13 +102,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Configuration for Alias Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -126,20 +131,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
+ *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaAlias.functionName())
  *             .qualifier(exampleAwsLambdaAlias.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Configuration for Function Latest Unpublished Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -160,20 +167,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
+ *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaFunction.functionName())
- *             .qualifier("$LATEST")
+ *             .qualifier("$LATEST")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Configuration for Function Published Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -194,14 +203,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
+ *         var example = new FunctionEventInvokeConfig("example", FunctionEventInvokeConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaFunction.functionName())
  *             .qualifier(exampleAwsLambdaFunction.version())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionUrl.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionUrl.java index 04a42833fdb..8ae02d458dc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionUrl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/FunctionUrl.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,32 +46,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testLatest = new FunctionUrl("testLatest", FunctionUrlArgs.builder()        
+ *         var testLatest = new FunctionUrl("testLatest", FunctionUrlArgs.builder()        
  *             .functionName(test.functionName())
- *             .authorizationType("NONE")
+ *             .authorizationType("NONE")
  *             .build());
  * 
- *         var testLive = new FunctionUrl("testLive", FunctionUrlArgs.builder()        
+ *         var testLive = new FunctionUrl("testLive", FunctionUrlArgs.builder()        
  *             .functionName(test.functionName())
- *             .qualifier("my_alias")
- *             .authorizationType("AWS_IAM")
+ *             .qualifier("my_alias")
+ *             .authorizationType("AWS_IAM")
  *             .cors(FunctionUrlCorsArgs.builder()
  *                 .allowCredentials(true)
- *                 .allowOrigins("*")
- *                 .allowMethods("*")
+ *                 .allowOrigins("*")
+ *                 .allowMethods("*")
  *                 .allowHeaders(                
- *                     "date",
- *                     "keep-alive")
+ *                     "date",
+ *                     "keep-alive")
  *                 .exposeHeaders(                
- *                     "keep-alive",
- *                     "date")
+ *                     "keep-alive",
+ *                     "date")
  *                 .maxAge(86400)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/Invocation.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/Invocation.java index 54991f0c8f8..60136529704 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/Invocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/Invocation.java @@ -27,7 +27,8 @@ * ### Dynamic Invocation Example Using Triggers * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,28 +50,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Invocation("example", InvocationArgs.builder()        
+ *         var example = new Invocation("example", InvocationArgs.builder()        
  *             .functionName(lambdaFunctionTest.functionName())
- *             .triggers(Map.of("redeployment", StdFunctions.sha1(Sha1Args.builder()
+ *             .triggers(Map.of("redeployment", StdFunctions.sha1(Sha1Args.builder()
  *                 .input(serializeJson(
  *                     jsonArray(exampleAwsLambdaFunction.environment())))
  *                 .build()).result()))
  *             .input(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("key1", "value1"),
- *                     jsonProperty("key2", "value2")
+ *                     jsonProperty("key1", "value1"),
+ *                     jsonProperty("key2", "value2")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### CRUD Lifecycle Scope * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,19 +95,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Invocation("example", InvocationArgs.builder()        
+ *         var example = new Invocation("example", InvocationArgs.builder()        
  *             .functionName(lambdaFunctionTest.functionName())
  *             .input(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("key1", "value1"),
- *                     jsonProperty("key2", "value2")
+ *                     jsonProperty("key1", "value1"),
+ *                     jsonProperty("key2", "value2")
  *                 )))
- *             .lifecycleScope("CRUD")
+ *             .lifecycleScope("CRUD")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **NOTE:** `lifecycle_scope = "CRUD"` will inject a key `tf` in the input event to pass lifecycle information! This allows the lambda function to handle different lifecycle transitions uniquely. If you need to use a key `tf` in your own input JSON, the default key name can be overridden with the `pulumi_key` argument. diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/LambdaFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/LambdaFunctions.java index 7259eb241bc..b89a99324b4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/LambdaFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/LambdaFunctions.java @@ -37,7 +37,8 @@ public final class LambdaFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -59,13 +60,14 @@ public final class LambdaFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var production = LambdaFunctions.getAlias(GetAliasArgs.builder()
-     *             .functionName("my-lambda-func")
-     *             .name("production")
+     *             .functionName("my-lambda-func")
+     *             .name("production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -78,7 +80,8 @@ public static Output getAlias(GetAliasArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,13 +103,14 @@ public static Output getAlias(GetAliasArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var production = LambdaFunctions.getAlias(GetAliasArgs.builder()
-     *             .functionName("my-lambda-func")
-     *             .name("production")
+     *             .functionName("my-lambda-func")
+     *             .name("production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -119,7 +123,8 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -141,13 +146,14 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var production = LambdaFunctions.getAlias(GetAliasArgs.builder()
-     *             .functionName("my-lambda-func")
-     *             .name("production")
+     *             .functionName("my-lambda-func")
+     *             .name("production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -160,7 +166,8 @@ public static Output getAlias(GetAliasArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -182,13 +189,14 @@ public static Output getAlias(GetAliasArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var production = LambdaFunctions.getAlias(GetAliasArgs.builder()
-     *             .functionName("my-lambda-func")
-     *             .name("production")
+     *             .functionName("my-lambda-func")
+     *             .name("production")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -203,7 +211,8 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -225,12 +234,13 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var existingCsc = LambdaFunctions.getCodeSigningConfig(GetCodeSigningConfigArgs.builder()
-     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
+     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -245,7 +255,8 @@ public static Output getCodeSigningConfig(GetCodeSig * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -267,12 +278,13 @@ public static Output getCodeSigningConfig(GetCodeSig
      * 
      *     public static void stack(Context ctx) {
      *         final var existingCsc = LambdaFunctions.getCodeSigningConfig(GetCodeSigningConfigArgs.builder()
-     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
+     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -287,7 +299,8 @@ public static CompletableFuture getCodeSigningConfig * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -309,12 +322,13 @@ public static CompletableFuture getCodeSigningConfig
      * 
      *     public static void stack(Context ctx) {
      *         final var existingCsc = LambdaFunctions.getCodeSigningConfig(GetCodeSigningConfigArgs.builder()
-     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
+     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -329,7 +343,8 @@ public static Output getCodeSigningConfig(GetCodeSig * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -351,12 +366,13 @@ public static Output getCodeSigningConfig(GetCodeSig
      * 
      *     public static void stack(Context ctx) {
      *         final var existingCsc = LambdaFunctions.getCodeSigningConfig(GetCodeSigningConfigArgs.builder()
-     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
+     *             .arn(String.format("arn:aws:lambda:%s:%s:code-signing-config:csc-0f6c334abcdea4d8b", awsRegion,awsAccount))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -369,7 +385,8 @@ public static CompletableFuture getCodeSigningConfig * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -391,14 +408,15 @@ public static CompletableFuture getCodeSigningConfig
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunction(GetFunctionArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -411,7 +429,8 @@ public static Output getFunction(GetFunctionArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -433,14 +452,15 @@ public static Output getFunction(GetFunctionArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunction(GetFunctionArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -453,7 +473,8 @@ public static CompletableFuture getFunctionPlain(GetFunctionP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -475,14 +496,15 @@ public static CompletableFuture getFunctionPlain(GetFunctionP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunction(GetFunctionArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -495,7 +517,8 @@ public static Output getFunction(GetFunctionArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -517,14 +540,15 @@ public static Output getFunction(GetFunctionArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunction(GetFunctionArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -537,7 +561,8 @@ public static CompletableFuture getFunctionPlain(GetFunctionP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -559,14 +584,15 @@ public static CompletableFuture getFunctionPlain(GetFunctionP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunctionUrl(GetFunctionUrlArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -579,7 +605,8 @@ public static Output getFunctionUrl(GetFunctionUrlArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -601,14 +628,15 @@ public static Output getFunctionUrl(GetFunctionUrlArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunctionUrl(GetFunctionUrlArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -621,7 +649,8 @@ public static CompletableFuture getFunctionUrlPlain(GetFun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -643,14 +672,15 @@ public static CompletableFuture getFunctionUrlPlain(GetFun
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunctionUrl(GetFunctionUrlArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -663,7 +693,8 @@ public static Output getFunctionUrl(GetFunctionUrlArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -685,14 +716,15 @@ public static Output getFunctionUrl(GetFunctionUrlArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var functionName = config.get("functionName");
+     *         final var functionName = config.get("functionName");
      *         final var existing = LambdaFunctions.getFunctionUrl(GetFunctionUrlArgs.builder()
      *             .functionName(functionName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -705,7 +737,8 @@ public static CompletableFuture getFunctionUrlPlain(GetFun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -729,7 +762,8 @@ public static CompletableFuture getFunctionUrlPlain(GetFun
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -742,7 +776,8 @@ public static Output getFunctions() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -766,7 +801,8 @@ public static Output getFunctions() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -779,7 +815,8 @@ public static CompletableFuture getFunctionsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -803,7 +840,8 @@ public static CompletableFuture getFunctionsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -816,7 +854,8 @@ public static Output getFunctions(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -840,7 +879,8 @@ public static Output getFunctions(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -853,7 +893,8 @@ public static CompletableFuture getFunctionsPlain(InvokeArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -877,7 +918,8 @@ public static CompletableFuture getFunctionsPlain(InvokeArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -890,7 +932,8 @@ public static Output getFunctions(InvokeArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -914,7 +957,8 @@ public static Output getFunctions(InvokeArgs args, InvokeOpt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -971,7 +1015,8 @@ public static CompletableFuture getInvocationPlain(GetInvoc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -993,14 +1038,15 @@ public static CompletableFuture getInvocationPlain(GetInvoc
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var layerName = config.get("layerName");
+     *         final var layerName = config.get("layerName");
      *         final var existing = LambdaFunctions.getLayerVersion(GetLayerVersionArgs.builder()
      *             .layerName(layerName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1013,7 +1059,8 @@ public static Output getLayerVersion(GetLayerVersionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1035,14 +1082,15 @@ public static Output getLayerVersion(GetLayerVersionArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var layerName = config.get("layerName");
+     *         final var layerName = config.get("layerName");
      *         final var existing = LambdaFunctions.getLayerVersion(GetLayerVersionArgs.builder()
      *             .layerName(layerName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1055,7 +1103,8 @@ public static CompletableFuture getLayerVersionPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1077,14 +1126,15 @@ public static CompletableFuture getLayerVersionPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var layerName = config.get("layerName");
+     *         final var layerName = config.get("layerName");
      *         final var existing = LambdaFunctions.getLayerVersion(GetLayerVersionArgs.builder()
      *             .layerName(layerName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1097,7 +1147,8 @@ public static Output getLayerVersion(GetLayerVersionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1119,14 +1170,15 @@ public static Output getLayerVersion(GetLayerVersionArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var layerName = config.get("layerName");
+     *         final var layerName = config.get("layerName");
      *         final var existing = LambdaFunctions.getLayerVersion(GetLayerVersionArgs.builder()
      *             .layerName(layerName)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersion.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersion.java index 3fb57fb2fa4..d7c2a209fa3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersion.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,15 +51,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lambdaLayer = new LayerVersion("lambdaLayer", LayerVersionArgs.builder()        
- *             .code(new FileArchive("lambda_layer_payload.zip"))
- *             .layerName("lambda_layer_name")
- *             .compatibleRuntimes("nodejs16.x")
+ *         var lambdaLayer = new LayerVersion("lambdaLayer", LayerVersionArgs.builder()        
+ *             .code(new FileArchive("lambda_layer_payload.zip"))
+ *             .layerName("lambda_layer_name")
+ *             .compatibleRuntimes("nodejs16.x")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Specifying the Deployment Package diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersionPermission.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersionPermission.java index 4ae1cd28502..fa87a801708 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersionPermission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/LayerVersionPermission.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,17 +48,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lambdaLayerPermission = new LayerVersionPermission("lambdaLayerPermission", LayerVersionPermissionArgs.builder()        
- *             .layerName("arn:aws:lambda:us-west-2:123456654321:layer:test_layer1")
+ *         var lambdaLayerPermission = new LayerVersionPermission("lambdaLayerPermission", LayerVersionPermissionArgs.builder()        
+ *             .layerName("arn:aws:lambda:us-west-2:123456654321:layer:test_layer1")
  *             .versionNumber(1)
- *             .principal("111111111111")
- *             .action("lambda:GetLayerVersion")
- *             .statementId("dev-account")
+ *             .principal("111111111111")
+ *             .action("lambda:GetLayerVersion")
+ *             .statementId("dev-account")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/Permission.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/Permission.java index 93164be5d4b..c8b5595cdf2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/Permission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/Permission.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,55 +52,57 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
- *             .name("iam_for_lambda")
+ *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
+ *             .name("iam_for_lambda")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "lambda.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "lambda.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
- *             .code(new FileArchive("lambdatest.zip"))
- *             .name("lambda_function_name")
+ *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambdatest.zip"))
+ *             .name("lambda_function_name")
  *             .role(iamForLambda.arn())
- *             .handler("exports.handler")
- *             .runtime("nodejs16.x")
+ *             .handler("exports.handler")
+ *             .runtime("nodejs16.x")
  *             .build());
  * 
- *         var testAlias = new Alias("testAlias", AliasArgs.builder()        
- *             .name("testalias")
- *             .description("a sample description")
+ *         var testAlias = new Alias("testAlias", AliasArgs.builder()        
+ *             .name("testalias")
+ *             .description("a sample description")
  *             .functionName(testLambda.name())
- *             .functionVersion("$LATEST")
+ *             .functionVersion("$LATEST")
  *             .build());
  * 
- *         var allowCloudwatch = new Permission("allowCloudwatch", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromCloudWatch")
- *             .action("lambda:InvokeFunction")
+ *         var allowCloudwatch = new Permission("allowCloudwatch", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromCloudWatch")
+ *             .action("lambda:InvokeFunction")
  *             .function(testLambda.name())
- *             .principal("events.amazonaws.com")
- *             .sourceArn("arn:aws:events:eu-west-1:111122223333:rule/RunDaily")
+ *             .principal("events.amazonaws.com")
+ *             .sourceArn("arn:aws:events:eu-west-1:111122223333:rule/RunDaily")
  *             .qualifier(testAlias.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With SNS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -130,57 +133,59 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Topic("default", TopicArgs.builder()        
- *             .name("call-lambda-maybe")
+ *         var default_ = new Topic("default", TopicArgs.builder()        
+ *             .name("call-lambda-maybe")
  *             .build());
  * 
- *         var defaultRole = new Role("defaultRole", RoleArgs.builder()        
- *             .name("iam_for_lambda_with_sns")
+ *         var defaultRole = new Role("defaultRole", RoleArgs.builder()        
+ *             .name("iam_for_lambda_with_sns")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "lambda.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "lambda.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var func = new Function("func", FunctionArgs.builder()        
- *             .code(new FileArchive("lambdatest.zip"))
- *             .name("lambda_called_from_sns")
+ *         var func = new Function("func", FunctionArgs.builder()        
+ *             .code(new FileArchive("lambdatest.zip"))
+ *             .name("lambda_called_from_sns")
  *             .role(defaultRole.arn())
- *             .handler("exports.handler")
- *             .runtime("python3.7")
+ *             .handler("exports.handler")
+ *             .runtime("python3.7")
  *             .build());
  * 
- *         var withSns = new Permission("withSns", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromSNS")
- *             .action("lambda:InvokeFunction")
+ *         var withSns = new Permission("withSns", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromSNS")
+ *             .action("lambda:InvokeFunction")
  *             .function(func.name())
- *             .principal("sns.amazonaws.com")
+ *             .principal("sns.amazonaws.com")
  *             .sourceArn(default_.arn())
  *             .build());
  * 
- *         var lambda = new TopicSubscription("lambda", TopicSubscriptionArgs.builder()        
+ *         var lambda = new TopicSubscription("lambda", TopicSubscriptionArgs.builder()        
  *             .topic(default_.arn())
- *             .protocol("lambda")
+ *             .protocol("lambda")
  *             .endpoint(func.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With API Gateway REST API * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -203,28 +208,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
- *             .name("MyDemoAPI")
- *             .description("This is my API for demonstration purposes")
+ *         var myDemoAPI = new RestApi("myDemoAPI", RestApiArgs.builder()        
+ *             .name("MyDemoAPI")
+ *             .description("This is my API for demonstration purposes")
  *             .build());
  * 
- *         var lambdaPermission = new Permission("lambdaPermission", PermissionArgs.builder()        
- *             .statementId("AllowMyDemoAPIInvoke")
- *             .action("lambda:InvokeFunction")
- *             .function("MyDemoFunction")
- *             .principal("apigateway.amazonaws.com")
- *             .sourceArn(myDemoAPI.executionArn().applyValue(executionArn -> String.format("%s/*", executionArn)))
+ *         var lambdaPermission = new Permission("lambdaPermission", PermissionArgs.builder()        
+ *             .statementId("AllowMyDemoAPIInvoke")
+ *             .action("lambda:InvokeFunction")
+ *             .function("MyDemoFunction")
+ *             .principal("apigateway.amazonaws.com")
+ *             .sourceArn(myDemoAPI.executionArn().applyValue(executionArn -> String.format("%s/*", executionArn)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With CloudWatch Log Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -257,59 +264,61 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new LogGroup("default", LogGroupArgs.builder()        
- *             .name("/default")
+ *         var default_ = new LogGroup("default", LogGroupArgs.builder()        
+ *             .name("/default")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var defaultRole = new Role("defaultRole", RoleArgs.builder()        
- *             .name("iam_for_lambda_called_from_cloudwatch_logs")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var defaultRole = new Role("defaultRole", RoleArgs.builder()        
+ *             .name("iam_for_lambda_called_from_cloudwatch_logs")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var loggingFunction = new Function("loggingFunction", FunctionArgs.builder()        
- *             .code(new FileArchive("lamba_logging.zip"))
- *             .name("lambda_called_from_cloudwatch_logs")
- *             .handler("exports.handler")
+ *         var loggingFunction = new Function("loggingFunction", FunctionArgs.builder()        
+ *             .code(new FileArchive("lamba_logging.zip"))
+ *             .name("lambda_called_from_cloudwatch_logs")
+ *             .handler("exports.handler")
  *             .role(defaultRole.arn())
- *             .runtime("python3.7")
+ *             .runtime("python3.7")
  *             .build());
  * 
- *         var logging = new Permission("logging", PermissionArgs.builder()        
- *             .action("lambda:InvokeFunction")
+ *         var logging = new Permission("logging", PermissionArgs.builder()        
+ *             .action("lambda:InvokeFunction")
  *             .function(loggingFunction.name())
- *             .principal("logs.eu-west-1.amazonaws.com")
- *             .sourceArn(default_.arn().applyValue(arn -> String.format("%s:*", arn)))
+ *             .principal("logs.eu-west-1.amazonaws.com")
+ *             .sourceArn(default_.arn().applyValue(arn -> String.format("%s:*", arn)))
  *             .build());
  * 
- *         var loggingLogSubscriptionFilter = new LogSubscriptionFilter("loggingLogSubscriptionFilter", LogSubscriptionFilterArgs.builder()        
+ *         var loggingLogSubscriptionFilter = new LogSubscriptionFilter("loggingLogSubscriptionFilter", LogSubscriptionFilterArgs.builder()        
  *             .destinationArn(loggingFunction.arn())
- *             .filterPattern("")
+ *             .filterPattern("")
  *             .logGroup(default_.name())
- *             .name("logging_default")
+ *             .name("logging_default")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(logging)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Cross-Account Invocation Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -332,22 +341,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var url = new FunctionUrl("url", FunctionUrlArgs.builder()        
+ *         var url = new FunctionUrl("url", FunctionUrlArgs.builder()        
  *             .functionName(example.functionName())
- *             .authorizationType("AWS_IAM")
+ *             .authorizationType("AWS_IAM")
  *             .build());
  * 
- *         var urlPermission = new Permission("urlPermission", PermissionArgs.builder()        
- *             .action("lambda:InvokeFunctionUrl")
+ *         var urlPermission = new Permission("urlPermission", PermissionArgs.builder()        
+ *             .action("lambda:InvokeFunctionUrl")
  *             .function(example.functionName())
- *             .principal("arn:aws:iam::444455556666:role/example")
- *             .sourceAccount("444455556666")
- *             .functionUrlAuthType("AWS_IAM")
+ *             .principal("arn:aws:iam::444455556666:role/example")
+ *             .sourceAccount("444455556666")
+ *             .functionUrlAuthType("AWS_IAM")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lambda/ProvisionedConcurrencyConfig.java b/sdk/java/src/main/java/com/pulumi/aws/lambda/ProvisionedConcurrencyConfig.java index c37254b5890..8a16f12f7e7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lambda/ProvisionedConcurrencyConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lambda/ProvisionedConcurrencyConfig.java @@ -26,7 +26,8 @@ * ### Alias Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,7 +48,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProvisionedConcurrencyConfig("example", ProvisionedConcurrencyConfigArgs.builder()        
+ *         var example = new ProvisionedConcurrencyConfig("example", ProvisionedConcurrencyConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaAlias.functionName())
  *             .provisionedConcurrentExecutions(1)
  *             .qualifier(exampleAwsLambdaAlias.name())
@@ -55,13 +56,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Function Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,7 +85,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProvisionedConcurrencyConfig("example", ProvisionedConcurrencyConfigArgs.builder()        
+ *         var example = new ProvisionedConcurrencyConfig("example", ProvisionedConcurrencyConfigArgs.builder()        
  *             .functionName(exampleAwsLambdaFunction.functionName())
  *             .provisionedConcurrentExecutions(1)
  *             .qualifier(exampleAwsLambdaFunction.version())
@@ -90,7 +93,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/LbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/lb/LbFunctions.java index ebea1dfa689..d737c649534 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/LbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/LbFunctions.java @@ -35,7 +35,8 @@ public final class LbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -61,20 +62,21 @@ public final class LbFunctions {
      *     public static void stack(Context ctx) {
      *         final var main = LbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsLb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -87,7 +89,8 @@ public static Output getHostedZoneId() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -113,20 +116,21 @@ public static Output getHostedZoneId() {
      *     public static void stack(Context ctx) {
      *         final var main = LbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsLb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -139,7 +143,8 @@ public static CompletableFuture getHostedZoneIdPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,20 +170,21 @@ public static CompletableFuture getHostedZoneIdPlain() {
      *     public static void stack(Context ctx) {
      *         final var main = LbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsLb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -191,7 +197,8 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -217,20 +224,21 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs
      *     public static void stack(Context ctx) {
      *         final var main = LbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsLb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -243,7 +251,8 @@ public static CompletableFuture getHostedZoneIdPlain(GetH * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -269,20 +278,21 @@ public static CompletableFuture getHostedZoneIdPlain(GetH
      *     public static void stack(Context ctx) {
      *         final var main = LbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsLb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -295,7 +305,8 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -321,20 +332,21 @@ public static Output getHostedZoneId(GetHostedZoneIdArgs
      *     public static void stack(Context ctx) {
      *         final var main = LbFunctions.getHostedZoneId();
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
+     *         var www = new Record("www", RecordArgs.builder()        
      *             .zoneId(primary.zoneId())
-     *             .name("example.com")
-     *             .type("A")
+     *             .name("example.com")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
      *                 .name(mainAwsLb.dnsName())
-     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
+     *                 .zoneId(main.applyValue(getHostedZoneIdResult -> getHostedZoneIdResult.id()))
      *                 .evaluateTargetHealth(true)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -350,7 +362,8 @@ public static CompletableFuture getHostedZoneIdPlain(GetH * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -372,12 +385,13 @@ public static CompletableFuture getHostedZoneIdPlain(GetH
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LbFunctions.getLbs(GetLbsArgs.builder()
-     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
+     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -393,7 +407,8 @@ public static Output getLbs() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -415,12 +430,13 @@ public static Output getLbs() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LbFunctions.getLbs(GetLbsArgs.builder()
-     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
+     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +452,8 @@ public static CompletableFuture getLbsPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,12 +475,13 @@ public static CompletableFuture getLbsPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LbFunctions.getLbs(GetLbsArgs.builder()
-     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
+     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -479,7 +497,8 @@ public static Output getLbs(GetLbsArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -501,12 +520,13 @@ public static Output getLbs(GetLbsArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LbFunctions.getLbs(GetLbsArgs.builder()
-     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
+     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -522,7 +542,8 @@ public static CompletableFuture getLbsPlain(GetLbsPlainArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -544,12 +565,13 @@ public static CompletableFuture getLbsPlain(GetLbsPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LbFunctions.getLbs(GetLbsArgs.builder()
-     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
+     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -565,7 +587,8 @@ public static Output getLbs(GetLbsArgs args, InvokeOptions options * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -587,12 +610,13 @@ public static Output getLbs(GetLbsArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LbFunctions.getLbs(GetLbsArgs.builder()
-     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
+     *             .tags(Map.of("elbv2.k8s.aws/cluster", "my-cluster"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -609,7 +633,8 @@ public static CompletableFuture getLbsPlain(GetLbsPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -632,24 +657,25 @@ public static CompletableFuture getLbsPlain(GetLbsPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -666,7 +692,8 @@ public static Output getListener() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -689,24 +716,25 @@ public static Output getListener() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -723,7 +751,8 @@ public static CompletableFuture getListenerPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -746,24 +775,25 @@ public static CompletableFuture getListenerPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -780,7 +810,8 @@ public static Output getListener(GetListenerArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -803,24 +834,25 @@ public static Output getListener(GetListenerArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -837,7 +869,8 @@ public static CompletableFuture getListenerPlain(GetListenerP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -860,24 +893,25 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -894,7 +928,8 @@ public static Output getListener(GetListenerArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -917,24 +952,25 @@ public static Output getListener(GetListenerArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var listenerArn = config.get("listenerArn");
+     *         final var listenerArn = config.get("listenerArn");
      *         final var listener = LbFunctions.getListener(GetListenerArgs.builder()
      *             .arn(listenerArn)
      *             .build());
      * 
      *         // get listener from load_balancer_arn and port
      *         final var selected = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
-     *             .name("default-public")
+     *             .name("default-public")
      *             .build());
      * 
      *         final var selected443 = LbFunctions.getListener(GetListenerArgs.builder()
-     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
+     *             .loadBalancerArn(selected.applyValue(getLoadBalancerResult -> getLoadBalancerResult.arn()))
      *             .port(443)
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -953,7 +989,8 @@ public static CompletableFuture getListenerPlain(GetListenerP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -975,8 +1012,8 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -984,7 +1021,8 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1003,7 +1041,8 @@ public static Output getLoadBalancer() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1025,8 +1064,8 @@ public static Output getLoadBalancer() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -1034,7 +1073,8 @@ public static Output getLoadBalancer() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1053,7 +1093,8 @@ public static CompletableFuture getLoadBalancerPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1075,8 +1116,8 @@ public static CompletableFuture getLoadBalancerPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -1084,7 +1125,8 @@ public static CompletableFuture getLoadBalancerPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1103,7 +1145,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1125,8 +1168,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -1134,7 +1177,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1153,7 +1197,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1175,8 +1220,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -1184,7 +1229,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1203,7 +1249,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1225,8 +1272,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbArn = config.get("lbArn").orElse("");
-     *         final var lbName = config.get("lbName").orElse("");
+     *         final var lbArn = config.get("lbArn").orElse("");
+     *         final var lbName = config.get("lbName").orElse("");
      *         final var test = LbFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
      *             .arn(lbArn)
      *             .name(lbName)
@@ -1234,7 +1281,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1253,7 +1301,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1275,8 +1324,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -1284,7 +1333,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1303,7 +1353,8 @@ public static Output getTargetGroup() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1325,8 +1376,8 @@ public static Output getTargetGroup() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -1334,7 +1385,8 @@ public static Output getTargetGroup() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1353,7 +1405,8 @@ public static CompletableFuture getTargetGroupPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1375,8 +1428,8 @@ public static CompletableFuture getTargetGroupPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -1384,7 +1437,8 @@ public static CompletableFuture getTargetGroupPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1403,7 +1457,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1425,8 +1480,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -1434,7 +1489,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1453,7 +1509,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1475,8 +1532,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -1484,7 +1541,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1503,7 +1561,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1525,8 +1584,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTgArn = config.get("lbTgArn").orElse("");
-     *         final var lbTgName = config.get("lbTgName").orElse("");
+     *         final var lbTgArn = config.get("lbTgArn").orElse("");
+     *         final var lbTgName = config.get("lbTgName").orElse("");
      *         final var test = LbFunctions.getTargetGroup(GetTargetGroupArgs.builder()
      *             .arn(lbTgArn)
      *             .name(lbTgName)
@@ -1534,7 +1593,8 @@ public static Output getTargetGroup(GetTargetGroupArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1553,7 +1613,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1575,8 +1636,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTsArn = config.get("lbTsArn").orElse("");
-     *         final var lbTsName = config.get("lbTsName").orElse("");
+     *         final var lbTsArn = config.get("lbTsArn").orElse("");
+     *         final var lbTsName = config.get("lbTsName").orElse("");
      *         final var test = LbFunctions.getTrustStore(GetTrustStoreArgs.builder()
      *             .arn(lbTsArn)
      *             .name(lbTsName)
@@ -1584,7 +1645,8 @@ public static CompletableFuture getTargetGroupPlain(GetTar
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1603,7 +1665,8 @@ public static Output getTrustStore() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1625,8 +1688,8 @@ public static Output getTrustStore() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTsArn = config.get("lbTsArn").orElse("");
-     *         final var lbTsName = config.get("lbTsName").orElse("");
+     *         final var lbTsArn = config.get("lbTsArn").orElse("");
+     *         final var lbTsName = config.get("lbTsName").orElse("");
      *         final var test = LbFunctions.getTrustStore(GetTrustStoreArgs.builder()
      *             .arn(lbTsArn)
      *             .name(lbTsName)
@@ -1634,7 +1697,8 @@ public static Output getTrustStore() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1653,7 +1717,8 @@ public static CompletableFuture getTrustStorePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1675,8 +1740,8 @@ public static CompletableFuture getTrustStorePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTsArn = config.get("lbTsArn").orElse("");
-     *         final var lbTsName = config.get("lbTsName").orElse("");
+     *         final var lbTsArn = config.get("lbTsArn").orElse("");
+     *         final var lbTsName = config.get("lbTsName").orElse("");
      *         final var test = LbFunctions.getTrustStore(GetTrustStoreArgs.builder()
      *             .arn(lbTsArn)
      *             .name(lbTsName)
@@ -1684,7 +1749,8 @@ public static CompletableFuture getTrustStorePlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1703,7 +1769,8 @@ public static Output getTrustStore(GetTrustStoreArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1725,8 +1792,8 @@ public static Output getTrustStore(GetTrustStoreArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTsArn = config.get("lbTsArn").orElse("");
-     *         final var lbTsName = config.get("lbTsName").orElse("");
+     *         final var lbTsArn = config.get("lbTsArn").orElse("");
+     *         final var lbTsName = config.get("lbTsName").orElse("");
      *         final var test = LbFunctions.getTrustStore(GetTrustStoreArgs.builder()
      *             .arn(lbTsArn)
      *             .name(lbTsName)
@@ -1734,7 +1801,8 @@ public static Output getTrustStore(GetTrustStoreArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1753,7 +1821,8 @@ public static CompletableFuture getTrustStorePlain(GetTrust * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1775,8 +1844,8 @@ public static CompletableFuture getTrustStorePlain(GetTrust
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTsArn = config.get("lbTsArn").orElse("");
-     *         final var lbTsName = config.get("lbTsName").orElse("");
+     *         final var lbTsArn = config.get("lbTsArn").orElse("");
+     *         final var lbTsName = config.get("lbTsName").orElse("");
      *         final var test = LbFunctions.getTrustStore(GetTrustStoreArgs.builder()
      *             .arn(lbTsArn)
      *             .name(lbTsName)
@@ -1784,7 +1853,8 @@ public static CompletableFuture getTrustStorePlain(GetTrust
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1803,7 +1873,8 @@ public static Output getTrustStore(GetTrustStoreArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1825,8 +1896,8 @@ public static Output getTrustStore(GetTrustStoreArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var lbTsArn = config.get("lbTsArn").orElse("");
-     *         final var lbTsName = config.get("lbTsName").orElse("");
+     *         final var lbTsArn = config.get("lbTsArn").orElse("");
+     *         final var lbTsName = config.get("lbTsName").orElse("");
      *         final var test = LbFunctions.getTrustStore(GetTrustStoreArgs.builder()
      *             .arn(lbTsArn)
      *             .name(lbTsName)
@@ -1834,7 +1905,8 @@ public static Output getTrustStore(GetTrustStoreArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/Listener.java b/sdk/java/src/main/java/com/pulumi/aws/lb/Listener.java index ab18f94d4b6..18e622debeb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/Listener.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/Listener.java @@ -30,7 +30,8 @@ * ### Forward Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,31 +55,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
+ *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("443")
- *             .protocol("HTTPS")
- *             .sslPolicy("ELBSecurityPolicy-2016-08")
- *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
+ *             .port("443")
+ *             .protocol("HTTPS")
+ *             .sslPolicy("ELBSecurityPolicy-2016-08")
+ *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(frontEndTargetGroup.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * To a NLB: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,27 +103,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new Listener("frontEnd", ListenerArgs.builder()        
+ *         var frontEnd = new Listener("frontEnd", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEndAwsLb.arn())
- *             .port("443")
- *             .protocol("TLS")
- *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
- *             .alpnPolicy("HTTP2Preferred")
+ *             .port("443")
+ *             .protocol("TLS")
+ *             .certificateArn("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4")
+ *             .alpnPolicy("HTTP2Preferred")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(frontEndAwsLbTargetGroup.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Redirect Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,31 +149,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("redirect")
+ *                 .type("redirect")
  *                 .redirect(ListenerDefaultActionRedirectArgs.builder()
- *                     .port("443")
- *                     .protocol("HTTPS")
- *                     .statusCode("HTTP_301")
+ *                     .port("443")
+ *                     .protocol("HTTPS")
+ *                     .statusCode("HTTP_301")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Fixed-response Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -192,31 +199,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(ListenerDefaultActionArgs.builder()
- *                 .type("fixed-response")
+ *                 .type("fixed-response")
  *                 .fixedResponse(ListenerDefaultActionFixedResponseArgs.builder()
- *                     .contentType("text/plain")
- *                     .messageBody("Fixed response content")
- *                     .statusCode("200")
+ *                     .contentType("text/plain")
+ *                     .messageBody("Fixed response content")
+ *                     .statusCode("200")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Authenticate-cognito Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -244,23 +253,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
+ *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
  * 
- *         var pool = new UserPool("pool");
+ *         var pool = new UserPool("pool");
  * 
- *         var client = new UserPoolClient("client");
+ *         var client = new UserPoolClient("client");
  * 
- *         var domain = new UserPoolDomain("domain");
+ *         var domain = new UserPoolDomain("domain");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(            
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("authenticate-cognito")
+ *                     .type("authenticate-cognito")
  *                     .authenticateCognito(ListenerDefaultActionAuthenticateCognitoArgs.builder()
  *                         .userPoolArn(pool.arn())
  *                         .userPoolClientId(client.id())
@@ -268,20 +277,22 @@
  *                         .build())
  *                     .build(),
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(frontEndTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Authenticate-OIDC Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -306,41 +317,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
+ *         var frontEndTargetGroup = new TargetGroup("frontEndTargetGroup");
  * 
- *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
+ *         var frontEndListener = new Listener("frontEndListener", ListenerArgs.builder()        
  *             .loadBalancerArn(frontEnd.arn())
- *             .port("80")
- *             .protocol("HTTP")
+ *             .port("80")
+ *             .protocol("HTTP")
  *             .defaultActions(            
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("authenticate-oidc")
+ *                     .type("authenticate-oidc")
  *                     .authenticateOidc(ListenerDefaultActionAuthenticateOidcArgs.builder()
- *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
- *                         .clientId("client_id")
- *                         .clientSecret("client_secret")
- *                         .issuer("https://example.com")
- *                         .tokenEndpoint("https://example.com/token_endpoint")
- *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
+ *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
+ *                         .clientId("client_id")
+ *                         .clientSecret("client_secret")
+ *                         .issuer("https://example.com")
+ *                         .tokenEndpoint("https://example.com/token_endpoint")
+ *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
  *                         .build())
  *                     .build(),
  *                 ListenerDefaultActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(frontEndTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Gateway Load Balancer Listener * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -368,42 +381,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .loadBalancerType("gateway")
- *             .name("example")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .loadBalancerType("gateway")
+ *             .name("example")
  *             .subnetMappings(LoadBalancerSubnetMappingArgs.builder()
  *                 .subnetId(exampleAwsSubnet.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup", TargetGroupArgs.builder()        
- *             .name("example")
+ *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup", TargetGroupArgs.builder()        
+ *             .name("example")
  *             .port(6081)
- *             .protocol("GENEVE")
+ *             .protocol("GENEVE")
  *             .vpcId(exampleAwsVpc.id())
  *             .healthCheck(TargetGroupHealthCheckArgs.builder()
  *                 .port(80)
- *                 .protocol("HTTP")
+ *                 .protocol("HTTP")
  *                 .build())
  *             .build());
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
  *             .loadBalancerArn(example.id())
  *             .defaultActions(ListenerDefaultActionArgs.builder()
  *                 .targetGroupArn(exampleTargetGroup.id())
- *                 .type("forward")
+ *                 .type("forward")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mutual TLS Authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -429,27 +444,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .loadBalancerType("application")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .loadBalancerType("application")
  *             .build());
  * 
- *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup");
+ *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup");
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
  *             .loadBalancerArn(example.id())
  *             .defaultActions(ListenerDefaultActionArgs.builder()
  *                 .targetGroupArn(exampleTargetGroup.id())
- *                 .type("forward")
+ *                 .type("forward")
  *                 .build())
  *             .mutualAuthentication(ListenerMutualAuthenticationArgs.builder()
- *                 .mode("verify")
- *                 .trustStoreArn("...")
+ *                 .mode("verify")
+ *                 .trustStoreArn("...")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerCertificate.java index dca9a9e125b..a450d603b39 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerCertificate.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,20 +50,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Certificate("example");
+ *         var example = new Certificate("example");
  * 
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener");
+ *         var frontEndListener = new Listener("frontEndListener");
  * 
- *         var exampleListenerCertificate = new ListenerCertificate("exampleListenerCertificate", ListenerCertificateArgs.builder()        
+ *         var exampleListenerCertificate = new ListenerCertificate("exampleListenerCertificate", ListenerCertificateArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .certificateArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerRule.java b/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerRule.java index 0b66c6d39f9..c35870086b2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/ListenerRule.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -65,51 +66,51 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var frontEnd = new LoadBalancer("frontEnd");
+ *         var frontEnd = new LoadBalancer("frontEnd");
  * 
- *         var frontEndListener = new Listener("frontEndListener");
+ *         var frontEndListener = new Listener("frontEndListener");
  * 
- *         var static_ = new ListenerRule("static", ListenerRuleArgs.builder()        
+ *         var static_ = new ListenerRule("static", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .priority(100)
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                 .build())
  *             .conditions(            
  *                 ListenerRuleConditionArgs.builder()
  *                     .pathPattern(ListenerRuleConditionPathPatternArgs.builder()
- *                         .values("/static/*")
+ *                         .values("/static/*")
  *                         .build())
  *                     .build(),
  *                 ListenerRuleConditionArgs.builder()
  *                     .hostHeader(ListenerRuleConditionHostHeaderArgs.builder()
- *                         .values("example.com")
+ *                         .values("example.com")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *         // Forward action
- *         var hostBasedWeightedRouting = new ListenerRule("hostBasedWeightedRouting", ListenerRuleArgs.builder()        
+ *         var hostBasedWeightedRouting = new ListenerRule("hostBasedWeightedRouting", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .priority(99)
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .hostHeader(ListenerRuleConditionHostHeaderArgs.builder()
- *                     .values("my-service.*.mycompany.io")
+ *                     .values("my-service.*.mycompany.io")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         // Weighted Forward action
- *         var hostBasedRouting = new ListenerRule("hostBasedRouting", ListenerRuleArgs.builder()        
+ *         var hostBasedRouting = new ListenerRule("hostBasedRouting", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .priority(99)
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("forward")
+ *                 .type("forward")
  *                 .forward(ListenerRuleActionForwardArgs.builder()
  *                     .targetGroups(                    
  *                         ListenerRuleActionForwardTargetGroupArgs.builder()
@@ -128,65 +129,65 @@
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .hostHeader(ListenerRuleConditionHostHeaderArgs.builder()
- *                     .values("my-service.*.mycompany.io")
+ *                     .values("my-service.*.mycompany.io")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         // Redirect action
- *         var redirectHttpToHttps = new ListenerRule("redirectHttpToHttps", ListenerRuleArgs.builder()        
+ *         var redirectHttpToHttps = new ListenerRule("redirectHttpToHttps", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("redirect")
+ *                 .type("redirect")
  *                 .redirect(ListenerRuleActionRedirectArgs.builder()
- *                     .port("443")
- *                     .protocol("HTTPS")
- *                     .statusCode("HTTP_301")
+ *                     .port("443")
+ *                     .protocol("HTTPS")
+ *                     .statusCode("HTTP_301")
  *                     .build())
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .httpHeader(ListenerRuleConditionHttpHeaderArgs.builder()
- *                     .httpHeaderName("X-Forwarded-For")
- *                     .values("192.168.1.*")
+ *                     .httpHeaderName("X-Forwarded-For")
+ *                     .values("192.168.1.*")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         // Fixed-response action
- *         var healthCheck = new ListenerRule("healthCheck", ListenerRuleArgs.builder()        
+ *         var healthCheck = new ListenerRule("healthCheck", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(ListenerRuleActionArgs.builder()
- *                 .type("fixed-response")
+ *                 .type("fixed-response")
  *                 .fixedResponse(ListenerRuleActionFixedResponseArgs.builder()
- *                     .contentType("text/plain")
- *                     .messageBody("HEALTHY")
- *                     .statusCode("200")
+ *                     .contentType("text/plain")
+ *                     .messageBody("HEALTHY")
+ *                     .statusCode("200")
  *                     .build())
  *                 .build())
  *             .conditions(ListenerRuleConditionArgs.builder()
  *                 .queryStrings(                
  *                     ListenerRuleConditionQueryStringArgs.builder()
- *                         .key("health")
- *                         .value("check")
+ *                         .key("health")
+ *                         .value("check")
  *                         .build(),
  *                     ListenerRuleConditionQueryStringArgs.builder()
- *                         .value("bar")
+ *                         .value("bar")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *         // Authenticate-cognito Action
- *         var pool = new UserPool("pool");
+ *         var pool = new UserPool("pool");
  * 
- *         var client = new UserPoolClient("client");
+ *         var client = new UserPoolClient("client");
  * 
- *         var domain = new UserPoolDomain("domain");
+ *         var domain = new UserPoolDomain("domain");
  * 
- *         var admin = new ListenerRule("admin", ListenerRuleArgs.builder()        
+ *         var admin = new ListenerRule("admin", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(            
  *                 ListenerRuleActionArgs.builder()
- *                     .type("authenticate-cognito")
+ *                     .type("authenticate-cognito")
  *                     .authenticateCognito(ListenerRuleActionAuthenticateCognitoArgs.builder()
  *                         .userPoolArn(pool.arn())
  *                         .userPoolClientId(client.id())
@@ -194,35 +195,36 @@
  *                         .build())
  *                     .build(),
  *                 ListenerRuleActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *         // Authenticate-oidc Action
- *         var oidc = new ListenerRule("oidc", ListenerRuleArgs.builder()        
+ *         var oidc = new ListenerRule("oidc", ListenerRuleArgs.builder()        
  *             .listenerArn(frontEndListener.arn())
  *             .actions(            
  *                 ListenerRuleActionArgs.builder()
- *                     .type("authenticate-oidc")
+ *                     .type("authenticate-oidc")
  *                     .authenticateOidc(ListenerRuleActionAuthenticateOidcArgs.builder()
- *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
- *                         .clientId("client_id")
- *                         .clientSecret("client_secret")
- *                         .issuer("https://example.com")
- *                         .tokenEndpoint("https://example.com/token_endpoint")
- *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
+ *                         .authorizationEndpoint("https://example.com/authorization_endpoint")
+ *                         .clientId("client_id")
+ *                         .clientSecret("client_secret")
+ *                         .issuer("https://example.com")
+ *                         .tokenEndpoint("https://example.com/token_endpoint")
+ *                         .userInfoEndpoint("https://example.com/user_info_endpoint")
  *                         .build())
  *                     .build(),
  *                 ListenerRuleActionArgs.builder()
- *                     .type("forward")
+ *                     .type("forward")
  *                     .targetGroupArn(staticAwsLbTargetGroup.arn())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/LoadBalancer.java b/sdk/java/src/main/java/com/pulumi/aws/lb/LoadBalancer.java index ef47a098f8c..730a4cf9d3b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/LoadBalancer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/LoadBalancer.java @@ -42,7 +42,8 @@ * ### Specifying Elastic IPs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,9 +65,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .name("example")
- *             .loadBalancerType("network")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .name("example")
+ *             .loadBalancerType("network")
  *             .subnetMappings(            
  *                 LoadBalancerSubnetMappingArgs.builder()
  *                     .subnetId(example1AwsSubnet.id())
@@ -80,13 +81,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying private IP addresses for an internal-facing load balancer * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -108,23 +111,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
- *             .name("example")
- *             .loadBalancerType("network")
+ *         var example = new LoadBalancer("example", LoadBalancerArgs.builder()        
+ *             .name("example")
+ *             .loadBalancerType("network")
  *             .subnetMappings(            
  *                 LoadBalancerSubnetMappingArgs.builder()
  *                     .subnetId(example1.id())
- *                     .privateIpv4Address("10.0.1.15")
+ *                     .privateIpv4Address("10.0.1.15")
  *                     .build(),
  *                 LoadBalancerSubnetMappingArgs.builder()
  *                     .subnetId(example2.id())
- *                     .privateIpv4Address("10.0.2.15")
+ *                     .privateIpv4Address("10.0.2.15")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroup.java index c6e4111ed30..fb591fbe409 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroup.java @@ -33,7 +33,8 @@ * ### Instance Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,26 +57,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-tg")
+ *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-tg")
  *             .port(80)
- *             .protocol("HTTP")
+ *             .protocol("HTTP")
  *             .vpcId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### IP Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,27 +101,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Vpc("main", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var main = new Vpc("main", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var ip_example = new TargetGroup("ip-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-tg")
+ *         var ip_example = new TargetGroup("ip-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-tg")
  *             .port(80)
- *             .protocol("HTTP")
- *             .targetType("ip")
+ *             .protocol("HTTP")
+ *             .targetType("ip")
  *             .vpcId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -139,20 +144,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lambda_example = new TargetGroup("lambda-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-tg")
- *             .targetType("lambda")
+ *         var lambda_example = new TargetGroup("lambda-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-tg")
+ *             .targetType("lambda")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ALB Target Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -173,23 +180,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var alb_example = new TargetGroup("alb-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-alb-tg")
- *             .targetType("alb")
+ *         var alb_example = new TargetGroup("alb-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-alb-tg")
+ *             .targetType("alb")
  *             .port(80)
- *             .protocol("TCP")
+ *             .protocol("TCP")
  *             .vpcId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Target group with unhealthy connection termination disabled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -211,10 +220,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var tcp_example = new TargetGroup("tcp-example", TargetGroupArgs.builder()        
- *             .name("tf-example-lb-nlb-tg")
+ *         var tcp_example = new TargetGroup("tcp-example", TargetGroupArgs.builder()        
+ *             .name("tf-example-lb-nlb-tg")
  *             .port(25)
- *             .protocol("TCP")
+ *             .protocol("TCP")
  *             .vpcId(main.id())
  *             .targetHealthStates(TargetGroupTargetHealthStateArgs.builder()
  *                 .enableUnhealthyConnectionTermination(false)
@@ -223,7 +232,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroupAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroupAttachment.java index 3278f1682c0..a69921b3160 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroupAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/TargetGroupAttachment.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,11 +51,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testTargetGroup = new TargetGroup("testTargetGroup");
+ *         var testTargetGroup = new TargetGroup("testTargetGroup");
  * 
- *         var testInstance = new Instance("testInstance");
+ *         var testInstance = new Instance("testInstance");
  * 
- *         var test = new TargetGroupAttachment("test", TargetGroupAttachmentArgs.builder()        
+ *         var test = new TargetGroupAttachment("test", TargetGroupAttachmentArgs.builder()        
  *             .targetGroupArn(testTargetGroup.arn())
  *             .targetId(testInstance.id())
  *             .port(80)
@@ -62,13 +63,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -95,22 +98,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
- *             .name("test")
- *             .targetType("lambda")
+ *         var test = new TargetGroup("test", TargetGroupArgs.builder()        
+ *             .name("test")
+ *             .targetType("lambda")
  *             .build());
  * 
- *         var testFunction = new Function("testFunction");
+ *         var testFunction = new Function("testFunction");
  * 
- *         var withLb = new Permission("withLb", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromlb")
- *             .action("lambda:InvokeFunction")
+ *         var withLb = new Permission("withLb", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromlb")
+ *             .action("lambda:InvokeFunction")
  *             .function(testFunction.name())
- *             .principal("elasticloadbalancing.amazonaws.com")
+ *             .principal("elasticloadbalancing.amazonaws.com")
  *             .sourceArn(test.arn())
  *             .build());
  * 
- *         var testTargetGroupAttachment = new TargetGroupAttachment("testTargetGroupAttachment", TargetGroupAttachmentArgs.builder()        
+ *         var testTargetGroupAttachment = new TargetGroupAttachment("testTargetGroupAttachment", TargetGroupAttachmentArgs.builder()        
  *             .targetGroupArn(test.arn())
  *             .targetId(testFunction.arn())
  *             .build(), CustomResourceOptions.builder()
@@ -119,7 +122,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Registering Multiple Targets diff --git a/sdk/java/src/main/java/com/pulumi/aws/lb/TrustStoreRevocation.java b/sdk/java/src/main/java/com/pulumi/aws/lb/TrustStoreRevocation.java index 315026f1ca3..5f2e5fbacea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lb/TrustStoreRevocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lb/TrustStoreRevocation.java @@ -23,7 +23,8 @@ * ### Trust Store With Revocations * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,21 +47,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new TrustStore("test", TrustStoreArgs.builder()        
- *             .name("tf-example-lb-ts")
- *             .caCertificatesBundleS3Bucket("...")
- *             .caCertificatesBundleS3Key("...")
+ *         var test = new TrustStore("test", TrustStoreArgs.builder()        
+ *             .name("tf-example-lb-ts")
+ *             .caCertificatesBundleS3Bucket("...")
+ *             .caCertificatesBundleS3Key("...")
  *             .build());
  * 
- *         var testTrustStoreRevocation = new TrustStoreRevocation("testTrustStoreRevocation", TrustStoreRevocationArgs.builder()        
+ *         var testTrustStoreRevocation = new TrustStoreRevocation("testTrustStoreRevocation", TrustStoreRevocationArgs.builder()        
  *             .trustStoreArn(test.arn())
- *             .revocationsS3Bucket("...")
- *             .revocationsS3Key("...")
+ *             .revocationsS3Bucket("...")
+ *             .revocationsS3Key("...")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/Bot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/Bot.java index d6e2e740e57..3663d8ad78e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/Bot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/Bot.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,37 +53,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var orderFlowersBot = new Bot("orderFlowersBot", BotArgs.builder()        
+ *         var orderFlowersBot = new Bot("orderFlowersBot", BotArgs.builder()        
  *             .abortStatement(BotAbortStatementArgs.builder()
  *                 .messages(BotAbortStatementMessageArgs.builder()
- *                     .content("Sorry, I am not able to assist at this time")
- *                     .contentType("PlainText")
+ *                     .content("Sorry, I am not able to assist at this time")
+ *                     .contentType("PlainText")
  *                     .build())
  *                 .build())
  *             .childDirected(false)
  *             .clarificationPrompt(BotClarificationPromptArgs.builder()
  *                 .maxAttempts(2)
  *                 .messages(BotClarificationPromptMessageArgs.builder()
- *                     .content("I didn't understand you, what would you like to do?")
- *                     .contentType("PlainText")
+ *                     .content("I didn't understand you, what would you like to do?")
+ *                     .contentType("PlainText")
  *                     .build())
  *                 .build())
  *             .createVersion(false)
- *             .description("Bot to order flowers on the behalf of a user")
+ *             .description("Bot to order flowers on the behalf of a user")
  *             .idleSessionTtlInSeconds(600)
  *             .intents(BotIntentArgs.builder()
- *                 .intentName("OrderFlowers")
- *                 .intentVersion("1")
+ *                 .intentName("OrderFlowers")
+ *                 .intentVersion("1")
  *                 .build())
- *             .locale("en-US")
- *             .name("OrderFlowers")
- *             .processBehavior("BUILD")
- *             .voiceId("Salli")
+ *             .locale("en-US")
+ *             .name("OrderFlowers")
+ *             .processBehavior("BUILD")
+ *             .voiceId("Salli")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/BotAlias.java b/sdk/java/src/main/java/com/pulumi/aws/lex/BotAlias.java index b1f44e9202b..25e09819318 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/BotAlias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/BotAlias.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,16 +44,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var orderFlowersProd = new BotAlias("orderFlowersProd", BotAliasArgs.builder()        
- *             .botName("OrderFlowers")
- *             .botVersion("1")
- *             .description("Production Version of the OrderFlowers Bot.")
- *             .name("OrderFlowersProd")
+ *         var orderFlowersProd = new BotAlias("orderFlowersProd", BotAliasArgs.builder()        
+ *             .botName("OrderFlowers")
+ *             .botVersion("1")
+ *             .description("Production Version of the OrderFlowers Bot.")
+ *             .name("OrderFlowersProd")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/Intent.java b/sdk/java/src/main/java/com/pulumi/aws/lex/Intent.java index c4caa99b87b..8a1f76dbc54 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/Intent.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/Intent.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,75 +57,75 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var orderFlowersIntent = new Intent("orderFlowersIntent", IntentArgs.builder()        
+ *         var orderFlowersIntent = new Intent("orderFlowersIntent", IntentArgs.builder()        
  *             .confirmationPrompt(IntentConfirmationPromptArgs.builder()
  *                 .maxAttempts(2)
  *                 .messages(IntentConfirmationPromptMessageArgs.builder()
- *                     .content("Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?")
- *                     .contentType("PlainText")
+ *                     .content("Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?")
+ *                     .contentType("PlainText")
  *                     .build())
  *                 .build())
  *             .createVersion(false)
- *             .name("OrderFlowers")
- *             .description("Intent to order a bouquet of flowers for pick up")
+ *             .name("OrderFlowers")
+ *             .description("Intent to order a bouquet of flowers for pick up")
  *             .fulfillmentActivity(IntentFulfillmentActivityArgs.builder()
- *                 .type("ReturnIntent")
+ *                 .type("ReturnIntent")
  *                 .build())
  *             .rejectionStatement(IntentRejectionStatementArgs.builder()
  *                 .messages(IntentRejectionStatementMessageArgs.builder()
- *                     .content("Okay, I will not place your order.")
- *                     .contentType("PlainText")
+ *                     .content("Okay, I will not place your order.")
+ *                     .contentType("PlainText")
  *                     .build())
  *                 .build())
  *             .sampleUtterances(            
- *                 "I would like to order some flowers",
- *                 "I would like to pick up flowers")
+ *                 "I would like to order some flowers",
+ *                 "I would like to pick up flowers")
  *             .slots(            
  *                 IntentSlotArgs.builder()
- *                     .description("The type of flowers to pick up")
- *                     .name("FlowerType")
+ *                     .description("The type of flowers to pick up")
+ *                     .name("FlowerType")
  *                     .priority(1)
- *                     .sampleUtterances("I would like to order {FlowerType}")
- *                     .slotConstraint("Required")
- *                     .slotType("FlowerTypes")
- *                     .slotTypeVersion("$$LATEST")
+ *                     .sampleUtterances("I would like to order {FlowerType}")
+ *                     .slotConstraint("Required")
+ *                     .slotType("FlowerTypes")
+ *                     .slotTypeVersion("$$LATEST")
  *                     .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
  *                         .maxAttempts(2)
  *                         .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
- *                             .content("What type of flowers would you like to order?")
- *                             .contentType("PlainText")
+ *                             .content("What type of flowers would you like to order?")
+ *                             .contentType("PlainText")
  *                             .build())
  *                         .build())
  *                     .build(),
  *                 IntentSlotArgs.builder()
- *                     .description("The date to pick up the flowers")
- *                     .name("PickupDate")
+ *                     .description("The date to pick up the flowers")
+ *                     .name("PickupDate")
  *                     .priority(2)
- *                     .sampleUtterances("I would like to order {FlowerType}")
- *                     .slotConstraint("Required")
- *                     .slotType("AMAZON.DATE")
- *                     .slotTypeVersion("$$LATEST")
+ *                     .sampleUtterances("I would like to order {FlowerType}")
+ *                     .slotConstraint("Required")
+ *                     .slotType("AMAZON.DATE")
+ *                     .slotTypeVersion("$$LATEST")
  *                     .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
  *                         .maxAttempts(2)
  *                         .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
- *                             .content("What day do you want the {FlowerType} to be picked up?")
- *                             .contentType("PlainText")
+ *                             .content("What day do you want the {FlowerType} to be picked up?")
+ *                             .contentType("PlainText")
  *                             .build())
  *                         .build())
  *                     .build(),
  *                 IntentSlotArgs.builder()
- *                     .description("The time to pick up the flowers")
- *                     .name("PickupTime")
+ *                     .description("The time to pick up the flowers")
+ *                     .name("PickupTime")
  *                     .priority(3)
- *                     .sampleUtterances("I would like to order {FlowerType}")
- *                     .slotConstraint("Required")
- *                     .slotType("AMAZON.TIME")
- *                     .slotTypeVersion("$$LATEST")
+ *                     .sampleUtterances("I would like to order {FlowerType}")
+ *                     .slotConstraint("Required")
+ *                     .slotType("AMAZON.TIME")
+ *                     .slotTypeVersion("$$LATEST")
  *                     .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
  *                         .maxAttempts(2)
  *                         .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
- *                             .content("Pick up the {FlowerType} at what time on {PickupDate}?")
- *                             .contentType("PlainText")
+ *                             .content("Pick up the {FlowerType} at what time on {PickupDate}?")
+ *                             .contentType("PlainText")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -132,7 +133,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/LexFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/lex/LexFunctions.java index 5bb43d49d88..1bc4df15c6b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/LexFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/LexFunctions.java @@ -29,7 +29,8 @@ public final class LexFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,13 +52,14 @@ public final class LexFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersBot = LexFunctions.getBot(GetBotArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getBot(GetBotArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,13 +95,14 @@ public static Output getBot(GetBotArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersBot = LexFunctions.getBot(GetBotArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getBotPlain(GetBotPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,13 +138,14 @@ public static CompletableFuture getBotPlain(GetBotPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersBot = LexFunctions.getBot(GetBotArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getBot(GetBotArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,13 +181,14 @@ public static Output getBot(GetBotArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersBot = LexFunctions.getBot(GetBotArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getBotPlain(GetBotPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -215,13 +224,14 @@ public static CompletableFuture getBotPlain(GetBotPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersProd = LexFunctions.getBotAlias(GetBotAliasArgs.builder()
-     *             .botName("OrderFlowers")
-     *             .name("OrderFlowersProd")
+     *             .botName("OrderFlowers")
+     *             .name("OrderFlowersProd")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -234,7 +244,8 @@ public static Output getBotAlias(GetBotAliasArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -256,13 +267,14 @@ public static Output getBotAlias(GetBotAliasArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersProd = LexFunctions.getBotAlias(GetBotAliasArgs.builder()
-     *             .botName("OrderFlowers")
-     *             .name("OrderFlowersProd")
+     *             .botName("OrderFlowers")
+     *             .name("OrderFlowersProd")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -275,7 +287,8 @@ public static CompletableFuture getBotAliasPlain(GetBotAliasP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -297,13 +310,14 @@ public static CompletableFuture getBotAliasPlain(GetBotAliasP
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersProd = LexFunctions.getBotAlias(GetBotAliasArgs.builder()
-     *             .botName("OrderFlowers")
-     *             .name("OrderFlowersProd")
+     *             .botName("OrderFlowers")
+     *             .name("OrderFlowersProd")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -316,7 +330,8 @@ public static Output getBotAlias(GetBotAliasArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -338,13 +353,14 @@ public static Output getBotAlias(GetBotAliasArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowersProd = LexFunctions.getBotAlias(GetBotAliasArgs.builder()
-     *             .botName("OrderFlowers")
-     *             .name("OrderFlowersProd")
+     *             .botName("OrderFlowers")
+     *             .name("OrderFlowersProd")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -357,7 +373,8 @@ public static CompletableFuture getBotAliasPlain(GetBotAliasP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -379,13 +396,14 @@ public static CompletableFuture getBotAliasPlain(GetBotAliasP
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowers = LexFunctions.getIntent(GetIntentArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -398,7 +416,8 @@ public static Output getIntent(GetIntentArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -420,13 +439,14 @@ public static Output getIntent(GetIntentArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowers = LexFunctions.getIntent(GetIntentArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -439,7 +459,8 @@ public static CompletableFuture getIntentPlain(GetIntentPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -461,13 +482,14 @@ public static CompletableFuture getIntentPlain(GetIntentPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowers = LexFunctions.getIntent(GetIntentArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -480,7 +502,8 @@ public static Output getIntent(GetIntentArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -502,13 +525,14 @@ public static Output getIntent(GetIntentArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var orderFlowers = LexFunctions.getIntent(GetIntentArgs.builder()
-     *             .name("OrderFlowers")
-     *             .version("$LATEST")
+     *             .name("OrderFlowers")
+     *             .version("$LATEST")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -521,7 +545,8 @@ public static CompletableFuture getIntentPlain(GetIntentPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -543,13 +568,14 @@ public static CompletableFuture getIntentPlain(GetIntentPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var flowerTypes = LexFunctions.getSlotType(GetSlotTypeArgs.builder()
-     *             .name("FlowerTypes")
-     *             .version("1")
+     *             .name("FlowerTypes")
+     *             .version("1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -562,7 +588,8 @@ public static Output getSlotType(GetSlotTypeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -584,13 +611,14 @@ public static Output getSlotType(GetSlotTypeArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var flowerTypes = LexFunctions.getSlotType(GetSlotTypeArgs.builder()
-     *             .name("FlowerTypes")
-     *             .version("1")
+     *             .name("FlowerTypes")
+     *             .version("1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -603,7 +631,8 @@ public static CompletableFuture getSlotTypePlain(GetSlotTypeP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -625,13 +654,14 @@ public static CompletableFuture getSlotTypePlain(GetSlotTypeP
      * 
      *     public static void stack(Context ctx) {
      *         final var flowerTypes = LexFunctions.getSlotType(GetSlotTypeArgs.builder()
-     *             .name("FlowerTypes")
-     *             .version("1")
+     *             .name("FlowerTypes")
+     *             .version("1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -644,7 +674,8 @@ public static Output getSlotType(GetSlotTypeArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -666,13 +697,14 @@ public static Output getSlotType(GetSlotTypeArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var flowerTypes = LexFunctions.getSlotType(GetSlotTypeArgs.builder()
-     *             .name("FlowerTypes")
-     *             .version("1")
+     *             .name("FlowerTypes")
+     *             .version("1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/SlotType.java b/sdk/java/src/main/java/com/pulumi/aws/lex/SlotType.java index dd8c458eaca..ec67298d8f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/SlotType.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/SlotType.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,29 +47,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var flowerTypes = new SlotType("flowerTypes", SlotTypeArgs.builder()        
+ *         var flowerTypes = new SlotType("flowerTypes", SlotTypeArgs.builder()        
  *             .createVersion(true)
- *             .description("Types of flowers to order")
+ *             .description("Types of flowers to order")
  *             .enumerationValues(            
  *                 SlotTypeEnumerationValueArgs.builder()
  *                     .synonyms(                    
- *                         "Lirium",
- *                         "Martagon")
- *                     .value("lilies")
+ *                         "Lirium",
+ *                         "Martagon")
+ *                     .value("lilies")
  *                     .build(),
  *                 SlotTypeEnumerationValueArgs.builder()
  *                     .synonyms(                    
- *                         "Eduardoregelia",
- *                         "Podonix")
- *                     .value("tulips")
+ *                         "Eduardoregelia",
+ *                         "Podonix")
+ *                     .value("tulips")
  *                     .build())
- *             .name("FlowerTypes")
- *             .valueSelectionStrategy("ORIGINAL_VALUE")
+ *             .name("FlowerTypes")
+ *             .valueSelectionStrategy("ORIGINAL_VALUE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBot.java index 9f4c87dbf8d..aade905fda4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBot.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,19 +51,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new V2modelsBot("example", V2modelsBotArgs.builder()        
- *             .name("example")
+ *         var example = new V2modelsBot("example", V2modelsBotArgs.builder()        
+ *             .name("example")
  *             .dataPrivacies(V2modelsBotDataPrivacyArgs.builder()
- *                 .childDirected("boolean")
+ *                 .childDirected("boolean")
  *                 .build())
  *             .idleSessionTtlInSeconds(10)
- *             .roleArn("bot_example_arn")
- *             .tags(Map.of("foo", "bar"))
+ *             .roleArn("bot_example_arn")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotLocale.java b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotLocale.java index 4e0b93d4745..14e087e8e7a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotLocale.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotLocale.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,22 +47,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new V2modelsBotLocale("example", V2modelsBotLocaleArgs.builder()        
+ *         var example = new V2modelsBotLocale("example", V2modelsBotLocaleArgs.builder()        
  *             .botId(exampleAwsLexv2modelsBot.id())
- *             .botVersion("DRAFT")
- *             .localeId("en_US")
+ *             .botVersion("DRAFT")
+ *             .localeId("en_US")
  *             .nLuIntentConfidenceThreshold(0.7)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Voice Settings * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -83,20 +86,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new V2modelsBotLocale("example", V2modelsBotLocaleArgs.builder()        
+ *         var example = new V2modelsBotLocale("example", V2modelsBotLocaleArgs.builder()        
  *             .botId(exampleAwsLexv2modelsBot.id())
- *             .botVersion("DRAFT")
- *             .localeId("en_US")
+ *             .botVersion("DRAFT")
+ *             .localeId("en_US")
  *             .nLuIntentConfidenceThreshold(0.7)
  *             .voiceSettings(V2modelsBotLocaleVoiceSettingsArgs.builder()
- *                 .voiceId("Kendra")
- *                 .engine("standard")
+ *                 .voiceId("Kendra")
+ *                 .engine("standard")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotVersion.java b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotVersion.java index 4a98ad98519..397be4780ef 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsBotVersion.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new V2modelsBotVersion("test", V2modelsBotVersionArgs.builder()        
+ *         var test = new V2modelsBotVersion("test", V2modelsBotVersionArgs.builder()        
  *             .botId(testAwsLexv2models.id())
- *             .localeSpecification(Map.of("en_US", Map.of("sourceBotVersion", "DRAFT")))
+ *             .localeSpecification(Map.of("en_US", Map.of("sourceBotVersion", "DRAFT")))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlot.java index d76b8b6dde4..3668db6cca0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlot.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,17 +49,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new V2modelsSlot("example", V2modelsSlotArgs.builder()        
+ *         var example = new V2modelsSlot("example", V2modelsSlotArgs.builder()        
  *             .botId(exampleAwsLexv2modelsBot.id())
  *             .botVersion(exampleAwsLexv2modelsBotVersion.botVersion())
  *             .intentId(exampleAwsLexv2modelsIntent.id())
  *             .localeId(exampleAwsLexv2modelsBotLocale.localeId())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlotType.java b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlotType.java index 685e77285f9..3bd9efa95a6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlotType.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/V2modelsSlotType.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,13 +58,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new RolePolicyAttachment("test", RolePolicyAttachmentArgs.builder()        
+ *         var test = new RolePolicyAttachment("test", RolePolicyAttachmentArgs.builder()        
  *             .role(testAwsIamRole.name())
- *             .policyArn(String.format("arn:%s:iam::aws:policy/AmazonLexFullAccess", current.partition()))
+ *             .policyArn(String.format("arn:%s:iam::aws:policy/AmazonLexFullAccess", current.partition()))
  *             .build());
  * 
- *         var testV2modelsBot = new V2modelsBot("testV2modelsBot", V2modelsBotArgs.builder()        
- *             .name("testbot")
+ *         var testV2modelsBot = new V2modelsBot("testV2modelsBot", V2modelsBotArgs.builder()        
+ *             .name("testbot")
  *             .idleSessionTtlInSeconds(60)
  *             .roleArn(testAwsIamRole.arn())
  *             .dataPrivacies(V2modelsBotDataPrivacyArgs.builder()
@@ -71,28 +72,29 @@
  *                 .build())
  *             .build());
  * 
- *         var testV2modelsBotLocale = new V2modelsBotLocale("testV2modelsBotLocale", V2modelsBotLocaleArgs.builder()        
- *             .localeId("en_US")
+ *         var testV2modelsBotLocale = new V2modelsBotLocale("testV2modelsBotLocale", V2modelsBotLocaleArgs.builder()        
+ *             .localeId("en_US")
  *             .botId(testV2modelsBot.id())
- *             .botVersion("DRAFT")
+ *             .botVersion("DRAFT")
  *             .nLuIntentConfidenceThreshold(0.7)
  *             .build());
  * 
- *         var testV2modelsBotVersion = new V2modelsBotVersion("testV2modelsBotVersion", V2modelsBotVersionArgs.builder()        
+ *         var testV2modelsBotVersion = new V2modelsBotVersion("testV2modelsBotVersion", V2modelsBotVersionArgs.builder()        
  *             .botId(testV2modelsBot.id())
- *             .localeSpecification(testV2modelsBotLocale.localeId().applyValue(localeId -> Map.of(localeId, Map.of("sourceBotVersion", "DRAFT"))))
+ *             .localeSpecification(testV2modelsBotLocale.localeId().applyValue(localeId -> Map.of(localeId, Map.of("sourceBotVersion", "DRAFT"))))
  *             .build());
  * 
- *         var testV2modelsSlotType = new V2modelsSlotType("testV2modelsSlotType", V2modelsSlotTypeArgs.builder()        
+ *         var testV2modelsSlotType = new V2modelsSlotType("testV2modelsSlotType", V2modelsSlotTypeArgs.builder()        
  *             .botId(testV2modelsBot.id())
  *             .botVersion(testV2modelsBotLocale.botVersion())
- *             .name("test")
+ *             .name("test")
  *             .localeId(testV2modelsBotLocale.localeId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/Association.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/Association.java index 299aeca1baf..5f385ce92c7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/Association.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/Association.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,31 +51,32 @@
  *     public static void stack(Context ctx) {
  *         final var example = Ec2Functions.getAmi(GetAmiArgs.builder()
  *             .mostRecent(true)
- *             .owners("amazon")
+ *             .owners("amazon")
  *             .filters(GetAmiFilterArgs.builder()
- *                 .name("name")
- *                 .values("amzn-ami-vpc-nat*")
+ *                 .name("name")
+ *                 .values("amzn-ami-vpc-nat*")
  *                 .build())
  *             .build());
  * 
- *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
- *             .ami(example.applyValue(getAmiResult -> getAmiResult.id()))
- *             .instanceType("t2.micro")
+ *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
+ *             .ami(example.applyValue(getAmiResult -> getAmiResult.id()))
+ *             .instanceType("t2.micro")
  *             .build());
  * 
- *         var exampleLicenseConfiguration = new LicenseConfiguration("exampleLicenseConfiguration", LicenseConfigurationArgs.builder()        
- *             .name("Example")
- *             .licenseCountingType("Instance")
+ *         var exampleLicenseConfiguration = new LicenseConfiguration("exampleLicenseConfiguration", LicenseConfigurationArgs.builder()        
+ *             .name("Example")
+ *             .licenseCountingType("Instance")
  *             .build());
  * 
- *         var exampleAssociation = new Association("exampleAssociation", AssociationArgs.builder()        
+ *         var exampleAssociation = new Association("exampleAssociation", AssociationArgs.builder()        
  *             .licenseConfigurationArn(exampleLicenseConfiguration.arn())
  *             .resourceArn(exampleInstance.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseConfiguration.java index bb7234c60c8..724752053ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseConfiguration.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,19 +48,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LicenseConfiguration("example", LicenseConfigurationArgs.builder()        
- *             .name("Example")
- *             .description("Example")
+ *         var example = new LicenseConfiguration("example", LicenseConfigurationArgs.builder()        
+ *             .name("Example")
+ *             .description("Example")
  *             .licenseCount(10)
  *             .licenseCountHardLimit(true)
- *             .licenseCountingType("Socket")
- *             .licenseRules("#minimumSockets=2")
- *             .tags(Map.of("foo", "barr"))
+ *             .licenseCountingType("Socket")
+ *             .licenseRules("#minimumSockets=2")
+ *             .tags(Map.of("foo", "barr"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Rules diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrant.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrant.java index 8807d6178ef..14e6bc3524d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrant.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrant.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,22 +42,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new LicenseGrant("test", LicenseGrantArgs.builder()        
- *             .name("share-license-with-account")
+ *         var test = new LicenseGrant("test", LicenseGrantArgs.builder()        
+ *             .name("share-license-with-account")
  *             .allowedOperations(            
- *                 "ListPurchasedLicenses",
- *                 "CheckoutLicense",
- *                 "CheckInLicense",
- *                 "ExtendConsumptionLicense",
- *                 "CreateToken")
- *             .licenseArn("arn:aws:license-manager::111111111111:license:l-exampleARN")
- *             .principal("arn:aws:iam::111111111112:root")
- *             .homeRegion("us-east-1")
+ *                 "ListPurchasedLicenses",
+ *                 "CheckoutLicense",
+ *                 "CheckInLicense",
+ *                 "ExtendConsumptionLicense",
+ *                 "CreateToken")
+ *             .licenseArn("arn:aws:license-manager::111111111111:license:l-exampleARN")
+ *             .principal("arn:aws:iam::111111111112:root")
+ *             .homeRegion("us-east-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrantAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrantAccepter.java index c446d80ff43..f6a67b6dbaf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrantAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicenseGrantAccepter.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,13 +42,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new LicenseGrantAccepter("test", LicenseGrantAccepterArgs.builder()        
- *             .grantArn("arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329")
+ *         var test = new LicenseGrantAccepter("test", LicenseGrantAccepterArgs.builder()        
+ *             .grantArn("arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicensemanagerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicensemanagerFunctions.java index 52f5ea4049d..4a2428ddf06 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicensemanagerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/LicensemanagerFunctions.java @@ -28,7 +28,8 @@ public final class LicensemanagerFunctions { * The following shows getting all license grant ARNs granted to your account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -55,14 +56,15 @@ public final class LicensemanagerFunctions {
      * 
      *         final var test = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("GranteePrincipalARN")
-     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+     *                 .name("GranteePrincipalARN")
+     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -77,7 +79,8 @@ public static Output getLicenseGrants() { * The following shows getting all license grant ARNs granted to your account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -104,14 +107,15 @@ public static Output getLicenseGrants() {
      * 
      *         final var test = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("GranteePrincipalARN")
-     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+     *                 .name("GranteePrincipalARN")
+     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -126,7 +130,8 @@ public static CompletableFuture getLicenseGrantsPlain() * The following shows getting all license grant ARNs granted to your account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -153,14 +158,15 @@ public static CompletableFuture getLicenseGrantsPlain()
      * 
      *         final var test = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("GranteePrincipalARN")
-     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+     *                 .name("GranteePrincipalARN")
+     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -175,7 +181,8 @@ public static Output getLicenseGrants(GetLicenseGrantsAr * The following shows getting all license grant ARNs granted to your account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -202,14 +209,15 @@ public static Output getLicenseGrants(GetLicenseGrantsAr
      * 
      *         final var test = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("GranteePrincipalARN")
-     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+     *                 .name("GranteePrincipalARN")
+     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -224,7 +232,8 @@ public static CompletableFuture getLicenseGrantsPlain(Ge * The following shows getting all license grant ARNs granted to your account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,14 +260,15 @@ public static CompletableFuture getLicenseGrantsPlain(Ge
      * 
      *         final var test = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("GranteePrincipalARN")
-     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+     *                 .name("GranteePrincipalARN")
+     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -273,7 +283,8 @@ public static Output getLicenseGrants(GetLicenseGrantsAr * The following shows getting all license grant ARNs granted to your account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -300,14 +311,15 @@ public static Output getLicenseGrants(GetLicenseGrantsAr
      * 
      *         final var test = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("GranteePrincipalARN")
-     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+     *                 .name("GranteePrincipalARN")
+     *                 .values(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -322,7 +334,8 @@ public static CompletableFuture getLicenseGrantsPlain(Ge * The following shows getting the received license data using and ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -344,12 +357,13 @@ public static CompletableFuture getLicenseGrantsPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicense(GetReceivedLicenseArgs.builder()
-     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
+     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -364,7 +378,8 @@ public static Output getReceivedLicense(GetReceivedLic * The following shows getting the received license data using and ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -386,12 +401,13 @@ public static Output getReceivedLicense(GetReceivedLic
      * 
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicense(GetReceivedLicenseArgs.builder()
-     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
+     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -406,7 +422,8 @@ public static CompletableFuture getReceivedLicensePlai * The following shows getting the received license data using and ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -428,12 +445,13 @@ public static CompletableFuture getReceivedLicensePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicense(GetReceivedLicenseArgs.builder()
-     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
+     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -448,7 +466,8 @@ public static Output getReceivedLicense(GetReceivedLic * The following shows getting the received license data using and ARN. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -470,12 +489,13 @@ public static Output getReceivedLicense(GetReceivedLic
      * 
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicense(GetReceivedLicenseArgs.builder()
-     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
+     *             .licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -490,7 +510,8 @@ public static CompletableFuture getReceivedLicensePlai * The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -513,14 +534,15 @@ public static CompletableFuture getReceivedLicensePlai
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("IssuerName")
-     *                 .values("AWS/Marketplace")
+     *                 .name("IssuerName")
+     *                 .values("AWS/Marketplace")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -535,7 +557,8 @@ public static Output getReceivedLicenses() { * The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -558,14 +581,15 @@ public static Output getReceivedLicenses() {
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("IssuerName")
-     *                 .values("AWS/Marketplace")
+     *                 .name("IssuerName")
+     *                 .values("AWS/Marketplace")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -580,7 +604,8 @@ public static CompletableFuture getReceivedLicensesPl * The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -603,14 +628,15 @@ public static CompletableFuture getReceivedLicensesPl
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("IssuerName")
-     *                 .values("AWS/Marketplace")
+     *                 .name("IssuerName")
+     *                 .values("AWS/Marketplace")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -625,7 +651,8 @@ public static Output getReceivedLicenses(GetReceivedL * The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -648,14 +675,15 @@ public static Output getReceivedLicenses(GetReceivedL
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("IssuerName")
-     *                 .values("AWS/Marketplace")
+     *                 .name("IssuerName")
+     *                 .values("AWS/Marketplace")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -670,7 +698,8 @@ public static CompletableFuture getReceivedLicensesPl * The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -693,14 +722,15 @@ public static CompletableFuture getReceivedLicensesPl
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("IssuerName")
-     *                 .values("AWS/Marketplace")
+     *                 .name("IssuerName")
+     *                 .values("AWS/Marketplace")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -715,7 +745,8 @@ public static Output getReceivedLicenses(GetReceivedL * The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -738,14 +769,15 @@ public static Output getReceivedLicenses(GetReceivedL
      *     public static void stack(Context ctx) {
      *         final var test = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("IssuerName")
-     *                 .values("AWS/Marketplace")
+     *                 .name("IssuerName")
+     *                 .values("AWS/Marketplace")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilter.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilter.java index 2cf4926b408..e0ed3dae729 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilter.java @@ -20,7 +20,8 @@ public final class GetLicenseGrantsFilter extends com.pulumi.resources.InvokeArg * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -43,14 +44,15 @@ public final class GetLicenseGrantsFilter extends com.pulumi.resources.InvokeArg
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public final class GetLicenseGrantsFilter extends com.pulumi.resources.InvokeArg * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,14 +89,15 @@ public final class GetLicenseGrantsFilter extends com.pulumi.resources.InvokeArg
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -147,7 +151,8 @@ public Builder(GetLicenseGrantsFilter defaults) { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -170,14 +175,15 @@ public Builder(GetLicenseGrantsFilter defaults) {
          *     public static void stack(Context ctx) {
          *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
          *             .filters(GetLicenseGrantsFilterArgs.builder()
-         *                 .name("ProductSKU")
-         *                 .values("")
+         *                 .name("ProductSKU")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilterArgs.java index 6819090c07b..f35180aab53 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetLicenseGrantsFilterArgs.java @@ -21,7 +21,8 @@ public final class GetLicenseGrantsFilterArgs extends com.pulumi.resources.Resou * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,14 +45,15 @@ public final class GetLicenseGrantsFilterArgs extends com.pulumi.resources.Resou
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public final class GetLicenseGrantsFilterArgs extends com.pulumi.resources.Resou * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -87,14 +90,15 @@ public final class GetLicenseGrantsFilterArgs extends com.pulumi.resources.Resou
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +152,8 @@ public Builder(GetLicenseGrantsFilterArgs defaults) { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -171,14 +176,15 @@ public Builder(GetLicenseGrantsFilterArgs defaults) {
          *     public static void stack(Context ctx) {
          *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
          *             .filters(GetLicenseGrantsFilterArgs.builder()
-         *                 .name("ProductSKU")
-         *                 .values("")
+         *                 .name("ProductSKU")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -195,7 +201,8 @@ public Builder name(Output name) { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -218,14 +225,15 @@ public Builder name(Output name) {
          *     public static void stack(Context ctx) {
          *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
          *             .filters(GetLicenseGrantsFilterArgs.builder()
-         *                 .name("ProductSKU")
-         *                 .values("")
+         *                 .name("ProductSKU")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilter.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilter.java index 96f8ff8ab2d..8c36617a09d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilter.java @@ -20,7 +20,8 @@ public final class GetReceivedLicensesFilter extends com.pulumi.resources.Invoke * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -43,14 +44,15 @@ public final class GetReceivedLicensesFilter extends com.pulumi.resources.Invoke
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public final class GetReceivedLicensesFilter extends com.pulumi.resources.Invoke * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,14 +89,15 @@ public final class GetReceivedLicensesFilter extends com.pulumi.resources.Invoke
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -147,7 +151,8 @@ public Builder(GetReceivedLicensesFilter defaults) { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -170,14 +175,15 @@ public Builder(GetReceivedLicensesFilter defaults) {
          *     public static void stack(Context ctx) {
          *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
          *             .filters(GetReceivedLicensesFilterArgs.builder()
-         *                 .name("ProductSKU")
-         *                 .values("")
+         *                 .name("ProductSKU")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilterArgs.java index 2399a2e20aa..c7dbb2e132a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/inputs/GetReceivedLicensesFilterArgs.java @@ -21,7 +21,8 @@ public final class GetReceivedLicensesFilterArgs extends com.pulumi.resources.Re * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,14 +45,15 @@ public final class GetReceivedLicensesFilterArgs extends com.pulumi.resources.Re
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public final class GetReceivedLicensesFilterArgs extends com.pulumi.resources.Re * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -87,14 +90,15 @@ public final class GetReceivedLicensesFilterArgs extends com.pulumi.resources.Re
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +152,8 @@ public Builder(GetReceivedLicensesFilterArgs defaults) { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -171,14 +176,15 @@ public Builder(GetReceivedLicensesFilterArgs defaults) {
          *     public static void stack(Context ctx) {
          *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
          *             .filters(GetReceivedLicensesFilterArgs.builder()
-         *                 .name("ProductSKU")
-         *                 .values("")
+         *                 .name("ProductSKU")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder @@ -195,7 +201,8 @@ public Builder name(Output name) { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+         * {@code
          * package generated_program;
          * 
          * import com.pulumi.Context;
@@ -218,14 +225,15 @@ public Builder name(Output name) {
          *     public static void stack(Context ctx) {
          *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
          *             .filters(GetReceivedLicensesFilterArgs.builder()
-         *                 .name("ProductSKU")
-         *                 .values("")
+         *                 .name("ProductSKU")
+         *                 .values("")
          *                 .build())
          *             .build());
          * 
          *     }
          * }
-         * ```
+         * }
+         * 
* <!--End PulumiCodeChooser --> * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetLicenseGrantsFilter.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetLicenseGrantsFilter.java index acd259dfc41..83f1b16446b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetLicenseGrantsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetLicenseGrantsFilter.java @@ -17,7 +17,8 @@ public final class GetLicenseGrantsFilter { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -40,14 +41,15 @@ public final class GetLicenseGrantsFilter {
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -65,7 +67,8 @@ private GetLicenseGrantsFilter() {} * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -88,14 +91,15 @@ private GetLicenseGrantsFilter() {}
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getLicenseGrants(GetLicenseGrantsArgs.builder()
      *             .filters(GetLicenseGrantsFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetReceivedLicensesFilter.java b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetReceivedLicensesFilter.java index c2a8a2ae452..06448fd6cfa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetReceivedLicensesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/licensemanager/outputs/GetReceivedLicensesFilter.java @@ -17,7 +17,8 @@ public final class GetReceivedLicensesFilter { * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -40,14 +41,15 @@ public final class GetReceivedLicensesFilter {
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -65,7 +67,8 @@ private GetReceivedLicensesFilter() {} * For example, if filtering using `ProductSKU`, use: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -88,14 +91,15 @@ private GetReceivedLicensesFilter() {}
      *     public static void stack(Context ctx) {
      *         final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder()
      *             .filters(GetReceivedLicensesFilterArgs.builder()
-     *                 .name("ProductSKU")
-     *                 .values("")
+     *                 .name("ProductSKU")
+     *                 .values("")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Bucket.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Bucket.java index 8431cdf13d3..d3eb8f847b7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Bucket.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Bucket.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Bucket("test", BucketArgs.builder()        
- *             .name("mytestbucket")
- *             .bundleId("small_1_0")
+ *         var test = new Bucket("test", BucketArgs.builder()        
+ *             .name("mytestbucket")
+ *             .bundleId("small_1_0")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/BucketAccessKey.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/BucketAccessKey.java index 36d31746091..a224bd1d257 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/BucketAccessKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/BucketAccessKey.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,18 +43,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Bucket("test", BucketArgs.builder()        
- *             .name("mytestbucket")
- *             .bundleId("small_1_0")
+ *         var test = new Bucket("test", BucketArgs.builder()        
+ *             .name("mytestbucket")
+ *             .bundleId("small_1_0")
  *             .build());
  * 
- *         var testLightsailBucketAccessKeyAccessKey = new LightsailBucketAccessKeyAccessKey("testLightsailBucketAccessKeyAccessKey", LightsailBucketAccessKeyAccessKeyArgs.builder()        
+ *         var testLightsailBucketAccessKeyAccessKey = new LightsailBucketAccessKeyAccessKey("testLightsailBucketAccessKeyAccessKey", LightsailBucketAccessKeyAccessKeyArgs.builder()        
  *             .bucketName(testAwsLightsailBucketAccessKey.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Certificate.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Certificate.java index 261e4ba5135..d9f5dd679ba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Certificate.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Certificate("test", CertificateArgs.builder()        
- *             .name("test")
- *             .domainName("testdomain.com")
- *             .subjectAlternativeNames("www.testdomain.com")
+ *         var test = new Certificate("test", CertificateArgs.builder()        
+ *             .name("test")
+ *             .domainName("testdomain.com")
+ *             .subjectAlternativeNames("www.testdomain.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerService.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerService.java index 9fa1ec20213..e3cae7abe1f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerService.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerService.java @@ -32,7 +32,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,26 +54,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myContainerService = new ContainerService("myContainerService", ContainerServiceArgs.builder()        
- *             .name("container-service-1")
- *             .power("nano")
+ *         var myContainerService = new ContainerService("myContainerService", ContainerServiceArgs.builder()        
+ *             .name("container-service-1")
+ *             .power("nano")
  *             .scale(1)
  *             .isDisabled(false)
  *             .tags(Map.ofEntries(
- *                 Map.entry("foo1", "bar1"),
- *                 Map.entry("foo2", "")
+ *                 Map.entry("foo1", "bar1"),
+ *                 Map.entry("foo2", "")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Public Domain Names * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,24 +97,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myContainerService = new ContainerService("myContainerService", ContainerServiceArgs.builder()        
+ *         var myContainerService = new ContainerService("myContainerService", ContainerServiceArgs.builder()        
  *             .publicDomainNames(ContainerServicePublicDomainNamesArgs.builder()
  *                 .certificates(ContainerServicePublicDomainNamesCertificateArgs.builder()
- *                     .certificateName("example-certificate")
- *                     .domainNames("www.example.com")
+ *                     .certificateName("example-certificate")
+ *                     .domainNames("www.example.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Private Registry Access * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -138,7 +143,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var defaultContainerService = new ContainerService("defaultContainerService", ContainerServiceArgs.builder()        
+ *         var defaultContainerService = new ContainerService("defaultContainerService", ContainerServiceArgs.builder()        
  *             .privateRegistryAccess(ContainerServicePrivateRegistryAccessArgs.builder()
  *                 .ecrImagePullerRole(ContainerServicePrivateRegistryAccessEcrImagePullerRoleArgs.builder()
  *                     .isActive(true)
@@ -148,25 +153,26 @@
  * 
  *         final var default = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers(defaultContainerService.privateRegistryAccess().applyValue(privateRegistryAccess -> privateRegistryAccess.ecrImagePullerRole().principalArn()))
+ *                     .type("AWS")
+ *                     .identifiers(defaultContainerService.privateRegistryAccess().applyValue(privateRegistryAccess -> privateRegistryAccess.ecrImagePullerRole().principalArn()))
  *                     .build())
  *                 .actions(                
- *                     "ecr:BatchGetImage",
- *                     "ecr:GetDownloadUrlForLayer")
+ *                     "ecr:BatchGetImage",
+ *                     "ecr:GetDownloadUrlForLayer")
  *                 .build())
  *             .build());
  * 
- *         var defaultRepositoryPolicy = new RepositoryPolicy("defaultRepositoryPolicy", RepositoryPolicyArgs.builder()        
+ *         var defaultRepositoryPolicy = new RepositoryPolicy("defaultRepositoryPolicy", RepositoryPolicyArgs.builder()        
  *             .repository(defaultAwsEcrRepository.name())
- *             .policy(default_.applyValue(default_ -> default_.json()))
+ *             .policy(default_.applyValue(default_ -> default_.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerServiceDeploymentVersion.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerServiceDeploymentVersion.java index c8f82b78c8e..ba3b889d0b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerServiceDeploymentVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/ContainerServiceDeploymentVersion.java @@ -30,7 +30,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,24 +55,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContainerServiceDeploymentVersion("example", ContainerServiceDeploymentVersionArgs.builder()        
+ *         var example = new ContainerServiceDeploymentVersion("example", ContainerServiceDeploymentVersionArgs.builder()        
  *             .containers(ContainerServiceDeploymentVersionContainerArgs.builder()
- *                 .containerName("hello-world")
- *                 .image("amazon/amazon-lightsail:hello-world")
+ *                 .containerName("hello-world")
+ *                 .image("amazon/amazon-lightsail:hello-world")
  *                 .commands()
- *                 .environment(Map.of("MY_ENVIRONMENT_VARIABLE", "my_value"))
- *                 .ports(Map.of("80", "HTTP"))
+ *                 .environment(Map.of("MY_ENVIRONMENT_VARIABLE", "my_value"))
+ *                 .ports(Map.of("80", "HTTP"))
  *                 .build())
  *             .publicEndpoint(ContainerServiceDeploymentVersionPublicEndpointArgs.builder()
- *                 .containerName("hello-world")
+ *                 .containerName("hello-world")
  *                 .containerPort(80)
  *                 .healthCheck(ContainerServiceDeploymentVersionPublicEndpointHealthCheckArgs.builder()
  *                     .healthyThreshold(2)
  *                     .unhealthyThreshold(2)
  *                     .timeoutSeconds(2)
  *                     .intervalSeconds(5)
- *                     .path("/")
- *                     .successCodes("200-499")
+ *                     .path("/")
+ *                     .successCodes("200-499")
  *                     .build())
  *                 .build())
  *             .serviceName(exampleAwsLightsailContainerService.name())
@@ -79,7 +80,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Database.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Database.java index 30def1a3e98..ca192a1672b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Database.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Database.java @@ -31,7 +31,8 @@ * ### Basic mysql blueprint * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,25 +53,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Database("test", DatabaseArgs.builder()        
- *             .relationalDatabaseName("test")
- *             .availabilityZone("us-east-1a")
- *             .masterDatabaseName("testdatabasename")
- *             .masterPassword("testdatabasepassword")
- *             .masterUsername("test")
- *             .blueprintId("mysql_8_0")
- *             .bundleId("micro_1_0")
+ *         var test = new Database("test", DatabaseArgs.builder()        
+ *             .relationalDatabaseName("test")
+ *             .availabilityZone("us-east-1a")
+ *             .masterDatabaseName("testdatabasename")
+ *             .masterPassword("testdatabasepassword")
+ *             .masterUsername("test")
+ *             .blueprintId("mysql_8_0")
+ *             .bundleId("micro_1_0")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic postrgres blueprint * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,19 +94,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Database("test", DatabaseArgs.builder()        
- *             .relationalDatabaseName("test")
- *             .availabilityZone("us-east-1a")
- *             .masterDatabaseName("testdatabasename")
- *             .masterPassword("testdatabasepassword")
- *             .masterUsername("test")
- *             .blueprintId("postgres_12")
- *             .bundleId("micro_1_0")
+ *         var test = new Database("test", DatabaseArgs.builder()        
+ *             .relationalDatabaseName("test")
+ *             .availabilityZone("us-east-1a")
+ *             .masterDatabaseName("testdatabasename")
+ *             .masterPassword("testdatabasepassword")
+ *             .masterUsername("test")
+ *             .blueprintId("postgres_12")
+ *             .bundleId("micro_1_0")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom backup and maintenance windows @@ -111,7 +115,8 @@ * Below is an example that sets a custom backup and maintenance window. Times are specified in UTC. This example will allow daily backups to take place between 16:00 and 16:30 each day. This example also requires any maintiance tasks (anything that would cause an outage, including changing some attributes) to take place on Tuesdays between 17:00 and 17:30. An action taken against this database that would cause an outage will wait until this time window to make the requested changes. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -132,21 +137,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Database("test", DatabaseArgs.builder()        
- *             .relationalDatabaseName("test")
- *             .availabilityZone("us-east-1a")
- *             .masterDatabaseName("testdatabasename")
- *             .masterPassword("testdatabasepassword")
- *             .masterUsername("test")
- *             .blueprintId("postgres_12")
- *             .bundleId("micro_1_0")
- *             .preferredBackupWindow("16:00-16:30")
- *             .preferredMaintenanceWindow("Tue:17:00-Tue:17:30")
+ *         var test = new Database("test", DatabaseArgs.builder()        
+ *             .relationalDatabaseName("test")
+ *             .availabilityZone("us-east-1a")
+ *             .masterDatabaseName("testdatabasename")
+ *             .masterPassword("testdatabasepassword")
+ *             .masterUsername("test")
+ *             .blueprintId("postgres_12")
+ *             .bundleId("micro_1_0")
+ *             .preferredBackupWindow("16:00-16:30")
+ *             .preferredMaintenanceWindow("Tue:17:00-Tue:17:30")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Final Snapshots @@ -154,7 +160,8 @@ * To enable creating a final snapshot of your database on deletion, use the `final_snapshot_name` argument to provide a name to be used for the snapshot. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -175,22 +182,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Database("test", DatabaseArgs.builder()        
- *             .relationalDatabaseName("test")
- *             .availabilityZone("us-east-1a")
- *             .masterDatabaseName("testdatabasename")
- *             .masterPassword("testdatabasepassword")
- *             .masterUsername("test")
- *             .blueprintId("postgres_12")
- *             .bundleId("micro_1_0")
- *             .preferredBackupWindow("16:00-16:30")
- *             .preferredMaintenanceWindow("Tue:17:00-Tue:17:30")
- *             .finalSnapshotName("MyFinalSnapshot")
+ *         var test = new Database("test", DatabaseArgs.builder()        
+ *             .relationalDatabaseName("test")
+ *             .availabilityZone("us-east-1a")
+ *             .masterDatabaseName("testdatabasename")
+ *             .masterPassword("testdatabasepassword")
+ *             .masterUsername("test")
+ *             .blueprintId("postgres_12")
+ *             .bundleId("micro_1_0")
+ *             .preferredBackupWindow("16:00-16:30")
+ *             .preferredMaintenanceWindow("Tue:17:00-Tue:17:30")
+ *             .finalSnapshotName("MyFinalSnapshot")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Apply Immediately @@ -198,7 +206,8 @@ * To enable applying changes immediately instead of waiting for a maintiance window, use the `apply_immediately` argument. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -219,20 +228,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Database("test", DatabaseArgs.builder()        
- *             .relationalDatabaseName("test")
- *             .availabilityZone("us-east-1a")
- *             .masterDatabaseName("testdatabasename")
- *             .masterPassword("testdatabasepassword")
- *             .masterUsername("test")
- *             .blueprintId("postgres_12")
- *             .bundleId("micro_1_0")
+ *         var test = new Database("test", DatabaseArgs.builder()        
+ *             .relationalDatabaseName("test")
+ *             .availabilityZone("us-east-1a")
+ *             .masterDatabaseName("testdatabasename")
+ *             .masterPassword("testdatabasepassword")
+ *             .masterUsername("test")
+ *             .blueprintId("postgres_12")
+ *             .bundleId("micro_1_0")
  *             .applyImmediately(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Blueprint Ids @@ -518,14 +528,14 @@ public Output masterEndpointPort() { return this.masterEndpointPort; } /** - * The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * */ @Export(name="masterPassword", refs={String.class}, tree="[0]") private Output masterPassword; /** - * @return The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @return The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * */ public Output masterPassword() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/DatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/DatabaseArgs.java index 66ff9d30fc5..fcae25955fd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/DatabaseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/DatabaseArgs.java @@ -124,14 +124,14 @@ public Output masterDatabaseName() { } /** - * The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * */ @Import(name="masterPassword", required=true) private Output masterPassword; /** - * @return The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @return The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * */ public Output masterPassword() { @@ -429,7 +429,7 @@ public Builder masterDatabaseName(String masterDatabaseName) { } /** - * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * * @return builder * @@ -440,7 +440,7 @@ public Builder masterPassword(Output masterPassword) { } /** - * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk.java index e6a70bf3656..cc22d89e37a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,22 +47,23 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var test = new Disk("test", DiskArgs.builder()        
- *             .name("test")
+ *         var test = new Disk("test", DiskArgs.builder()        
+ *             .name("test")
  *             .sizeInGb(8)
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk_attachment.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk_attachment.java index c01428e56f4..2f87d3a3530 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk_attachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Disk_attachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,35 +48,36 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var test = new Disk("test", DiskArgs.builder()        
- *             .name("test-disk")
+ *         var test = new Disk("test", DiskArgs.builder()        
+ *             .name("test-disk")
  *             .sizeInGb(8)
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
  *             .build());
  * 
- *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
- *             .name("test-instance")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
+ *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
+ *             .name("test-instance")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
  *             .build());
  * 
- *         var testDisk_attachment = new Disk_attachment("testDisk_attachment", Disk_attachmentArgs.builder()        
+ *         var testDisk_attachment = new Disk_attachment("testDisk_attachment", Disk_attachmentArgs.builder()        
  *             .diskName(test.name())
  *             .instanceName(testInstance.name())
- *             .diskPath("/dev/xvdf")
+ *             .diskPath("/dev/xvdf")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Distribution.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Distribution.java index f4af4e55f47..abce71dee06 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Distribution.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Distribution.java @@ -32,7 +32,8 @@ * Below is a basic example with a bucket as an origin. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,32 +62,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Bucket("test", BucketArgs.builder()        
- *             .name("test-bucket")
- *             .bundleId("small_1_0")
+ *         var test = new Bucket("test", BucketArgs.builder()        
+ *             .name("test-bucket")
+ *             .bundleId("small_1_0")
  *             .build());
  * 
- *         var testDistribution = new Distribution("testDistribution", DistributionArgs.builder()        
- *             .name("test-distribution")
- *             .bundleId("small_1_0")
+ *         var testDistribution = new Distribution("testDistribution", DistributionArgs.builder()        
+ *             .name("test-distribution")
+ *             .bundleId("small_1_0")
  *             .origin(DistributionOriginArgs.builder()
  *                 .name(test.name())
  *                 .regionName(test.region())
  *                 .build())
  *             .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
- *                 .behavior("cache")
+ *                 .behavior("cache")
  *                 .build())
  *             .cacheBehaviorSettings(DistributionCacheBehaviorSettingsArgs.builder()
- *                 .allowedHttpMethods("GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE")
- *                 .cachedHttpMethods("GET,HEAD")
+ *                 .allowedHttpMethods("GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE")
+ *                 .cachedHttpMethods("GET,HEAD")
  *                 .defaultTtl(86400)
  *                 .maximumTtl(31536000)
  *                 .minimumTtl(0)
  *                 .forwardedCookies(DistributionCacheBehaviorSettingsForwardedCookiesArgs.builder()
- *                     .option("none")
+ *                     .option("none")
  *                     .build())
  *                 .forwardedHeaders(DistributionCacheBehaviorSettingsForwardedHeadersArgs.builder()
- *                     .option("default")
+ *                     .option("default")
  *                     .build())
  *                 .forwardedQueryStrings(DistributionCacheBehaviorSettingsForwardedQueryStringsArgs.builder()
  *                     .option(false)
@@ -96,7 +97,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### instance origin example @@ -104,7 +106,8 @@ * Below is an example of an instance as the origin. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -137,38 +140,38 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var testStaticIp = new StaticIp("testStaticIp", StaticIpArgs.builder()        
- *             .name("test-static-ip")
+ *         var testStaticIp = new StaticIp("testStaticIp", StaticIpArgs.builder()        
+ *             .name("test-static-ip")
  *             .build());
  * 
- *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
- *             .name("test-instance")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("micro_1_0")
+ *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
+ *             .name("test-instance")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("micro_1_0")
  *             .build());
  * 
- *         var test = new StaticIpAttachment("test", StaticIpAttachmentArgs.builder()        
+ *         var test = new StaticIpAttachment("test", StaticIpAttachmentArgs.builder()        
  *             .staticIpName(testStaticIp.name())
  *             .instanceName(testInstance.name())
  *             .build());
  * 
- *         var testDistribution = new Distribution("testDistribution", DistributionArgs.builder()        
- *             .name("test-distribution")
- *             .bundleId("small_1_0")
+ *         var testDistribution = new Distribution("testDistribution", DistributionArgs.builder()        
+ *             .name("test-distribution")
+ *             .bundleId("small_1_0")
  *             .origin(DistributionOriginArgs.builder()
  *                 .name(testInstance.name())
- *                 .regionName(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.id()))
+ *                 .regionName(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.id()))
  *                 .build())
  *             .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
- *                 .behavior("cache")
+ *                 .behavior("cache")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(test)
@@ -176,7 +179,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### lb origin example @@ -184,7 +188,8 @@ * Below is an example with a load balancer as an origin * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -217,41 +222,41 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
- *             .name("test-instance")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
+ *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
+ *             .name("test-instance")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
  *             .build());
  * 
- *         var testLbAttachment = new LbAttachment("testLbAttachment", LbAttachmentArgs.builder()        
+ *         var testLbAttachment = new LbAttachment("testLbAttachment", LbAttachmentArgs.builder()        
  *             .lbName(test.name())
  *             .instanceName(testInstance.name())
  *             .build());
  * 
- *         var testDistribution = new Distribution("testDistribution", DistributionArgs.builder()        
- *             .name("test-distribution")
- *             .bundleId("small_1_0")
+ *         var testDistribution = new Distribution("testDistribution", DistributionArgs.builder()        
+ *             .name("test-distribution")
+ *             .bundleId("small_1_0")
  *             .origin(DistributionOriginArgs.builder()
  *                 .name(test.name())
- *                 .regionName(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.id()))
+ *                 .regionName(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.id()))
  *                 .build())
  *             .defaultCacheBehavior(DistributionDefaultCacheBehaviorArgs.builder()
- *                 .behavior("cache")
+ *                 .behavior("cache")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(testLbAttachment)
@@ -259,7 +264,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Domain.java index 384cf8d0fab..43f5b2fb2b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Domain.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var domainTest = new Domain("domainTest", DomainArgs.builder()        
- *             .domainName("mydomain.com")
+ *         var domainTest = new Domain("domainTest", DomainArgs.builder()        
+ *             .domainName("mydomain.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/DomainEntry.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/DomainEntry.java index 41a64ca7d2b..310404fa9a0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/DomainEntry.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/DomainEntry.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Domain("test", DomainArgs.builder()        
- *             .domainName("mydomain.com")
+ *         var test = new Domain("test", DomainArgs.builder()        
+ *             .domainName("mydomain.com")
  *             .build());
  * 
- *         var testDomainEntry = new DomainEntry("testDomainEntry", DomainEntryArgs.builder()        
+ *         var testDomainEntry = new DomainEntry("testDomainEntry", DomainEntryArgs.builder()        
  *             .domainName(domainTest.domainName())
- *             .name("www")
- *             .type("A")
- *             .target("127.0.0.1")
+ *             .name("www")
+ *             .type("A")
+ *             .target("127.0.0.1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Instance.java index 4767990dbf0..548b666dee8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Instance.java @@ -32,7 +32,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,18 +55,19 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new GitLab Lightsail Instance
- *         var gitlabTest = new Instance("gitlabTest", InstanceArgs.builder()        
- *             .name("custom_gitlab")
- *             .availabilityZone("us-east-1b")
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
- *             .keyPairName("some_key_name")
- *             .tags(Map.of("foo", "bar"))
+ *         var gitlabTest = new Instance("gitlabTest", InstanceArgs.builder()        
+ *             .name("custom_gitlab")
+ *             .availabilityZone("us-east-1b")
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
+ *             .keyPairName("some_key_name")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example With User Data @@ -73,7 +75,8 @@ * Lightsail user data is handled differently than ec2 user data. Lightsail user data only accepts a single lined string. The below example shows installing apache and creating the index page. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,23 +97,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var custom = new Instance("custom", InstanceArgs.builder()        
- *             .name("custom")
- *             .availabilityZone("us-east-1b")
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
- *             .userData("sudo yum install -y httpd && sudo systemctl start httpd && sudo systemctl enable httpd && echo '<h1>Deployed via Pulumi</h1>' | sudo tee /var/www/html/index.html")
+ *         var custom = new Instance("custom", InstanceArgs.builder()        
+ *             .name("custom")
+ *             .availabilityZone("us-east-1b")
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
+ *             .userData("sudo yum install -y httpd && sudo systemctl start httpd && sudo systemctl enable httpd && echo '

Deployed via Pulumi

' | sudo tee /var/www/html/index.html") * .build()); * * } * } - * ``` + * } + *
* <!--End PulumiCodeChooser --> * * ### Enable Auto Snapshots * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -132,22 +137,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Instance("test", InstanceArgs.builder()        
- *             .name("custom_instance")
- *             .availabilityZone("us-east-1b")
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
+ *         var test = new Instance("test", InstanceArgs.builder()        
+ *             .name("custom_instance")
+ *             .availabilityZone("us-east-1b")
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
  *             .addOn(InstanceAddOnArgs.builder()
- *                 .type("AutoSnapshot")
- *                 .snapshotTime("06:00")
- *                 .status("Enabled")
+ *                 .type("AutoSnapshot")
+ *                 .snapshotTime("06:00")
+ *                 .status("Enabled")
  *                 .build())
- *             .tags(Map.of("foo", "bar"))
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/InstancePublicPorts.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/InstancePublicPorts.java index 53698ed53fe..f6d15d54e1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/InstancePublicPorts.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/InstancePublicPorts.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,17 +50,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Instance("test", InstanceArgs.builder()        
- *             .name("yak_sail")
+ *         var test = new Instance("test", InstanceArgs.builder()        
+ *             .name("yak_sail")
  *             .availabilityZone(available.names()[0])
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
  *             .build());
  * 
- *         var testInstancePublicPorts = new InstancePublicPorts("testInstancePublicPorts", InstancePublicPortsArgs.builder()        
+ *         var testInstancePublicPorts = new InstancePublicPorts("testInstancePublicPorts", InstancePublicPortsArgs.builder()        
  *             .instanceName(test.name())
  *             .portInfos(InstancePublicPortsPortInfoArgs.builder()
- *                 .protocol("tcp")
+ *                 .protocol("tcp")
  *                 .fromPort(80)
  *                 .toPort(80)
  *                 .build())
@@ -67,7 +68,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/KeyPair.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/KeyPair.java index 535c6410ad4..84da8835c1f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/KeyPair.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/KeyPair.java @@ -27,7 +27,8 @@ * ### Create New Key Pair * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,19 +50,21 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Create a new Lightsail Key Pair
- *         var lgKeyPair = new KeyPair("lgKeyPair", KeyPairArgs.builder()        
- *             .name("lg_key_pair")
+ *         var lgKeyPair = new KeyPair("lgKeyPair", KeyPairArgs.builder()        
+ *             .name("lg_key_pair")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create New Key Pair with PGP Encrypted Private Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,20 +85,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lgKeyPair = new KeyPair("lgKeyPair", KeyPairArgs.builder()        
- *             .name("lg_key_pair")
- *             .pgpKey("keybase:keybaseusername")
+ *         var lgKeyPair = new KeyPair("lgKeyPair", KeyPairArgs.builder()        
+ *             .name("lg_key_pair")
+ *             .pgpKey("keybase:keybaseusername")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Existing Public Key Import * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -116,16 +121,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lgKeyPair = new KeyPair("lgKeyPair", KeyPairArgs.builder()        
- *             .name("importing")
+ *         var lgKeyPair = new KeyPair("lgKeyPair", KeyPairArgs.builder()        
+ *             .name("importing")
  *             .publicKey(StdFunctions.file(FileArgs.builder()
- *                 .input("~/.ssh/id_rsa.pub")
+ *                 .input("~/.ssh/id_rsa.pub")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Lb.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Lb.java index 6ddefe97cf2..cf0723dcd39 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/Lb.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/Lb.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbAttachment.java index d4aaa072e58..63414608c0d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,35 +48,36 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .filters(GetAvailabilityZonesFilterArgs.builder()
- *                 .name("opt-in-status")
- *                 .values("opt-in-not-required")
+ *                 .name("opt-in-status")
+ *                 .values("opt-in-not-required")
  *                 .build())
  *             .build());
  * 
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
- *             .name("test-instance")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
- *             .blueprintId("amazon_linux_2")
- *             .bundleId("nano_3_0")
+ *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
+ *             .name("test-instance")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .blueprintId("amazon_linux_2")
+ *             .bundleId("nano_3_0")
  *             .build());
  * 
- *         var testLbAttachment = new LbAttachment("testLbAttachment", LbAttachmentArgs.builder()        
+ *         var testLbAttachment = new LbAttachment("testLbAttachment", LbAttachmentArgs.builder()        
  *             .lbName(test.name())
  *             .instanceName(testInstance.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificate.java index b14e2c80b1d..580a55514a6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificate.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         var testLbCertificate = new LbCertificate("testLbCertificate", LbCertificateArgs.builder()        
- *             .name("test-load-balancer-certificate")
+ *         var testLbCertificate = new LbCertificate("testLbCertificate", LbCertificateArgs.builder()        
+ *             .name("test-load-balancer-certificate")
  *             .lbName(test.id())
- *             .domainName("test.com")
+ *             .domainName("test.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificateAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificateAttachment.java index 56886ce6bdf..f770de90b6d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificateAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbCertificateAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,27 +45,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         var testLbCertificate = new LbCertificate("testLbCertificate", LbCertificateArgs.builder()        
- *             .name("test-load-balancer-certificate")
+ *         var testLbCertificate = new LbCertificate("testLbCertificate", LbCertificateArgs.builder()        
+ *             .name("test-load-balancer-certificate")
  *             .lbName(test.id())
- *             .domainName("test.com")
+ *             .domainName("test.com")
  *             .build());
  * 
- *         var testLbCertificateAttachment = new LbCertificateAttachment("testLbCertificateAttachment", LbCertificateAttachmentArgs.builder()        
+ *         var testLbCertificateAttachment = new LbCertificateAttachment("testLbCertificateAttachment", LbCertificateAttachmentArgs.builder()        
  *             .lbName(test.name())
  *             .certificateName(testLbCertificate.name())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbHttpsRedirectionPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbHttpsRedirectionPolicy.java index 3a758752aa1..176fd3e282a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbHttpsRedirectionPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbHttpsRedirectionPolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,32 +48,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         var testLbCertificate = new LbCertificate("testLbCertificate", LbCertificateArgs.builder()        
- *             .name("test-load-balancer-certificate")
+ *         var testLbCertificate = new LbCertificate("testLbCertificate", LbCertificateArgs.builder()        
+ *             .name("test-load-balancer-certificate")
  *             .lbName(test.id())
- *             .domainName("test.com")
+ *             .domainName("test.com")
  *             .build());
  * 
- *         var testLbCertificateAttachment = new LbCertificateAttachment("testLbCertificateAttachment", LbCertificateAttachmentArgs.builder()        
+ *         var testLbCertificateAttachment = new LbCertificateAttachment("testLbCertificateAttachment", LbCertificateAttachmentArgs.builder()        
  *             .lbName(test.name())
  *             .certificateName(testLbCertificate.name())
  *             .build());
  * 
- *         var testLbHttpsRedirectionPolicy = new LbHttpsRedirectionPolicy("testLbHttpsRedirectionPolicy", LbHttpsRedirectionPolicyArgs.builder()        
+ *         var testLbHttpsRedirectionPolicy = new LbHttpsRedirectionPolicy("testLbHttpsRedirectionPolicy", LbHttpsRedirectionPolicyArgs.builder()        
  *             .lbName(test.name())
  *             .enabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbStickinessPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbStickinessPolicy.java index 739c3b40bd9..c469a11c916 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbStickinessPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/LbStickinessPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Lb("test", LbArgs.builder()        
- *             .name("test-load-balancer")
- *             .healthCheckPath("/")
- *             .instancePort("80")
- *             .tags(Map.of("foo", "bar"))
+ *         var test = new Lb("test", LbArgs.builder()        
+ *             .name("test-load-balancer")
+ *             .healthCheckPath("/")
+ *             .instancePort("80")
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         var testLbStickinessPolicy = new LbStickinessPolicy("testLbStickinessPolicy", LbStickinessPolicyArgs.builder()        
+ *         var testLbStickinessPolicy = new LbStickinessPolicy("testLbStickinessPolicy", LbStickinessPolicyArgs.builder()        
  *             .lbName(test.name())
  *             .cookieDuration(900)
  *             .enabled(true)
@@ -59,7 +60,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIp.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIp.java index 3adea78cfcd..0431c466028 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIp.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIp.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new StaticIp("test", StaticIpArgs.builder()        
- *             .name("example")
+ *         var test = new StaticIp("test", StaticIpArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIpAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIpAttachment.java index 2798c822026..86238bff39b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIpAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/StaticIpAttachment.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,26 +47,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testStaticIp = new StaticIp("testStaticIp", StaticIpArgs.builder()        
- *             .name("example")
+ *         var testStaticIp = new StaticIp("testStaticIp", StaticIpArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
- *             .name("example")
- *             .availabilityZone("us-east-1b")
- *             .blueprintId("string")
- *             .bundleId("string")
- *             .keyPairName("some_key_name")
+ *         var testInstance = new Instance("testInstance", InstanceArgs.builder()        
+ *             .name("example")
+ *             .availabilityZone("us-east-1b")
+ *             .blueprintId("string")
+ *             .bundleId("string")
+ *             .keyPairName("some_key_name")
  *             .build());
  * 
- *         var test = new StaticIpAttachment("test", StaticIpAttachmentArgs.builder()        
+ *         var test = new StaticIpAttachment("test", StaticIpAttachmentArgs.builder()        
  *             .staticIpName(testStaticIp.id())
  *             .instanceName(testInstance.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/lightsail/inputs/DatabaseState.java b/sdk/java/src/main/java/com/pulumi/aws/lightsail/inputs/DatabaseState.java index f0652973c5a..ecdc77fa2db 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lightsail/inputs/DatabaseState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lightsail/inputs/DatabaseState.java @@ -260,14 +260,14 @@ public Optional> masterEndpointPort() { } /** - * The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * */ @Import(name="masterPassword") private @Nullable Output masterPassword; /** - * @return The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @return The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * */ public Optional> masterPassword() { @@ -835,7 +835,7 @@ public Builder masterEndpointPort(Integer masterEndpointPort) { } /** - * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * * @return builder * @@ -846,7 +846,7 @@ public Builder masterPassword(@Nullable Output masterPassword) { } /** - * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@". + * @param masterPassword The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "{@literal @}". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/GeofenceCollection.java b/sdk/java/src/main/java/com/pulumi/aws/location/GeofenceCollection.java index 9956af8310d..79d1a78d4c6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/GeofenceCollection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/GeofenceCollection.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GeofenceCollection("example", GeofenceCollectionArgs.builder()        
- *             .collectionName("example")
+ *         var example = new GeofenceCollection("example", GeofenceCollectionArgs.builder()        
+ *             .collectionName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/LocationFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/location/LocationFunctions.java index 18092c5c3c3..71754dae2b0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/LocationFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/LocationFunctions.java @@ -40,7 +40,8 @@ public final class LocationFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -62,12 +63,13 @@ public final class LocationFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getGeofenceCollection(GetGeofenceCollectionArgs.builder()
-     *             .collectionName("example")
+     *             .collectionName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -82,7 +84,8 @@ public static Output getGeofenceCollection(GetGeofe * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -104,12 +107,13 @@ public static Output getGeofenceCollection(GetGeofe
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getGeofenceCollection(GetGeofenceCollectionArgs.builder()
-     *             .collectionName("example")
+     *             .collectionName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -124,7 +128,8 @@ public static CompletableFuture getGeofenceCollecti * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -146,12 +151,13 @@ public static CompletableFuture getGeofenceCollecti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getGeofenceCollection(GetGeofenceCollectionArgs.builder()
-     *             .collectionName("example")
+     *             .collectionName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -166,7 +172,8 @@ public static Output getGeofenceCollection(GetGeofe * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -188,12 +195,13 @@ public static Output getGeofenceCollection(GetGeofe
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getGeofenceCollection(GetGeofenceCollectionArgs.builder()
-     *             .collectionName("example")
+     *             .collectionName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -206,7 +214,8 @@ public static CompletableFuture getGeofenceCollecti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -228,12 +237,13 @@ public static CompletableFuture getGeofenceCollecti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getMap(GetMapArgs.builder()
-     *             .mapName("example")
+     *             .mapName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -246,7 +256,8 @@ public static Output getMap(GetMapArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -268,12 +279,13 @@ public static Output getMap(GetMapArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getMap(GetMapArgs.builder()
-     *             .mapName("example")
+     *             .mapName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -286,7 +298,8 @@ public static CompletableFuture getMapPlain(GetMapPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -308,12 +321,13 @@ public static CompletableFuture getMapPlain(GetMapPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getMap(GetMapArgs.builder()
-     *             .mapName("example")
+     *             .mapName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -326,7 +340,8 @@ public static Output getMap(GetMapArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -348,12 +363,13 @@ public static Output getMap(GetMapArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getMap(GetMapArgs.builder()
-     *             .mapName("example")
+     *             .mapName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -366,7 +382,8 @@ public static CompletableFuture getMapPlain(GetMapPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -388,12 +405,13 @@ public static CompletableFuture getMapPlain(GetMapPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getPlaceIndex(GetPlaceIndexArgs.builder()
-     *             .indexName("example")
+     *             .indexName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -406,7 +424,8 @@ public static Output getPlaceIndex(GetPlaceIndexArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -428,12 +447,13 @@ public static Output getPlaceIndex(GetPlaceIndexArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getPlaceIndex(GetPlaceIndexArgs.builder()
-     *             .indexName("example")
+     *             .indexName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -446,7 +466,8 @@ public static CompletableFuture getPlaceIndexPlain(GetPlace * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -468,12 +489,13 @@ public static CompletableFuture getPlaceIndexPlain(GetPlace
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getPlaceIndex(GetPlaceIndexArgs.builder()
-     *             .indexName("example")
+     *             .indexName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -486,7 +508,8 @@ public static Output getPlaceIndex(GetPlaceIndexArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -508,12 +531,13 @@ public static Output getPlaceIndex(GetPlaceIndexArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getPlaceIndex(GetPlaceIndexArgs.builder()
-     *             .indexName("example")
+     *             .indexName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -526,7 +550,8 @@ public static CompletableFuture getPlaceIndexPlain(GetPlace * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -548,12 +573,13 @@ public static CompletableFuture getPlaceIndexPlain(GetPlace
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getRouteCalculator(GetRouteCalculatorArgs.builder()
-     *             .calculatorName("example")
+     *             .calculatorName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -566,7 +592,8 @@ public static Output getRouteCalculator(GetRouteCalcul * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -588,12 +615,13 @@ public static Output getRouteCalculator(GetRouteCalcul
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getRouteCalculator(GetRouteCalculatorArgs.builder()
-     *             .calculatorName("example")
+     *             .calculatorName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -606,7 +634,8 @@ public static CompletableFuture getRouteCalculatorPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -628,12 +657,13 @@ public static CompletableFuture getRouteCalculatorPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getRouteCalculator(GetRouteCalculatorArgs.builder()
-     *             .calculatorName("example")
+     *             .calculatorName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -646,7 +676,8 @@ public static Output getRouteCalculator(GetRouteCalcul * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -668,12 +699,13 @@ public static Output getRouteCalculator(GetRouteCalcul
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getRouteCalculator(GetRouteCalculatorArgs.builder()
-     *             .calculatorName("example")
+     *             .calculatorName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -686,7 +718,8 @@ public static CompletableFuture getRouteCalculatorPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -708,12 +741,13 @@ public static CompletableFuture getRouteCalculatorPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTracker(GetTrackerArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -726,7 +760,8 @@ public static Output getTracker(GetTrackerArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -748,12 +783,13 @@ public static Output getTracker(GetTrackerArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTracker(GetTrackerArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -766,7 +802,8 @@ public static CompletableFuture getTrackerPlain(GetTrackerPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -788,12 +825,13 @@ public static CompletableFuture getTrackerPlain(GetTrackerPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTracker(GetTrackerArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -806,7 +844,8 @@ public static Output getTracker(GetTrackerArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -828,12 +867,13 @@ public static Output getTracker(GetTrackerArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTracker(GetTrackerArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -848,7 +888,8 @@ public static CompletableFuture getTrackerPlain(GetTrackerPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -870,13 +911,14 @@ public static CompletableFuture getTrackerPlain(GetTrackerPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociation(GetTrackerAssociationArgs.builder()
-     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
-     *             .trackerName("example")
+     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -891,7 +933,8 @@ public static Output getTrackerAssociation(GetTrack * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -913,13 +956,14 @@ public static Output getTrackerAssociation(GetTrack
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociation(GetTrackerAssociationArgs.builder()
-     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
-     *             .trackerName("example")
+     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -934,7 +978,8 @@ public static CompletableFuture getTrackerAssociati * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -956,13 +1001,14 @@ public static CompletableFuture getTrackerAssociati
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociation(GetTrackerAssociationArgs.builder()
-     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
-     *             .trackerName("example")
+     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -977,7 +1023,8 @@ public static Output getTrackerAssociation(GetTrack * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -999,13 +1046,14 @@ public static Output getTrackerAssociation(GetTrack
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociation(GetTrackerAssociationArgs.builder()
-     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
-     *             .trackerName("example")
+     *             .consumerArn("arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1020,7 +1068,8 @@ public static CompletableFuture getTrackerAssociati * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1042,12 +1091,13 @@ public static CompletableFuture getTrackerAssociati
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociations(GetTrackerAssociationsArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1062,7 +1112,8 @@ public static Output getTrackerAssociations(GetTra * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1084,12 +1135,13 @@ public static Output getTrackerAssociations(GetTra
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociations(GetTrackerAssociationsArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1104,7 +1156,8 @@ public static CompletableFuture getTrackerAssociat * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1126,12 +1179,13 @@ public static CompletableFuture getTrackerAssociat
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociations(GetTrackerAssociationsArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1146,7 +1200,8 @@ public static Output getTrackerAssociations(GetTra * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1168,12 +1223,13 @@ public static Output getTrackerAssociations(GetTra
      * 
      *     public static void stack(Context ctx) {
      *         final var example = LocationFunctions.getTrackerAssociations(GetTrackerAssociationsArgs.builder()
-     *             .trackerName("example")
+     *             .trackerName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/Map.java b/sdk/java/src/main/java/com/pulumi/aws/location/Map.java index 2d429d66090..3e7e0d42e71 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/Map.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/Map.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,16 +44,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Map("example", MapArgs.builder()        
+ *         var example = new Map("example", MapArgs.builder()        
  *             .configuration(MapConfigurationArgs.builder()
- *                 .style("VectorHereBerlin")
+ *                 .style("VectorHereBerlin")
  *                 .build())
- *             .mapName("example")
+ *             .mapName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/PlaceIndex.java b/sdk/java/src/main/java/com/pulumi/aws/location/PlaceIndex.java index 54dfcb4ef1f..68107981e96 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/PlaceIndex.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/PlaceIndex.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PlaceIndex("example", PlaceIndexArgs.builder()        
- *             .dataSource("Here")
- *             .indexName("example")
+ *         var example = new PlaceIndex("example", PlaceIndexArgs.builder()        
+ *             .dataSource("Here")
+ *             .indexName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/RouteCalculation.java b/sdk/java/src/main/java/com/pulumi/aws/location/RouteCalculation.java index 2fa1a7f62dd..ce7458ff968 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/RouteCalculation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/RouteCalculation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RouteCalculation("example", RouteCalculationArgs.builder()        
- *             .calculatorName("example")
- *             .dataSource("Here")
+ *         var example = new RouteCalculation("example", RouteCalculationArgs.builder()        
+ *             .calculatorName("example")
+ *             .dataSource("Here")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/Tracker.java b/sdk/java/src/main/java/com/pulumi/aws/location/Tracker.java index fdbba75f1ba..261a4119264 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/Tracker.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/Tracker.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Tracker("example", TrackerArgs.builder()        
- *             .trackerName("example")
+ *         var example = new Tracker("example", TrackerArgs.builder()        
+ *             .trackerName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/location/TrackerAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/location/TrackerAssociation.java index 3880f645c62..a4300f25c2d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/location/TrackerAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/location/TrackerAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GeofenceCollection("example", GeofenceCollectionArgs.builder()        
- *             .collectionName("example")
+ *         var example = new GeofenceCollection("example", GeofenceCollectionArgs.builder()        
+ *             .collectionName("example")
  *             .build());
  * 
- *         var exampleTracker = new Tracker("exampleTracker", TrackerArgs.builder()        
- *             .trackerName("example")
+ *         var exampleTracker = new Tracker("exampleTracker", TrackerArgs.builder()        
+ *             .trackerName("example")
  *             .build());
  * 
- *         var exampleTrackerAssociation = new TrackerAssociation("exampleTrackerAssociation", TrackerAssociationArgs.builder()        
+ *         var exampleTrackerAssociation = new TrackerAssociation("exampleTrackerAssociation", TrackerAssociationArgs.builder()        
  *             .consumerArn(example.collectionArn())
  *             .trackerName(exampleTracker.trackerName())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/m2/Application.java b/sdk/java/src/main/java/com/pulumi/aws/m2/Application.java index 0aa95222d65..4d93c198894 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/m2/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/m2/Application.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,43 +49,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Application("example", ApplicationArgs.builder()        
- *             .name("Example")
- *             .engineType("bluage")
+ *         var example = new Application("example", ApplicationArgs.builder()        
+ *             .name("Example")
+ *             .engineType("bluage")
  *             .definition(ApplicationDefinitionArgs.builder()
- *                 .content("""
+ *                 .content("""
  * {
- *   "definition": {
- *     "listeners": [
+ *   "definition": {
+ *     "listeners": [
  *       {
- *         "port": 8196,
- *         "type": "http"
+ *         "port": 8196,
+ *         "type": "http"
  *       }
  *     ],
- *     "ba-application": {
- *       "app-location": "%s/PlanetsDemo-v1.zip"
+ *     "ba-application": {
+ *       "app-location": "%s/PlanetsDemo-v1.zip"
  *     }
  *   },
- *   "source-locations": [
+ *   "source-locations": [
  *     {
- *       "source-id": "s3-source",
- *       "source-type": "s3",
- *       "properties": {
- *         "s3-bucket": "example-bucket",
- *         "s3-key-prefix": "v1"
+ *       "source-id": "s3-source",
+ *       "source-type": "s3",
+ *       "properties": {
+ *         "s3-bucket": "example-bucket",
+ *         "s3-key-prefix": "v1"
  *       }
  *     }
  *   ],
- *   "template-version": "2.0"
+ *   "template-version": "2.0"
  * }
  * 
- * ", s3_source))
+ * ", s3_source))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/m2/Deployment.java b/sdk/java/src/main/java/com/pulumi/aws/m2/Deployment.java index b9ee1fea916..088a7d6ff7f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/m2/Deployment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/m2/Deployment.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Deployment("test", DeploymentArgs.builder()        
- *             .environmentId("01234567890abcdef012345678")
- *             .applicationId("34567890abcdef012345678012")
+ *         var test = new Deployment("test", DeploymentArgs.builder()        
+ *             .environmentId("01234567890abcdef012345678")
+ *             .applicationId("34567890abcdef012345678012")
  *             .applicationVersion(1)
  *             .start(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/m2/Environment.java b/sdk/java/src/main/java/com/pulumi/aws/m2/Environment.java index d10c2561237..b61e548a559 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/m2/Environment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/m2/Environment.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,25 +50,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Environment("test", EnvironmentArgs.builder()        
- *             .name("test-env")
- *             .engineType("bluage")
- *             .instanceType("M2.m5.large")
- *             .securityGroups("sg-01234567890abcdef")
+ *         var test = new Environment("test", EnvironmentArgs.builder()        
+ *             .name("test-env")
+ *             .engineType("bluage")
+ *             .instanceType("M2.m5.large")
+ *             .securityGroups("sg-01234567890abcdef")
  *             .subnetIds(            
- *                 "subnet-01234567890abcdef",
- *                 "subnet-01234567890abcdea")
+ *                 "subnet-01234567890abcdef",
+ *                 "subnet-01234567890abcdea")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### High Availability * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,14 +92,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Environment("test", EnvironmentArgs.builder()        
- *             .name("test-env")
- *             .engineType("bluage")
- *             .instanceType("M2.m5.large")
- *             .securityGroups("sg-01234567890abcdef")
+ *         var test = new Environment("test", EnvironmentArgs.builder()        
+ *             .name("test-env")
+ *             .engineType("bluage")
+ *             .instanceType("M2.m5.large")
+ *             .securityGroups("sg-01234567890abcdef")
  *             .subnetIds(            
- *                 "subnet-01234567890abcdef",
- *                 "subnet-01234567890abcdea")
+ *                 "subnet-01234567890abcdef",
+ *                 "subnet-01234567890abcdea")
  *             .highAvailabilityConfig(EnvironmentHighAvailabilityConfigArgs.builder()
  *                 .desiredCapacity(2)
  *                 .build())
@@ -104,13 +107,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### EFS Filesystem * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -133,31 +138,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Environment("test", EnvironmentArgs.builder()        
- *             .name("test-env")
- *             .engineType("bluage")
- *             .instanceType("M2.m5.large")
- *             .securityGroups("sg-01234567890abcdef")
+ *         var test = new Environment("test", EnvironmentArgs.builder()        
+ *             .name("test-env")
+ *             .engineType("bluage")
+ *             .instanceType("M2.m5.large")
+ *             .securityGroups("sg-01234567890abcdef")
  *             .subnetIds(            
- *                 "subnet-01234567890abcdef",
- *                 "subnet-01234567890abcdea")
+ *                 "subnet-01234567890abcdef",
+ *                 "subnet-01234567890abcdea")
  *             .storageConfiguration(EnvironmentStorageConfigurationArgs.builder()
  *                 .efs(EnvironmentStorageConfigurationEfsArgs.builder()
- *                     .fileSystemId("fs-01234567890abcdef")
- *                     .mountPoint("/m2/mount/example")
+ *                     .fileSystemId("fs-01234567890abcdef")
+ *                     .mountPoint("/m2/mount/example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### FSX Filesystem * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -180,25 +187,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Environment("test", EnvironmentArgs.builder()        
- *             .name("test-env")
- *             .engineType("bluage")
- *             .instanceType("M2.m5.large")
- *             .securityGroups("sg-01234567890abcdef")
+ *         var test = new Environment("test", EnvironmentArgs.builder()        
+ *             .name("test-env")
+ *             .engineType("bluage")
+ *             .instanceType("M2.m5.large")
+ *             .securityGroups("sg-01234567890abcdef")
  *             .subnetIds(            
- *                 "subnet-01234567890abcdef",
- *                 "subnet-01234567890abcdea")
+ *                 "subnet-01234567890abcdef",
+ *                 "subnet-01234567890abcdea")
  *             .storageConfiguration(EnvironmentStorageConfigurationArgs.builder()
  *                 .fsx(EnvironmentStorageConfigurationFsxArgs.builder()
- *                     .fileSystemId("fs-01234567890abcdef")
- *                     .mountPoint("/m2/mount/example")
+ *                     .fileSystemId("fs-01234567890abcdef")
+ *                     .mountPoint("/m2/mount/example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie/CustomDataIdentifier.java b/sdk/java/src/main/java/com/pulumi/aws/macie/CustomDataIdentifier.java index 925e485aa4e..a94c85f96db 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie/CustomDataIdentifier.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie/CustomDataIdentifier.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,22 +47,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleCustomDataIdentifier = new CustomDataIdentifier("exampleCustomDataIdentifier", CustomDataIdentifierArgs.builder()        
- *             .name("NAME OF CUSTOM DATA IDENTIFIER")
- *             .regex("[0-9]{3}-[0-9]{2}-[0-9]{4}")
- *             .description("DESCRIPTION")
+ *         var exampleCustomDataIdentifier = new CustomDataIdentifier("exampleCustomDataIdentifier", CustomDataIdentifierArgs.builder()        
+ *             .name("NAME OF CUSTOM DATA IDENTIFIER")
+ *             .regex("[0-9]{3}-[0-9]{2}-[0-9]{4}")
+ *             .description("DESCRIPTION")
  *             .maximumMatchDistance(10)
- *             .keywords("keyword")
- *             .ignoreWords("ignore")
+ *             .keywords("keyword")
+ *             .ignoreWords("ignore")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(test)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie/FindingsFilter.java b/sdk/java/src/main/java/com/pulumi/aws/macie/FindingsFilter.java index 98cc43d4022..d943d00858e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie/FindingsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie/FindingsFilter.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,16 +48,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var test = new FindingsFilter("test", FindingsFilterArgs.builder()        
- *             .name("NAME OF THE FINDINGS FILTER")
- *             .description("DESCRIPTION")
+ *         var test = new FindingsFilter("test", FindingsFilterArgs.builder()        
+ *             .name("NAME OF THE FINDINGS FILTER")
+ *             .description("DESCRIPTION")
  *             .position(1)
- *             .action("ARCHIVE")
+ *             .action("ARCHIVE")
  *             .findingCriteria(FindingsFilterFindingCriteriaArgs.builder()
  *                 .criterions(FindingsFilterFindingCriteriaCriterionArgs.builder()
- *                     .field("region")
+ *                     .field("region")
  *                     .eqs(current.name())
  *                     .build())
  *                 .build())
@@ -66,7 +67,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie2/Account.java b/sdk/java/src/main/java/com/pulumi/aws/macie2/Account.java index a4d4e1dc94a..ce97b67d27d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie2/Account.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie2/Account.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Account("test", AccountArgs.builder()        
- *             .findingPublishingFrequency("FIFTEEN_MINUTES")
- *             .status("ENABLED")
+ *         var test = new Account("test", AccountArgs.builder()        
+ *             .findingPublishingFrequency("FIFTEEN_MINUTES")
+ *             .status("ENABLED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationExportConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationExportConfiguration.java index ba0bde80472..cd1bbb67f23 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationExportConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationExportConfiguration.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,12 +45,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleClassificationExportConfiguration = new ClassificationExportConfiguration("exampleClassificationExportConfiguration", ClassificationExportConfigurationArgs.builder()        
+ *         var exampleClassificationExportConfiguration = new ClassificationExportConfiguration("exampleClassificationExportConfiguration", ClassificationExportConfigurationArgs.builder()        
  *             .s3Destination(ClassificationExportConfigurationS3DestinationArgs.builder()
  *                 .bucketName(exampleAwsS3Bucket.bucket())
- *                 .keyPrefix("exampleprefix/")
+ *                 .keyPrefix("exampleprefix/")
  *                 .kmsKeyArn(exampleAwsKmsKey.arn())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -58,7 +59,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationJob.java b/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationJob.java index 121c56c748a..567ab3ca48e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationJob.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie2/ClassificationJob.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,15 +52,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Account("test");
+ *         var test = new Account("test");
  * 
- *         var testClassificationJob = new ClassificationJob("testClassificationJob", ClassificationJobArgs.builder()        
- *             .jobType("ONE_TIME")
- *             .name("NAME OF THE CLASSIFICATION JOB")
+ *         var testClassificationJob = new ClassificationJob("testClassificationJob", ClassificationJobArgs.builder()        
+ *             .jobType("ONE_TIME")
+ *             .name("NAME OF THE CLASSIFICATION JOB")
  *             .s3JobDefinition(ClassificationJobS3JobDefinitionArgs.builder()
  *                 .bucketDefinitions(ClassificationJobS3JobDefinitionBucketDefinitionArgs.builder()
- *                     .accountId("ACCOUNT ID")
- *                     .buckets("S3 BUCKET NAME")
+ *                     .accountId("ACCOUNT ID")
+ *                     .buckets("S3 BUCKET NAME")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie2/InvitationAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/macie2/InvitationAccepter.java index 2aa9852ebdd..d7c007d50f9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie2/InvitationAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie2/InvitationAccepter.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,28 +45,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Account("primary");
+ *         var primary = new Account("primary");
  * 
- *         var member = new Account("member");
+ *         var member = new Account("member");
  * 
- *         var primaryMember = new Member("primaryMember", MemberArgs.builder()        
- *             .accountId("ACCOUNT ID")
- *             .email("EMAIL")
+ *         var primaryMember = new Member("primaryMember", MemberArgs.builder()        
+ *             .accountId("ACCOUNT ID")
+ *             .email("EMAIL")
  *             .invite(true)
- *             .invitationMessage("Message of the invite")
+ *             .invitationMessage("Message of the invite")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primary)
  *                 .build());
  * 
- *         var memberInvitationAccepter = new InvitationAccepter("memberInvitationAccepter", InvitationAccepterArgs.builder()        
- *             .administratorAccountId("ADMINISTRATOR ACCOUNT ID")
+ *         var memberInvitationAccepter = new InvitationAccepter("memberInvitationAccepter", InvitationAccepterArgs.builder()        
+ *             .administratorAccountId("ADMINISTRATOR ACCOUNT ID")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primaryMember)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie2/Member.java b/sdk/java/src/main/java/com/pulumi/aws/macie2/Member.java index f3cfa64e730..2046069515e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie2/Member.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie2/Member.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,13 +46,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
- *             .accountId("AWS ACCOUNT ID")
- *             .email("EMAIL")
+ *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
+ *             .accountId("AWS ACCOUNT ID")
+ *             .email("EMAIL")
  *             .invite(true)
- *             .invitationMessage("Message of the invitation")
+ *             .invitationMessage("Message of the invitation")
  *             .invitationDisableEmailNotification(true)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
@@ -59,7 +60,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/macie2/OrganizationAdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/macie2/OrganizationAdminAccount.java index f418180e6a4..45535da16c6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/macie2/OrganizationAdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/macie2/OrganizationAdminAccount.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,17 +43,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
- *             .adminAccountId("ID OF THE ADMIN ACCOUNT")
+ *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
+ *             .adminAccountId("ID OF THE ADMIN ACCOUNT")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/MediaconvertFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/MediaconvertFunctions.java index 0fd6496cd73..5dd6b8bb4f5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/MediaconvertFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/MediaconvertFunctions.java @@ -20,7 +20,8 @@ public final class MediaconvertFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class MediaconvertFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MediaconvertFunctions.getQueue(GetQueueArgs.builder()
-     *             .id("tf-example-queue")
+     *             .id("tf-example-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getQueue(GetQueueArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getQueue(GetQueueArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MediaconvertFunctions.getQueue(GetQueueArgs.builder()
-     *             .id("tf-example-queue")
+     *             .id("tf-example-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MediaconvertFunctions.getQueue(GetQueueArgs.builder()
-     *             .id("tf-example-queue")
+     *             .id("tf-example-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MediaconvertFunctions.getQueue(GetQueueArgs.builder()
-     *             .id("tf-example-queue")
+     *             .id("tf-example-queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/Queue.java b/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/Queue.java index 715c6cddc47..fd102305f1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/Queue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mediaconvert/Queue.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Queue("test", QueueArgs.builder()        
- *             .name("tf-test-queue")
+ *         var test = new Queue("test", QueueArgs.builder()        
+ *             .name("tf-test-queue")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/Channel.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/Channel.java index b0a891b88a7..e9a9e574941 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/Channel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/Channel.java @@ -32,7 +32,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,61 +59,61 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Channel("example", ChannelArgs.builder()        
- *             .name("example-channel")
- *             .channelClass("STANDARD")
+ *         var example = new Channel("example", ChannelArgs.builder()        
+ *             .name("example-channel")
+ *             .channelClass("STANDARD")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .inputSpecification(ChannelInputSpecificationArgs.builder()
- *                 .codec("AVC")
- *                 .inputResolution("HD")
- *                 .maximumBitrate("MAX_20_MBPS")
+ *                 .codec("AVC")
+ *                 .inputResolution("HD")
+ *                 .maximumBitrate("MAX_20_MBPS")
  *                 .build())
  *             .inputAttachments(ChannelInputAttachmentArgs.builder()
- *                 .inputAttachmentName("example-input")
+ *                 .inputAttachmentName("example-input")
  *                 .inputId(exampleAwsMedialiveInput.id())
  *                 .build())
  *             .destinations(ChannelDestinationArgs.builder()
- *                 .id("destination")
+ *                 .id("destination")
  *                 .settings(                
  *                     ChannelDestinationSettingArgs.builder()
- *                         .url(String.format("s3://%s/test1", main.id()))
+ *                         .url(String.format("s3://%s/test1", main.id()))
  *                         .build(),
  *                     ChannelDestinationSettingArgs.builder()
- *                         .url(String.format("s3://%s/test2", main2.id()))
+ *                         .url(String.format("s3://%s/test2", main2.id()))
  *                         .build())
  *                 .build())
  *             .encoderSettings(ChannelEncoderSettingsArgs.builder()
  *                 .timecodeConfig(ChannelEncoderSettingsTimecodeConfigArgs.builder()
- *                     .source("EMBEDDED")
+ *                     .source("EMBEDDED")
  *                     .build())
  *                 .audioDescriptions(ChannelEncoderSettingsAudioDescriptionArgs.builder()
- *                     .audioSelectorName("example audio selector")
- *                     .name("audio-selector")
+ *                     .audioSelectorName("example audio selector")
+ *                     .name("audio-selector")
  *                     .build())
  *                 .videoDescriptions(ChannelEncoderSettingsVideoDescriptionArgs.builder()
- *                     .name("example-video")
+ *                     .name("example-video")
  *                     .build())
  *                 .outputGroups(ChannelEncoderSettingsOutputGroupArgs.builder()
  *                     .outputGroupSettings(ChannelEncoderSettingsOutputGroupOutputGroupSettingsArgs.builder()
  *                         .archiveGroupSettings(ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs.builder()
  *                             .destination(ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingDestinationArgs.builder()
- *                                 .destinationRefId("destination")
+ *                                 .destinationRefId("destination")
  *                                 .build())
  *                             .build())
  *                         .build())
  *                     .outputs(ChannelEncoderSettingsOutputGroupOutputArgs.builder()
- *                         .outputName("example-name")
- *                         .videoDescriptionName("example-video")
- *                         .audioDescriptionNames("audio-selector")
+ *                         .outputName("example-name")
+ *                         .videoDescriptionName("example-video")
+ *                         .audioDescriptionNames("audio-selector")
  *                         .outputSettings(ChannelEncoderSettingsOutputGroupOutputOutputSettingsArgs.builder()
  *                             .archiveOutputSettings(ChannelEncoderSettingsOutputGroupOutputOutputSettingsArchiveOutputSettingsArgs.builder()
- *                                 .nameModifier("_1")
- *                                 .extension("m2ts")
+ *                                 .nameModifier("_1")
+ *                                 .extension("m2ts")
  *                                 .containerSettings(ChannelEncoderSettingsOutputGroupOutputOutputSettingsArchiveOutputSettingsContainerSettingsArgs.builder()
  *                                     .m2tsSettings(ChannelEncoderSettingsOutputGroupOutputOutputSettingsArchiveOutputSettingsContainerSettingsM2tsSettingsArgs.builder()
- *                                         .audioBufferModel("ATSC")
- *                                         .bufferModel("MULTIPLEX")
- *                                         .rateMode("CBR")
+ *                                         .audioBufferModel("ATSC")
+ *                                         .bufferModel("MULTIPLEX")
+ *                                         .rateMode("CBR")
  *                                         .build())
  *                                     .build())
  *                                 .build())
@@ -124,7 +125,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/Input.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/Input.java index e89c1603fe4..b431211a3c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/Input.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/Input.java @@ -29,7 +29,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,23 +54,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InputSecurityGroup("example", InputSecurityGroupArgs.builder()        
+ *         var example = new InputSecurityGroup("example", InputSecurityGroupArgs.builder()        
  *             .whitelistRules(InputSecurityGroupWhitelistRuleArgs.builder()
- *                 .cidr("10.0.0.8/32")
+ *                 .cidr("10.0.0.8/32")
  *                 .build())
- *             .tags(Map.of("ENVIRONMENT", "prod"))
+ *             .tags(Map.of("ENVIRONMENT", "prod"))
  *             .build());
  * 
- *         var exampleInput = new Input("exampleInput", InputArgs.builder()        
- *             .name("example-input")
+ *         var exampleInput = new Input("exampleInput", InputArgs.builder()        
+ *             .name("example-input")
  *             .inputSecurityGroups(example.id())
- *             .type("UDP_PUSH")
- *             .tags(Map.of("ENVIRONMENT", "prod"))
+ *             .type("UDP_PUSH")
+ *             .tags(Map.of("ENVIRONMENT", "prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/InputSecurityGroup.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/InputSecurityGroup.java index 31536c44117..e2753a64bf5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/InputSecurityGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/InputSecurityGroup.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,16 +48,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InputSecurityGroup("example", InputSecurityGroupArgs.builder()        
+ *         var example = new InputSecurityGroup("example", InputSecurityGroupArgs.builder()        
  *             .whitelistRules(InputSecurityGroupWhitelistRuleArgs.builder()
- *                 .cidr("10.0.0.8/32")
+ *                 .cidr("10.0.0.8/32")
  *                 .build())
- *             .tags(Map.of("ENVIRONMENT", "prod"))
+ *             .tags(Map.of("ENVIRONMENT", "prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/MedialiveFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/MedialiveFunctions.java index 6d9e76fa949..3b2e0f46070 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/MedialiveFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/MedialiveFunctions.java @@ -22,7 +22,8 @@ public final class MedialiveFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -49,7 +50,8 @@ public final class MedialiveFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getInput(GetInputArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,7 +94,8 @@ public static Output getInput(GetInputArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getInputPlain(GetInputPlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,7 +138,8 @@ public static CompletableFuture getInputPlain(GetInputPlainArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getInput(GetInputArgs args, InvokeOptions o * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -175,7 +182,8 @@ public static Output getInput(GetInputArgs args, InvokeOptions o
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/Multiplex.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/Multiplex.java index 97546e1e68b..f7f074800f3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/Multiplex.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/Multiplex.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,14 +52,14 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .build());
  * 
- *         var example = new Multiplex("example", MultiplexArgs.builder()        
- *             .name("example-multiplex-changed")
+ *         var example = new Multiplex("example", MultiplexArgs.builder()        
+ *             .name("example-multiplex-changed")
  *             .availabilityZones(            
- *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]),
- *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+ *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]),
+ *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
  *             .multiplexSettings(MultiplexMultiplexSettingsArgs.builder()
  *                 .transportStreamBitrate(1000000)
  *                 .transportStreamId(1)
@@ -66,12 +67,13 @@
  *                 .maximumVideoBufferDelayMilliseconds(1000)
  *                 .build())
  *             .startMultiplex(true)
- *             .tags(Map.of("tag1", "value1"))
+ *             .tags(Map.of("tag1", "value1"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/MultiplexProgram.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/MultiplexProgram.java index 66c4d73e0e7..c3ba5509482 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/MultiplexProgram.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/MultiplexProgram.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,14 +53,14 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var available = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .build());
  * 
- *         var example = new Multiplex("example", MultiplexArgs.builder()        
- *             .name("example-multiplex-changed")
+ *         var example = new Multiplex("example", MultiplexArgs.builder()        
+ *             .name("example-multiplex-changed")
  *             .availabilityZones(            
- *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]),
- *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+ *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]),
+ *                 available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
  *             .multiplexSettings(MultiplexMultiplexSettingsArgs.builder()
  *                 .transportStreamBitrate(1000000)
  *                 .transportStreamId(1)
@@ -67,15 +68,15 @@
  *                 .maximumVideoBufferDelayMilliseconds(1000)
  *                 .build())
  *             .startMultiplex(true)
- *             .tags(Map.of("tag1", "value1"))
+ *             .tags(Map.of("tag1", "value1"))
  *             .build());
  * 
- *         var exampleMultiplexProgram = new MultiplexProgram("exampleMultiplexProgram", MultiplexProgramArgs.builder()        
- *             .programName("example_program")
+ *         var exampleMultiplexProgram = new MultiplexProgram("exampleMultiplexProgram", MultiplexProgramArgs.builder()        
+ *             .programName("example_program")
  *             .multiplexId(example.id())
  *             .multiplexProgramSettings(MultiplexProgramMultiplexProgramSettingsArgs.builder()
  *                 .programNumber(1)
- *                 .preferredChannelPipeline("CURRENTLY_ACTIVE")
+ *                 .preferredChannelPipeline("CURRENTLY_ACTIVE")
  *                 .videoSettings(MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs.builder()
  *                     .constantBitrate(100000)
  *                     .build())
@@ -84,7 +85,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mediapackage/Channel.java b/sdk/java/src/main/java/com/pulumi/aws/mediapackage/Channel.java index a0624de95b1..db37f5c3f6c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mediapackage/Channel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mediapackage/Channel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var kittens = new Channel("kittens", ChannelArgs.builder()        
- *             .channelId("kitten-channel")
- *             .description("A channel dedicated to amusing videos of kittens.")
+ *         var kittens = new Channel("kittens", ChannelArgs.builder()        
+ *             .channelId("kitten-channel")
+ *             .description("A channel dedicated to amusing videos of kittens.")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mediastore/Container.java b/sdk/java/src/main/java/com/pulumi/aws/mediastore/Container.java index c42a185b5b9..e612eb89cd3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mediastore/Container.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mediastore/Container.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Container("example", ContainerArgs.builder()        
- *             .name("example")
+ *         var example = new Container("example", ContainerArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mediastore/ContainerPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/mediastore/ContainerPolicy.java index 19f97153d19..b1d7ef2d315 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mediastore/ContainerPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mediastore/ContainerPolicy.java @@ -17,7 +17,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,36 +50,37 @@
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()        
- *             .name("example")
+ *         var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("MediaStoreFullAccess")
- *                 .effect("Allow")
+ *                 .sid("MediaStoreFullAccess")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers(String.format("arn:aws:iam::%s:root", currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     .type("AWS")
+ *                     .identifiers(String.format("arn:aws:iam::%s:root", currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                     .build())
- *                 .actions("mediastore:*")
- *                 .resources(exampleContainer.name().applyValue(name -> String.format("arn:aws:mediastore:%s:%s:container/%s/*", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),name)))
+ *                 .actions("mediastore:*")
+ *                 .resources(exampleContainer.name().applyValue(name -> String.format("arn:aws:mediastore:%s:%s:container/%s/*", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),name)))
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("Bool")
- *                     .variable("aws:SecureTransport")
- *                     .values("true")
+ *                     .test("Bool")
+ *                     .variable("aws:SecureTransport")
+ *                     .values("true")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleContainerPolicy = new ContainerPolicy("exampleContainerPolicy", ContainerPolicyArgs.builder()        
+ *         var exampleContainerPolicy = new ContainerPolicy("exampleContainerPolicy", ContainerPolicyArgs.builder()        
  *             .containerName(exampleContainer.name())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/Acl.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/Acl.java index 0a52403c036..ce62d1f981f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/Acl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/Acl.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Acl("example", AclArgs.builder()        
- *             .name("my-acl")
+ *         var example = new Acl("example", AclArgs.builder()        
+ *             .name("my-acl")
  *             .userNames(            
- *                 "my-user-1",
- *                 "my-user-2")
+ *                 "my-user-1",
+ *                 "my-user-2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/Cluster.java index 7cb4f8a80fe..76395452719 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/Cluster.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,10 +50,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .aclName("open-access")
- *             .name("my-cluster")
- *             .nodeType("db.t4g.small")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .aclName("open-access")
+ *             .name("my-cluster")
+ *             .nodeType("db.t4g.small")
  *             .numShards(2)
  *             .securityGroupIds(exampleAwsSecurityGroup.id())
  *             .snapshotRetentionLimit(7)
@@ -61,7 +62,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/MemorydbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/MemorydbFunctions.java index bdd38b78831..417041ad2b4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/MemorydbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/MemorydbFunctions.java @@ -35,7 +35,8 @@ public final class MemorydbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -57,12 +58,13 @@ public final class MemorydbFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getAcl(GetAclArgs.builder()
-     *             .name("my-acl")
+     *             .name("my-acl")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -75,7 +77,8 @@ public static Output getAcl(GetAclArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -97,12 +100,13 @@ public static Output getAcl(GetAclArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getAcl(GetAclArgs.builder()
-     *             .name("my-acl")
+     *             .name("my-acl")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -115,7 +119,8 @@ public static CompletableFuture getAclPlain(GetAclPlainArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -137,12 +142,13 @@ public static CompletableFuture getAclPlain(GetAclPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getAcl(GetAclArgs.builder()
-     *             .name("my-acl")
+     *             .name("my-acl")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getAcl(GetAclArgs args, InvokeOptions options * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -177,12 +184,13 @@ public static Output getAcl(GetAclArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getAcl(GetAclArgs.builder()
-     *             .name("my-acl")
+     *             .name("my-acl")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -195,7 +203,8 @@ public static CompletableFuture getAclPlain(GetAclPlainArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -217,12 +226,13 @@ public static CompletableFuture getAclPlain(GetAclPlainArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("my-cluster")
+     *             .name("my-cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -235,7 +245,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -257,12 +268,13 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("my-cluster")
+     *             .name("my-cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -275,7 +287,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -297,12 +310,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("my-cluster")
+     *             .name("my-cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -315,7 +329,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -337,12 +352,13 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getCluster(GetClusterArgs.builder()
-     *             .name("my-cluster")
+     *             .name("my-cluster")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -355,7 +371,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -377,12 +394,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("my-parameter-group")
+     *             .name("my-parameter-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -395,7 +413,8 @@ public static Output getParameterGroup(GetParameterGrou * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -417,12 +436,13 @@ public static Output getParameterGroup(GetParameterGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("my-parameter-group")
+     *             .name("my-parameter-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -435,7 +455,8 @@ public static CompletableFuture getParameterGroupPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -457,12 +478,13 @@ public static CompletableFuture getParameterGroupPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("my-parameter-group")
+     *             .name("my-parameter-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -475,7 +497,8 @@ public static Output getParameterGroup(GetParameterGrou * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -497,12 +520,13 @@ public static Output getParameterGroup(GetParameterGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("my-parameter-group")
+     *             .name("my-parameter-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -515,7 +539,8 @@ public static CompletableFuture getParameterGroupPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -537,12 +562,13 @@ public static CompletableFuture getParameterGroupPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSnapshot(GetSnapshotArgs.builder()
-     *             .name("my-snapshot")
+     *             .name("my-snapshot")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -555,7 +581,8 @@ public static Output getSnapshot(GetSnapshotArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -577,12 +604,13 @@ public static Output getSnapshot(GetSnapshotArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSnapshot(GetSnapshotArgs.builder()
-     *             .name("my-snapshot")
+     *             .name("my-snapshot")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -595,7 +623,8 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -617,12 +646,13 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSnapshot(GetSnapshotArgs.builder()
-     *             .name("my-snapshot")
+     *             .name("my-snapshot")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -635,7 +665,8 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -657,12 +688,13 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSnapshot(GetSnapshotArgs.builder()
-     *             .name("my-snapshot")
+     *             .name("my-snapshot")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -675,7 +707,8 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -697,12 +730,13 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -715,7 +749,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -737,12 +772,13 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -755,7 +791,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -777,12 +814,13 @@ public static CompletableFuture getSubnetGroupPlain(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -795,7 +833,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -817,12 +856,13 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-subnet-group")
+     *             .name("my-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -835,7 +875,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -857,12 +898,13 @@ public static CompletableFuture getSubnetGroupPlain(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getUser(GetUserArgs.builder()
-     *             .userName("my-user")
+     *             .userName("my-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -875,7 +917,8 @@ public static Output getUser(GetUserArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -897,12 +940,13 @@ public static Output getUser(GetUserArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getUser(GetUserArgs.builder()
-     *             .userName("my-user")
+     *             .userName("my-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -915,7 +959,8 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -937,12 +982,13 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getUser(GetUserArgs.builder()
-     *             .userName("my-user")
+     *             .userName("my-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -955,7 +1001,8 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -977,12 +1024,13 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MemorydbFunctions.getUser(GetUserArgs.builder()
-     *             .userName("my-user")
+     *             .userName("my-user")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/ParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/ParameterGroup.java index 72289b2a8e0..46cf455cd62 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/ParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/ParameterGroup.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ParameterGroup("example", ParameterGroupArgs.builder()        
- *             .name("my-parameter-group")
- *             .family("memorydb_redis6")
+ *         var example = new ParameterGroup("example", ParameterGroupArgs.builder()        
+ *             .name("my-parameter-group")
+ *             .family("memorydb_redis6")
  *             .parameters(ParameterGroupParameterArgs.builder()
- *                 .name("activedefrag")
- *                 .value("yes")
+ *                 .name("activedefrag")
+ *                 .value("yes")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/Snapshot.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/Snapshot.java index 31001aa5f03..259c19111f7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/Snapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/Snapshot.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Snapshot("example", SnapshotArgs.builder()        
+ *         var example = new Snapshot("example", SnapshotArgs.builder()        
  *             .clusterName(exampleAwsMemorydbCluster.name())
- *             .name("my-snapshot")
+ *             .name("my-snapshot")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/SubnetGroup.java index 2e588b78dcf..ae784238302 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/SubnetGroup.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,24 +50,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
+ *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
  *             .vpcId(example.id())
- *             .cidrBlock("10.0.0.0/24")
- *             .availabilityZone("us-west-2a")
+ *             .cidrBlock("10.0.0.0/24")
+ *             .availabilityZone("us-west-2a")
  *             .build());
  * 
- *         var exampleSubnetGroup = new SubnetGroup("exampleSubnetGroup", SubnetGroupArgs.builder()        
- *             .name("my-subnet-group")
+ *         var exampleSubnetGroup = new SubnetGroup("exampleSubnetGroup", SubnetGroupArgs.builder()        
+ *             .name("my-subnet-group")
  *             .subnetIds(exampleSubnet.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/memorydb/User.java b/sdk/java/src/main/java/com/pulumi/aws/memorydb/User.java index 169b0a6428a..3b1017f60b2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/memorydb/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/memorydb/User.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,22 +50,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Password("example", PasswordArgs.builder()        
+ *         var example = new Password("example", PasswordArgs.builder()        
  *             .length(16)
  *             .build());
  * 
- *         var exampleUser = new User("exampleUser", UserArgs.builder()        
- *             .userName("my-user")
- *             .accessString("on ~* &* +@all")
+ *         var exampleUser = new User("exampleUser", UserArgs.builder()        
+ *             .userName("my-user")
+ *             .accessString("on ~* &* +{@literal @}all")
  *             .authenticationMode(UserAuthenticationModeArgs.builder()
- *                 .type("password")
+ *                 .type("password")
  *                 .passwords(example.result())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java b/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java index 35fceb069d8..f5b11e91e10 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/Broker.java @@ -38,7 +38,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,25 +62,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Broker("example", BrokerArgs.builder()        
- *             .brokerName("example")
+ *         var example = new Broker("example", BrokerArgs.builder()        
+ *             .brokerName("example")
  *             .configuration(BrokerConfigurationArgs.builder()
  *                 .id(test.id())
  *                 .revision(test.latestRevision())
  *                 .build())
- *             .engineType("ActiveMQ")
- *             .engineVersion("5.17.6")
- *             .hostInstanceType("mq.t2.micro")
+ *             .engineType("ActiveMQ")
+ *             .engineVersion("5.17.6")
+ *             .hostInstanceType("mq.t2.micro")
  *             .securityGroups(testAwsSecurityGroup.id())
  *             .users(BrokerUserArgs.builder()
- *                 .username("ExampleUser")
- *                 .password("MindTheGap")
+ *                 .username("ExampleUser")
+ *                 .password("MindTheGap")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### High-throughput Optimized Example @@ -87,7 +89,8 @@ * This example shows the use of EBS storage for high-throughput optimized performance. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -110,32 +113,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Broker("example", BrokerArgs.builder()        
- *             .brokerName("example")
+ *         var example = new Broker("example", BrokerArgs.builder()        
+ *             .brokerName("example")
  *             .configuration(BrokerConfigurationArgs.builder()
  *                 .id(test.id())
  *                 .revision(test.latestRevision())
  *                 .build())
- *             .engineType("ActiveMQ")
- *             .engineVersion("5.17.6")
- *             .storageType("ebs")
- *             .hostInstanceType("mq.m5.large")
+ *             .engineType("ActiveMQ")
+ *             .engineVersion("5.17.6")
+ *             .storageType("ebs")
+ *             .hostInstanceType("mq.m5.large")
  *             .securityGroups(testAwsSecurityGroup.id())
  *             .users(BrokerUserArgs.builder()
- *                 .username("ExampleUser")
- *                 .password("MindTheGap")
+ *                 .username("ExampleUser")
+ *                 .password("MindTheGap")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Cross-Region Data Replication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -157,51 +162,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplePrimary = new Broker("examplePrimary", BrokerArgs.builder()        
+ *         var examplePrimary = new Broker("examplePrimary", BrokerArgs.builder()        
  *             .applyImmediately(true)
- *             .brokerName("example_primary")
- *             .engineType("ActiveMQ")
- *             .engineVersion("5.17.6")
- *             .hostInstanceType("mq.m5.large")
+ *             .brokerName("example_primary")
+ *             .engineType("ActiveMQ")
+ *             .engineVersion("5.17.6")
+ *             .hostInstanceType("mq.m5.large")
  *             .securityGroups(examplePrimaryAwsSecurityGroup.id())
- *             .deploymentMode("ACTIVE_STANDBY_MULTI_AZ")
+ *             .deploymentMode("ACTIVE_STANDBY_MULTI_AZ")
  *             .users(            
  *                 BrokerUserArgs.builder()
- *                     .username("ExampleUser")
- *                     .password("MindTheGap")
+ *                     .username("ExampleUser")
+ *                     .password("MindTheGap")
  *                     .build(),
  *                 BrokerUserArgs.builder()
- *                     .username("ExampleReplicationUser")
- *                     .password("Example12345")
+ *                     .username("ExampleReplicationUser")
+ *                     .password("Example12345")
  *                     .replicationUser(true)
  *                     .build())
  *             .build());
  * 
- *         var example = new Broker("example", BrokerArgs.builder()        
+ *         var example = new Broker("example", BrokerArgs.builder()        
  *             .applyImmediately(true)
- *             .brokerName("example")
- *             .engineType("ActiveMQ")
- *             .engineVersion("5.17.6")
- *             .hostInstanceType("mq.m5.large")
+ *             .brokerName("example")
+ *             .engineType("ActiveMQ")
+ *             .engineVersion("5.17.6")
+ *             .hostInstanceType("mq.m5.large")
  *             .securityGroups(exampleAwsSecurityGroup.id())
- *             .deploymentMode("ACTIVE_STANDBY_MULTI_AZ")
- *             .dataReplicationMode("CRDR")
+ *             .deploymentMode("ACTIVE_STANDBY_MULTI_AZ")
+ *             .dataReplicationMode("CRDR")
  *             .dataReplicationPrimaryBrokerArn(primary.arn())
  *             .users(            
  *                 BrokerUserArgs.builder()
- *                     .username("ExampleUser")
- *                     .password("MindTheGap")
+ *                     .username("ExampleUser")
+ *                     .password("MindTheGap")
  *                     .build(),
  *                 BrokerUserArgs.builder()
- *                     .username("ExampleReplicationUser")
- *                     .password("Example12345")
+ *                     .username("ExampleReplicationUser")
+ *                     .password("Example12345")
  *                     .replicationUser(true)
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * See the [AWS MQ documentation](https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/crdr-for-active-mq.html) on cross-region data replication for additional details. diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java b/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java index 98d5753413d..53fa1310a7e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/Configuration.java @@ -26,7 +26,8 @@ * ### ActiveMQ * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,32 +48,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Configuration("example", ConfigurationArgs.builder()        
- *             .description("Example Configuration")
- *             .name("example")
- *             .engineType("ActiveMQ")
- *             .engineVersion("5.17.6")
- *             .data("""
- * <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- * <broker xmlns="http://activemq.apache.org/schema/core">
- *   <plugins>
- *     <forcePersistencyModeBrokerPlugin persistenceFlag="true"/>
- *     <statisticsBrokerPlugin/>
- *     <timeStampingBrokerPlugin ttlCeiling="86400000" zeroExpirationOverride="86400000"/>
- *   </plugins>
- * </broker>
- *             """)
+ *         var example = new Configuration("example", ConfigurationArgs.builder()        
+ *             .description("Example Configuration")
+ *             .name("example")
+ *             .engineType("ActiveMQ")
+ *             .engineVersion("5.17.6")
+ *             .data("""
+ * 
+ * 
+ *   
+ *     
+ *     
+ *     
+ *   
+ * 
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RabbitMQ * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,20 +96,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Configuration("example", ConfigurationArgs.builder()        
- *             .description("Example Configuration")
- *             .name("example")
- *             .engineType("RabbitMQ")
- *             .engineVersion("3.11.20")
- *             .data("""
+ *         var example = new Configuration("example", ConfigurationArgs.builder()        
+ *             .description("Example Configuration")
+ *             .name("example")
+ *             .engineType("RabbitMQ")
+ *             .engineVersion("3.11.20")
+ *             .data("""
  * # Default RabbitMQ delivery acknowledgement timeout is 30 minutes in milliseconds
  * consumer_timeout = 1800000
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mq/MqFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/mq/MqFunctions.java index eb4c6f3a3cf..ea783989561 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mq/MqFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mq/MqFunctions.java @@ -26,7 +26,8 @@ public final class MqFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,8 +49,8 @@ public final class MqFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var brokerId = config.get("brokerId").orElse("");
-     *         final var brokerName = config.get("brokerName").orElse("");
+     *         final var brokerId = config.get("brokerId").orElse("");
+     *         final var brokerName = config.get("brokerName").orElse("");
      *         final var byId = MqFunctions.getBroker(GetBrokerArgs.builder()
      *             .brokerId(brokerId)
      *             .build());
@@ -60,7 +61,8 @@ public final class MqFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -73,7 +75,8 @@ public static Output getBroker() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -95,8 +98,8 @@ public static Output getBroker() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var brokerId = config.get("brokerId").orElse("");
-     *         final var brokerName = config.get("brokerName").orElse("");
+     *         final var brokerId = config.get("brokerId").orElse("");
+     *         final var brokerName = config.get("brokerName").orElse("");
      *         final var byId = MqFunctions.getBroker(GetBrokerArgs.builder()
      *             .brokerId(brokerId)
      *             .build());
@@ -107,7 +110,8 @@ public static Output getBroker() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -120,7 +124,8 @@ public static CompletableFuture getBrokerPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,8 +147,8 @@ public static CompletableFuture getBrokerPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var brokerId = config.get("brokerId").orElse("");
-     *         final var brokerName = config.get("brokerName").orElse("");
+     *         final var brokerId = config.get("brokerId").orElse("");
+     *         final var brokerName = config.get("brokerName").orElse("");
      *         final var byId = MqFunctions.getBroker(GetBrokerArgs.builder()
      *             .brokerId(brokerId)
      *             .build());
@@ -154,7 +159,8 @@ public static CompletableFuture getBrokerPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -167,7 +173,8 @@ public static Output getBroker(GetBrokerArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -189,8 +196,8 @@ public static Output getBroker(GetBrokerArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var brokerId = config.get("brokerId").orElse("");
-     *         final var brokerName = config.get("brokerName").orElse("");
+     *         final var brokerId = config.get("brokerId").orElse("");
+     *         final var brokerName = config.get("brokerName").orElse("");
      *         final var byId = MqFunctions.getBroker(GetBrokerArgs.builder()
      *             .brokerId(brokerId)
      *             .build());
@@ -201,7 +208,8 @@ public static Output getBroker(GetBrokerArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -214,7 +222,8 @@ public static CompletableFuture getBrokerPlain(GetBrokerPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -236,8 +245,8 @@ public static CompletableFuture getBrokerPlain(GetBrokerPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var brokerId = config.get("brokerId").orElse("");
-     *         final var brokerName = config.get("brokerName").orElse("");
+     *         final var brokerId = config.get("brokerId").orElse("");
+     *         final var brokerName = config.get("brokerName").orElse("");
      *         final var byId = MqFunctions.getBroker(GetBrokerArgs.builder()
      *             .brokerId(brokerId)
      *             .build());
@@ -248,7 +257,8 @@ public static CompletableFuture getBrokerPlain(GetBrokerPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -261,7 +271,8 @@ public static Output getBroker(GetBrokerArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -283,8 +294,8 @@ public static Output getBroker(GetBrokerArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var config = ctx.config();
-     *         final var brokerId = config.get("brokerId").orElse("");
-     *         final var brokerName = config.get("brokerName").orElse("");
+     *         final var brokerId = config.get("brokerId").orElse("");
+     *         final var brokerName = config.get("brokerName").orElse("");
      *         final var byId = MqFunctions.getBroker(GetBrokerArgs.builder()
      *             .brokerId(brokerId)
      *             .build());
@@ -295,7 +306,8 @@ public static Output getBroker(GetBrokerArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -310,7 +322,8 @@ public static CompletableFuture getBrokerPlain(GetBrokerPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -332,12 +345,13 @@ public static CompletableFuture getBrokerPlain(GetBrokerPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -352,7 +366,8 @@ public static Output getBrokerEngineTypes() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -374,12 +389,13 @@ public static Output getBrokerEngineTypes() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -394,7 +410,8 @@ public static CompletableFuture getBrokerEngineTypes * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -416,12 +433,13 @@ public static CompletableFuture getBrokerEngineTypes
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -436,7 +454,8 @@ public static Output getBrokerEngineTypes(GetBrokerE * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,12 +477,13 @@ public static Output getBrokerEngineTypes(GetBrokerE
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -478,7 +498,8 @@ public static CompletableFuture getBrokerEngineTypes * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -500,12 +521,13 @@ public static CompletableFuture getBrokerEngineTypes
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -520,7 +542,8 @@ public static Output getBrokerEngineTypes(GetBrokerE * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -542,12 +565,13 @@ public static Output getBrokerEngineTypes(GetBrokerE
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -560,7 +584,8 @@ public static CompletableFuture getBrokerEngineTypes * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -584,26 +609,27 @@ public static CompletableFuture getBrokerEngineTypes
      *         final var empty = MqFunctions.getInstanceTypeOfferings();
      * 
      *         final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *         final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .storageType("EBS")
+     *             .storageType("EBS")
      *             .build());
      * 
      *         final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
+     *             .hostInstanceType("mq.m5.large")
      *             .build());
      * 
      *         final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
-     *             .storageType("EBS")
-     *             .engineType("ACTIVEMQ")
+     *             .hostInstanceType("mq.m5.large")
+     *             .storageType("EBS")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -616,7 +642,8 @@ public static Output getInstanceTypeOfferings() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -640,26 +667,27 @@ public static Output getInstanceTypeOfferings()
      *         final var empty = MqFunctions.getInstanceTypeOfferings();
      * 
      *         final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *         final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .storageType("EBS")
+     *             .storageType("EBS")
      *             .build());
      * 
      *         final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
+     *             .hostInstanceType("mq.m5.large")
      *             .build());
      * 
      *         final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
-     *             .storageType("EBS")
-     *             .engineType("ACTIVEMQ")
+     *             .hostInstanceType("mq.m5.large")
+     *             .storageType("EBS")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -672,7 +700,8 @@ public static CompletableFuture getInstanceTypeO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -696,26 +725,27 @@ public static CompletableFuture getInstanceTypeO
      *         final var empty = MqFunctions.getInstanceTypeOfferings();
      * 
      *         final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *         final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .storageType("EBS")
+     *             .storageType("EBS")
      *             .build());
      * 
      *         final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
+     *             .hostInstanceType("mq.m5.large")
      *             .build());
      * 
      *         final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
-     *             .storageType("EBS")
-     *             .engineType("ACTIVEMQ")
+     *             .hostInstanceType("mq.m5.large")
+     *             .storageType("EBS")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -728,7 +758,8 @@ public static Output getInstanceTypeOfferings(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -752,26 +783,27 @@ public static Output getInstanceTypeOfferings(Ge
      *         final var empty = MqFunctions.getInstanceTypeOfferings();
      * 
      *         final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *         final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .storageType("EBS")
+     *             .storageType("EBS")
      *             .build());
      * 
      *         final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
+     *             .hostInstanceType("mq.m5.large")
      *             .build());
      * 
      *         final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
-     *             .storageType("EBS")
-     *             .engineType("ACTIVEMQ")
+     *             .hostInstanceType("mq.m5.large")
+     *             .storageType("EBS")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -784,7 +816,8 @@ public static CompletableFuture getInstanceTypeO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -808,26 +841,27 @@ public static CompletableFuture getInstanceTypeO
      *         final var empty = MqFunctions.getInstanceTypeOfferings();
      * 
      *         final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *         final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .storageType("EBS")
+     *             .storageType("EBS")
      *             .build());
      * 
      *         final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
+     *             .hostInstanceType("mq.m5.large")
      *             .build());
      * 
      *         final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
-     *             .storageType("EBS")
-     *             .engineType("ACTIVEMQ")
+     *             .hostInstanceType("mq.m5.large")
+     *             .storageType("EBS")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -840,7 +874,8 @@ public static Output getInstanceTypeOfferings(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -864,26 +899,27 @@ public static Output getInstanceTypeOfferings(Ge
      *         final var empty = MqFunctions.getInstanceTypeOfferings();
      * 
      *         final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .engineType("ACTIVEMQ")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *         final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .storageType("EBS")
+     *             .storageType("EBS")
      *             .build());
      * 
      *         final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
+     *             .hostInstanceType("mq.m5.large")
      *             .build());
      * 
      *         final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
-     *             .hostInstanceType("mq.m5.large")
-     *             .storageType("EBS")
-     *             .engineType("ACTIVEMQ")
+     *             .hostInstanceType("mq.m5.large")
+     *             .storageType("EBS")
+     *             .engineType("ACTIVEMQ")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/msk/Cluster.java index 1b0f57aeefd..f3a66d67344 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/Cluster.java @@ -32,7 +32,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,85 +90,85 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vpc = new Vpc("vpc", VpcArgs.builder()        
- *             .cidrBlock("192.168.0.0/22")
+ *         var vpc = new Vpc("vpc", VpcArgs.builder()        
+ *             .cidrBlock("192.168.0.0/22")
  *             .build());
  * 
  *         final var azs = AwsFunctions.getAvailabilityZones(GetAvailabilityZonesArgs.builder()
- *             .state("available")
+ *             .state("available")
  *             .build());
  * 
- *         var subnetAz1 = new Subnet("subnetAz1", SubnetArgs.builder()        
- *             .availabilityZone(azs.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
- *             .cidrBlock("192.168.0.0/24")
+ *         var subnetAz1 = new Subnet("subnetAz1", SubnetArgs.builder()        
+ *             .availabilityZone(azs.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .cidrBlock("192.168.0.0/24")
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var subnetAz2 = new Subnet("subnetAz2", SubnetArgs.builder()        
- *             .availabilityZone(azs.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
- *             .cidrBlock("192.168.1.0/24")
+ *         var subnetAz2 = new Subnet("subnetAz2", SubnetArgs.builder()        
+ *             .availabilityZone(azs.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+ *             .cidrBlock("192.168.1.0/24")
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var subnetAz3 = new Subnet("subnetAz3", SubnetArgs.builder()        
- *             .availabilityZone(azs.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[2]))
- *             .cidrBlock("192.168.2.0/24")
+ *         var subnetAz3 = new Subnet("subnetAz3", SubnetArgs.builder()        
+ *             .availabilityZone(azs.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[2]))
+ *             .cidrBlock("192.168.2.0/24")
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var sg = new SecurityGroup("sg", SecurityGroupArgs.builder()        
+ *         var sg = new SecurityGroup("sg", SecurityGroupArgs.builder()        
  *             .vpcId(vpc.id())
  *             .build());
  * 
- *         var kms = new Key("kms", KeyArgs.builder()        
- *             .description("example")
+ *         var kms = new Key("kms", KeyArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
- *         var test = new LogGroup("test", LogGroupArgs.builder()        
- *             .name("msk_broker_logs")
+ *         var test = new LogGroup("test", LogGroupArgs.builder()        
+ *             .name("msk_broker_logs")
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("msk-broker-logs-bucket")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("msk-broker-logs-bucket")
  *             .build());
  * 
- *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
+ *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
  *             .bucket(bucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("firehose.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("firehose.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var firehoseRole = new Role("firehoseRole", RoleArgs.builder()        
- *             .name("firehose_test_role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var firehoseRole = new Role("firehoseRole", RoleArgs.builder()        
+ *             .name("firehose_test_role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
- *             .name("kinesis-firehose-msk-broker-logs-stream")
- *             .destination("extended_s3")
+ *         var testStream = new FirehoseDeliveryStream("testStream", FirehoseDeliveryStreamArgs.builder()        
+ *             .name("kinesis-firehose-msk-broker-logs-stream")
+ *             .destination("extended_s3")
  *             .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
  *                 .roleArn(firehoseRole.arn())
  *                 .bucketArn(bucket.arn())
  *                 .build())
- *             .tags(Map.of("LogDeliveryEnabled", "placeholder"))
+ *             .tags(Map.of("LogDeliveryEnabled", "placeholder"))
  *             .build());
  * 
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterName("example")
- *             .kafkaVersion("3.2.0")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterName("example")
+ *             .kafkaVersion("3.2.0")
  *             .numberOfBrokerNodes(3)
  *             .brokerNodeGroupInfo(ClusterBrokerNodeGroupInfoArgs.builder()
- *                 .instanceType("kafka.m5.large")
+ *                 .instanceType("kafka.m5.large")
  *                 .clientSubnets(                
  *                     subnetAz1.id(),
  *                     subnetAz2.id(),
@@ -205,24 +206,26 @@
  *                     .s3(ClusterLoggingInfoBrokerLogsS3Args.builder()
  *                         .enabled(true)
  *                         .bucket(bucket.id())
- *                         .prefix("logs/msk-")
+ *                         .prefix("logs/msk-")
  *                         .build())
  *                     .build())
  *                 .build())
- *             .tags(Map.of("foo", "bar"))
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
- *         ctx.export("zookeeperConnectString", example.zookeeperConnectString());
- *         ctx.export("bootstrapBrokersTls", example.bootstrapBrokersTls());
+ *         ctx.export("zookeeperConnectString", example.zookeeperConnectString());
+ *         ctx.export("bootstrapBrokersTls", example.bootstrapBrokersTls());
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With volume_throughput argument * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -247,12 +250,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterName("example")
- *             .kafkaVersion("2.7.1")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterName("example")
+ *             .kafkaVersion("2.7.1")
  *             .numberOfBrokerNodes(3)
  *             .brokerNodeGroupInfo(ClusterBrokerNodeGroupInfoArgs.builder()
- *                 .instanceType("kafka.m5.4xlarge")
+ *                 .instanceType("kafka.m5.4xlarge")
  *                 .clientSubnets(                
  *                     subnetAz1.id(),
  *                     subnetAz2.id(),
@@ -272,7 +275,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/ClusterPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/msk/ClusterPolicy.java index 77ad4c27c4b..c041fa9c494 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/ClusterPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/ClusterPolicy.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,31 +51,32 @@
  * 
  *         final var currentGetPartition = AwsFunctions.getPartition();
  * 
- *         var example = new ClusterPolicy("example", ClusterPolicyArgs.builder()        
+ *         var example = new ClusterPolicy("example", ClusterPolicyArgs.builder()        
  *             .clusterArn(exampleAwsMskCluster.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", "ExampleMskClusterPolicy"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", "ExampleMskClusterPolicy"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                         )),
- *                         jsonProperty("Action", jsonArray(
- *                             "kafka:Describe*", 
- *                             "kafka:Get*", 
- *                             "kafka:CreateVpcConnection", 
- *                             "kafka:GetBootstrapBrokers"
+ *                         jsonProperty("Action", jsonArray(
+ *                             "kafka:Describe*", 
+ *                             "kafka:Get*", 
+ *                             "kafka:CreateVpcConnection", 
+ *                             "kafka:GetBootstrapBrokers"
  *                         )),
- *                         jsonProperty("Resource", exampleAwsMskCluster.arn())
+ *                         jsonProperty("Resource", exampleAwsMskCluster.arn())
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/Configuration.java b/sdk/java/src/main/java/com/pulumi/aws/msk/Configuration.java index 3caaa1289e8..c8c3916e124 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/Configuration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/Configuration.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,18 +44,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Configuration("example", ConfigurationArgs.builder()        
- *             .kafkaVersions("2.1.0")
- *             .name("example")
- *             .serverProperties("""
+ *         var example = new Configuration("example", ConfigurationArgs.builder()        
+ *             .kafkaVersions("2.1.0")
+ *             .name("example")
+ *             .serverProperties("""
  * auto.create.topics.enable = true
  * delete.topic.enable = true
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/MskFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/msk/MskFunctions.java index 2d839e0de0b..c0b08264b85 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/MskFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/MskFunctions.java @@ -35,7 +35,8 @@ public final class MskFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -62,7 +63,8 @@ public final class MskFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -75,7 +77,8 @@ public static Output getBootstrapBrokers(GetBootstrap * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -102,7 +105,8 @@ public static Output getBootstrapBrokers(GetBootstrap
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -115,7 +119,8 @@ public static CompletableFuture getBootstrapBrokersPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,7 +147,8 @@ public static CompletableFuture getBootstrapBrokersPl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getBootstrapBrokers(GetBootstrap * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -182,7 +189,8 @@ public static Output getBootstrapBrokers(GetBootstrap
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -195,7 +203,8 @@ public static CompletableFuture getBootstrapBrokersPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -222,7 +231,8 @@ public static CompletableFuture getBootstrapBrokersPl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -235,7 +245,8 @@ public static Output getBrokerNodes(GetBrokerNodesArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -262,7 +273,8 @@ public static Output getBrokerNodes(GetBrokerNodesArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -275,7 +287,8 @@ public static CompletableFuture getBrokerNodesPlain(GetBro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -302,7 +315,8 @@ public static CompletableFuture getBrokerNodesPlain(GetBro
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -315,7 +329,8 @@ public static Output getBrokerNodes(GetBrokerNodesArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -342,7 +357,8 @@ public static Output getBrokerNodes(GetBrokerNodesArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -357,7 +373,8 @@ public static CompletableFuture getBrokerNodesPlain(GetBro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -379,12 +396,13 @@ public static CompletableFuture getBrokerNodesPlain(GetBro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("example")
+     *             .clusterName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -399,7 +417,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -421,12 +440,13 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("example")
+     *             .clusterName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -441,7 +461,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -463,12 +484,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("example")
+     *             .clusterName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -483,7 +505,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -505,12 +528,13 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterName("example")
+     *             .clusterName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -523,7 +547,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -545,12 +570,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getConfiguration(GetConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -563,7 +589,8 @@ public static Output getConfiguration(GetConfigurationAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -585,12 +612,13 @@ public static Output getConfiguration(GetConfigurationAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getConfiguration(GetConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -603,7 +631,8 @@ public static CompletableFuture getConfigurationPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -625,12 +654,13 @@ public static CompletableFuture getConfigurationPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getConfiguration(GetConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -643,7 +673,8 @@ public static Output getConfiguration(GetConfigurationAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -665,12 +696,13 @@ public static Output getConfiguration(GetConfigurationAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskFunctions.getConfiguration(GetConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -683,7 +715,8 @@ public static CompletableFuture getConfigurationPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -706,18 +739,19 @@ public static CompletableFuture getConfigurationPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "2.4.1.1",
-     *                 "2.4.1",
-     *                 "2.2.1")
+     *                 "2.4.1.1",
+     *                 "2.4.1",
+     *                 "2.2.1")
      *             .build());
      * 
      *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
-     *             .version("2.8.0")
+     *             .version("2.8.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -730,7 +764,8 @@ public static Output getKafkaVersion() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -753,18 +788,19 @@ public static Output getKafkaVersion() {
      *     public static void stack(Context ctx) {
      *         final var preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "2.4.1.1",
-     *                 "2.4.1",
-     *                 "2.2.1")
+     *                 "2.4.1.1",
+     *                 "2.4.1",
+     *                 "2.2.1")
      *             .build());
      * 
      *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
-     *             .version("2.8.0")
+     *             .version("2.8.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -777,7 +813,8 @@ public static CompletableFuture getKafkaVersionPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -800,18 +837,19 @@ public static CompletableFuture getKafkaVersionPlain() {
      *     public static void stack(Context ctx) {
      *         final var preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "2.4.1.1",
-     *                 "2.4.1",
-     *                 "2.2.1")
+     *                 "2.4.1.1",
+     *                 "2.4.1",
+     *                 "2.2.1")
      *             .build());
      * 
      *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
-     *             .version("2.8.0")
+     *             .version("2.8.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -824,7 +862,8 @@ public static Output getKafkaVersion(GetKafkaVersionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -847,18 +886,19 @@ public static Output getKafkaVersion(GetKafkaVersionArgs
      *     public static void stack(Context ctx) {
      *         final var preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "2.4.1.1",
-     *                 "2.4.1",
-     *                 "2.2.1")
+     *                 "2.4.1.1",
+     *                 "2.4.1",
+     *                 "2.2.1")
      *             .build());
      * 
      *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
-     *             .version("2.8.0")
+     *             .version("2.8.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -871,7 +911,8 @@ public static CompletableFuture getKafkaVersionPlain(GetK * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -894,18 +935,19 @@ public static CompletableFuture getKafkaVersionPlain(GetK
      *     public static void stack(Context ctx) {
      *         final var preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "2.4.1.1",
-     *                 "2.4.1",
-     *                 "2.2.1")
+     *                 "2.4.1.1",
+     *                 "2.4.1",
+     *                 "2.2.1")
      *             .build());
      * 
      *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
-     *             .version("2.8.0")
+     *             .version("2.8.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -918,7 +960,8 @@ public static Output getKafkaVersion(GetKafkaVersionArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -941,18 +984,19 @@ public static Output getKafkaVersion(GetKafkaVersionArgs
      *     public static void stack(Context ctx) {
      *         final var preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "2.4.1.1",
-     *                 "2.4.1",
-     *                 "2.2.1")
+     *                 "2.4.1.1",
+     *                 "2.4.1",
+     *                 "2.2.1")
      *             .build());
      * 
      *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
-     *             .version("2.8.0")
+     *             .version("2.8.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -965,7 +1009,8 @@ public static CompletableFuture getKafkaVersionPlain(GetK * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -992,7 +1037,8 @@ public static CompletableFuture getKafkaVersionPlain(GetK
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1005,7 +1051,8 @@ public static Output getVpcConnection(GetVpcConnectionAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1032,7 +1079,8 @@ public static Output getVpcConnection(GetVpcConnectionAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1045,7 +1093,8 @@ public static CompletableFuture getVpcConnectionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1072,7 +1121,8 @@ public static CompletableFuture getVpcConnectionPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1085,7 +1135,8 @@ public static Output getVpcConnection(GetVpcConnectionAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1112,7 +1163,8 @@ public static Output getVpcConnection(GetVpcConnectionAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/Replicator.java b/sdk/java/src/main/java/com/pulumi/aws/msk/Replicator.java index b634373d235..ec26312b163 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/Replicator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/Replicator.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,9 +52,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Replicator("test", ReplicatorArgs.builder()        
- *             .replicatorName("test-name")
- *             .description("test-description")
+ *         var test = new Replicator("test", ReplicatorArgs.builder()        
+ *             .replicatorName("test-name")
+ *             .description("test-description")
  *             .serviceExecutionRoleArn(sourceAwsIamRole.arn())
  *             .kafkaClusters(            
  *                 ReplicatorKafkaClusterArgs.builder()
@@ -61,7 +62,7 @@
  *                         .mskClusterArn(source.arn())
  *                         .build())
  *                     .vpcConfig(ReplicatorKafkaClusterVpcConfigArgs.builder()
- *                         .subnetIds(sourceAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                         .subnetIds(sourceAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *                         .securityGroupsIds(sourceAwsSecurityGroup.id())
  *                         .build())
  *                     .build(),
@@ -70,26 +71,27 @@
  *                         .mskClusterArn(target.arn())
  *                         .build())
  *                     .vpcConfig(ReplicatorKafkaClusterVpcConfigArgs.builder()
- *                         .subnetIds(targetAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                         .subnetIds(targetAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *                         .securityGroupsIds(targetAwsSecurityGroup.id())
  *                         .build())
  *                     .build())
  *             .replicationInfoList(ReplicatorReplicationInfoListArgs.builder()
  *                 .sourceKafkaClusterArn(source.arn())
  *                 .targetKafkaClusterArn(target.arn())
- *                 .targetCompressionType("NONE")
+ *                 .targetCompressionType("NONE")
  *                 .topicReplications(ReplicatorReplicationInfoListTopicReplicationArgs.builder()
- *                     .topicsToReplicates(".*")
+ *                     .topicsToReplicates(".*")
  *                     .build())
  *                 .consumerGroupReplications(ReplicatorReplicationInfoListConsumerGroupReplicationArgs.builder()
- *                     .consumerGroupsToReplicates(".*")
+ *                     .consumerGroupsToReplicates(".*")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/ScramSecretAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/msk/ScramSecretAssociation.java index 7007f6e35b6..38d90ac744c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/ScramSecretAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/ScramSecretAssociation.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -67,8 +68,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
- *             .clusterName("example")
+ *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
+ *             .clusterName("example")
  *             .clientAuthentication(ClusterClientAuthenticationArgs.builder()
  *                 .sasl(ClusterClientAuthenticationSaslArgs.builder()
  *                     .scram(true)
@@ -76,25 +77,25 @@
  *                 .build())
  *             .build());
  * 
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
- *             .description("Example Key for MSK Cluster Scram Secret Association")
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *             .description("Example Key for MSK Cluster Scram Secret Association")
  *             .build());
  * 
- *         var exampleSecret = new Secret("exampleSecret", SecretArgs.builder()        
- *             .name("AmazonMSK_example")
+ *         var exampleSecret = new Secret("exampleSecret", SecretArgs.builder()        
+ *             .name("AmazonMSK_example")
  *             .kmsKeyId(exampleKey.keyId())
  *             .build());
  * 
- *         var exampleSecretVersion = new SecretVersion("exampleSecretVersion", SecretVersionArgs.builder()        
+ *         var exampleSecretVersion = new SecretVersion("exampleSecretVersion", SecretVersionArgs.builder()        
  *             .secretId(exampleSecret.id())
  *             .secretString(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("username", "user"),
- *                     jsonProperty("password", "pass")
+ *                     jsonProperty("username", "user"),
+ *                     jsonProperty("password", "pass")
  *                 )))
  *             .build());
  * 
- *         var exampleScramSecretAssociation = new ScramSecretAssociation("exampleScramSecretAssociation", ScramSecretAssociationArgs.builder()        
+ *         var exampleScramSecretAssociation = new ScramSecretAssociation("exampleScramSecretAssociation", ScramSecretAssociationArgs.builder()        
  *             .clusterArn(exampleCluster.arn())
  *             .secretArnLists(exampleSecret.arn())
  *             .build(), CustomResourceOptions.builder()
@@ -103,25 +104,26 @@
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("AWSKafkaResourcePolicy")
- *                 .effect("Allow")
+ *                 .sid("AWSKafkaResourcePolicy")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("kafka.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("kafka.amazonaws.com")
  *                     .build())
- *                 .actions("secretsmanager:getSecretValue")
+ *                 .actions("secretsmanager:getSecretValue")
  *                 .resources(exampleSecret.arn())
  *                 .build())
  *             .build());
  * 
- *         var exampleSecretPolicy = new SecretPolicy("exampleSecretPolicy", SecretPolicyArgs.builder()        
+ *         var exampleSecretPolicy = new SecretPolicy("exampleSecretPolicy", SecretPolicyArgs.builder()        
  *             .secretArn(exampleSecret.arn())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/ServerlessCluster.java b/sdk/java/src/main/java/com/pulumi/aws/msk/ServerlessCluster.java index 904e79a63a8..6c600e35ed6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/ServerlessCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/ServerlessCluster.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,10 +52,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessCluster("example", ServerlessClusterArgs.builder()        
- *             .clusterName("Example")
+ *         var example = new ServerlessCluster("example", ServerlessClusterArgs.builder()        
+ *             .clusterName("Example")
  *             .vpcConfigs(ServerlessClusterVpcConfigArgs.builder()
- *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *                 .securityGroupIds(exampleAwsSecurityGroup.id())
  *                 .build())
  *             .clientAuthentication(ServerlessClusterClientAuthenticationArgs.builder()
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/msk/VpcConnection.java b/sdk/java/src/main/java/com/pulumi/aws/msk/VpcConnection.java index 066dd691f3a..f342ff1c39c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/msk/VpcConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/msk/VpcConnection.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new VpcConnection("test", VpcConnectionArgs.builder()        
- *             .authentication("SASL_IAM")
- *             .targetClusterArn("aws_msk_cluster.arn")
+ *         var test = new VpcConnection("test", VpcConnectionArgs.builder()        
+ *             .authentication("SASL_IAM")
+ *             .targetClusterArn("aws_msk_cluster.arn")
  *             .vpcId(testAwsVpc.id())
- *             .clientSubnets(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *             .clientSubnets(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *             .securityGroups(testAwsSecurityGroup.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/Connector.java b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/Connector.java index f7518fcd0f0..9eb6f3014dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/Connector.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/Connector.java @@ -31,7 +31,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -63,9 +64,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connector("example", ConnectorArgs.builder()        
- *             .name("example")
- *             .kafkaconnectVersion("2.7.1")
+ *         var example = new Connector("example", ConnectorArgs.builder()        
+ *             .name("example")
+ *             .kafkaconnectVersion("2.7.1")
  *             .capacity(ConnectorCapacityArgs.builder()
  *                 .autoscaling(ConnectorCapacityAutoscalingArgs.builder()
  *                     .mcuCount(1)
@@ -80,9 +81,9 @@
  *                     .build())
  *                 .build())
  *             .connectorConfiguration(Map.ofEntries(
- *                 Map.entry("connector.class", "com.github.jcustenborder.kafka.connect.simulator.SimulatorSinkConnector"),
- *                 Map.entry("tasks.max", "1"),
- *                 Map.entry("topics", "example")
+ *                 Map.entry("connector.class", "com.github.jcustenborder.kafka.connect.simulator.SimulatorSinkConnector"),
+ *                 Map.entry("tasks.max", "1"),
+ *                 Map.entry("topics", "example")
  *             ))
  *             .kafkaCluster(ConnectorKafkaClusterArgs.builder()
  *                 .apacheKafkaCluster(ConnectorKafkaClusterApacheKafkaClusterArgs.builder()
@@ -97,10 +98,10 @@
  *                     .build())
  *                 .build())
  *             .kafkaClusterClientAuthentication(ConnectorKafkaClusterClientAuthenticationArgs.builder()
- *                 .authenticationType("NONE")
+ *                 .authenticationType("NONE")
  *                 .build())
  *             .kafkaClusterEncryptionInTransit(ConnectorKafkaClusterEncryptionInTransitArgs.builder()
- *                 .encryptionType("TLS")
+ *                 .encryptionType("TLS")
  *                 .build())
  *             .plugins(ConnectorPluginArgs.builder()
  *                 .customPlugin(ConnectorPluginCustomPluginArgs.builder()
@@ -113,7 +114,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/CustomPlugin.java b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/CustomPlugin.java index 4dfa4c2cb5d..4cdf8b28dba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/CustomPlugin.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/CustomPlugin.java @@ -24,7 +24,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,19 +53,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(example.id())
- *             .key("debezium.zip")
- *             .source(new FileAsset("debezium.zip"))
+ *             .key("debezium.zip")
+ *             .source(new FileAsset("debezium.zip"))
  *             .build());
  * 
- *         var exampleCustomPlugin = new CustomPlugin("exampleCustomPlugin", CustomPluginArgs.builder()        
- *             .name("debezium-example")
- *             .contentType("ZIP")
+ *         var exampleCustomPlugin = new CustomPlugin("exampleCustomPlugin", CustomPluginArgs.builder()        
+ *             .name("debezium-example")
+ *             .contentType("ZIP")
  *             .location(CustomPluginLocationArgs.builder()
  *                 .s3(CustomPluginLocationS3Args.builder()
  *                     .bucketArn(example.arn())
@@ -75,7 +76,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/MskconnectFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/MskconnectFunctions.java index 41fd07eba40..f30e9340dd6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/MskconnectFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/MskconnectFunctions.java @@ -26,7 +26,8 @@ public final class MskconnectFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,12 +49,13 @@ public final class MskconnectFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getConnector(GetConnectorArgs.builder()
-     *             .name("example-mskconnector")
+     *             .name("example-mskconnector")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ public static Output getConnector(GetConnectorArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -88,12 +91,13 @@ public static Output getConnector(GetConnectorArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getConnector(GetConnectorArgs.builder()
-     *             .name("example-mskconnector")
+     *             .name("example-mskconnector")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getConnectorPlain(GetConnect * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getConnectorPlain(GetConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getConnector(GetConnectorArgs.builder()
-     *             .name("example-mskconnector")
+     *             .name("example-mskconnector")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +152,8 @@ public static Output getConnector(GetConnectorArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -168,12 +175,13 @@ public static Output getConnector(GetConnectorArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getConnector(GetConnectorArgs.builder()
-     *             .name("example-mskconnector")
+     *             .name("example-mskconnector")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -186,7 +194,8 @@ public static CompletableFuture getConnectorPlain(GetConnect * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -208,12 +217,13 @@ public static CompletableFuture getConnectorPlain(GetConnect
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getCustomPlugin(GetCustomPluginArgs.builder()
-     *             .name("example-debezium-1")
+     *             .name("example-debezium-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -226,7 +236,8 @@ public static Output getCustomPlugin(GetCustomPluginArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -248,12 +259,13 @@ public static Output getCustomPlugin(GetCustomPluginArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getCustomPlugin(GetCustomPluginArgs.builder()
-     *             .name("example-debezium-1")
+     *             .name("example-debezium-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -266,7 +278,8 @@ public static CompletableFuture getCustomPluginPlain(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -288,12 +301,13 @@ public static CompletableFuture getCustomPluginPlain(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getCustomPlugin(GetCustomPluginArgs.builder()
-     *             .name("example-debezium-1")
+     *             .name("example-debezium-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -306,7 +320,8 @@ public static Output getCustomPlugin(GetCustomPluginArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -328,12 +343,13 @@ public static Output getCustomPlugin(GetCustomPluginArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getCustomPlugin(GetCustomPluginArgs.builder()
-     *             .name("example-debezium-1")
+     *             .name("example-debezium-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -346,7 +362,8 @@ public static CompletableFuture getCustomPluginPlain(GetC * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -368,12 +385,13 @@ public static CompletableFuture getCustomPluginPlain(GetC
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getWorkerConfiguration(GetWorkerConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -386,7 +404,8 @@ public static Output getWorkerConfiguration(GetWor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -408,12 +427,13 @@ public static Output getWorkerConfiguration(GetWor
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getWorkerConfiguration(GetWorkerConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -426,7 +446,8 @@ public static CompletableFuture getWorkerConfigura * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -448,12 +469,13 @@ public static CompletableFuture getWorkerConfigura
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getWorkerConfiguration(GetWorkerConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -466,7 +488,8 @@ public static Output getWorkerConfiguration(GetWor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -488,12 +511,13 @@ public static Output getWorkerConfiguration(GetWor
      * 
      *     public static void stack(Context ctx) {
      *         final var example = MskconnectFunctions.getWorkerConfiguration(GetWorkerConfigurationArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/WorkerConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/WorkerConfiguration.java index 65007916e5c..87a66973521 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mskconnect/WorkerConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mskconnect/WorkerConfiguration.java @@ -23,7 +23,8 @@ * ### Basic configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WorkerConfiguration("example", WorkerConfigurationArgs.builder()        
- *             .name("example")
- *             .propertiesFileContent("""
+ *         var example = new WorkerConfiguration("example", WorkerConfigurationArgs.builder()        
+ *             .name("example")
+ *             .propertiesFileContent("""
  * key.converter=org.apache.kafka.connect.storage.StringConverter
  * value.converter=org.apache.kafka.connect.storage.StringConverter
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/mwaa/Environment.java b/sdk/java/src/main/java/com/pulumi/aws/mwaa/Environment.java index b072a07e6a5..6d64d8663ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/mwaa/Environment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/mwaa/Environment.java @@ -30,7 +30,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,26 +53,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Environment("example", EnvironmentArgs.builder()        
- *             .dagS3Path("dags/")
+ *         var example = new Environment("example", EnvironmentArgs.builder()        
+ *             .dagS3Path("dags/")
  *             .executionRoleArn(exampleAwsIamRole.arn())
- *             .name("example")
+ *             .name("example")
  *             .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
  *                 .securityGroupIds(exampleAwsSecurityGroup.id())
- *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .sourceBucketArn(exampleAwsS3Bucket.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with Airflow configuration options * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,24 +96,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Environment("example", EnvironmentArgs.builder()        
+ *         var example = new Environment("example", EnvironmentArgs.builder()        
  *             .airflowConfigurationOptions(Map.ofEntries(
- *                 Map.entry("core.default_task_retries", 16),
- *                 Map.entry("core.parallelism", 1)
+ *                 Map.entry("core.default_task_retries", 16),
+ *                 Map.entry("core.parallelism", 1)
  *             ))
- *             .dagS3Path("dags/")
+ *             .dagS3Path("dags/")
  *             .executionRoleArn(exampleAwsIamRole.arn())
- *             .name("example")
+ *             .name("example")
  *             .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
  *                 .securityGroupIds(exampleAwsSecurityGroup.id())
- *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .sourceBucketArn(exampleAwsS3Bucket.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with logging configurations @@ -118,7 +122,8 @@ * Note that Airflow task logs are enabled by default with the `INFO` log level. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -146,48 +151,50 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Environment("example", EnvironmentArgs.builder()        
- *             .dagS3Path("dags/")
+ *         var example = new Environment("example", EnvironmentArgs.builder()        
+ *             .dagS3Path("dags/")
  *             .executionRoleArn(exampleAwsIamRole.arn())
  *             .loggingConfiguration(EnvironmentLoggingConfigurationArgs.builder()
  *                 .dagProcessingLogs(EnvironmentLoggingConfigurationDagProcessingLogsArgs.builder()
  *                     .enabled(true)
- *                     .logLevel("DEBUG")
+ *                     .logLevel("DEBUG")
  *                     .build())
  *                 .schedulerLogs(EnvironmentLoggingConfigurationSchedulerLogsArgs.builder()
  *                     .enabled(true)
- *                     .logLevel("INFO")
+ *                     .logLevel("INFO")
  *                     .build())
  *                 .taskLogs(EnvironmentLoggingConfigurationTaskLogsArgs.builder()
  *                     .enabled(true)
- *                     .logLevel("WARNING")
+ *                     .logLevel("WARNING")
  *                     .build())
  *                 .webserverLogs(EnvironmentLoggingConfigurationWebserverLogsArgs.builder()
  *                     .enabled(true)
- *                     .logLevel("ERROR")
+ *                     .logLevel("ERROR")
  *                     .build())
  *                 .workerLogs(EnvironmentLoggingConfigurationWorkerLogsArgs.builder()
  *                     .enabled(true)
- *                     .logLevel("CRITICAL")
+ *                     .logLevel("CRITICAL")
  *                     .build())
  *                 .build())
- *             .name("example")
+ *             .name("example")
  *             .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
  *                 .securityGroupIds(exampleAwsSecurityGroup.id())
- *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .sourceBucketArn(exampleAwsS3Bucket.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -209,24 +216,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Environment("example", EnvironmentArgs.builder()        
- *             .dagS3Path("dags/")
+ *         var example = new Environment("example", EnvironmentArgs.builder()        
+ *             .dagS3Path("dags/")
  *             .executionRoleArn(exampleAwsIamRole.arn())
- *             .name("example")
+ *             .name("example")
  *             .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
  *                 .securityGroupIds(exampleAwsSecurityGroup.id())
- *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
  *                 .build())
  *             .sourceBucketArn(exampleAwsS3Bucket.arn())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "example"),
- *                 Map.entry("Environment", "production")
+ *                 Map.entry("Name", "example"),
+ *                 Map.entry("Environment", "production")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/Cluster.java index 294e676903e..d634a3a122c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/Cluster.java @@ -33,7 +33,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,11 +55,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("neptune-cluster-demo")
- *             .engine("neptune")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("neptune-cluster-demo")
+ *             .engine("neptune")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .skipFinalSnapshot(true)
  *             .iamDatabaseAuthenticationEnabled(true)
  *             .applyImmediately(true)
@@ -66,7 +67,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **Note:** AWS Neptune does not support user name/password–based access control. diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterEndpoint.java index e5eda3b0097..192f9f132c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterEndpoint.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterEndpoint("example", ClusterEndpointArgs.builder()        
+ *         var example = new ClusterEndpoint("example", ClusterEndpointArgs.builder()        
  *             .clusterIdentifier(test.clusterIdentifier())
- *             .clusterEndpointIdentifier("example")
- *             .endpointType("READER")
+ *             .clusterEndpointIdentifier("example")
+ *             .endpointType("READER")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterInstance.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterInstance.java index ecbd3a1150e..24b08bfe79c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterInstance.java @@ -28,7 +28,8 @@ * The following example will create a neptune cluster with two neptune instances(one writer and one reader). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,21 +53,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("neptune-cluster-demo")
- *             .engine("neptune")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("neptune-cluster-demo")
+ *             .engine("neptune")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .skipFinalSnapshot(true)
  *             .iamDatabaseAuthenticationEnabled(true)
  *             .applyImmediately(true)
  *             .build());
  * 
- *         for (var i = 0; i < 2; i++) {
- *             new ClusterInstance("example-" + i, ClusterInstanceArgs.builder()            
+ *         for (var i = 0; i < 2; i++) {
+ *             new ClusterInstance("example-" + i, ClusterInstanceArgs.builder()            
  *                 .clusterIdentifier(default_.id())
- *                 .engine("neptune")
- *                 .instanceClass("db.r4.large")
+ *                 .engine("neptune")
+ *                 .instanceClass("db.r4.large")
  *                 .applyImmediately(true)
  *                 .build());
  * 
@@ -74,7 +75,8 @@
  * }
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterParameterGroup.java index 232258b5bef..aa0be26a7e9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterParameterGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterParameterGroup("example", ClusterParameterGroupArgs.builder()        
- *             .family("neptune1")
- *             .name("example")
- *             .description("neptune cluster parameter group")
+ *         var example = new ClusterParameterGroup("example", ClusterParameterGroupArgs.builder()        
+ *             .family("neptune1")
+ *             .name("example")
+ *             .description("neptune cluster parameter group")
  *             .parameters(ClusterParameterGroupParameterArgs.builder()
- *                 .name("neptune_enable_audit_log")
+ *                 .name("neptune_enable_audit_log")
  *                 .value(1)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterSnapshot.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterSnapshot.java index 858c1c19d0d..626ba326f10 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/ClusterSnapshot.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
+ *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
  *             .dbClusterIdentifier(exampleAwsNeptuneCluster.id())
- *             .dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
+ *             .dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/EventSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/EventSubscription.java index c61c791ca8c..406b355321c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/EventSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/EventSubscription.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,51 +49,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("neptune-cluster-demo")
- *             .engine("neptune")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("neptune-cluster-demo")
+ *             .engine("neptune")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .skipFinalSnapshot(true)
- *             .iamDatabaseAuthenticationEnabled("true")
- *             .applyImmediately("true")
+ *             .iamDatabaseAuthenticationEnabled("true")
+ *             .applyImmediately("true")
  *             .build());
  * 
- *         var example = new ClusterInstance("example", ClusterInstanceArgs.builder()        
+ *         var example = new ClusterInstance("example", ClusterInstanceArgs.builder()        
  *             .clusterIdentifier(default_.id())
- *             .engine("neptune")
- *             .instanceClass("db.r4.large")
- *             .applyImmediately("true")
+ *             .engine("neptune")
+ *             .instanceClass("db.r4.large")
+ *             .applyImmediately("true")
  *             .build());
  * 
- *         var defaultTopic = new Topic("defaultTopic", TopicArgs.builder()        
- *             .name("neptune-events")
+ *         var defaultTopic = new Topic("defaultTopic", TopicArgs.builder()        
+ *             .name("neptune-events")
  *             .build());
  * 
- *         var defaultEventSubscription = new EventSubscription("defaultEventSubscription", EventSubscriptionArgs.builder()        
- *             .name("neptune-event-sub")
+ *         var defaultEventSubscription = new EventSubscription("defaultEventSubscription", EventSubscriptionArgs.builder()        
+ *             .name("neptune-event-sub")
  *             .snsTopicArn(defaultTopic.arn())
- *             .sourceType("db-instance")
+ *             .sourceType("db-instance")
  *             .sourceIds(example.id())
  *             .eventCategories(            
- *                 "maintenance",
- *                 "availability",
- *                 "creation",
- *                 "backup",
- *                 "restoration",
- *                 "recovery",
- *                 "deletion",
- *                 "failover",
- *                 "failure",
- *                 "notification",
- *                 "configuration change",
- *                 "read replica")
- *             .tags(Map.of("env", "test"))
+ *                 "maintenance",
+ *                 "availability",
+ *                 "creation",
+ *                 "backup",
+ *                 "restoration",
+ *                 "recovery",
+ *                 "deletion",
+ *                 "failover",
+ *                 "failure",
+ *                 "notification",
+ *                 "configuration change",
+ *                 "read replica")
+ *             .tags(Map.of("env", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/GlobalCluster.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/GlobalCluster.java index d1359e21d37..df80f34b0f0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/GlobalCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/GlobalCluster.java @@ -27,7 +27,8 @@ * ### New Neptune Global Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,57 +54,59 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("global-test")
- *             .engine("neptune")
- *             .engineVersion("1.2.0.0")
+ *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("global-test")
+ *             .engine("neptune")
+ *             .engineVersion("1.2.0.0")
  *             .build());
  * 
- *         var primary = new Cluster("primary", ClusterArgs.builder()        
+ *         var primary = new Cluster("primary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-primary-cluster")
+ *             .clusterIdentifier("test-primary-cluster")
  *             .globalClusterIdentifier(example.id())
- *             .neptuneSubnetGroupName("default")
+ *             .neptuneSubnetGroupName("default")
  *             .build());
  * 
- *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .identifier("test-primary-cluster-instance")
+ *             .identifier("test-primary-cluster-instance")
  *             .clusterIdentifier(primary.id())
- *             .instanceClass("db.r5.large")
- *             .neptuneSubnetGroupName("default")
+ *             .instanceClass("db.r5.large")
+ *             .neptuneSubnetGroupName("default")
  *             .build());
  * 
- *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
+ *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-secondary-cluster")
+ *             .clusterIdentifier("test-secondary-cluster")
  *             .globalClusterIdentifier(example.id())
- *             .neptuneSubnetGroupName("default")
+ *             .neptuneSubnetGroupName("default")
  *             .build());
  * 
- *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .identifier("test-secondary-cluster-instance")
+ *             .identifier("test-secondary-cluster-instance")
  *             .clusterIdentifier(secondary.id())
- *             .instanceClass("db.r5.large")
- *             .neptuneSubnetGroupName("default")
+ *             .instanceClass("db.r5.large")
+ *             .neptuneSubnetGroupName("default")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primaryClusterInstance)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### New Global Cluster From Existing DB Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,16 +128,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example");
+ *         var example = new Cluster("example");
  * 
- *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("example")
+ *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("example")
  *             .sourceDbClusterIdentifier(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/NeptuneFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/NeptuneFunctions.java index 1875b626b07..00b7a387214 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/NeptuneFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/NeptuneFunctions.java @@ -23,7 +23,8 @@ public final class NeptuneFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -46,14 +47,15 @@ public final class NeptuneFunctions {
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getEngineVersion(GetEngineVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "1.0.3.0",
-     *                 "1.0.2.2",
-     *                 "1.0.2.1")
+     *                 "1.0.3.0",
+     *                 "1.0.2.2",
+     *                 "1.0.2.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ public static Output getEngineVersion() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,14 +92,15 @@ public static Output getEngineVersion() {
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getEngineVersion(GetEngineVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "1.0.3.0",
-     *                 "1.0.2.2",
-     *                 "1.0.2.1")
+     *                 "1.0.3.0",
+     *                 "1.0.2.2",
+     *                 "1.0.2.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getEngineVersionPlain() * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -132,14 +137,15 @@ public static CompletableFuture getEngineVersionPlain()
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getEngineVersion(GetEngineVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "1.0.3.0",
-     *                 "1.0.2.2",
-     *                 "1.0.2.1")
+     *                 "1.0.3.0",
+     *                 "1.0.2.2",
+     *                 "1.0.2.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getEngineVersion(GetEngineVersionAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -175,14 +182,15 @@ public static Output getEngineVersion(GetEngineVersionAr
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getEngineVersion(GetEngineVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "1.0.3.0",
-     *                 "1.0.2.2",
-     *                 "1.0.2.1")
+     *                 "1.0.3.0",
+     *                 "1.0.2.2",
+     *                 "1.0.2.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -195,7 +203,8 @@ public static CompletableFuture getEngineVersionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -218,14 +227,15 @@ public static CompletableFuture getEngineVersionPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getEngineVersion(GetEngineVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "1.0.3.0",
-     *                 "1.0.2.2",
-     *                 "1.0.2.1")
+     *                 "1.0.3.0",
+     *                 "1.0.2.2",
+     *                 "1.0.2.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -238,7 +248,8 @@ public static Output getEngineVersion(GetEngineVersionAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -261,14 +272,15 @@ public static Output getEngineVersion(GetEngineVersionAr
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getEngineVersion(GetEngineVersionArgs.builder()
      *             .preferredVersions(            
-     *                 "1.0.3.0",
-     *                 "1.0.2.2",
-     *                 "1.0.2.1")
+     *                 "1.0.3.0",
+     *                 "1.0.2.2",
+     *                 "1.0.2.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -281,7 +293,8 @@ public static CompletableFuture getEngineVersionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -303,16 +316,17 @@ public static CompletableFuture getEngineVersionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engineVersion("1.0.3.0")
+     *             .engineVersion("1.0.3.0")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -325,7 +339,8 @@ public static Output getOrderableDbInstance() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -347,16 +362,17 @@ public static Output getOrderableDbInstance() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engineVersion("1.0.3.0")
+     *             .engineVersion("1.0.3.0")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -369,7 +385,8 @@ public static CompletableFuture getOrderableDbInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -391,16 +408,17 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engineVersion("1.0.3.0")
+     *             .engineVersion("1.0.3.0")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -413,7 +431,8 @@ public static Output getOrderableDbInstance(GetOrd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -435,16 +454,17 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engineVersion("1.0.3.0")
+     *             .engineVersion("1.0.3.0")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -457,7 +477,8 @@ public static CompletableFuture getOrderableDbInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -479,16 +500,17 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engineVersion("1.0.3.0")
+     *             .engineVersion("1.0.3.0")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -501,7 +523,8 @@ public static Output getOrderableDbInstance(GetOrd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -523,16 +546,17 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engineVersion("1.0.3.0")
+     *             .engineVersion("1.0.3.0")
      *             .preferredInstanceClasses(            
-     *                 "db.r5.large",
-     *                 "db.r4.large",
-     *                 "db.t3.medium")
+     *                 "db.r5.large",
+     *                 "db.r4.large",
+     *                 "db.t3.medium")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/ParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/ParameterGroup.java index c7d64de4d72..bb95048b27f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/ParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/ParameterGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,18 +46,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ParameterGroup("example", ParameterGroupArgs.builder()        
- *             .family("neptune1")
- *             .name("example")
+ *         var example = new ParameterGroup("example", ParameterGroupArgs.builder()        
+ *             .family("neptune1")
+ *             .name("example")
  *             .parameters(ParameterGroupParameterArgs.builder()
- *                 .name("neptune_query_timeout")
- *                 .value("25")
+ *                 .name("neptune_query_timeout")
+ *                 .value("25")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/neptune/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/neptune/SubnetGroup.java index afd981fac99..f284c7d827a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/neptune/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/neptune/SubnetGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new SubnetGroup("default", SubnetGroupArgs.builder()        
- *             .name("main")
+ *         var default_ = new SubnetGroup("default", SubnetGroupArgs.builder()        
+ *             .name("main")
  *             .subnetIds(            
  *                 frontend.id(),
  *                 backend.id())
- *             .tags(Map.of("Name", "My neptune subnet group"))
+ *             .tags(Map.of("Name", "My neptune subnet group"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/Firewall.java b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/Firewall.java index f5ca28e596c..21f914918af 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/Firewall.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/Firewall.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Firewall("example", FirewallArgs.builder()        
- *             .name("example")
+ *         var example = new Firewall("example", FirewallArgs.builder()        
+ *             .name("example")
  *             .firewallPolicyArn(exampleAwsNetworkfirewallFirewallPolicy.arn())
  *             .vpcId(exampleAwsVpc.id())
  *             .subnetMappings(FirewallSubnetMappingArgs.builder()
  *                 .subnetId(exampleAwsSubnet.id())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/FirewallPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/FirewallPolicy.java index 10659efa5f6..c6b3e1a7974 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/FirewallPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/FirewallPolicy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,32 +46,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FirewallPolicy("example", FirewallPolicyArgs.builder()        
- *             .name("example")
+ *         var example = new FirewallPolicy("example", FirewallPolicyArgs.builder()        
+ *             .name("example")
  *             .firewallPolicy(FirewallPolicyFirewallPolicyArgs.builder()
- *                 .statelessDefaultActions("aws:pass")
- *                 .statelessFragmentDefaultActions("aws:drop")
+ *                 .statelessDefaultActions("aws:pass")
+ *                 .statelessFragmentDefaultActions("aws:drop")
  *                 .statelessRuleGroupReferences(FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs.builder()
  *                     .priority(1)
  *                     .resourceArn(exampleAwsNetworkfirewallRuleGroup.arn())
  *                     .build())
- *                 .tlsInspectionConfigurationArn("arn:aws:network-firewall:REGION:ACCT:tls-configuration/example")
+ *                 .tlsInspectionConfigurationArn("arn:aws:network-firewall:REGION:ACCT:tls-configuration/example")
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Policy with a HOME_NET Override * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,41 +96,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FirewallPolicy("example", FirewallPolicyArgs.builder()        
- *             .name("example")
+ *         var example = new FirewallPolicy("example", FirewallPolicyArgs.builder()        
+ *             .name("example")
  *             .firewallPolicy(FirewallPolicyFirewallPolicyArgs.builder()
  *                 .policyVariables(FirewallPolicyFirewallPolicyPolicyVariablesArgs.builder()
  *                     .ruleVariables(FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableArgs.builder()
- *                         .key("HOME_NET")
+ *                         .key("HOME_NET")
  *                         .ipSet(FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs.builder()
  *                             .definitions(                            
- *                                 "10.0.0.0/16",
- *                                 "10.1.0.0/24")
+ *                                 "10.0.0.0/16",
+ *                                 "10.1.0.0/24")
  *                             .build())
  *                         .build())
  *                     .build())
- *                 .statelessDefaultActions("aws:pass")
- *                 .statelessFragmentDefaultActions("aws:drop")
+ *                 .statelessDefaultActions("aws:pass")
+ *                 .statelessFragmentDefaultActions("aws:drop")
  *                 .statelessRuleGroupReferences(FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs.builder()
  *                     .priority(1)
  *                     .resourceArn(exampleAwsNetworkfirewallRuleGroup.arn())
  *                     .build())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Policy with a Custom Action for Stateless Inspection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -149,29 +154,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new FirewallPolicy("test", FirewallPolicyArgs.builder()        
- *             .name("example")
+ *         var test = new FirewallPolicy("test", FirewallPolicyArgs.builder()        
+ *             .name("example")
  *             .firewallPolicy(FirewallPolicyFirewallPolicyArgs.builder()
  *                 .statelessDefaultActions(                
- *                     "aws:pass",
- *                     "ExampleCustomAction")
- *                 .statelessFragmentDefaultActions("aws:drop")
+ *                     "aws:pass",
+ *                     "ExampleCustomAction")
+ *                 .statelessFragmentDefaultActions("aws:drop")
  *                 .statelessCustomActions(FirewallPolicyFirewallPolicyStatelessCustomActionArgs.builder()
  *                     .actionDefinition(FirewallPolicyFirewallPolicyStatelessCustomActionActionDefinitionArgs.builder()
  *                         .publishMetricAction(FirewallPolicyFirewallPolicyStatelessCustomActionActionDefinitionPublishMetricActionArgs.builder()
  *                             .dimensions(FirewallPolicyFirewallPolicyStatelessCustomActionActionDefinitionPublishMetricActionDimensionArgs.builder()
- *                                 .value("1")
+ *                                 .value("1")
  *                                 .build())
  *                             .build())
  *                         .build())
- *                     .actionName("ExampleCustomAction")
+ *                     .actionName("ExampleCustomAction")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/LoggingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/LoggingConfiguration.java index 3d78588d317..69191b83dcb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/LoggingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/LoggingConfiguration.java @@ -22,7 +22,8 @@ * ### Logging to S3 * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,29 +45,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoggingConfiguration("example", LoggingConfigurationArgs.builder()        
+ *         var example = new LoggingConfiguration("example", LoggingConfigurationArgs.builder()        
  *             .firewallArn(exampleAwsNetworkfirewallFirewall.arn())
  *             .loggingConfiguration(LoggingConfigurationLoggingConfigurationArgs.builder()
  *                 .logDestinationConfigs(LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.builder()
  *                     .logDestination(Map.ofEntries(
- *                         Map.entry("bucketName", exampleAwsS3Bucket.bucket()),
- *                         Map.entry("prefix", "/example")
+ *                         Map.entry("bucketName", exampleAwsS3Bucket.bucket()),
+ *                         Map.entry("prefix", "/example")
  *                     ))
- *                     .logDestinationType("S3")
- *                     .logType("FLOW")
+ *                     .logDestinationType("S3")
+ *                     .logType("FLOW")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging to CloudWatch * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,26 +91,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoggingConfiguration("example", LoggingConfigurationArgs.builder()        
+ *         var example = new LoggingConfiguration("example", LoggingConfigurationArgs.builder()        
  *             .firewallArn(exampleAwsNetworkfirewallFirewall.arn())
  *             .loggingConfiguration(LoggingConfigurationLoggingConfigurationArgs.builder()
  *                 .logDestinationConfigs(LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.builder()
- *                     .logDestination(Map.of("logGroup", exampleAwsCloudwatchLogGroup.name()))
- *                     .logDestinationType("CloudWatchLogs")
- *                     .logType("ALERT")
+ *                     .logDestination(Map.of("logGroup", exampleAwsCloudwatchLogGroup.name()))
+ *                     .logDestinationType("CloudWatchLogs")
+ *                     .logType("ALERT")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging to Kinesis Data Firehose * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -129,20 +134,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LoggingConfiguration("example", LoggingConfigurationArgs.builder()        
+ *         var example = new LoggingConfiguration("example", LoggingConfigurationArgs.builder()        
  *             .firewallArn(exampleAwsNetworkfirewallFirewall.arn())
  *             .loggingConfiguration(LoggingConfigurationLoggingConfigurationArgs.builder()
  *                 .logDestinationConfigs(LoggingConfigurationLoggingConfigurationLogDestinationConfigArgs.builder()
- *                     .logDestination(Map.of("deliveryStream", exampleAwsKinesisFirehoseDeliveryStream.name()))
- *                     .logDestinationType("KinesisDataFirehose")
- *                     .logType("ALERT")
+ *                     .logDestination(Map.of("deliveryStream", exampleAwsKinesisFirehoseDeliveryStream.name()))
+ *                     .logDestinationType("KinesisDataFirehose")
+ *                     .logType("ALERT")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/NetworkfirewallFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/NetworkfirewallFunctions.java index 1f39a92f98c..ad26c6b5c90 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/NetworkfirewallFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/NetworkfirewallFunctions.java @@ -28,7 +28,8 @@ public final class NetworkfirewallFunctions { * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -55,13 +56,15 @@ public final class NetworkfirewallFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -83,18 +86,20 @@ public final class NetworkfirewallFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN and Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -117,12 +122,13 @@ public final class NetworkfirewallFunctions {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
      *             .arn(arn)
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -137,7 +143,8 @@ public static Output getFirewall() { * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -164,13 +171,15 @@ public static Output getFirewall() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -192,18 +201,20 @@ public static Output getFirewall() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN and Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -226,12 +237,13 @@ public static Output getFirewall() {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
      *             .arn(arn)
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -246,7 +258,8 @@ public static CompletableFuture getFirewallPlain() { * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -273,13 +286,15 @@ public static CompletableFuture getFirewallPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -301,18 +316,20 @@ public static CompletableFuture getFirewallPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN and Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -335,12 +352,13 @@ public static CompletableFuture getFirewallPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
      *             .arn(arn)
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -355,7 +373,8 @@ public static Output getFirewall(GetFirewallArgs args) { * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -382,13 +401,15 @@ public static Output getFirewall(GetFirewallArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -410,18 +431,20 @@ public static Output getFirewall(GetFirewallArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN and Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -444,12 +467,13 @@ public static Output getFirewall(GetFirewallArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
      *             .arn(arn)
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -464,7 +488,8 @@ public static CompletableFuture getFirewallPlain(GetFirewallP * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -491,13 +516,15 @@ public static CompletableFuture getFirewallPlain(GetFirewallP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -519,18 +546,20 @@ public static CompletableFuture getFirewallPlain(GetFirewallP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN and Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -553,12 +582,13 @@ public static CompletableFuture getFirewallPlain(GetFirewallP
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
      *             .arn(arn)
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -573,7 +603,8 @@ public static Output getFirewall(GetFirewallArgs args, Invoke * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -600,13 +631,15 @@ public static Output getFirewall(GetFirewallArgs args, Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -628,18 +661,20 @@ public static Output getFirewall(GetFirewallArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN and Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -662,12 +697,13 @@ public static Output getFirewall(GetFirewallArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var example = NetworkfirewallFunctions.getFirewall(GetFirewallArgs.builder()
      *             .arn(arn)
-     *             .name("Test")
+     *             .name("Test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -682,7 +718,8 @@ public static CompletableFuture getFirewallPlain(GetFirewallP * ### Find firewall policy by name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -709,13 +746,15 @@ public static CompletableFuture getFirewallPlain(GetFirewallP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -742,13 +781,15 @@ public static CompletableFuture getFirewallPlain(GetFirewallP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by name and ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -776,7 +817,8 @@ public static CompletableFuture getFirewallPlain(GetFirewallP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * AWS Network Firewall does not allow multiple firewall policies with the same name to be created in an account. It is possible, however, to have multiple firewall policies available in a single account with identical `name` values but distinct `arn` values, e.g. firewall policies shared via a [Resource Access Manager (RAM) share][1]. In that case specifying `arn`, or `name` and `arn`, is recommended. @@ -795,7 +837,8 @@ public static Output getFirewallPolicy() { * ### Find firewall policy by name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -822,13 +865,15 @@ public static Output getFirewallPolicy() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -855,13 +900,15 @@ public static Output getFirewallPolicy() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by name and ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -889,7 +936,8 @@ public static Output getFirewallPolicy() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * AWS Network Firewall does not allow multiple firewall policies with the same name to be created in an account. It is possible, however, to have multiple firewall policies available in a single account with identical `name` values but distinct `arn` values, e.g. firewall policies shared via a [Resource Access Manager (RAM) share][1]. In that case specifying `arn`, or `name` and `arn`, is recommended. @@ -908,7 +956,8 @@ public static CompletableFuture getFirewallPolicyPlain( * ### Find firewall policy by name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -935,13 +984,15 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -968,13 +1019,15 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by name and ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1002,7 +1055,8 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * AWS Network Firewall does not allow multiple firewall policies with the same name to be created in an account. It is possible, however, to have multiple firewall policies available in a single account with identical `name` values but distinct `arn` values, e.g. firewall policies shared via a [Resource Access Manager (RAM) share][1]. In that case specifying `arn`, or `name` and `arn`, is recommended. @@ -1021,7 +1075,8 @@ public static Output getFirewallPolicy(GetFirewallPolic * ### Find firewall policy by name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1048,13 +1103,15 @@ public static Output getFirewallPolicy(GetFirewallPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1081,13 +1138,15 @@ public static Output getFirewallPolicy(GetFirewallPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by name and ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1115,7 +1174,8 @@ public static Output getFirewallPolicy(GetFirewallPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * AWS Network Firewall does not allow multiple firewall policies with the same name to be created in an account. It is possible, however, to have multiple firewall policies available in a single account with identical `name` values but distinct `arn` values, e.g. firewall policies shared via a [Resource Access Manager (RAM) share][1]. In that case specifying `arn`, or `name` and `arn`, is recommended. @@ -1134,7 +1194,8 @@ public static CompletableFuture getFirewallPolicyPlain( * ### Find firewall policy by name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1161,13 +1222,15 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1194,13 +1257,15 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by name and ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1228,7 +1293,8 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * AWS Network Firewall does not allow multiple firewall policies with the same name to be created in an account. It is possible, however, to have multiple firewall policies available in a single account with identical `name` values but distinct `arn` values, e.g. firewall policies shared via a [Resource Access Manager (RAM) share][1]. In that case specifying `arn`, or `name` and `arn`, is recommended. @@ -1247,7 +1313,8 @@ public static Output getFirewallPolicy(GetFirewallPolic * ### Find firewall policy by name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1274,13 +1341,15 @@ public static Output getFirewallPolicy(GetFirewallPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1307,13 +1376,15 @@ public static Output getFirewallPolicy(GetFirewallPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Find firewall policy by name and ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1341,7 +1412,8 @@ public static Output getFirewallPolicy(GetFirewallPolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * AWS Network Firewall does not allow multiple firewall policies with the same name to be created in an account. It is possible, however, to have multiple firewall policies available in a single account with identical `name` values but distinct `arn` values, e.g. firewall policies shared via a [Resource Access Manager (RAM) share][1]. In that case specifying `arn`, or `name` and `arn`, is recommended. @@ -1358,7 +1430,8 @@ public static CompletableFuture getFirewallPolicyPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1385,7 +1458,8 @@ public static CompletableFuture getFirewallPolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1398,7 +1472,8 @@ public static Output getResourcePolicy(GetResourcePolic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1425,7 +1500,8 @@ public static Output getResourcePolicy(GetResourcePolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1438,7 +1514,8 @@ public static CompletableFuture getResourcePolicyPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1465,7 +1542,8 @@ public static CompletableFuture getResourcePolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1478,7 +1556,8 @@ public static Output getResourcePolicy(GetResourcePolic * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1505,7 +1584,8 @@ public static Output getResourcePolicy(GetResourcePolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/ResourcePolicy.java index 8d5a583b5f0..f3d974a93a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/ResourcePolicy.java @@ -21,7 +21,8 @@ * ### For a Firewall Policy resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,36 +44,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .resourceArn(exampleAwsNetworkfirewallFirewallPolicy.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray(
- *                             "network-firewall:ListFirewallPolicies", 
- *                             "network-firewall:CreateFirewall", 
- *                             "network-firewall:UpdateFirewall", 
- *                             "network-firewall:AssociateFirewallPolicy"
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray(
+ *                             "network-firewall:ListFirewallPolicies", 
+ *                             "network-firewall:CreateFirewall", 
+ *                             "network-firewall:UpdateFirewall", 
+ *                             "network-firewall:AssociateFirewallPolicy"
  *                         )),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", exampleAwsNetworkfirewallFirewallPolicy.arn()),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "arn:aws:iam::123456789012:root")
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", exampleAwsNetworkfirewallFirewallPolicy.arn()),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "arn:aws:iam::123456789012:root")
  *                         ))
  *                     ))),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### For a Rule Group resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,29 +97,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .resourceArn(exampleAwsNetworkfirewallRuleGroup.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray(
- *                             "network-firewall:ListRuleGroups", 
- *                             "network-firewall:CreateFirewallPolicy", 
- *                             "network-firewall:UpdateFirewallPolicy"
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray(
+ *                             "network-firewall:ListRuleGroups", 
+ *                             "network-firewall:CreateFirewallPolicy", 
+ *                             "network-firewall:UpdateFirewallPolicy"
  *                         )),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", exampleAwsNetworkfirewallRuleGroup.arn()),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "arn:aws:iam::123456789012:root")
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", exampleAwsNetworkfirewallRuleGroup.arn()),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "arn:aws:iam::123456789012:root")
  *                         ))
  *                     ))),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/RuleGroup.java b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/RuleGroup.java index 33362758ea1..0d7fb741d01 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/RuleGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkfirewall/RuleGroup.java @@ -26,7 +26,8 @@ * ### Stateful Inspection for denying access to a domain * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,28 +51,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
+ *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
  *             .capacity(100)
- *             .name("example")
- *             .type("STATEFUL")
+ *             .name("example")
+ *             .type("STATEFUL")
  *             .ruleGroup(RuleGroupRuleGroupArgs.builder()
  *                 .rulesSource(RuleGroupRuleGroupRulesSourceArgs.builder()
  *                     .rulesSourceList(RuleGroupRuleGroupRulesSourceRulesSourceListArgs.builder()
- *                         .generatedRulesType("DENYLIST")
- *                         .targetTypes("HTTP_HOST")
- *                         .targets("test.example.com")
+ *                         .generatedRulesType("DENYLIST")
+ *                         .targetTypes("HTTP_HOST")
+ *                         .targets("test.example.com")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Stateful Inspection for permitting packets from a source IP address @@ -82,7 +84,8 @@ * ### Stateful Inspection for blocking packets from going to an intended destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -105,44 +108,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
+ *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
  *             .capacity(100)
- *             .name("example")
- *             .type("STATEFUL")
+ *             .name("example")
+ *             .type("STATEFUL")
  *             .ruleGroup(RuleGroupRuleGroupArgs.builder()
  *                 .rulesSource(RuleGroupRuleGroupRulesSourceArgs.builder()
  *                     .statefulRules(RuleGroupRuleGroupRulesSourceStatefulRuleArgs.builder()
- *                         .action("DROP")
+ *                         .action("DROP")
  *                         .header(RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.builder()
- *                             .destination("124.1.1.24/32")
+ *                             .destination("124.1.1.24/32")
  *                             .destinationPort(53)
- *                             .direction("ANY")
- *                             .protocol("TCP")
- *                             .source("1.2.3.4/32")
+ *                             .direction("ANY")
+ *                             .protocol("TCP")
+ *                             .source("1.2.3.4/32")
  *                             .sourcePort(53)
  *                             .build())
  *                         .ruleOptions(RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs.builder()
- *                             .keyword("sid")
- *                             .settings("1")
+ *                             .keyword("sid")
+ *                             .settings("1")
  *                             .build())
  *                         .build())
  *                     .build())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Stateful Inspection from rules specifications defined in Suricata flat format * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -163,28 +168,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
+ *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
  *             .capacity(100)
- *             .name("example")
- *             .type("STATEFUL")
+ *             .name("example")
+ *             .type("STATEFUL")
  *             .rules(StdFunctions.file(FileArgs.builder()
- *                 .input("example.rules")
+ *                 .input("example.rules")
  *                 .build()).result())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Stateful Inspection from rule group specifications using rule variables and Suricata format rules * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -208,58 +215,60 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
+ *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
  *             .capacity(100)
- *             .name("example")
- *             .type("STATEFUL")
+ *             .name("example")
+ *             .type("STATEFUL")
  *             .ruleGroup(RuleGroupRuleGroupArgs.builder()
  *                 .ruleVariables(RuleGroupRuleGroupRuleVariablesArgs.builder()
  *                     .ipSets(                    
  *                         RuleGroupRuleGroupRuleVariablesIpSetArgs.builder()
- *                             .key("WEBSERVERS_HOSTS")
+ *                             .key("WEBSERVERS_HOSTS")
  *                             .ipSet(RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs.builder()
  *                                 .definitions(                                
- *                                     "10.0.0.0/16",
- *                                     "10.0.1.0/24",
- *                                     "192.168.0.0/16")
+ *                                     "10.0.0.0/16",
+ *                                     "10.0.1.0/24",
+ *                                     "192.168.0.0/16")
  *                                 .build())
  *                             .build(),
  *                         RuleGroupRuleGroupRuleVariablesIpSetArgs.builder()
- *                             .key("EXTERNAL_HOST")
+ *                             .key("EXTERNAL_HOST")
  *                             .ipSet(RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs.builder()
- *                                 .definitions("1.2.3.4/32")
+ *                                 .definitions("1.2.3.4/32")
  *                                 .build())
  *                             .build())
  *                     .portSets(RuleGroupRuleGroupRuleVariablesPortSetArgs.builder()
- *                         .key("HTTP_PORTS")
+ *                         .key("HTTP_PORTS")
  *                         .portSet(RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs.builder()
  *                             .definitions(                            
- *                                 "443",
- *                                 "80")
+ *                                 "443",
+ *                                 "80")
  *                             .build())
  *                         .build())
  *                     .build())
  *                 .rulesSource(RuleGroupRuleGroupRulesSourceArgs.builder()
  *                     .rulesString(StdFunctions.file(FileArgs.builder()
- *                         .input("suricata_rules_file")
+ *                         .input("suricata_rules_file")
  *                         .build()).result())
  *                     .build())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Stateless Inspection with a Custom Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -283,11 +292,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
- *             .description("Stateless Rate Limiting Rule")
+ *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
+ *             .description("Stateless Rate Limiting Rule")
  *             .capacity(100)
- *             .name("example")
- *             .type("STATELESS")
+ *             .name("example")
+ *             .type("STATELESS")
  *             .ruleGroup(RuleGroupRuleGroupArgs.builder()
  *                 .rulesSource(RuleGroupRuleGroupRulesSourceArgs.builder()
  *                     .statelessRulesAndCustomActions(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsArgs.builder()
@@ -295,28 +304,28 @@
  *                             .actionDefinition(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionActionDefinitionArgs.builder()
  *                                 .publishMetricAction(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionActionDefinitionPublishMetricActionArgs.builder()
  *                                     .dimensions(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionActionDefinitionPublishMetricActionDimensionArgs.builder()
- *                                         .value("2")
+ *                                         .value("2")
  *                                         .build())
  *                                     .build())
  *                                 .build())
- *                             .actionName("ExampleMetricsAction")
+ *                             .actionName("ExampleMetricsAction")
  *                             .build())
  *                         .statelessRules(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs.builder()
  *                             .priority(1)
  *                             .ruleDefinition(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionArgs.builder()
  *                                 .actions(                                
- *                                     "aws:pass",
- *                                     "ExampleMetricsAction")
+ *                                     "aws:pass",
+ *                                     "ExampleMetricsAction")
  *                                 .matchAttributes(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesArgs.builder()
  *                                     .sources(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs.builder()
- *                                         .addressDefinition("1.2.3.4/32")
+ *                                         .addressDefinition("1.2.3.4/32")
  *                                         .build())
  *                                     .sourcePorts(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePortArgs.builder()
  *                                         .fromPort(443)
  *                                         .toPort(443)
  *                                         .build())
  *                                     .destinations(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs.builder()
- *                                         .addressDefinition("124.1.1.5/32")
+ *                                         .addressDefinition("124.1.1.5/32")
  *                                         .build())
  *                                     .destinationPorts(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPortArgs.builder()
  *                                         .fromPort(443)
@@ -324,10 +333,10 @@
  *                                         .build())
  *                                     .protocols(6)
  *                                     .tcpFlags(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs.builder()
- *                                         .flags("SYN")
+ *                                         .flags("SYN")
  *                                         .masks(                                        
- *                                             "SYN",
- *                                             "ACK")
+ *                                             "SYN",
+ *                                             "ACK")
  *                                         .build())
  *                                     .build())
  *                                 .build())
@@ -336,20 +345,22 @@
  *                     .build())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### IP Set References to the Rule Group * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -374,21 +385,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
+ *         var example = new RuleGroup("example", RuleGroupArgs.builder()        
  *             .capacity(100)
- *             .name("example")
- *             .type("STATEFUL")
+ *             .name("example")
+ *             .type("STATEFUL")
  *             .ruleGroup(RuleGroupRuleGroupArgs.builder()
  *                 .rulesSource(RuleGroupRuleGroupRulesSourceArgs.builder()
  *                     .rulesSourceList(RuleGroupRuleGroupRulesSourceRulesSourceListArgs.builder()
- *                         .generatedRulesType("DENYLIST")
- *                         .targetTypes("HTTP_HOST")
- *                         .targets("test.example.com")
+ *                         .generatedRulesType("DENYLIST")
+ *                         .targetTypes("HTTP_HOST")
+ *                         .targets("test.example.com")
  *                         .build())
  *                     .build())
  *                 .referenceSets(RuleGroupRuleGroupReferenceSetsArgs.builder()
  *                     .ipSetReferences(RuleGroupRuleGroupReferenceSetsIpSetReferenceArgs.builder()
- *                         .key("example")
+ *                         .key("example")
  *                         .ipSetReferences(RuleGroupRuleGroupReferenceSetsIpSetReferenceIpSetReferenceArgs.builder()
  *                             .referenceArn(this_.arn())
  *                             .build())
@@ -396,14 +407,15 @@
  *                     .build())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/AttachmentAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/AttachmentAccepter.java index 0cdffc4829c..079fdfd38a3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/AttachmentAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/AttachmentAccepter.java @@ -22,7 +22,8 @@ * ### Example with VPC attachment * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,20 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AttachmentAccepter("test", AttachmentAccepterArgs.builder()        
+ *         var test = new AttachmentAccepter("test", AttachmentAccepterArgs.builder()        
  *             .attachmentId(vpc.id())
  *             .attachmentType(vpc.attachmentType())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with site-to-site VPN attachment * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,14 +80,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AttachmentAccepter("test", AttachmentAccepterArgs.builder()        
+ *         var test = new AttachmentAccepter("test", AttachmentAccepterArgs.builder()        
  *             .attachmentId(vpn.id())
  *             .attachmentType(vpn.attachmentType())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectAttachment.java index 455de566d02..b8962803362 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectAttachment.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,30 +50,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
- *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
+ *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .transportAttachmentId(example.id())
  *             .edgeLocation(example.edgeLocation())
  *             .options(ConnectAttachmentOptionsArgs.builder()
- *                 .protocol("GRE")
+ *                 .protocol("GRE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with attachment accepter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -99,36 +102,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
- *         var exampleAttachmentAccepter = new AttachmentAccepter("exampleAttachmentAccepter", AttachmentAccepterArgs.builder()        
+ *         var exampleAttachmentAccepter = new AttachmentAccepter("exampleAttachmentAccepter", AttachmentAccepterArgs.builder()        
  *             .attachmentId(example.id())
  *             .attachmentType(example.attachmentType())
  *             .build());
  * 
- *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
+ *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .transportAttachmentId(example.id())
  *             .edgeLocation(example.edgeLocation())
  *             .options(ConnectAttachmentOptionsArgs.builder()
- *                 .protocol("GRE")
+ *                 .protocol("GRE")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(test)
  *                 .build());
  * 
- *         var example2 = new AttachmentAccepter("example2", AttachmentAccepterArgs.builder()        
+ *         var example2 = new AttachmentAccepter("example2", AttachmentAccepterArgs.builder()        
  *             .attachmentId(exampleConnectAttachment.id())
  *             .attachmentType(exampleConnectAttachment.attachmentType())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectPeer.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectPeer.java index 2558dcaa5cc..69dc1c334b2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectPeer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/ConnectPeer.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,39 +54,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
- *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
+ *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .transportAttachmentId(example.id())
  *             .edgeLocation(example.edgeLocation())
  *             .options(ConnectAttachmentOptionsArgs.builder()
- *                 .protocol("GRE")
+ *                 .protocol("GRE")
  *                 .build())
  *             .build());
  * 
- *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
+ *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
  *             .connectAttachmentId(exampleConnectAttachment.id())
- *             .peerAddress("127.0.0.1")
+ *             .peerAddress("127.0.0.1")
  *             .bgpOptions(ConnectPeerBgpOptionsArgs.builder()
  *                 .peerAsn(65000)
  *                 .build())
- *             .insideCidrBlocks("172.16.0.0/16")
+ *             .insideCidrBlocks("172.16.0.0/16")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with attachment accepter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -115,53 +118,55 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
- *         var exampleAttachmentAccepter = new AttachmentAccepter("exampleAttachmentAccepter", AttachmentAccepterArgs.builder()        
+ *         var exampleAttachmentAccepter = new AttachmentAccepter("exampleAttachmentAccepter", AttachmentAccepterArgs.builder()        
  *             .attachmentId(example.id())
  *             .attachmentType(example.attachmentType())
  *             .build());
  * 
- *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
+ *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .transportAttachmentId(example.id())
  *             .edgeLocation(example.edgeLocation())
  *             .options(ConnectAttachmentOptionsArgs.builder()
- *                 .protocol("GRE")
+ *                 .protocol("GRE")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(test)
  *                 .build());
  * 
- *         var example2 = new AttachmentAccepter("example2", AttachmentAccepterArgs.builder()        
+ *         var example2 = new AttachmentAccepter("example2", AttachmentAccepterArgs.builder()        
  *             .attachmentId(exampleConnectAttachment.id())
  *             .attachmentType(exampleConnectAttachment.attachmentType())
  *             .build());
  * 
- *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
+ *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
  *             .connectAttachmentId(exampleConnectAttachment.id())
- *             .peerAddress("127.0.0.1")
+ *             .peerAddress("127.0.0.1")
  *             .bgpOptions(ConnectPeerBgpOptionsArgs.builder()
  *                 .peerAsn(65500)
  *                 .build())
- *             .insideCidrBlocks("172.16.0.0/16")
+ *             .insideCidrBlocks("172.16.0.0/16")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example2)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with a Tunnel-less Connect attachment * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -188,24 +193,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
- *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
+ *         var exampleConnectAttachment = new ConnectAttachment("exampleConnectAttachment", ConnectAttachmentArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .transportAttachmentId(example.id())
  *             .edgeLocation(example.edgeLocation())
  *             .options(ConnectAttachmentOptionsArgs.builder()
- *                 .protocol("NO_ENCAP")
+ *                 .protocol("NO_ENCAP")
  *                 .build())
  *             .build());
  * 
- *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
+ *         var exampleConnectPeer = new ConnectPeer("exampleConnectPeer", ConnectPeerArgs.builder()        
  *             .connectAttachmentId(exampleConnectAttachment.id())
- *             .peerAddress("127.0.0.1")
+ *             .peerAddress("127.0.0.1")
  *             .bgpOptions(ConnectPeerBgpOptionsArgs.builder()
  *                 .peerAsn(65000)
  *                 .build())
@@ -214,7 +219,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Connection.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Connection.java index 5b8e1fc9e2d..a13bbac1d3e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Connection.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,7 +44,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connection("example", ConnectionArgs.builder()        
+ *         var example = new Connection("example", ConnectionArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .deviceId(example1.id())
  *             .connectedDeviceId(example2.id())
@@ -51,7 +52,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetwork.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetwork.java index 1a628672116..c4e7b65b39a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetwork.java @@ -27,7 +27,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,19 +49,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
+ *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With description * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,20 +84,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
+ *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
- *             .description("example")
+ *             .description("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -115,14 +120,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
+ *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
- *             .tags(Map.of("hello", "world"))
+ *             .tags(Map.of("hello", "world"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With VPC Attachment (Single Region) @@ -137,7 +143,8 @@ * If you require a custom ASN for the edge location, please use the `base_policy_document` argument to pass a specific ASN. For example: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -165,66 +172,68 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
  *         final var base = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                     .location("us-west-2")
- *                     .asn("65500")
+ *                     .location("us-west-2")
+ *                     .asn("65500")
  *                     .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
- *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
+ *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
+ *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                     .location("us-west-2")
- *                     .asn("65500")
+ *                     .location("us-west-2")
+ *                     .asn("65500")
  *                     .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                 .action("create-route")
- *                 .segment("segment")
- *                 .destinationCidrBlocks("0.0.0.0/0")
+ *                 .action("create-route")
+ *                 .segment("segment")
+ *                 .destinationCidrBlocks("0.0.0.0/0")
  *                 .destinations(exampleVpcAttachment.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Option 2 - create_base_policy only * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -252,45 +261,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
+ *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                     .location("us-west-2")
+ *                     .location("us-west-2")
  *                     .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                 .action("create-route")
- *                 .segment("segment")
- *                 .destinationCidrBlocks("0.0.0.0/0")
+ *                 .action("create-route")
+ *                 .segment("segment")
+ *                 .destinationCidrBlocks("0.0.0.0/0")
  *                 .destinations(exampleVpcAttachment.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With VPC Attachment (Multi-Region) @@ -303,7 +313,8 @@ * ### Option 1 - using base_policy_document * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -331,93 +342,95 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
  *         final var base = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(                
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-west-2")
- *                         .asn("65500")
+ *                         .location("us-west-2")
+ *                         .asn("65500")
  *                         .build(),
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-east-1")
- *                         .asn("65501")
+ *                         .location("us-east-1")
+ *                         .asn("65501")
  *                         .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
- *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
+ *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
+ *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsWest2AwsVpc.arn())
  *             .build());
  * 
- *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
+ *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsEast1AwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(                
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-west-2")
- *                         .asn("65500")
+ *                         .location("us-west-2")
+ *                         .asn("65500")
  *                         .build(),
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-east-1")
- *                         .asn("65501")
+ *                         .location("us-east-1")
+ *                         .asn("65501")
  *                         .build())
  *                 .build())
  *             .segments(            
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment")
+ *                     .name("segment")
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment2")
+ *                     .name("segment2")
  *                     .build())
  *             .segmentActions(            
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.0.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.0.0.0/16")
  *                     .destinations(exampleUsWest2.id())
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.1.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.1.0.0/16")
  *                     .destinations(exampleUsEast1.id())
  *                     .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Option 2 - using base_policy_regions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -445,69 +458,70 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
  *             .basePolicyRegions(            
- *                 "us-west-2",
- *                 "us-east-1")
+ *                 "us-west-2",
+ *                 "us-east-1")
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
+ *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsWest2AwsVpc.arn())
  *             .build());
  * 
- *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
+ *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsEast1AwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(                
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-west-2")
+ *                         .location("us-west-2")
  *                         .build(),
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-east-1")
+ *                         .location("us-east-1")
  *                         .build())
  *                 .build())
  *             .segments(            
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment")
+ *                     .name("segment")
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment2")
+ *                     .name("segment2")
  *                     .build())
  *             .segmentActions(            
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.0.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.0.0.0/16")
  *                     .destinations(exampleUsWest2.id())
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.1.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.1.0.0/16")
  *                     .destinations(exampleUsEast1.id())
  *                     .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetworkPolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetworkPolicyAttachment.java index e1b1edbd761..829858c18dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetworkPolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CoreNetworkPolicyAttachment.java @@ -23,7 +23,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
+ *         var example = new CoreNetwork("example", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(example.id())
  *             .policyDocument(exampleAwsNetworkmanagerCoreNetworkPolicyDocument.json())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With VPC Attachment (Single Region) @@ -70,7 +72,8 @@ * ### Option 1 - using base_policy_document * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,66 +101,68 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
  *         final var base = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                     .location("us-west-2")
- *                     .asn("65500")
+ *                     .location("us-west-2")
+ *                     .asn("65500")
  *                     .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
- *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
+ *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
+ *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                     .location("us-west-2")
- *                     .asn("65500")
+ *                     .location("us-west-2")
+ *                     .asn("65500")
  *                     .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                 .action("create-route")
- *                 .segment("segment")
- *                 .destinationCidrBlocks("0.0.0.0/0")
+ *                 .action("create-route")
+ *                 .segment("segment")
+ *                 .destinationCidrBlocks("0.0.0.0/0")
  *                 .destinations(exampleVpcAttachment.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Option 2 - create_base_policy only * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -185,45 +190,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
+ *         var exampleVpcAttachment = new VpcAttachment("exampleVpcAttachment", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleAwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleAwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                     .location("us-west-2")
+ *                     .location("us-west-2")
  *                     .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                 .action("create-route")
- *                 .segment("segment")
- *                 .destinationCidrBlocks("0.0.0.0/0")
+ *                 .action("create-route")
+ *                 .segment("segment")
+ *                 .destinationCidrBlocks("0.0.0.0/0")
  *                 .destinations(exampleVpcAttachment.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With VPC Attachment (Multi-Region) @@ -236,7 +242,8 @@ * ### Option 1 - using base_policy_document * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -264,93 +271,95 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
  *         final var base = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(                
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-west-2")
- *                         .asn("65500")
+ *                         .location("us-west-2")
+ *                         .asn("65500")
  *                         .build(),
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-east-1")
- *                         .asn("65501")
+ *                         .location("us-east-1")
+ *                         .asn("65501")
  *                         .build())
  *                 .build())
  *             .segments(GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                 .name("segment")
+ *                 .name("segment")
  *                 .build())
  *             .build());
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
- *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
+ *             .basePolicyDocument(base.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json()))
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
+ *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsWest2AwsVpc.arn())
  *             .build());
  * 
- *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
+ *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsEast1AwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(                
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-west-2")
- *                         .asn("65500")
+ *                         .location("us-west-2")
+ *                         .asn("65500")
  *                         .build(),
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-east-1")
- *                         .asn("65501")
+ *                         .location("us-east-1")
+ *                         .asn("65501")
  *                         .build())
  *                 .build())
  *             .segments(            
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment")
+ *                     .name("segment")
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment2")
+ *                     .name("segment2")
  *                     .build())
  *             .segmentActions(            
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.0.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.0.0.0/16")
  *                     .destinations(exampleUsWest2.id())
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.1.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.1.0.0/16")
  *                     .destinations(exampleUsEast1.id())
  *                     .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Option 2 - using base_policy_regions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -378,69 +387,70 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
+ *         var exampleGlobalNetwork = new GlobalNetwork("exampleGlobalNetwork");
  * 
- *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
+ *         var exampleCoreNetwork = new CoreNetwork("exampleCoreNetwork", CoreNetworkArgs.builder()        
  *             .globalNetworkId(exampleGlobalNetwork.id())
  *             .basePolicyRegions(            
- *                 "us-west-2",
- *                 "us-east-1")
+ *                 "us-west-2",
+ *                 "us-east-1")
  *             .createBasePolicy(true)
  *             .build());
  * 
- *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
+ *         var exampleUsWest2 = new VpcAttachment("exampleUsWest2", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsWest2AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsWest2AwsVpc.arn())
  *             .build());
  * 
- *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
+ *         var exampleUsEast1 = new VpcAttachment("exampleUsEast1", VpcAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
+ *             .subnetArns(exampleUsEast1AwsSubnet.stream().map(element -> element.arn()).collect(toList()))
  *             .vpcArn(exampleUsEast1AwsVpc.arn())
  *             .build());
  * 
  *         final var example = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
  *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
- *                 .asnRanges("65022-65534")
+ *                 .asnRanges("65022-65534")
  *                 .edgeLocations(                
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-west-2")
+ *                         .location("us-west-2")
  *                         .build(),
  *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
- *                         .location("us-east-1")
+ *                         .location("us-east-1")
  *                         .build())
  *                 .build())
  *             .segments(            
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment")
+ *                     .name("segment")
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
- *                     .name("segment2")
+ *                     .name("segment2")
  *                     .build())
  *             .segmentActions(            
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.0.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.0.0.0/16")
  *                     .destinations(exampleUsWest2.id())
  *                     .build(),
  *                 GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
- *                     .action("create-route")
- *                     .segment("segment")
- *                     .destinationCidrBlocks("10.1.0.0/16")
+ *                     .action("create-route")
+ *                     .segment("segment")
+ *                     .destinationCidrBlocks("10.1.0.0/16")
  *                     .destinations(exampleUsEast1.id())
  *                     .build())
  *             .build());
  * 
- *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
+ *         var exampleCoreNetworkPolicyAttachment = new CoreNetworkPolicyAttachment("exampleCoreNetworkPolicyAttachment", CoreNetworkPolicyAttachmentArgs.builder()        
  *             .coreNetworkId(exampleCoreNetwork.id())
- *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
+ *             .policyDocument(example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult).applyValue(example -> example.applyValue(getCoreNetworkPolicyDocumentResult -> getCoreNetworkPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CustomerGatewayAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CustomerGatewayAssociation.java index 4fb31d54c8e..777972a0d57 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CustomerGatewayAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/CustomerGatewayAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,42 +57,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalNetwork("example", GlobalNetworkArgs.builder()        
- *             .description("example")
+ *         var example = new GlobalNetwork("example", GlobalNetworkArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
- *         var exampleSite = new Site("exampleSite", SiteArgs.builder()        
+ *         var exampleSite = new Site("exampleSite", SiteArgs.builder()        
  *             .globalNetworkId(example.id())
  *             .build());
  * 
- *         var exampleDevice = new Device("exampleDevice", DeviceArgs.builder()        
+ *         var exampleDevice = new Device("exampleDevice", DeviceArgs.builder()        
  *             .globalNetworkId(example.id())
  *             .siteId(exampleSite.id())
  *             .build());
  * 
- *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
+ *         var exampleCustomerGateway = new CustomerGateway("exampleCustomerGateway", CustomerGatewayArgs.builder()        
  *             .bgpAsn(65000)
- *             .ipAddress("172.83.124.10")
- *             .type("ipsec.1")
+ *             .ipAddress("172.83.124.10")
+ *             .type("ipsec.1")
  *             .build());
  * 
- *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway");
+ *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway");
  * 
- *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
+ *         var exampleVpnConnection = new VpnConnection("exampleVpnConnection", VpnConnectionArgs.builder()        
  *             .customerGatewayId(exampleCustomerGateway.id())
  *             .transitGatewayId(exampleTransitGateway.id())
  *             .type(exampleCustomerGateway.type())
  *             .staticRoutesOnly(true)
  *             .build());
  * 
- *         var exampleTransitGatewayRegistration = new TransitGatewayRegistration("exampleTransitGatewayRegistration", TransitGatewayRegistrationArgs.builder()        
+ *         var exampleTransitGatewayRegistration = new TransitGatewayRegistration("exampleTransitGatewayRegistration", TransitGatewayRegistrationArgs.builder()        
  *             .globalNetworkId(example.id())
  *             .transitGatewayArn(exampleTransitGateway.arn())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleVpnConnection)
  *                 .build());
  * 
- *         var exampleCustomerGatewayAssociation = new CustomerGatewayAssociation("exampleCustomerGatewayAssociation", CustomerGatewayAssociationArgs.builder()        
+ *         var exampleCustomerGatewayAssociation = new CustomerGatewayAssociation("exampleCustomerGatewayAssociation", CustomerGatewayAssociationArgs.builder()        
  *             .globalNetworkId(example.id())
  *             .customerGatewayArn(exampleCustomerGateway.arn())
  *             .deviceId(exampleDevice.id())
@@ -101,7 +102,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Device.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Device.java index ae8b992cca5..8a5c82f328b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Device.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Device.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Device("example", DeviceArgs.builder()        
+ *         var example = new Device("example", DeviceArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .siteId(exampleAwsNetworkmanagerSite.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/GlobalNetwork.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/GlobalNetwork.java index 08935318eb9..953eab2a20e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/GlobalNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/GlobalNetwork.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalNetwork("example", GlobalNetworkArgs.builder()        
- *             .description("example")
+ *         var example = new GlobalNetwork("example", GlobalNetworkArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Link.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Link.java index a14c3a7a49a..79398623f0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Link.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Link.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Link("example", LinkArgs.builder()        
+ *         var example = new Link("example", LinkArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .siteId(exampleAwsNetworkmanagerSite.id())
  *             .bandwidth(LinkBandwidthArgs.builder()
  *                 .uploadSpeed(10)
  *                 .downloadSpeed(50)
  *                 .build())
- *             .providerName("MegaCorp")
+ *             .providerName("MegaCorp")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/LinkAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/LinkAssociation.java index 9995c7d5a80..e64cf44a3d6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/LinkAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/LinkAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,7 +43,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new LinkAssociation("example", LinkAssociationArgs.builder()        
+ *         var example = new LinkAssociation("example", LinkAssociationArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .linkId(exampleAwsNetworkmanagerLink.id())
  *             .deviceId(exampleAwsNetworkmanagerDevice.id())
@@ -50,7 +51,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/NetworkmanagerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/NetworkmanagerFunctions.java index 4cc3eac4f19..27e480aa9e8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/NetworkmanagerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/NetworkmanagerFunctions.java @@ -50,7 +50,8 @@ public final class NetworkmanagerFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -78,7 +79,8 @@ public final class NetworkmanagerFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -91,7 +93,8 @@ public static Output getConnection(GetConnectionArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -119,7 +122,8 @@ public static Output getConnection(GetConnectionArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -132,7 +136,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -160,7 +165,8 @@ public static CompletableFuture getConnectionPlain(GetConne
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -173,7 +179,8 @@ public static Output getConnection(GetConnectionArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -201,7 +208,8 @@ public static Output getConnection(GetConnectionArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -214,7 +222,8 @@ public static CompletableFuture getConnectionPlain(GetConne * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -237,12 +246,13 @@ public static CompletableFuture getConnectionPlain(GetConne
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getConnections(GetConnectionsArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -255,7 +265,8 @@ public static Output getConnections(GetConnectionsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -278,12 +289,13 @@ public static Output getConnections(GetConnectionsArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getConnections(GetConnectionsArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -296,7 +308,8 @@ public static CompletableFuture getConnectionsPlain(GetCon * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -319,12 +332,13 @@ public static CompletableFuture getConnectionsPlain(GetCon
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getConnections(GetConnectionsArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -337,7 +351,8 @@ public static Output getConnections(GetConnectionsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -360,12 +375,13 @@ public static Output getConnections(GetConnectionsArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getConnections(GetConnectionsArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -382,7 +398,8 @@ public static CompletableFuture getConnectionsPlain(GetCon * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -406,68 +423,69 @@ public static CompletableFuture getConnectionsPlain(GetCon
      *         final var test = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
      *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
      *                 .vpnEcmpSupport(false)
-     *                 .asnRanges("64512-64555")
+     *                 .asnRanges("64512-64555")
      *                 .edgeLocations(                
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("us-east-1")
+     *                         .location("us-east-1")
      *                         .asn(64512)
      *                         .build(),
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("eu-central-1")
+     *                         .location("eu-central-1")
      *                         .asn(64513)
      *                         .build())
      *                 .build())
      *             .segments(            
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("shared")
-     *                     .description("Segment for shared services")
+     *                     .name("shared")
+     *                     .description("Segment for shared services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("prod")
-     *                     .description("Segment for prod services")
+     *                     .name("prod")
+     *                     .description("Segment for prod services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build())
      *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
-     *                 .action("share")
-     *                 .mode("attachment-route")
-     *                 .segment("shared")
-     *                 .shareWiths("*")
+     *                 .action("share")
+     *                 .mode("attachment-route")
+     *                 .segment("shared")
+     *                 .shareWiths("*")
      *                 .build())
      *             .attachmentPolicies(            
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(100)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("shared")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("shared")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("shared")
+     *                         .associationMethod("constant")
+     *                         .segment("shared")
      *                         .build())
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(200)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("prod")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("prod")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("prod")
+     *                         .associationMethod("constant")
+     *                         .segment("prod")
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_networkmanager_core_network_policy_document.test.json` will evaluate to: @@ -486,7 +504,8 @@ public static Output getCoreNetworkPolicyDoc * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -510,68 +529,69 @@ public static Output getCoreNetworkPolicyDoc
      *         final var test = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
      *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
      *                 .vpnEcmpSupport(false)
-     *                 .asnRanges("64512-64555")
+     *                 .asnRanges("64512-64555")
      *                 .edgeLocations(                
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("us-east-1")
+     *                         .location("us-east-1")
      *                         .asn(64512)
      *                         .build(),
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("eu-central-1")
+     *                         .location("eu-central-1")
      *                         .asn(64513)
      *                         .build())
      *                 .build())
      *             .segments(            
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("shared")
-     *                     .description("Segment for shared services")
+     *                     .name("shared")
+     *                     .description("Segment for shared services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("prod")
-     *                     .description("Segment for prod services")
+     *                     .name("prod")
+     *                     .description("Segment for prod services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build())
      *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
-     *                 .action("share")
-     *                 .mode("attachment-route")
-     *                 .segment("shared")
-     *                 .shareWiths("*")
+     *                 .action("share")
+     *                 .mode("attachment-route")
+     *                 .segment("shared")
+     *                 .shareWiths("*")
      *                 .build())
      *             .attachmentPolicies(            
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(100)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("shared")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("shared")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("shared")
+     *                         .associationMethod("constant")
+     *                         .segment("shared")
      *                         .build())
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(200)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("prod")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("prod")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("prod")
+     *                         .associationMethod("constant")
+     *                         .segment("prod")
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_networkmanager_core_network_policy_document.test.json` will evaluate to: @@ -590,7 +610,8 @@ public static CompletableFuture getCoreNetwo * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -614,68 +635,69 @@ public static CompletableFuture getCoreNetwo
      *         final var test = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
      *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
      *                 .vpnEcmpSupport(false)
-     *                 .asnRanges("64512-64555")
+     *                 .asnRanges("64512-64555")
      *                 .edgeLocations(                
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("us-east-1")
+     *                         .location("us-east-1")
      *                         .asn(64512)
      *                         .build(),
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("eu-central-1")
+     *                         .location("eu-central-1")
      *                         .asn(64513)
      *                         .build())
      *                 .build())
      *             .segments(            
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("shared")
-     *                     .description("Segment for shared services")
+     *                     .name("shared")
+     *                     .description("Segment for shared services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("prod")
-     *                     .description("Segment for prod services")
+     *                     .name("prod")
+     *                     .description("Segment for prod services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build())
      *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
-     *                 .action("share")
-     *                 .mode("attachment-route")
-     *                 .segment("shared")
-     *                 .shareWiths("*")
+     *                 .action("share")
+     *                 .mode("attachment-route")
+     *                 .segment("shared")
+     *                 .shareWiths("*")
      *                 .build())
      *             .attachmentPolicies(            
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(100)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("shared")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("shared")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("shared")
+     *                         .associationMethod("constant")
+     *                         .segment("shared")
      *                         .build())
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(200)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("prod")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("prod")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("prod")
+     *                         .associationMethod("constant")
+     *                         .segment("prod")
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_networkmanager_core_network_policy_document.test.json` will evaluate to: @@ -694,7 +716,8 @@ public static Output getCoreNetworkPolicyDoc * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -718,68 +741,69 @@ public static Output getCoreNetworkPolicyDoc
      *         final var test = NetworkmanagerFunctions.getCoreNetworkPolicyDocument(GetCoreNetworkPolicyDocumentArgs.builder()
      *             .coreNetworkConfigurations(GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs.builder()
      *                 .vpnEcmpSupport(false)
-     *                 .asnRanges("64512-64555")
+     *                 .asnRanges("64512-64555")
      *                 .edgeLocations(                
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("us-east-1")
+     *                         .location("us-east-1")
      *                         .asn(64512)
      *                         .build(),
      *                     GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs.builder()
-     *                         .location("eu-central-1")
+     *                         .location("eu-central-1")
      *                         .asn(64513)
      *                         .build())
      *                 .build())
      *             .segments(            
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("shared")
-     *                     .description("Segment for shared services")
+     *                     .name("shared")
+     *                     .description("Segment for shared services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentSegmentArgs.builder()
-     *                     .name("prod")
-     *                     .description("Segment for prod services")
+     *                     .name("prod")
+     *                     .description("Segment for prod services")
      *                     .requireAttachmentAcceptance(true)
      *                     .build())
      *             .segmentActions(GetCoreNetworkPolicyDocumentSegmentActionArgs.builder()
-     *                 .action("share")
-     *                 .mode("attachment-route")
-     *                 .segment("shared")
-     *                 .shareWiths("*")
+     *                 .action("share")
+     *                 .mode("attachment-route")
+     *                 .segment("shared")
+     *                 .shareWiths("*")
      *                 .build())
      *             .attachmentPolicies(            
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(100)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("shared")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("shared")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("shared")
+     *                         .associationMethod("constant")
+     *                         .segment("shared")
      *                         .build())
      *                     .build(),
      *                 GetCoreNetworkPolicyDocumentAttachmentPolicyArgs.builder()
      *                     .ruleNumber(200)
-     *                     .conditionLogic("or")
+     *                     .conditionLogic("or")
      *                     .conditions(GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs.builder()
-     *                         .type("tag-value")
-     *                         .operator("equals")
-     *                         .key("segment")
-     *                         .value("prod")
+     *                         .type("tag-value")
+     *                         .operator("equals")
+     *                         .key("segment")
+     *                         .value("prod")
      *                         .build())
      *                     .action(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.builder()
-     *                         .associationMethod("constant")
-     *                         .segment("prod")
+     *                         .associationMethod("constant")
+     *                         .segment("prod")
      *                         .build())
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * `data.aws_networkmanager_core_network_policy_document.test.json` will evaluate to: @@ -794,7 +818,8 @@ public static CompletableFuture getCoreNetwo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -822,7 +847,8 @@ public static CompletableFuture getCoreNetwo
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -835,7 +861,8 @@ public static Output getDevice(GetDeviceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -863,7 +890,8 @@ public static Output getDevice(GetDeviceArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -876,7 +904,8 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -904,7 +933,8 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -917,7 +947,8 @@ public static Output getDevice(GetDeviceArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -945,7 +976,8 @@ public static Output getDevice(GetDeviceArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -958,7 +990,8 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -981,12 +1014,13 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getDevices(GetDevicesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -999,7 +1033,8 @@ public static Output getDevices(GetDevicesArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1022,12 +1057,13 @@ public static Output getDevices(GetDevicesArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getDevices(GetDevicesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1040,7 +1076,8 @@ public static CompletableFuture getDevicesPlain(GetDevicesPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1063,12 +1100,13 @@ public static CompletableFuture getDevicesPlain(GetDevicesPlai
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getDevices(GetDevicesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1081,7 +1119,8 @@ public static Output getDevices(GetDevicesArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1104,12 +1143,13 @@ public static Output getDevices(GetDevicesArgs args, InvokeOpt
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getDevices(GetDevicesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1122,7 +1162,8 @@ public static CompletableFuture getDevicesPlain(GetDevicesPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1149,7 +1190,8 @@ public static CompletableFuture getDevicesPlain(GetDevicesPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1162,7 +1204,8 @@ public static Output getGlobalNetwork(GetGlobalNetworkAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1189,7 +1232,8 @@ public static Output getGlobalNetwork(GetGlobalNetworkAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1202,7 +1246,8 @@ public static CompletableFuture getGlobalNetworkPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1229,7 +1274,8 @@ public static CompletableFuture getGlobalNetworkPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1242,7 +1288,8 @@ public static Output getGlobalNetwork(GetGlobalNetworkAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1269,7 +1316,8 @@ public static Output getGlobalNetwork(GetGlobalNetworkAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1282,7 +1330,8 @@ public static CompletableFuture getGlobalNetworkPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1304,12 +1353,13 @@ public static CompletableFuture getGlobalNetworkPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getGlobalNetworks(GetGlobalNetworksArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1322,7 +1372,8 @@ public static Output getGlobalNetworks() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1344,12 +1395,13 @@ public static Output getGlobalNetworks() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getGlobalNetworks(GetGlobalNetworksArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1362,7 +1414,8 @@ public static CompletableFuture getGlobalNetworksPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1384,12 +1437,13 @@ public static CompletableFuture getGlobalNetworksPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getGlobalNetworks(GetGlobalNetworksArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1402,7 +1456,8 @@ public static Output getGlobalNetworks(GetGlobalNetwork * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1424,12 +1479,13 @@ public static Output getGlobalNetworks(GetGlobalNetwork
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getGlobalNetworks(GetGlobalNetworksArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1442,7 +1498,8 @@ public static CompletableFuture getGlobalNetworksPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1464,12 +1521,13 @@ public static CompletableFuture getGlobalNetworksPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getGlobalNetworks(GetGlobalNetworksArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1482,7 +1540,8 @@ public static Output getGlobalNetworks(GetGlobalNetwork * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1504,12 +1563,13 @@ public static Output getGlobalNetworks(GetGlobalNetwork
      * 
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getGlobalNetworks(GetGlobalNetworksArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1522,7 +1582,8 @@ public static CompletableFuture getGlobalNetworksPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1550,7 +1611,8 @@ public static CompletableFuture getGlobalNetworksPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1563,7 +1625,8 @@ public static Output getLink(GetLinkArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1591,7 +1654,8 @@ public static Output getLink(GetLinkArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1604,7 +1668,8 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1632,7 +1697,8 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1645,7 +1711,8 @@ public static Output getLink(GetLinkArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1673,7 +1740,8 @@ public static Output getLink(GetLinkArgs args, InvokeOptions opti
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1686,7 +1754,8 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1709,12 +1778,13 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getLinks(GetLinksArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1727,7 +1797,8 @@ public static Output getLinks(GetLinksArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1750,12 +1821,13 @@ public static Output getLinks(GetLinksArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getLinks(GetLinksArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1768,7 +1840,8 @@ public static CompletableFuture getLinksPlain(GetLinksPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1791,12 +1864,13 @@ public static CompletableFuture getLinksPlain(GetLinksPlainArgs
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getLinks(GetLinksArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1809,7 +1883,8 @@ public static Output getLinks(GetLinksArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1832,12 +1907,13 @@ public static Output getLinks(GetLinksArgs args, InvokeOptions o
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getLinks(GetLinksArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1850,7 +1926,8 @@ public static CompletableFuture getLinksPlain(GetLinksPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1878,7 +1955,8 @@ public static CompletableFuture getLinksPlain(GetLinksPlainArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1891,7 +1969,8 @@ public static Output getSite(GetSiteArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1919,7 +1998,8 @@ public static Output getSite(GetSiteArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1932,7 +2012,8 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1960,7 +2041,8 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1973,7 +2055,8 @@ public static Output getSite(GetSiteArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2001,7 +2084,8 @@ public static Output getSite(GetSiteArgs args, InvokeOptions opti
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2014,7 +2098,8 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2037,12 +2122,13 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getSites(GetSitesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2055,7 +2141,8 @@ public static Output getSites(GetSitesArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2078,12 +2165,13 @@ public static Output getSites(GetSitesArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getSites(GetSitesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2096,7 +2184,8 @@ public static CompletableFuture getSitesPlain(GetSitesPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2119,12 +2208,13 @@ public static CompletableFuture getSitesPlain(GetSitesPlainArgs
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getSites(GetSitesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2137,7 +2227,8 @@ public static Output getSites(GetSitesArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2160,12 +2251,13 @@ public static Output getSites(GetSitesArgs args, InvokeOptions o
      *     public static void stack(Context ctx) {
      *         final var example = NetworkmanagerFunctions.getSites(GetSitesArgs.builder()
      *             .globalNetworkId(globalNetworkId)
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Site.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Site.java index 8b1ee7c074e..31d0a2d1ece 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Site.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/Site.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalNetwork("example");
+ *         var example = new GlobalNetwork("example");
  * 
- *         var exampleSite = new Site("exampleSite", SiteArgs.builder()        
+ *         var exampleSite = new Site("exampleSite", SiteArgs.builder()        
  *             .globalNetworkId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/SiteToSiteVpnAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/SiteToSiteVpnAttachment.java index 5be9ccffbe8..67f204bf36e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/SiteToSiteVpnAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/SiteToSiteVpnAttachment.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SiteToSiteVpnAttachment("example", SiteToSiteVpnAttachmentArgs.builder()        
+ *         var example = new SiteToSiteVpnAttachment("example", SiteToSiteVpnAttachmentArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpnConnectionArn(exampleAwsVpnConnection.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayConnectPeerAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayConnectPeerAssociation.java index 62a2be45311..adfa5606520 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayConnectPeerAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayConnectPeerAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,7 +43,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGatewayConnectPeerAssociation("example", TransitGatewayConnectPeerAssociationArgs.builder()        
+ *         var example = new TransitGatewayConnectPeerAssociation("example", TransitGatewayConnectPeerAssociationArgs.builder()        
  *             .globalNetworkId(exampleAwsNetworkmanagerGlobalNetwork.id())
  *             .deviceId(exampleAwsNetworkmanagerDevice.id())
  *             .transitGatewayConnectPeerArn(exampleAwsEc2TransitGatewayConnectPeer.arn())
@@ -50,7 +51,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayPeering.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayPeering.java index b70156cc9b8..7d25772635a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayPeering.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayPeering.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGatewayPeering("example", TransitGatewayPeeringArgs.builder()        
+ *         var example = new TransitGatewayPeering("example", TransitGatewayPeeringArgs.builder()        
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .transitGatewayArn(exampleAwsEc2TransitGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRegistration.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRegistration.java index 506fc3c06a2..102ec713cc7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRegistration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRegistration.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,20 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalNetwork("example", GlobalNetworkArgs.builder()        
- *             .description("example")
+ *         var example = new GlobalNetwork("example", GlobalNetworkArgs.builder()        
+ *             .description("example")
  *             .build());
  * 
- *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway");
+ *         var exampleTransitGateway = new TransitGateway("exampleTransitGateway");
  * 
- *         var exampleTransitGatewayRegistration = new TransitGatewayRegistration("exampleTransitGatewayRegistration", TransitGatewayRegistrationArgs.builder()        
+ *         var exampleTransitGatewayRegistration = new TransitGatewayRegistration("exampleTransitGatewayRegistration", TransitGatewayRegistrationArgs.builder()        
  *             .globalNetworkId(example.id())
  *             .transitGatewayArn(exampleTransitGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRouteTableAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRouteTableAttachment.java index f1620f46d36..b1858aff5d8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRouteTableAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/TransitGatewayRouteTableAttachment.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TransitGatewayRouteTableAttachment("example", TransitGatewayRouteTableAttachmentArgs.builder()        
+ *         var example = new TransitGatewayRouteTableAttachment("example", TransitGatewayRouteTableAttachmentArgs.builder()        
  *             .peeringId(exampleAwsNetworkmanagerTransitGatewayPeering.id())
  *             .transitGatewayRouteTableArn(exampleAwsEc2TransitGatewayRouteTable.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/VpcAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/VpcAttachment.java index 18538b71bfd..84b0e7e61ac 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/networkmanager/VpcAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/networkmanager/VpcAttachment.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,7 +48,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
+ *         var example = new VpcAttachment("example", VpcAttachmentArgs.builder()        
  *             .subnetArns(exampleAwsSubnet.arn())
  *             .coreNetworkId(exampleAwsccNetworkmanagerCoreNetwork.id())
  *             .vpcArn(exampleAwsVpc.arn())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/oam/Link.java b/sdk/java/src/main/java/com/pulumi/aws/oam/Link.java index 75cceeadb04..525244b7ed1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/oam/Link.java +++ b/sdk/java/src/main/java/com/pulumi/aws/oam/Link.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Link("example", LinkArgs.builder()        
- *             .labelTemplate("$AccountName")
- *             .resourceTypes("AWS::CloudWatch::Metric")
+ *         var example = new Link("example", LinkArgs.builder()        
+ *             .labelTemplate("$AccountName")
+ *             .resourceTypes("AWS::CloudWatch::Metric")
  *             .sinkIdentifier(test.id())
- *             .tags(Map.of("Env", "prod"))
+ *             .tags(Map.of("Env", "prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/oam/OamFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/oam/OamFunctions.java index 918254166f5..645a8124f1a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/oam/OamFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/oam/OamFunctions.java @@ -28,7 +28,8 @@ public final class OamFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,12 +51,13 @@ public final class OamFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getLink(GetLinkArgs.builder()
-     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getLink(GetLinkArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,12 +95,13 @@ public static Output getLink(GetLinkArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getLink(GetLinkArgs.builder()
-     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getLink(GetLinkArgs.builder()
-     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -154,7 +160,8 @@ public static Output getLink(GetLinkArgs args, InvokeOptions opti * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -176,12 +183,13 @@ public static Output getLink(GetLinkArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getLink(GetLinkArgs.builder()
-     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .linkIdentifier("arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -196,7 +204,8 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -220,7 +229,8 @@ public static CompletableFuture getLinkPlain(GetLinkPlainArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -235,7 +245,8 @@ public static Output getLinks() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -259,7 +270,8 @@ public static Output getLinks() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -274,7 +286,8 @@ public static CompletableFuture getLinksPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -298,7 +311,8 @@ public static CompletableFuture getLinksPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -313,7 +327,8 @@ public static Output getLinks(InvokeArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -337,7 +352,8 @@ public static Output getLinks(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -352,7 +368,8 @@ public static CompletableFuture getLinksPlain(InvokeArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -376,7 +393,8 @@ public static CompletableFuture getLinksPlain(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -391,7 +409,8 @@ public static Output getLinks(InvokeArgs args, InvokeOptions opt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -415,7 +434,8 @@ public static Output getLinks(InvokeArgs args, InvokeOptions opt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -430,7 +450,8 @@ public static CompletableFuture getLinksPlain(InvokeArgs args, I * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -452,12 +473,13 @@ public static CompletableFuture getLinksPlain(InvokeArgs args, I
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getSink(GetSinkArgs.builder()
-     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -472,7 +494,8 @@ public static Output getSink(GetSinkArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,12 +517,13 @@ public static Output getSink(GetSinkArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getSink(GetSinkArgs.builder()
-     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -514,7 +538,8 @@ public static CompletableFuture getSinkPlain(GetSinkPlainArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -536,12 +561,13 @@ public static CompletableFuture getSinkPlain(GetSinkPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getSink(GetSinkArgs.builder()
-     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -556,7 +582,8 @@ public static Output getSink(GetSinkArgs args, InvokeOptions opti * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -578,12 +605,13 @@ public static Output getSink(GetSinkArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OamFunctions.getSink(GetSinkArgs.builder()
-     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
+     *             .sinkIdentifier("arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -598,7 +626,8 @@ public static CompletableFuture getSinkPlain(GetSinkPlainArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -622,7 +651,8 @@ public static CompletableFuture getSinkPlain(GetSinkPlainArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -637,7 +667,8 @@ public static Output getSinks() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -661,7 +692,8 @@ public static Output getSinks() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -676,7 +708,8 @@ public static CompletableFuture getSinksPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -700,7 +733,8 @@ public static CompletableFuture getSinksPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -715,7 +749,8 @@ public static Output getSinks(InvokeArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -739,7 +774,8 @@ public static Output getSinks(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -754,7 +790,8 @@ public static CompletableFuture getSinksPlain(InvokeArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -778,7 +815,8 @@ public static CompletableFuture getSinksPlain(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -793,7 +831,8 @@ public static Output getSinks(InvokeArgs args, InvokeOptions opt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -817,7 +856,8 @@ public static Output getSinks(InvokeArgs args, InvokeOptions opt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/oam/Sink.java b/sdk/java/src/main/java/com/pulumi/aws/oam/Sink.java index 40cff8f3169..9531953aba0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/oam/Sink.java +++ b/sdk/java/src/main/java/com/pulumi/aws/oam/Sink.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Sink("example", SinkArgs.builder()        
- *             .name("ExampleSink")
- *             .tags(Map.of("Env", "prod"))
+ *         var example = new Sink("example", SinkArgs.builder()        
+ *             .name("ExampleSink")
+ *             .tags(Map.of("Env", "prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/oam/SinkPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/oam/SinkPolicy.java index 82f0507a0c2..86dc76926a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/oam/SinkPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/oam/SinkPolicy.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,33 +46,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Sink("example", SinkArgs.builder()        
- *             .name("ExampleSink")
+ *         var example = new Sink("example", SinkArgs.builder()        
+ *             .name("ExampleSink")
  *             .build());
  * 
- *         var exampleSinkPolicy = new SinkPolicy("exampleSinkPolicy", SinkPolicyArgs.builder()        
+ *         var exampleSinkPolicy = new SinkPolicy("exampleSinkPolicy", SinkPolicyArgs.builder()        
  *             .sinkIdentifier(example.id())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray(
- *                             "oam:CreateLink", 
- *                             "oam:UpdateLink"
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray(
+ *                             "oam:CreateLink", 
+ *                             "oam:UpdateLink"
  *                         )),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", "*"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", jsonArray(
- *                                 "1111111111111", 
- *                                 "222222222222"
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", "*"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", jsonArray(
+ *                                 "1111111111111", 
+ *                                 "222222222222"
  *                             ))
  *                         )),
- *                         jsonProperty("Condition", jsonObject(
- *                             jsonProperty("ForAllValues:StringEquals", jsonObject(
- *                                 jsonProperty("oam:ResourceTypes", jsonArray(
- *                                     "AWS::CloudWatch::Metric", 
- *                                     "AWS::Logs::LogGroup"
+ *                         jsonProperty("Condition", jsonObject(
+ *                             jsonProperty("ForAllValues:StringEquals", jsonObject(
+ *                                 jsonProperty("oam:ResourceTypes", jsonArray(
+ *                                     "AWS::CloudWatch::Metric", 
+ *                                     "AWS::Logs::LogGroup"
  *                                 ))
  *                             ))
  *                         ))
@@ -81,7 +82,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/Domain.java index 5aaa2c1b54c..8183e0eb6c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/Domain.java @@ -54,7 +54,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -76,18 +77,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("example")
- *             .engineVersion("Elasticsearch_7.10")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("example")
+ *             .engineVersion("Elasticsearch_7.10")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r4.large.search")
+ *                 .instanceType("r4.large.search")
  *                 .build())
- *             .tags(Map.of("Domain", "TestDomain"))
+ *             .tags(Map.of("Domain", "TestDomain"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Access Policy @@ -95,7 +97,8 @@ * > See also: `aws.opensearch.DomainPolicy` resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -122,42 +125,44 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var domain = config.get("domain").orElse("tf-test");
+ *         final var domain = config.get("domain").orElse("tf-test");
  *         final var current = AwsFunctions.getRegion();
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("es:*")
- *                 .resources(String.format("arn:aws:es:%s:%s:domain/%s/*", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
+ *                 .actions("es:*")
+ *                 .resources(String.format("arn:aws:es:%s:%s:domain/%s/*", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("IpAddress")
- *                     .variable("aws:SourceIp")
- *                     .values("66.193.100.22/32")
+ *                     .test("IpAddress")
+ *                     .variable("aws:SourceIp")
+ *                     .values("66.193.100.22/32")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
  *             .domainName(domain)
- *             .accessPolicies(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .accessPolicies(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Log publishing to CloudWatch Logs * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -185,46 +190,48 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
- *             .name("example")
+ *         var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("es.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("es.amazonaws.com")
  *                     .build())
  *                 .actions(                
- *                     "logs:PutLogEvents",
- *                     "logs:PutLogEventsBatch",
- *                     "logs:CreateLogStream")
- *                 .resources("arn:aws:logs:*")
+ *                     "logs:PutLogEvents",
+ *                     "logs:PutLogEventsBatch",
+ *                     "logs:CreateLogStream")
+ *                 .resources("arn:aws:logs:*")
  *                 .build())
  *             .build());
  * 
- *         var exampleLogResourcePolicy = new LogResourcePolicy("exampleLogResourcePolicy", LogResourcePolicyArgs.builder()        
- *             .policyName("example")
- *             .policyDocument(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleLogResourcePolicy = new LogResourcePolicy("exampleLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *             .policyName("example")
+ *             .policyDocument(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
  *             .logPublishingOptions(DomainLogPublishingOptionArgs.builder()
  *                 .cloudwatchLogGroupArn(exampleLogGroup.arn())
- *                 .logType("INDEX_SLOW_LOGS")
+ *                 .logType("INDEX_SLOW_LOGS")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### VPC based OpenSearch * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -262,75 +269,76 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var vpc = config.get("vpc");
- *         final var domain = config.get("domain").orElse("tf-test");
+ *         final var vpc = config.get("vpc");
+ *         final var domain = config.get("domain").orElse("tf-test");
  *         final var example = Ec2Functions.getVpc(GetVpcArgs.builder()
- *             .tags(Map.of("Name", vpc))
+ *             .tags(Map.of("Name", vpc))
  *             .build());
  * 
  *         final var exampleGetSubnets = Ec2Functions.getSubnets(GetSubnetsArgs.builder()
  *             .filters(GetSubnetsFilterArgs.builder()
- *                 .name("vpc-id")
- *                 .values(example.applyValue(getVpcResult -> getVpcResult.id()))
+ *                 .name("vpc-id")
+ *                 .values(example.applyValue(getVpcResult -> getVpcResult.id()))
  *                 .build())
- *             .tags(Map.of("Tier", "private"))
+ *             .tags(Map.of("Tier", "private"))
  *             .build());
  * 
  *         final var current = AwsFunctions.getRegion();
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()        
- *             .name(String.format("%s-opensearch-%s", vpc,domain))
- *             .description("Managed by Pulumi")
- *             .vpcId(example.applyValue(getVpcResult -> getVpcResult.id()))
+ *         var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()        
+ *             .name(String.format("%s-opensearch-%s", vpc,domain))
+ *             .description("Managed by Pulumi")
+ *             .vpcId(example.applyValue(getVpcResult -> getVpcResult.id()))
  *             .ingress(SecurityGroupIngressArgs.builder()
  *                 .fromPort(443)
  *                 .toPort(443)
- *                 .protocol("tcp")
- *                 .cidrBlocks(example.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
+ *                 .protocol("tcp")
+ *                 .cidrBlocks(example.applyValue(getVpcResult -> getVpcResult.cidrBlock()))
  *                 .build())
  *             .build());
  * 
- *         var exampleServiceLinkedRole = new ServiceLinkedRole("exampleServiceLinkedRole", ServiceLinkedRoleArgs.builder()        
- *             .awsServiceName("opensearchservice.amazonaws.com")
+ *         var exampleServiceLinkedRole = new ServiceLinkedRole("exampleServiceLinkedRole", ServiceLinkedRoleArgs.builder()        
+ *             .awsServiceName("opensearchservice.amazonaws.com")
  *             .build());
  * 
  *         final var exampleGetPolicyDocument = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("es:*")
- *                 .resources(String.format("arn:aws:es:%s:%s:domain/%s/*", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
+ *                 .actions("es:*")
+ *                 .resources(String.format("arn:aws:es:%s:%s:domain/%s/*", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),domain))
  *                 .build())
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
  *             .domainName(domain)
- *             .engineVersion("OpenSearch_1.0")
+ *             .engineVersion("OpenSearch_1.0")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("m4.large.search")
+ *                 .instanceType("m4.large.search")
  *                 .zoneAwarenessEnabled(true)
  *                 .build())
  *             .vpcOptions(DomainVpcOptionsArgs.builder()
  *                 .subnetIds(                
- *                     exampleGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[0]),
- *                     exampleGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[1]))
+ *                     exampleGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[0]),
+ *                     exampleGetSubnets.applyValue(getSubnetsResult -> getSubnetsResult.ids()[1]))
  *                 .securityGroupIds(exampleSecurityGroup.id())
  *                 .build())
- *             .advancedOptions(Map.of("rest.action.multi.allow_explicit_index", "true"))
- *             .accessPolicies(exampleGetPolicyDocument.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .tags(Map.of("Domain", "TestDomain"))
+ *             .advancedOptions(Map.of("rest.action.multi.allow_explicit_index", "true"))
+ *             .accessPolicies(exampleGetPolicyDocument.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .tags(Map.of("Domain", "TestDomain"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleServiceLinkedRole)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enabling fine-grained access control on an existing domain @@ -340,7 +348,8 @@ * ### First apply * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -368,19 +377,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("ggkitty")
- *             .engineVersion("Elasticsearch_7.1")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("ggkitty")
+ *             .engineVersion("Elasticsearch_7.1")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r5.large.search")
+ *                 .instanceType("r5.large.search")
  *                 .build())
  *             .advancedSecurityOptions(DomainAdvancedSecurityOptionsArgs.builder()
  *                 .enabled(false)
  *                 .anonymousAuthEnabled(true)
  *                 .internalUserDatabaseEnabled(true)
  *                 .masterUserOptions(DomainAdvancedSecurityOptionsMasterUserOptionsArgs.builder()
- *                     .masterUserName("example")
- *                     .masterUserPassword("Barbarbarbar1!")
+ *                     .masterUserName("example")
+ *                     .masterUserPassword("Barbarbarbar1!")
  *                     .build())
  *                 .build())
  *             .encryptAtRest(DomainEncryptAtRestArgs.builder()
@@ -388,7 +397,7 @@
  *                 .build())
  *             .domainEndpointOptions(DomainDomainEndpointOptionsArgs.builder()
  *                 .enforceHttps(true)
- *                 .tlsSecurityPolicy("Policy-Min-TLS-1-2-2019-07")
+ *                 .tlsSecurityPolicy("Policy-Min-TLS-1-2-2019-07")
  *                 .build())
  *             .nodeToNodeEncryption(DomainNodeToNodeEncryptionArgs.builder()
  *                 .enabled(true)
@@ -401,7 +410,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Second apply @@ -409,7 +419,8 @@ * Notice that the only change is `advanced_security_options.0.enabled` is now set to `true`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -437,19 +448,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("ggkitty")
- *             .engineVersion("Elasticsearch_7.1")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("ggkitty")
+ *             .engineVersion("Elasticsearch_7.1")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r5.large.search")
+ *                 .instanceType("r5.large.search")
  *                 .build())
  *             .advancedSecurityOptions(DomainAdvancedSecurityOptionsArgs.builder()
  *                 .enabled(true)
  *                 .anonymousAuthEnabled(true)
  *                 .internalUserDatabaseEnabled(true)
  *                 .masterUserOptions(DomainAdvancedSecurityOptionsMasterUserOptionsArgs.builder()
- *                     .masterUserName("example")
- *                     .masterUserPassword("Barbarbarbar1!")
+ *                     .masterUserName("example")
+ *                     .masterUserPassword("Barbarbarbar1!")
  *                     .build())
  *                 .build())
  *             .encryptAtRest(DomainEncryptAtRestArgs.builder()
@@ -457,7 +468,7 @@
  *                 .build())
  *             .domainEndpointOptions(DomainDomainEndpointOptionsArgs.builder()
  *                 .enforceHttps(true)
- *                 .tlsSecurityPolicy("Policy-Min-TLS-1-2-2019-07")
+ *                 .tlsSecurityPolicy("Policy-Min-TLS-1-2-2019-07")
  *                 .build())
  *             .nodeToNodeEncryption(DomainNodeToNodeEncryptionArgs.builder()
  *                 .enabled(true)
@@ -470,7 +481,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainPolicy.java index 95dd6fadf32..fd0375e9485 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,36 +45,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("tf-test")
- *             .engineVersion("OpenSearch_1.1")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("tf-test")
+ *             .engineVersion("OpenSearch_1.1")
  *             .build());
  * 
  *         final var main = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("es:*")
- *                 .resources(example.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                 .actions("es:*")
+ *                 .resources(example.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("IpAddress")
- *                     .variable("aws:SourceIp")
- *                     .values("127.0.0.1/32")
+ *                     .test("IpAddress")
+ *                     .variable("aws:SourceIp")
+ *                     .values("127.0.0.1/32")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var mainDomainPolicy = new DomainPolicy("mainDomainPolicy", DomainPolicyArgs.builder()        
+ *         var mainDomainPolicy = new DomainPolicy("mainDomainPolicy", DomainPolicyArgs.builder()        
  *             .domainName(example.domainName())
- *             .accessPolicies(main.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(main -> main.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .accessPolicies(main.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(main -> main.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainSamlOptions.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainSamlOptions.java index 99a54cd6af9..f60c5cbf0b9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainSamlOptions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/DomainSamlOptions.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,26 +51,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Domain("example", DomainArgs.builder()        
- *             .domainName("example")
- *             .engineVersion("OpenSearch_1.1")
+ *         var example = new Domain("example", DomainArgs.builder()        
+ *             .domainName("example")
+ *             .engineVersion("OpenSearch_1.1")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r4.large.search")
+ *                 .instanceType("r4.large.search")
  *                 .build())
  *             .snapshotOptions(DomainSnapshotOptionsArgs.builder()
  *                 .automatedSnapshotStartHour(23)
  *                 .build())
- *             .tags(Map.of("Domain", "TestDomain"))
+ *             .tags(Map.of("Domain", "TestDomain"))
  *             .build());
  * 
- *         var exampleDomainSamlOptions = new DomainSamlOptions("exampleDomainSamlOptions", DomainSamlOptionsArgs.builder()        
+ *         var exampleDomainSamlOptions = new DomainSamlOptions("exampleDomainSamlOptions", DomainSamlOptionsArgs.builder()        
  *             .domainName(example.domainName())
  *             .samlOptions(DomainSamlOptionsSamlOptionsArgs.builder()
  *                 .enabled(true)
  *                 .idp(DomainSamlOptionsSamlOptionsIdpArgs.builder()
- *                     .entityId("https://example.com")
+ *                     .entityId("https://example.com")
  *                     .metadataContent(StdFunctions.file(FileArgs.builder()
- *                         .input("./saml-metadata.xml")
+ *                         .input("./saml-metadata.xml")
  *                         .build()).result())
  *                     .build())
  *                 .build())
@@ -77,7 +78,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/InboundConnectionAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/InboundConnectionAccepter.java index ef959a0becb..430124420b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/InboundConnectionAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/InboundConnectionAccepter.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,27 +54,28 @@
  * 
  *         final var currentGetRegion = AwsFunctions.getRegion();
  * 
- *         var foo = new OutboundConnection("foo", OutboundConnectionArgs.builder()        
- *             .connectionAlias("outbound_connection")
+ *         var foo = new OutboundConnection("foo", OutboundConnectionArgs.builder()        
+ *             .connectionAlias("outbound_connection")
  *             .localDomainInfo(OutboundConnectionLocalDomainInfoArgs.builder()
- *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .domainName(localDomain.domainName())
  *                 .build())
  *             .remoteDomainInfo(OutboundConnectionRemoteDomainInfoArgs.builder()
- *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .domainName(remoteDomain.domainName())
  *                 .build())
  *             .build());
  * 
- *         var fooInboundConnectionAccepter = new InboundConnectionAccepter("fooInboundConnectionAccepter", InboundConnectionAccepterArgs.builder()        
+ *         var fooInboundConnectionAccepter = new InboundConnectionAccepter("fooInboundConnectionAccepter", InboundConnectionAccepterArgs.builder()        
  *             .connectionId(foo.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/OpensearchFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/OpensearchFunctions.java index 6ac391cc9b0..a1c387ba669 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/OpensearchFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/OpensearchFunctions.java @@ -38,7 +38,8 @@ public final class OpensearchFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -60,12 +61,13 @@ public final class OpensearchFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = OpensearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -78,7 +80,8 @@ public static Output getDomain(GetDomainArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,12 +103,13 @@ public static Output getDomain(GetDomainArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = OpensearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -118,7 +122,8 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -140,12 +145,13 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = OpensearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -158,7 +164,8 @@ public static Output getDomain(GetDomainArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -180,12 +187,13 @@ public static Output getDomain(GetDomainArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var myDomain = OpensearchFunctions.getDomain(GetDomainArgs.builder()
-     *             .domainName("my-domain-name")
+     *             .domainName("my-domain-name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -200,7 +208,8 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -228,7 +237,8 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -243,7 +253,8 @@ public static Output getServerlessAccessPolicy( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -271,7 +282,8 @@ public static Output getServerlessAccessPolicy(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -286,7 +298,8 @@ public static CompletableFuture getServerlessAc * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -314,7 +327,8 @@ public static CompletableFuture getServerlessAc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -329,7 +343,8 @@ public static Output getServerlessAccessPolicy( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -357,7 +372,8 @@ public static Output getServerlessAccessPolicy(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -372,7 +388,8 @@ public static CompletableFuture getServerlessAc * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -394,12 +411,13 @@ public static CompletableFuture getServerlessAc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessCollection(GetServerlessCollectionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -414,7 +432,8 @@ public static Output getServerlessCollection() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -436,12 +455,13 @@ public static Output getServerlessCollection() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessCollection(GetServerlessCollectionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -456,7 +476,8 @@ public static CompletableFuture getServerlessColl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -478,12 +499,13 @@ public static CompletableFuture getServerlessColl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessCollection(GetServerlessCollectionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -498,7 +520,8 @@ public static Output getServerlessCollection(GetS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -520,12 +543,13 @@ public static Output getServerlessCollection(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessCollection(GetServerlessCollectionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -540,7 +564,8 @@ public static CompletableFuture getServerlessColl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -562,12 +587,13 @@ public static CompletableFuture getServerlessColl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessCollection(GetServerlessCollectionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -582,7 +608,8 @@ public static Output getServerlessCollection(GetS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -604,12 +631,13 @@ public static Output getServerlessCollection(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessCollection(GetServerlessCollectionArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -624,7 +652,8 @@ public static CompletableFuture getServerlessColl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -646,13 +675,14 @@ public static CompletableFuture getServerlessColl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessLifecyclePolicy(GetServerlessLifecyclePolicyArgs.builder()
-     *             .name("example-lifecycle-policy")
-     *             .type("retention")
+     *             .name("example-lifecycle-policy")
+     *             .type("retention")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -667,7 +697,8 @@ public static Output getServerlessLifecycleP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -689,13 +720,14 @@ public static Output getServerlessLifecycleP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessLifecyclePolicy(GetServerlessLifecyclePolicyArgs.builder()
-     *             .name("example-lifecycle-policy")
-     *             .type("retention")
+     *             .name("example-lifecycle-policy")
+     *             .type("retention")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -710,7 +742,8 @@ public static CompletableFuture getServerles * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -732,13 +765,14 @@ public static CompletableFuture getServerles
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessLifecyclePolicy(GetServerlessLifecyclePolicyArgs.builder()
-     *             .name("example-lifecycle-policy")
-     *             .type("retention")
+     *             .name("example-lifecycle-policy")
+     *             .type("retention")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -753,7 +787,8 @@ public static Output getServerlessLifecycleP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -775,13 +810,14 @@ public static Output getServerlessLifecycleP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessLifecyclePolicy(GetServerlessLifecyclePolicyArgs.builder()
-     *             .name("example-lifecycle-policy")
-     *             .type("retention")
+     *             .name("example-lifecycle-policy")
+     *             .type("retention")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -796,7 +832,8 @@ public static CompletableFuture getServerles * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -818,12 +855,13 @@ public static CompletableFuture getServerles
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityConfig(GetServerlessSecurityConfigArgs.builder()
-     *             .id("saml/12345678912/example")
+     *             .id("saml/12345678912/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -838,7 +876,8 @@ public static Output getServerlessSecurityCon * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -860,12 +899,13 @@ public static Output getServerlessSecurityCon
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityConfig(GetServerlessSecurityConfigArgs.builder()
-     *             .id("saml/12345678912/example")
+     *             .id("saml/12345678912/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -880,7 +920,8 @@ public static CompletableFuture getServerless * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -902,12 +943,13 @@ public static CompletableFuture getServerless
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityConfig(GetServerlessSecurityConfigArgs.builder()
-     *             .id("saml/12345678912/example")
+     *             .id("saml/12345678912/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -922,7 +964,8 @@ public static Output getServerlessSecurityCon * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -944,12 +987,13 @@ public static Output getServerlessSecurityCon
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityConfig(GetServerlessSecurityConfigArgs.builder()
-     *             .id("saml/12345678912/example")
+     *             .id("saml/12345678912/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -962,7 +1006,8 @@ public static CompletableFuture getServerless * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -984,13 +1029,14 @@ public static CompletableFuture getServerless
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityPolicy(GetServerlessSecurityPolicyArgs.builder()
-     *             .name("example-security-policy")
-     *             .type("encryption")
+     *             .name("example-security-policy")
+     *             .type("encryption")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1003,7 +1049,8 @@ public static Output getServerlessSecurityPol * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1025,13 +1072,14 @@ public static Output getServerlessSecurityPol
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityPolicy(GetServerlessSecurityPolicyArgs.builder()
-     *             .name("example-security-policy")
-     *             .type("encryption")
+     *             .name("example-security-policy")
+     *             .type("encryption")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1044,7 +1092,8 @@ public static CompletableFuture getServerless * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1066,13 +1115,14 @@ public static CompletableFuture getServerless
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityPolicy(GetServerlessSecurityPolicyArgs.builder()
-     *             .name("example-security-policy")
-     *             .type("encryption")
+     *             .name("example-security-policy")
+     *             .type("encryption")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1085,7 +1135,8 @@ public static Output getServerlessSecurityPol * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1107,13 +1158,14 @@ public static Output getServerlessSecurityPol
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessSecurityPolicy(GetServerlessSecurityPolicyArgs.builder()
-     *             .name("example-security-policy")
-     *             .type("encryption")
+     *             .name("example-security-policy")
+     *             .type("encryption")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1126,7 +1178,8 @@ public static CompletableFuture getServerless * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1148,12 +1201,13 @@ public static CompletableFuture getServerless
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessVpcEndpoint(GetServerlessVpcEndpointArgs.builder()
-     *             .vpcEndpointId("vpce-829a4487959e2a839")
+     *             .vpcEndpointId("vpce-829a4487959e2a839")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1166,7 +1220,8 @@ public static Output getServerlessVpcEndpoint(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1188,12 +1243,13 @@ public static Output getServerlessVpcEndpoint(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessVpcEndpoint(GetServerlessVpcEndpointArgs.builder()
-     *             .vpcEndpointId("vpce-829a4487959e2a839")
+     *             .vpcEndpointId("vpce-829a4487959e2a839")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1206,7 +1262,8 @@ public static CompletableFuture getServerlessVpc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1228,12 +1285,13 @@ public static CompletableFuture getServerlessVpc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessVpcEndpoint(GetServerlessVpcEndpointArgs.builder()
-     *             .vpcEndpointId("vpce-829a4487959e2a839")
+     *             .vpcEndpointId("vpce-829a4487959e2a839")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1246,7 +1304,8 @@ public static Output getServerlessVpcEndpoint(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1268,12 +1327,13 @@ public static Output getServerlessVpcEndpoint(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OpensearchFunctions.getServerlessVpcEndpoint(GetServerlessVpcEndpointArgs.builder()
-     *             .vpcEndpointId("vpce-829a4487959e2a839")
+     *             .vpcEndpointId("vpce-829a4487959e2a839")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/OutboundConnection.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/OutboundConnection.java index bf51b88b54c..194b9961149 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/OutboundConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/OutboundConnection.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,24 +57,25 @@
  * 
  *         final var currentGetRegion = AwsFunctions.getRegion();
  * 
- *         var foo = new OutboundConnection("foo", OutboundConnectionArgs.builder()        
- *             .connectionAlias("outbound_connection")
- *             .connectionMode("DIRECT")
+ *         var foo = new OutboundConnection("foo", OutboundConnectionArgs.builder()        
+ *             .connectionAlias("outbound_connection")
+ *             .connectionMode("DIRECT")
  *             .localDomainInfo(OutboundConnectionLocalDomainInfoArgs.builder()
- *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .domainName(localDomain.domainName())
  *                 .build())
  *             .remoteDomainInfo(OutboundConnectionRemoteDomainInfoArgs.builder()
- *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
- *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
+ *                 .ownerId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                 .region(currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()))
  *                 .domainName(remoteDomain.domainName())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java index d7212be0e88..6b1d661552e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/Package.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,31 +51,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myOpensearchPackages = new BucketV2("myOpensearchPackages", BucketV2Args.builder()        
- *             .bucket("my-opensearch-packages")
+ *         var myOpensearchPackages = new BucketV2("myOpensearchPackages", BucketV2Args.builder()        
+ *             .bucket("my-opensearch-packages")
  *             .build());
  * 
- *         var example = new BucketObjectv2("example", BucketObjectv2Args.builder()        
+ *         var example = new BucketObjectv2("example", BucketObjectv2Args.builder()        
  *             .bucket(myOpensearchPackages.bucket())
- *             .key("example.txt")
- *             .source(new FileAsset("./example.txt"))
+ *             .key("example.txt")
+ *             .source(new FileAsset("./example.txt"))
  *             .etag(StdFunctions.filemd5(Filemd5Args.builder()
- *                 .input("./example.txt")
+ *                 .input("./example.txt")
  *                 .build()).result())
  *             .build());
  * 
- *         var examplePackage = new Package("examplePackage", PackageArgs.builder()        
- *             .packageName("example-txt")
+ *         var examplePackage = new Package("examplePackage", PackageArgs.builder()        
+ *             .packageName("example-txt")
  *             .packageSource(PackagePackageSourceArgs.builder()
  *                 .s3BucketName(myOpensearchPackages.bucket())
  *                 .s3Key(example.key())
  *                 .build())
- *             .packageType("TXT-DICTIONARY")
+ *             .packageType("TXT-DICTIONARY")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java index 15613793bb2..8d37a560617 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/PackageAssociation.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,31 +49,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myDomain = new Domain("myDomain", DomainArgs.builder()        
- *             .domainName("my-opensearch-domain")
- *             .engineVersion("Elasticsearch_7.10")
+ *         var myDomain = new Domain("myDomain", DomainArgs.builder()        
+ *             .domainName("my-opensearch-domain")
+ *             .engineVersion("Elasticsearch_7.10")
  *             .clusterConfig(DomainClusterConfigArgs.builder()
- *                 .instanceType("r4.large.search")
+ *                 .instanceType("r4.large.search")
  *                 .build())
  *             .build());
  * 
- *         var example = new Package("example", PackageArgs.builder()        
- *             .packageName("example-txt")
+ *         var example = new Package("example", PackageArgs.builder()        
+ *             .packageName("example-txt")
  *             .packageSource(PackagePackageSourceArgs.builder()
  *                 .s3BucketName(myOpensearchPackages.bucket())
  *                 .s3Key(exampleAwsS3Object.key())
  *                 .build())
- *             .packageType("TXT-DICTIONARY")
+ *             .packageType("TXT-DICTIONARY")
  *             .build());
  * 
- *         var examplePackageAssociation = new PackageAssociation("examplePackageAssociation", PackageAssociationArgs.builder()        
+ *         var examplePackageAssociation = new PackageAssociation("examplePackageAssociation", PackageAssociationArgs.builder()        
  *             .packageId(example.id())
  *             .domainName(myDomain.domainName())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessAccessPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessAccessPolicy.java index 77f84ad3bf0..9c47dc4b665 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessAccessPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessAccessPolicy.java @@ -22,7 +22,8 @@ * ### Grant all collection and index permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,37 +49,39 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new ServerlessAccessPolicy("example", ServerlessAccessPolicyArgs.builder()        
- *             .name("example")
- *             .type("data")
- *             .description("read and write permissions")
+ *         var example = new ServerlessAccessPolicy("example", ServerlessAccessPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("data")
+ *             .description("read and write permissions")
  *             .policy(serializeJson(
  *                 jsonArray(jsonObject(
- *                     jsonProperty("Rules", jsonArray(
+ *                     jsonProperty("Rules", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "index"),
- *                             jsonProperty("Resource", jsonArray("index/example-collection/*")),
- *                             jsonProperty("Permission", jsonArray("aoss:*"))
+ *                             jsonProperty("ResourceType", "index"),
+ *                             jsonProperty("Resource", jsonArray("index/example-collection/*")),
+ *                             jsonProperty("Permission", jsonArray("aoss:*"))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "collection"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection")),
- *                             jsonProperty("Permission", jsonArray("aoss:*"))
+ *                             jsonProperty("ResourceType", "collection"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection")),
+ *                             jsonProperty("Permission", jsonArray("aoss:*"))
  *                         )
  *                     )),
- *                     jsonProperty("Principal", jsonArray(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn())))
+ *                     jsonProperty("Principal", jsonArray(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn())))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Grant read-only collection and index permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -104,40 +107,42 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new ServerlessAccessPolicy("example", ServerlessAccessPolicyArgs.builder()        
- *             .name("example")
- *             .type("data")
- *             .description("read-only permissions")
+ *         var example = new ServerlessAccessPolicy("example", ServerlessAccessPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("data")
+ *             .description("read-only permissions")
  *             .policy(serializeJson(
  *                 jsonArray(jsonObject(
- *                     jsonProperty("Rules", jsonArray(
+ *                     jsonProperty("Rules", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "index"),
- *                             jsonProperty("Resource", jsonArray("index/example-collection/*")),
- *                             jsonProperty("Permission", jsonArray(
- *                                 "aoss:DescribeIndex", 
- *                                 "aoss:ReadDocument"
+ *                             jsonProperty("ResourceType", "index"),
+ *                             jsonProperty("Resource", jsonArray("index/example-collection/*")),
+ *                             jsonProperty("Permission", jsonArray(
+ *                                 "aoss:DescribeIndex", 
+ *                                 "aoss:ReadDocument"
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "collection"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection")),
- *                             jsonProperty("Permission", jsonArray("aoss:DescribeCollectionItems"))
+ *                             jsonProperty("ResourceType", "collection"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection")),
+ *                             jsonProperty("Permission", jsonArray("aoss:DescribeCollectionItems"))
  *                         )
  *                     )),
- *                     jsonProperty("Principal", jsonArray(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn())))
+ *                     jsonProperty("Principal", jsonArray(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.arn())))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Grant SAML identity permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -159,34 +164,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessAccessPolicy("example", ServerlessAccessPolicyArgs.builder()        
- *             .name("example")
- *             .type("data")
- *             .description("saml permissions")
+ *         var example = new ServerlessAccessPolicy("example", ServerlessAccessPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("data")
+ *             .description("saml permissions")
  *             .policy(serializeJson(
  *                 jsonArray(jsonObject(
- *                     jsonProperty("Rules", jsonArray(
+ *                     jsonProperty("Rules", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "index"),
- *                             jsonProperty("Resource", jsonArray("index/example-collection/*")),
- *                             jsonProperty("Permission", jsonArray("aoss:*"))
+ *                             jsonProperty("ResourceType", "index"),
+ *                             jsonProperty("Resource", jsonArray("index/example-collection/*")),
+ *                             jsonProperty("Permission", jsonArray("aoss:*"))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "collection"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection")),
- *                             jsonProperty("Permission", jsonArray("aoss:*"))
+ *                             jsonProperty("ResourceType", "collection"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection")),
+ *                             jsonProperty("Permission", jsonArray("aoss:*"))
  *                         )
  *                     )),
- *                     jsonProperty("Principal", jsonArray(
- *                         "saml/123456789012/myprovider/user/Annie", 
- *                         "saml/123456789012/anotherprovider/group/Accounting"
+ *                     jsonProperty("Principal", jsonArray(
+ *                         "saml/123456789012/myprovider/user/Annie", 
+ *                         "saml/123456789012/anotherprovider/group/Accounting"
  *                     ))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessCollection.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessCollection.java index cdf27e0e25f..d33396c75eb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessCollection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessCollection.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,28 +54,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("encryption")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("encryption")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Rules", jsonArray(jsonObject(
- *                         jsonProperty("Resource", jsonArray("collection/example")),
- *                         jsonProperty("ResourceType", "collection")
+ *                     jsonProperty("Rules", jsonArray(jsonObject(
+ *                         jsonProperty("Resource", jsonArray("collection/example")),
+ *                         jsonProperty("ResourceType", "collection")
  *                     ))),
- *                     jsonProperty("AWSOwnedKey", true)
+ *                     jsonProperty("AWSOwnedKey", true)
  *                 )))
  *             .build());
  * 
- *         var exampleServerlessCollection = new ServerlessCollection("exampleServerlessCollection", ServerlessCollectionArgs.builder()        
- *             .name("example")
+ *         var exampleServerlessCollection = new ServerlessCollection("exampleServerlessCollection", ServerlessCollectionArgs.builder()        
+ *             .name("example")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessLifecyclePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessLifecyclePolicy.java index 789ed222486..be25b7da537 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessLifecyclePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessLifecyclePolicy.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,21 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessLifecyclePolicy("example", ServerlessLifecyclePolicyArgs.builder()        
- *             .name("example")
- *             .type("retention")
+ *         var example = new ServerlessLifecyclePolicy("example", ServerlessLifecyclePolicyArgs.builder()        
+ *             .name("example")
+ *             .type("retention")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Rules", jsonArray(
+ *                     jsonProperty("Rules", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "index"),
- *                             jsonProperty("Resource", jsonArray("index/autoparts-inventory/*")),
- *                             jsonProperty("MinIndexRetention", "81d")
+ *                             jsonProperty("ResourceType", "index"),
+ *                             jsonProperty("Resource", jsonArray("index/autoparts-inventory/*")),
+ *                             jsonProperty("MinIndexRetention", "81d")
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "index"),
- *                             jsonProperty("Resource", jsonArray("index/sales/orders*")),
- *                             jsonProperty("NoMinIndexRetention", true)
+ *                             jsonProperty("ResourceType", "index"),
+ *                             jsonProperty("Resource", jsonArray("index/sales/orders*")),
+ *                             jsonProperty("NoMinIndexRetention", true)
  *                         )
  *                     ))
  *                 )))
@@ -66,7 +67,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessSecurityPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessSecurityPolicy.java index f15acdd4e95..4d01e4dc8bc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessSecurityPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessSecurityPolicy.java @@ -24,7 +24,8 @@ * ### Applies to a single collection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,29 +47,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("encryption")
- *             .description("encryption security policy for example-collection")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("encryption")
+ *             .description("encryption security policy for example-collection")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Rules", jsonArray(jsonObject(
- *                         jsonProperty("Resource", jsonArray("collection/example-collection")),
- *                         jsonProperty("ResourceType", "collection")
+ *                     jsonProperty("Rules", jsonArray(jsonObject(
+ *                         jsonProperty("Resource", jsonArray("collection/example-collection")),
+ *                         jsonProperty("ResourceType", "collection")
  *                     ))),
- *                     jsonProperty("AWSOwnedKey", true)
+ *                     jsonProperty("AWSOwnedKey", true)
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Applies to multiple collections * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,29 +93,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("encryption")
- *             .description("encryption security policy for collections that begin with \"example\"")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("encryption")
+ *             .description("encryption security policy for collections that begin with \"example\"")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Rules", jsonArray(jsonObject(
- *                         jsonProperty("Resource", jsonArray("collection/example*")),
- *                         jsonProperty("ResourceType", "collection")
+ *                     jsonProperty("Rules", jsonArray(jsonObject(
+ *                         jsonProperty("Resource", jsonArray("collection/example*")),
+ *                         jsonProperty("ResourceType", "collection")
  *                     ))),
- *                     jsonProperty("AWSOwnedKey", true)
+ *                     jsonProperty("AWSOwnedKey", true)
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using a customer managed key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -134,24 +139,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("encryption")
- *             .description("encryption security policy using customer KMS key")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("encryption")
+ *             .description("encryption security policy using customer KMS key")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Rules", jsonArray(jsonObject(
- *                         jsonProperty("Resource", jsonArray("collection/customer-managed-key-collection")),
- *                         jsonProperty("ResourceType", "collection")
+ *                     jsonProperty("Rules", jsonArray(jsonObject(
+ *                         jsonProperty("Resource", jsonArray("collection/customer-managed-key-collection")),
+ *                         jsonProperty("ResourceType", "collection")
  *                     ))),
- *                     jsonProperty("AWSOwnedKey", false),
- *                     jsonProperty("KmsARN", "arn:aws:kms:us-east-1:123456789012:key/93fd6da4-a317-4c17-bfe9-382b5d988b36")
+ *                     jsonProperty("AWSOwnedKey", false),
+ *                     jsonProperty("KmsARN", "arn:aws:kms:us-east-1:123456789012:key/93fd6da4-a317-4c17-bfe9-382b5d988b36")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Network Security Policy @@ -159,7 +165,8 @@ * ### Allow public access to the collection endpoint and the Dashboards endpoint * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -181,36 +188,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("network")
- *             .description("Public access")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("network")
+ *             .description("Public access")
  *             .policy(serializeJson(
  *                 jsonArray(jsonObject(
- *                     jsonProperty("Description", "Public access to collection and Dashboards endpoint for example collection"),
- *                     jsonProperty("Rules", jsonArray(
+ *                     jsonProperty("Description", "Public access to collection and Dashboards endpoint for example collection"),
+ *                     jsonProperty("Rules", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "collection"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
+ *                             jsonProperty("ResourceType", "collection"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "dashboard"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
+ *                             jsonProperty("ResourceType", "dashboard"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
  *                         )
  *                     )),
- *                     jsonProperty("AllowFromPublic", true)
+ *                     jsonProperty("AllowFromPublic", true)
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Allow VPC access to the collection endpoint and the Dashboards endpoint * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -232,37 +241,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("network")
- *             .description("VPC access")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("network")
+ *             .description("VPC access")
  *             .policy(serializeJson(
  *                 jsonArray(jsonObject(
- *                     jsonProperty("Description", "VPC access to collection and Dashboards endpoint for example collection"),
- *                     jsonProperty("Rules", jsonArray(
+ *                     jsonProperty("Description", "VPC access to collection and Dashboards endpoint for example collection"),
+ *                     jsonProperty("Rules", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "collection"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
+ *                             jsonProperty("ResourceType", "collection"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("ResourceType", "dashboard"),
- *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
+ *                             jsonProperty("ResourceType", "dashboard"),
+ *                             jsonProperty("Resource", jsonArray("collection/example-collection"))
  *                         )
  *                     )),
- *                     jsonProperty("AllowFromPublic", false),
- *                     jsonProperty("SourceVPCEs", jsonArray("vpce-050f79086ee71ac05"))
+ *                     jsonProperty("AllowFromPublic", false),
+ *                     jsonProperty("SourceVPCEs", jsonArray("vpce-050f79086ee71ac05"))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Mixed access for different collections * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -284,41 +295,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
- *             .name("example")
- *             .type("network")
- *             .description("Mixed access for marketing and sales")
+ *         var example = new ServerlessSecurityPolicy("example", ServerlessSecurityPolicyArgs.builder()        
+ *             .name("example")
+ *             .type("network")
+ *             .description("Mixed access for marketing and sales")
  *             .policy(serializeJson(
  *                 jsonArray(
  *                     jsonObject(
- *                         jsonProperty("Description", "Marketing access"),
- *                         jsonProperty("Rules", jsonArray(
+ *                         jsonProperty("Description", "Marketing access"),
+ *                         jsonProperty("Rules", jsonArray(
  *                             jsonObject(
- *                                 jsonProperty("ResourceType", "collection"),
- *                                 jsonProperty("Resource", jsonArray("collection/marketing*"))
+ *                                 jsonProperty("ResourceType", "collection"),
+ *                                 jsonProperty("Resource", jsonArray("collection/marketing*"))
  *                             ), 
  *                             jsonObject(
- *                                 jsonProperty("ResourceType", "dashboard"),
- *                                 jsonProperty("Resource", jsonArray("collection/marketing*"))
+ *                                 jsonProperty("ResourceType", "dashboard"),
+ *                                 jsonProperty("Resource", jsonArray("collection/marketing*"))
  *                             )
  *                         )),
- *                         jsonProperty("AllowFromPublic", false),
- *                         jsonProperty("SourceVPCEs", jsonArray("vpce-050f79086ee71ac05"))
+ *                         jsonProperty("AllowFromPublic", false),
+ *                         jsonProperty("SourceVPCEs", jsonArray("vpce-050f79086ee71ac05"))
  *                     ), 
  *                     jsonObject(
- *                         jsonProperty("Description", "Sales access"),
- *                         jsonProperty("Rules", jsonArray(jsonObject(
- *                             jsonProperty("ResourceType", "collection"),
- *                             jsonProperty("Resource", jsonArray("collection/finance"))
+ *                         jsonProperty("Description", "Sales access"),
+ *                         jsonProperty("Rules", jsonArray(jsonObject(
+ *                             jsonProperty("ResourceType", "collection"),
+ *                             jsonProperty("Resource", jsonArray("collection/finance"))
  *                         ))),
- *                         jsonProperty("AllowFromPublic", true)
+ *                         jsonProperty("AllowFromPublic", true)
  *                     )
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessVpcEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessVpcEndpoint.java index 2a5c7085fe8..5c4ec78dca6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessVpcEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/ServerlessVpcEndpoint.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,15 +46,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServerlessVpcEndpoint("example", ServerlessVpcEndpointArgs.builder()        
- *             .name("myendpoint")
+ *         var example = new ServerlessVpcEndpoint("example", ServerlessVpcEndpointArgs.builder()        
+ *             .name("myendpoint")
  *             .subnetIds(exampleAwsSubnet.id())
  *             .vpcId(exampleAwsVpc.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearch/VpcEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/opensearch/VpcEndpoint.java index 04b95d4d85c..aa4b1984281 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearch/VpcEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearch/VpcEndpoint.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new VpcEndpoint("foo", VpcEndpointArgs.builder()        
+ *         var foo = new VpcEndpoint("foo", VpcEndpointArgs.builder()        
  *             .domainArn(domain1.arn())
  *             .vpcOptions(VpcEndpointVpcOptionsArgs.builder()
  *                 .securityGroupIds(                
@@ -58,7 +59,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opensearchingest/Pipeline.java b/sdk/java/src/main/java/com/pulumi/aws/opensearchingest/Pipeline.java index 9289c86c583..b0dbda75a8d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opensearchingest/Pipeline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opensearchingest/Pipeline.java @@ -30,7 +30,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,53 +59,55 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var example = new Role("example", RoleArgs.builder()        
+ *         var example = new Role("example", RoleArgs.builder()        
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "osis-pipelines.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "osis-pipelines.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()        
- *             .pipelineName("example")
- *             .pipelineConfigurationBody(example.arn().applyValue(arn -> """
- * version: "2"
+ *         var examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()        
+ *             .pipelineName("example")
+ *             .pipelineConfigurationBody(example.arn().applyValue(arn -> """
+ * version: "2"
  * example-pipeline:
  *   source:
  *     http:
- *       path: "/example"
+ *       path: "/example"
  *   sink:
  *     - s3:
  *         aws:
- *           sts_role_arn: "%s"
- *           region: "%s"
- *         bucket: "example"
+ *           sts_role_arn: "%s"
+ *           region: "%s"
+ *         bucket: "example"
  *         threshold:
- *           event_collect_timeout: "60s"
+ *           event_collect_timeout: "60s"
  *         codec:
  *           ndjson:
- * ", arn,current.applyValue(getRegionResult -> getRegionResult.name()))))
+ * ", arn,current.applyValue(getRegionResult -> getRegionResult.name()))))
  *             .maxUnits(1)
  *             .minUnits(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using file function * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,10 +128,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Pipeline("example", PipelineArgs.builder()        
- *             .pipelineName("example")
+ *         var example = new Pipeline("example", PipelineArgs.builder()        
+ *             .pipelineName("example")
  *             .pipelineConfigurationBody(StdFunctions.file(FileArgs.builder()
- *                 .input("example.yaml")
+ *                 .input("example.yaml")
  *                 .build()).result())
  *             .maxUnits(1)
  *             .minUnits(1)
@@ -136,7 +139,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Application.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Application.java index 87875a92394..7391ebf1017 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Application.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,42 +50,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo_app = new Application("foo-app", ApplicationArgs.builder()        
- *             .name("foobar application")
- *             .shortName("foobar")
+ *         var foo_app = new Application("foo-app", ApplicationArgs.builder()        
+ *             .name("foobar application")
+ *             .shortName("foobar")
  *             .stackId(main.id())
- *             .type("rails")
- *             .description("This is a Rails application")
+ *             .type("rails")
+ *             .description("This is a Rails application")
  *             .domains(            
- *                 "example.com",
- *                 "sub.example.com")
+ *                 "example.com",
+ *                 "sub.example.com")
  *             .environments(ApplicationEnvironmentArgs.builder()
- *                 .key("key")
- *                 .value("value")
+ *                 .key("key")
+ *                 .value("value")
  *                 .secure(false)
  *                 .build())
  *             .appSources(ApplicationAppSourceArgs.builder()
- *                 .type("git")
- *                 .revision("master")
- *                 .url("https://github.com/example.git")
+ *                 .type("git")
+ *                 .revision("master")
+ *                 .url("https://github.com/example.git")
  *                 .build())
  *             .enableSsl(true)
  *             .sslConfigurations(ApplicationSslConfigurationArgs.builder()
  *                 .privateKey(StdFunctions.file(FileArgs.builder()
- *                     .input("./foobar.key")
+ *                     .input("./foobar.key")
  *                     .build()).result())
  *                 .certificate(StdFunctions.file(FileArgs.builder()
- *                     .input("./foobar.crt")
+ *                     .input("./foobar.crt")
  *                     .build()).result())
  *                 .build())
- *             .documentRoot("public")
+ *             .documentRoot("public")
  *             .autoBundleOnDeploy(true)
- *             .railsEnv("staging")
+ *             .railsEnv("staging")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/CustomLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/CustomLayer.java index 7f16c6b5fa9..1ea4f626b3f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/CustomLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/CustomLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,15 +49,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var custlayer = new CustomLayer("custlayer", CustomLayerArgs.builder()        
- *             .name("My Awesome Custom Layer")
- *             .shortName("awesome")
+ *         var custlayer = new CustomLayer("custlayer", CustomLayerArgs.builder()        
+ *             .name("My Awesome Custom Layer")
+ *             .shortName("awesome")
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/EcsClusterLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/EcsClusterLayer.java index 066606a4527..23f52afdd2f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/EcsClusterLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/EcsClusterLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EcsClusterLayer("example", EcsClusterLayerArgs.builder()        
+ *         var example = new EcsClusterLayer("example", EcsClusterLayerArgs.builder()        
  *             .stackId(exampleAwsOpsworksStack.id())
  *             .ecsClusterArn(exampleAwsEcsCluster.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/GangliaLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/GangliaLayer.java index f5edccb381d..7862e0ef9b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/GangliaLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/GangliaLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var monitor = new GangliaLayer("monitor", GangliaLayerArgs.builder()        
+ *         var monitor = new GangliaLayer("monitor", GangliaLayerArgs.builder()        
  *             .stackId(main.id())
- *             .password("foobarbaz")
+ *             .password("foobarbaz")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/HaproxyLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/HaproxyLayer.java index 6ee30795c2f..e5818edea03 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/HaproxyLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/HaproxyLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lb = new HaproxyLayer("lb", HaproxyLayerArgs.builder()        
+ *         var lb = new HaproxyLayer("lb", HaproxyLayerArgs.builder()        
  *             .stackId(main.id())
- *             .statsPassword("foobarbaz")
+ *             .statsPassword("foobarbaz")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Instance.java index 2c014ec4074..e93c758d54e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Instance.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,17 +47,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var my_instance = new Instance("my-instance", InstanceArgs.builder()        
+ *         var my_instance = new Instance("my-instance", InstanceArgs.builder()        
  *             .stackId(main.id())
  *             .layerIds(my_layer.id())
- *             .instanceType("t2.micro")
- *             .os("Amazon Linux 2015.09")
- *             .state("stopped")
+ *             .instanceType("t2.micro")
+ *             .os("Amazon Linux 2015.09")
+ *             .state("stopped")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Block devices diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/JavaAppLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/JavaAppLayer.java index 41ceb290a35..52595b58ab1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/JavaAppLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/JavaAppLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new JavaAppLayer("app", JavaAppLayerArgs.builder()        
+ *         var app = new JavaAppLayer("app", JavaAppLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/MemcachedLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/MemcachedLayer.java index fc058367571..e3cc490056f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/MemcachedLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/MemcachedLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cache = new MemcachedLayer("cache", MemcachedLayerArgs.builder()        
+ *         var cache = new MemcachedLayer("cache", MemcachedLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/MysqlLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/MysqlLayer.java index 0be1068673f..33d1850c438 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/MysqlLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/MysqlLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var db = new MysqlLayer("db", MysqlLayerArgs.builder()        
+ *         var db = new MysqlLayer("db", MysqlLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/NodejsAppLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/NodejsAppLayer.java index 3da2ef43689..e721f2f9528 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/NodejsAppLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/NodejsAppLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new NodejsAppLayer("app", NodejsAppLayerArgs.builder()        
+ *         var app = new NodejsAppLayer("app", NodejsAppLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Permission.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Permission.java index d8393866d2f..dd9f3cd3a5a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Permission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Permission.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,17 +42,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myStackPermission = new Permission("myStackPermission", PermissionArgs.builder()        
+ *         var myStackPermission = new Permission("myStackPermission", PermissionArgs.builder()        
  *             .allowSsh(true)
  *             .allowSudo(true)
- *             .level("iam_only")
+ *             .level("iam_only")
  *             .userArn(user.arn())
  *             .stackId(stack.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/PhpAppLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/PhpAppLayer.java index 36b24563499..f544c8e3cd9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/PhpAppLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/PhpAppLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new PhpAppLayer("app", PhpAppLayerArgs.builder()        
+ *         var app = new PhpAppLayer("app", PhpAppLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/RailsAppLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/RailsAppLayer.java index f1dc2cb3bbd..bfe938d334f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/RailsAppLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/RailsAppLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new RailsAppLayer("app", RailsAppLayerArgs.builder()        
+ *         var app = new RailsAppLayer("app", RailsAppLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/RdsDbInstance.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/RdsDbInstance.java index 6985ab7c87c..0e9f7bb7f08 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/RdsDbInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/RdsDbInstance.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,16 +42,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myInstance = new RdsDbInstance("myInstance", RdsDbInstanceArgs.builder()        
+ *         var myInstance = new RdsDbInstance("myInstance", RdsDbInstanceArgs.builder()        
  *             .stackId(myStack.id())
  *             .rdsDbInstanceArn(myInstanceAwsDbInstance.arn())
- *             .dbUser("someUser")
- *             .dbPassword("somePass")
+ *             .dbUser("someUser")
+ *             .dbPassword("somePass")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Stack.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Stack.java index caa4ec12d8a..e18185aa866 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/Stack.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/Stack.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,24 +46,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Stack("main", StackArgs.builder()        
- *             .name("awesome-stack")
- *             .region("us-west-1")
+ *         var main = new Stack("main", StackArgs.builder()        
+ *             .name("awesome-stack")
+ *             .region("us-west-1")
  *             .serviceRoleArn(opsworksAwsIamRole.arn())
  *             .defaultInstanceProfileArn(opsworks.arn())
- *             .tags(Map.of("Name", "foobar-stack"))
- *             .customJson("""
+ *             .tags(Map.of("Name", "foobar-stack"))
+ *             .customJson("""
  * {
- *  "foobar": {
- *     "version": "1.0.0"
+ *  "foobar": {
+ *     "version": "1.0.0"
  *   }
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/StaticWebLayer.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/StaticWebLayer.java index 0b1455f39a4..ed0f020b838 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/StaticWebLayer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/StaticWebLayer.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var web = new StaticWebLayer("web", StaticWebLayerArgs.builder()        
+ *         var web = new StaticWebLayer("web", StaticWebLayerArgs.builder()        
  *             .stackId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/opsworks/UserProfile.java b/sdk/java/src/main/java/com/pulumi/aws/opsworks/UserProfile.java index b2fbf2cb85e..bf375cbfb5c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/opsworks/UserProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/opsworks/UserProfile.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myProfile = new UserProfile("myProfile", UserProfileArgs.builder()        
+ *         var myProfile = new UserProfile("myProfile", UserProfileArgs.builder()        
  *             .userArn(user.arn())
- *             .sshUsername("my_user")
+ *             .sshUsername("my_user")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/Account.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/Account.java index 2859ba327eb..a24d344cdbf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/Account.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/Account.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,14 +48,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var account = new Account("account", AccountArgs.builder()        
- *             .name("my_new_account")
- *             .email("john@doe.org")
+ *         var account = new Account("account", AccountArgs.builder()        
+ *             .name("my_new_account")
+ *             .email("john{@literal @}doe.org")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/DelegatedAdministrator.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/DelegatedAdministrator.java index b866a213d16..1667aa1a4a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/DelegatedAdministrator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/DelegatedAdministrator.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DelegatedAdministrator("example", DelegatedAdministratorArgs.builder()        
- *             .accountId("123456789012")
- *             .servicePrincipal("principal")
+ *         var example = new DelegatedAdministrator("example", DelegatedAdministratorArgs.builder()        
+ *             .accountId("123456789012")
+ *             .servicePrincipal("principal")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/Organization.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/Organization.java index 0c70505cf6e..69b081da3c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/Organization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/Organization.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,16 +50,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var org = new Organization("org", OrganizationArgs.builder()        
+ *         var org = new Organization("org", OrganizationArgs.builder()        
  *             .awsServiceAccessPrincipals(            
- *                 "cloudtrail.amazonaws.com",
- *                 "config.amazonaws.com")
- *             .featureSet("ALL")
+ *                 "cloudtrail.amazonaws.com",
+ *                 "config.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationalUnit.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationalUnit.java index c286c263091..8023b081ab7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationalUnit.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationalUnit.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OrganizationalUnit("example", OrganizationalUnitArgs.builder()        
- *             .name("example")
+ *         var example = new OrganizationalUnit("example", OrganizationalUnitArgs.builder()        
+ *             .name("example")
  *             .parentId(exampleAwsOrganizationsOrganization.roots()[0].id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java index 1d5a021e39a..4dd5e6cdafb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/OrganizationsFunctions.java @@ -49,7 +49,8 @@ public final class OrganizationsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -71,12 +72,13 @@ public final class OrganizationsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedAdministrators(GetDelegatedAdministratorsArgs.builder()
-     *             .servicePrincipal("SERVICE PRINCIPAL")
+     *             .servicePrincipal("SERVICE PRINCIPAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -89,7 +91,8 @@ public static Output getDelegatedAdministrator * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -111,12 +114,13 @@ public static Output getDelegatedAdministrator
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedAdministrators(GetDelegatedAdministratorsArgs.builder()
-     *             .servicePrincipal("SERVICE PRINCIPAL")
+     *             .servicePrincipal("SERVICE PRINCIPAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -129,7 +133,8 @@ public static CompletableFuture getDelegatedAd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -151,12 +156,13 @@ public static CompletableFuture getDelegatedAd
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedAdministrators(GetDelegatedAdministratorsArgs.builder()
-     *             .servicePrincipal("SERVICE PRINCIPAL")
+     *             .servicePrincipal("SERVICE PRINCIPAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -169,7 +175,8 @@ public static Output getDelegatedAdministrator * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -191,12 +198,13 @@ public static Output getDelegatedAdministrator
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedAdministrators(GetDelegatedAdministratorsArgs.builder()
-     *             .servicePrincipal("SERVICE PRINCIPAL")
+     *             .servicePrincipal("SERVICE PRINCIPAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -209,7 +217,8 @@ public static CompletableFuture getDelegatedAd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -231,12 +240,13 @@ public static CompletableFuture getDelegatedAd
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedAdministrators(GetDelegatedAdministratorsArgs.builder()
-     *             .servicePrincipal("SERVICE PRINCIPAL")
+     *             .servicePrincipal("SERVICE PRINCIPAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -249,7 +259,8 @@ public static Output getDelegatedAdministrator * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -271,12 +282,13 @@ public static Output getDelegatedAdministrator
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedAdministrators(GetDelegatedAdministratorsArgs.builder()
-     *             .servicePrincipal("SERVICE PRINCIPAL")
+     *             .servicePrincipal("SERVICE PRINCIPAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -289,7 +301,8 @@ public static CompletableFuture getDelegatedAd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -311,12 +324,13 @@ public static CompletableFuture getDelegatedAd
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedServices(GetDelegatedServicesArgs.builder()
-     *             .accountId("AWS ACCOUNT ID")
+     *             .accountId("AWS ACCOUNT ID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -329,7 +343,8 @@ public static Output getDelegatedServices(GetDelegat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -351,12 +366,13 @@ public static Output getDelegatedServices(GetDelegat
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedServices(GetDelegatedServicesArgs.builder()
-     *             .accountId("AWS ACCOUNT ID")
+     *             .accountId("AWS ACCOUNT ID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -369,7 +385,8 @@ public static CompletableFuture getDelegatedServices * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -391,12 +408,13 @@ public static CompletableFuture getDelegatedServices
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedServices(GetDelegatedServicesArgs.builder()
-     *             .accountId("AWS ACCOUNT ID")
+     *             .accountId("AWS ACCOUNT ID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -409,7 +427,8 @@ public static Output getDelegatedServices(GetDelegat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -431,12 +450,13 @@ public static Output getDelegatedServices(GetDelegat
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getDelegatedServices(GetDelegatedServicesArgs.builder()
-     *             .accountId("AWS ACCOUNT ID")
+     *             .accountId("AWS ACCOUNT ID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -451,7 +471,8 @@ public static CompletableFuture getDelegatedServices * ### List all account IDs for the organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -473,16 +494,18 @@ public static CompletableFuture getDelegatedServices
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
+     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### SNS topic that can be interacted by the organization only * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -510,37 +533,38 @@ public static CompletableFuture getDelegatedServices
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
-     *             .name("my-sns-topic")
+     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
+     *             .name("my-sns-topic")
      *             .build());
      * 
      *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .actions(                
-     *                     "SNS:Subscribe",
-     *                     "SNS:Publish")
+     *                     "SNS:Subscribe",
+     *                     "SNS:Publish")
      *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                     .test("StringEquals")
-     *                     .variable("aws:PrincipalOrgID")
-     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
+     *                     .test("StringEquals")
+     *                     .variable("aws:PrincipalOrgID")
+     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
      *                     .build())
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers("*")
+     *                     .type("AWS")
+     *                     .identifiers("*")
      *                     .build())
      *                 .resources(snsTopic.arn())
      *                 .build())
      *             .build());
      * 
-     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
+     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
      *             .arn(snsTopic.arn())
-     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -555,7 +579,8 @@ public static Output getOrganization() { * ### List all account IDs for the organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -577,16 +602,18 @@ public static Output getOrganization() {
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
+     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### SNS topic that can be interacted by the organization only * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -614,37 +641,38 @@ public static Output getOrganization() {
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
-     *             .name("my-sns-topic")
+     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
+     *             .name("my-sns-topic")
      *             .build());
      * 
      *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .actions(                
-     *                     "SNS:Subscribe",
-     *                     "SNS:Publish")
+     *                     "SNS:Subscribe",
+     *                     "SNS:Publish")
      *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                     .test("StringEquals")
-     *                     .variable("aws:PrincipalOrgID")
-     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
+     *                     .test("StringEquals")
+     *                     .variable("aws:PrincipalOrgID")
+     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
      *                     .build())
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers("*")
+     *                     .type("AWS")
+     *                     .identifiers("*")
      *                     .build())
      *                 .resources(snsTopic.arn())
      *                 .build())
      *             .build());
      * 
-     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
+     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
      *             .arn(snsTopic.arn())
-     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -659,7 +687,8 @@ public static CompletableFuture getOrganizationPlain() { * ### List all account IDs for the organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -681,16 +710,18 @@ public static CompletableFuture getOrganizationPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
+     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### SNS topic that can be interacted by the organization only * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -718,37 +749,38 @@ public static CompletableFuture getOrganizationPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
-     *             .name("my-sns-topic")
+     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
+     *             .name("my-sns-topic")
      *             .build());
      * 
      *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .actions(                
-     *                     "SNS:Subscribe",
-     *                     "SNS:Publish")
+     *                     "SNS:Subscribe",
+     *                     "SNS:Publish")
      *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                     .test("StringEquals")
-     *                     .variable("aws:PrincipalOrgID")
-     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
+     *                     .test("StringEquals")
+     *                     .variable("aws:PrincipalOrgID")
+     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
      *                     .build())
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers("*")
+     *                     .type("AWS")
+     *                     .identifiers("*")
      *                     .build())
      *                 .resources(snsTopic.arn())
      *                 .build())
      *             .build());
      * 
-     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
+     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
      *             .arn(snsTopic.arn())
-     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -763,7 +795,8 @@ public static Output getOrganization(InvokeArgs args) { * ### List all account IDs for the organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -785,16 +818,18 @@ public static Output getOrganization(InvokeArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
+     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### SNS topic that can be interacted by the organization only * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -822,37 +857,38 @@ public static Output getOrganization(InvokeArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
-     *             .name("my-sns-topic")
+     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
+     *             .name("my-sns-topic")
      *             .build());
      * 
      *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .actions(                
-     *                     "SNS:Subscribe",
-     *                     "SNS:Publish")
+     *                     "SNS:Subscribe",
+     *                     "SNS:Publish")
      *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                     .test("StringEquals")
-     *                     .variable("aws:PrincipalOrgID")
-     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
+     *                     .test("StringEquals")
+     *                     .variable("aws:PrincipalOrgID")
+     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
      *                     .build())
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers("*")
+     *                     .type("AWS")
+     *                     .identifiers("*")
      *                     .build())
      *                 .resources(snsTopic.arn())
      *                 .build())
      *             .build());
      * 
-     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
+     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
      *             .arn(snsTopic.arn())
-     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -867,7 +903,8 @@ public static CompletableFuture getOrganizationPlain(Invo * ### List all account IDs for the organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -889,16 +926,18 @@ public static CompletableFuture getOrganizationPlain(Invo
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
+     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### SNS topic that can be interacted by the organization only * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -926,37 +965,38 @@ public static CompletableFuture getOrganizationPlain(Invo
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
-     *             .name("my-sns-topic")
+     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
+     *             .name("my-sns-topic")
      *             .build());
      * 
      *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .actions(                
-     *                     "SNS:Subscribe",
-     *                     "SNS:Publish")
+     *                     "SNS:Subscribe",
+     *                     "SNS:Publish")
      *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                     .test("StringEquals")
-     *                     .variable("aws:PrincipalOrgID")
-     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
+     *                     .test("StringEquals")
+     *                     .variable("aws:PrincipalOrgID")
+     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
      *                     .build())
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers("*")
+     *                     .type("AWS")
+     *                     .identifiers("*")
      *                     .build())
      *                 .resources(snsTopic.arn())
      *                 .build())
      *             .build());
      * 
-     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
+     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
      *             .arn(snsTopic.arn())
-     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -971,7 +1011,8 @@ public static Output getOrganization(InvokeArgs args, Inv * ### List all account IDs for the organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -993,16 +1034,18 @@ public static Output getOrganization(InvokeArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
+     *         ctx.export("accountIds", example.applyValue(getOrganizationResult -> getOrganizationResult.accounts()).stream().map(element -> element.id()).collect(toList()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### SNS topic that can be interacted by the organization only * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1030,37 +1073,38 @@ public static Output getOrganization(InvokeArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var example = OrganizationsFunctions.getOrganization();
      * 
-     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
-     *             .name("my-sns-topic")
+     *         var snsTopic = new Topic("snsTopic", TopicArgs.builder()        
+     *             .name("my-sns-topic")
      *             .build());
      * 
      *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(GetPolicyDocumentStatementArgs.builder()
-     *                 .effect("Allow")
+     *                 .effect("Allow")
      *                 .actions(                
-     *                     "SNS:Subscribe",
-     *                     "SNS:Publish")
+     *                     "SNS:Subscribe",
+     *                     "SNS:Publish")
      *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
-     *                     .test("StringEquals")
-     *                     .variable("aws:PrincipalOrgID")
-     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
+     *                     .test("StringEquals")
+     *                     .variable("aws:PrincipalOrgID")
+     *                     .values(example.applyValue(getOrganizationResult -> getOrganizationResult.id()))
      *                     .build())
      *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                     .type("AWS")
-     *                     .identifiers("*")
+     *                     .type("AWS")
+     *                     .identifiers("*")
      *                     .build())
      *                 .resources(snsTopic.arn())
      *                 .build())
      *             .build());
      * 
-     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
+     *         var snsTopicPolicyTopicPolicy = new TopicPolicy("snsTopicPolicyTopicPolicy", TopicPolicyArgs.builder()        
      *             .arn(snsTopic.arn())
-     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1075,7 +1119,8 @@ public static CompletableFuture getOrganizationPlain(Invo * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1099,13 +1144,14 @@ public static CompletableFuture getOrganizationPlain(Invo
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
-     *             .name("dev")
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .name("dev")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1120,7 +1166,8 @@ public static Output getOrganizationalUnit(GetOrgan * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1144,13 +1191,14 @@ public static Output getOrganizationalUnit(GetOrgan
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
-     *             .name("dev")
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .name("dev")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1165,7 +1213,8 @@ public static CompletableFuture getOrganizationalUn * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1189,13 +1238,14 @@ public static CompletableFuture getOrganizationalUn
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
-     *             .name("dev")
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .name("dev")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1210,7 +1260,8 @@ public static Output getOrganizationalUnit(GetOrgan * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1234,13 +1285,14 @@ public static Output getOrganizationalUnit(GetOrgan
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnit(GetOrganizationalUnitArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
-     *             .name("dev")
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .name("dev")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1253,7 +1305,8 @@ public static CompletableFuture getOrganizationalUn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1277,12 +1330,13 @@ public static CompletableFuture getOrganizationalUn
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitChildAccounts(GetOrganizationalUnitChildAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1295,7 +1349,8 @@ public static Output getOrganizational * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1319,12 +1374,13 @@ public static Output getOrganizational
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitChildAccounts(GetOrganizationalUnitChildAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1337,7 +1393,8 @@ public static CompletableFuture getOrg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1361,12 +1418,13 @@ public static CompletableFuture getOrg
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitChildAccounts(GetOrganizationalUnitChildAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1379,7 +1437,8 @@ public static Output getOrganizational * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1403,12 +1462,13 @@ public static Output getOrganizational
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitChildAccounts(GetOrganizationalUnitChildAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1421,7 +1481,8 @@ public static CompletableFuture getOrg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1445,12 +1506,13 @@ public static CompletableFuture getOrg
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitDescendantAccounts(GetOrganizationalUnitDescendantAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1463,7 +1525,8 @@ public static Output getOrganizat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1487,12 +1550,13 @@ public static Output getOrganizat
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitDescendantAccounts(GetOrganizationalUnitDescendantAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1505,7 +1569,8 @@ public static CompletableFuture g * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1529,12 +1594,13 @@ public static CompletableFuture g
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitDescendantAccounts(GetOrganizationalUnitDescendantAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1547,7 +1613,8 @@ public static Output getOrganizat * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1571,12 +1638,13 @@ public static Output getOrganizat
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var accounts = OrganizationsFunctions.getOrganizationalUnitDescendantAccounts(GetOrganizationalUnitDescendantAccountsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1589,7 +1657,8 @@ public static CompletableFuture g * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1613,12 +1682,13 @@ public static CompletableFuture g
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnits(GetOrganizationalUnitsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1631,7 +1701,8 @@ public static Output getOrganizationalUnits(GetOrg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1655,12 +1726,13 @@ public static Output getOrganizationalUnits(GetOrg
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnits(GetOrganizationalUnitsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1673,7 +1745,8 @@ public static CompletableFuture getOrganizationalU * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1697,12 +1770,13 @@ public static CompletableFuture getOrganizationalU
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnits(GetOrganizationalUnitsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1715,7 +1789,8 @@ public static Output getOrganizationalUnits(GetOrg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1739,12 +1814,13 @@ public static Output getOrganizationalUnits(GetOrg
      *         final var org = OrganizationsFunctions.getOrganization();
      * 
      *         final var ou = OrganizationsFunctions.getOrganizationalUnits(GetOrganizationalUnitsArgs.builder()
-     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
+     *             .parentId(org.applyValue(getOrganizationResult -> getOrganizationResult.roots()[0].id()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1865,7 +1941,8 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1887,12 +1964,13 @@ public static CompletableFuture getPolicyPlain(GetPolicyPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var account = OrganizationsFunctions.getResourceTags(GetResourceTagsArgs.builder()
-     *             .resourceId("123456123846")
+     *             .resourceId("123456123846")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1905,7 +1983,8 @@ public static Output getResourceTags(GetResourceTagsArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1927,12 +2006,13 @@ public static Output getResourceTags(GetResourceTagsArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var account = OrganizationsFunctions.getResourceTags(GetResourceTagsArgs.builder()
-     *             .resourceId("123456123846")
+     *             .resourceId("123456123846")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1945,7 +2025,8 @@ public static CompletableFuture getResourceTagsPlain(GetR * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1967,12 +2048,13 @@ public static CompletableFuture getResourceTagsPlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var account = OrganizationsFunctions.getResourceTags(GetResourceTagsArgs.builder()
-     *             .resourceId("123456123846")
+     *             .resourceId("123456123846")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1985,7 +2067,8 @@ public static Output getResourceTags(GetResourceTagsArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2007,12 +2090,13 @@ public static Output getResourceTags(GetResourceTagsArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var account = OrganizationsFunctions.getResourceTags(GetResourceTagsArgs.builder()
-     *             .resourceId("123456123846")
+     *             .resourceId("123456123846")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/Policy.java index d0571cb29c5..5a63e2b20cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/Policy.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,21 @@
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
- *                 .actions("*")
- *                 .resources("*")
+ *                 .effect("Allow")
+ *                 .actions("*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
- *             .name("example")
- *             .content(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+ *             .name("example")
+ *             .content(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/PolicyAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/PolicyAttachment.java index 16fedb57df4..f86e59d949c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/PolicyAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/PolicyAttachment.java @@ -23,7 +23,8 @@ * ### Organization Account * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var account = new PolicyAttachment("account", PolicyAttachmentArgs.builder()        
+ *         var account = new PolicyAttachment("account", PolicyAttachmentArgs.builder()        
  *             .policyId(example.id())
- *             .targetId("123456789012")
+ *             .targetId("123456789012")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Root * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,20 +81,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var root = new PolicyAttachment("root", PolicyAttachmentArgs.builder()        
+ *         var root = new PolicyAttachment("root", PolicyAttachmentArgs.builder()        
  *             .policyId(example.id())
  *             .targetId(exampleAwsOrganizationsOrganization.roots()[0].id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Organization Unit * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -112,14 +117,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var unit = new PolicyAttachment("unit", PolicyAttachmentArgs.builder()        
+ *         var unit = new PolicyAttachment("unit", PolicyAttachmentArgs.builder()        
  *             .policyId(example.id())
  *             .targetId(exampleAwsOrganizationsOrganizationalUnit.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/organizations/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/organizations/ResourcePolicy.java index 7a13f3720bc..24c74f937c7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/organizations/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/organizations/ResourcePolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,44 +43,45 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
- *             .content("""
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *             .content("""
  * {
- *   "Version": "2012-10-17",
- *   "Statement": [
+ *   "Version": "2012-10-17",
+ *   "Statement": [
  *     {
- *       "Sid": "DelegatingNecessaryDescribeListActions",
- *       "Effect": "Allow",
- *       "Principal": {
- *         "AWS": "arn:aws:iam::123456789012:root"
+ *       "Sid": "DelegatingNecessaryDescribeListActions",
+ *       "Effect": "Allow",
+ *       "Principal": {
+ *         "AWS": "arn:aws:iam::123456789012:root"
  *       },
- *       "Action": [
- *         "organizations:DescribeOrganization",
- *         "organizations:DescribeOrganizationalUnit",
- *         "organizations:DescribeAccount",
- *         "organizations:DescribePolicy",
- *         "organizations:DescribeEffectivePolicy",
- *         "organizations:ListRoots",
- *         "organizations:ListOrganizationalUnitsForParent",
- *         "organizations:ListParents",
- *         "organizations:ListChildren",
- *         "organizations:ListAccounts",
- *         "organizations:ListAccountsForParent",
- *         "organizations:ListPolicies",
- *         "organizations:ListPoliciesForTarget",
- *         "organizations:ListTargetsForPolicy",
- *         "organizations:ListTagsForResource"
+ *       "Action": [
+ *         "organizations:DescribeOrganization",
+ *         "organizations:DescribeOrganizationalUnit",
+ *         "organizations:DescribeAccount",
+ *         "organizations:DescribePolicy",
+ *         "organizations:DescribeEffectivePolicy",
+ *         "organizations:ListRoots",
+ *         "organizations:ListOrganizationalUnitsForParent",
+ *         "organizations:ListParents",
+ *         "organizations:ListChildren",
+ *         "organizations:ListAccounts",
+ *         "organizations:ListAccountsForParent",
+ *         "organizations:ListPolicies",
+ *         "organizations:ListPoliciesForTarget",
+ *         "organizations:ListTargetsForPolicy",
+ *         "organizations:ListTagsForResource"
  *       ],
- *       "Resource": "*"
+ *       "Resource": "*"
  *     }
  *   ]
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/outposts/OutpostsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/outposts/OutpostsFunctions.java index ed1001cda4e..ed97935b1c5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/outposts/OutpostsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/outposts/OutpostsFunctions.java @@ -70,7 +70,8 @@ public static CompletableFuture getAssetPlain(GetAssetPlainArgs * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -97,13 +98,15 @@ public static CompletableFuture getAssetPlain(GetAssetPlainArgs
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Host ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -126,18 +129,20 @@ public static CompletableFuture getAssetPlain(GetAssetPlainArgs
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
+     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Status ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -160,12 +165,13 @@ public static CompletableFuture getAssetPlain(GetAssetPlainArgs
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .statusIdFilters("ACTIVE")
+     *             .statusIdFilters("ACTIVE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -180,7 +186,8 @@ public static Output getAssets(GetAssetsArgs args) { * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -207,13 +214,15 @@ public static Output getAssets(GetAssetsArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Host ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -236,18 +245,20 @@ public static Output getAssets(GetAssetsArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
+     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Status ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -270,12 +281,13 @@ public static Output getAssets(GetAssetsArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .statusIdFilters("ACTIVE")
+     *             .statusIdFilters("ACTIVE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -290,7 +302,8 @@ public static CompletableFuture getAssetsPlain(GetAssetsPlainAr * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -317,13 +330,15 @@ public static CompletableFuture getAssetsPlain(GetAssetsPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Host ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -346,18 +361,20 @@ public static CompletableFuture getAssetsPlain(GetAssetsPlainAr
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
+     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Status ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -380,12 +397,13 @@ public static CompletableFuture getAssetsPlain(GetAssetsPlainAr
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .statusIdFilters("ACTIVE")
+     *             .statusIdFilters("ACTIVE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -400,7 +418,8 @@ public static Output getAssets(GetAssetsArgs args, InvokeOption * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -427,13 +446,15 @@ public static Output getAssets(GetAssetsArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Host ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -456,18 +477,20 @@ public static Output getAssets(GetAssetsArgs args, InvokeOption
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
+     *             .hostIdFilters("h-x38g5n0yd2a0ueb61")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Status ID Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -490,12 +513,13 @@ public static Output getAssets(GetAssetsArgs args, InvokeOption
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getAssets(GetAssetsArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
-     *             .statusIdFilters("ACTIVE")
+     *             .statusIdFilters("ACTIVE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -508,7 +532,8 @@ public static CompletableFuture getAssetsPlain(GetAssetsPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -530,12 +555,13 @@ public static CompletableFuture getAssetsPlain(GetAssetsPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getOutpost(GetOutpostArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -548,7 +574,8 @@ public static Output getOutpost() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -570,12 +597,13 @@ public static Output getOutpost() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getOutpost(GetOutpostArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -588,7 +616,8 @@ public static CompletableFuture getOutpostPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -610,12 +639,13 @@ public static CompletableFuture getOutpostPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getOutpost(GetOutpostArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -628,7 +658,8 @@ public static Output getOutpost(GetOutpostArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -650,12 +681,13 @@ public static Output getOutpost(GetOutpostArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getOutpost(GetOutpostArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -668,7 +700,8 @@ public static CompletableFuture getOutpostPlain(GetOutpostPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -690,12 +723,13 @@ public static CompletableFuture getOutpostPlain(GetOutpostPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getOutpost(GetOutpostArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -708,7 +742,8 @@ public static Output getOutpost(GetOutpostArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -730,12 +765,13 @@ public static Output getOutpost(GetOutpostArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getOutpost(GetOutpostArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -748,7 +784,8 @@ public static CompletableFuture getOutpostPlain(GetOutpostPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -774,17 +811,18 @@ public static CompletableFuture getOutpostPlain(GetOutpostPlai
      *         final var example = OutpostsFunctions.getOutpostInstanceType(GetOutpostInstanceTypeArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
      *             .preferredInstanceTypes(            
-     *                 "m5.large",
-     *                 "m5.4xlarge")
+     *                 "m5.large",
+     *                 "m5.4xlarge")
      *             .build());
      * 
-     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
-     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
+     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
+     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -797,7 +835,8 @@ public static Output getOutpostInstanceType(GetOut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -823,17 +862,18 @@ public static Output getOutpostInstanceType(GetOut
      *         final var example = OutpostsFunctions.getOutpostInstanceType(GetOutpostInstanceTypeArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
      *             .preferredInstanceTypes(            
-     *                 "m5.large",
-     *                 "m5.4xlarge")
+     *                 "m5.large",
+     *                 "m5.4xlarge")
      *             .build());
      * 
-     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
-     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
+     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
+     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -846,7 +886,8 @@ public static CompletableFuture getOutpostInstance * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -872,17 +913,18 @@ public static CompletableFuture getOutpostInstance
      *         final var example = OutpostsFunctions.getOutpostInstanceType(GetOutpostInstanceTypeArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
      *             .preferredInstanceTypes(            
-     *                 "m5.large",
-     *                 "m5.4xlarge")
+     *                 "m5.large",
+     *                 "m5.4xlarge")
      *             .build());
      * 
-     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
-     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
+     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
+     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -895,7 +937,8 @@ public static Output getOutpostInstanceType(GetOut * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -921,17 +964,18 @@ public static Output getOutpostInstanceType(GetOut
      *         final var example = OutpostsFunctions.getOutpostInstanceType(GetOutpostInstanceTypeArgs.builder()
      *             .arn(exampleAwsOutpostsOutpost.arn())
      *             .preferredInstanceTypes(            
-     *                 "m5.large",
-     *                 "m5.4xlarge")
+     *                 "m5.large",
+     *                 "m5.4xlarge")
      *             .build());
      * 
-     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
-     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
+     *         var exampleEc2Instance = new Ec2Instance("exampleEc2Instance", Ec2InstanceArgs.builder()        
+     *             .instanceType(example.applyValue(getOutpostInstanceTypeResult -> getOutpostInstanceTypeResult.instanceType()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -944,7 +988,8 @@ public static CompletableFuture getOutpostInstance * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -971,7 +1016,8 @@ public static CompletableFuture getOutpostInstance
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -984,7 +1030,8 @@ public static Output getOutpostInstanceTypes(GetO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1011,7 +1058,8 @@ public static Output getOutpostInstanceTypes(GetO
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1024,7 +1072,8 @@ public static CompletableFuture getOutpostInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1051,7 +1100,8 @@ public static CompletableFuture getOutpostInstanc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1064,7 +1114,8 @@ public static Output getOutpostInstanceTypes(GetO * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1091,7 +1142,8 @@ public static Output getOutpostInstanceTypes(GetO
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1104,7 +1156,8 @@ public static CompletableFuture getOutpostInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1131,7 +1184,8 @@ public static CompletableFuture getOutpostInstanc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1144,7 +1198,8 @@ public static Output getOutposts() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1171,7 +1226,8 @@ public static Output getOutposts() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1184,7 +1240,8 @@ public static CompletableFuture getOutpostsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1211,7 +1268,8 @@ public static CompletableFuture getOutpostsPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1224,7 +1282,8 @@ public static Output getOutposts(GetOutpostsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1251,7 +1310,8 @@ public static Output getOutposts(GetOutpostsArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1264,7 +1324,8 @@ public static CompletableFuture getOutpostsPlain(GetOutpostsP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1291,7 +1352,8 @@ public static CompletableFuture getOutpostsPlain(GetOutpostsP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1304,7 +1366,8 @@ public static Output getOutposts(GetOutpostsArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1331,7 +1394,8 @@ public static Output getOutposts(GetOutpostsArgs args, Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1344,7 +1408,8 @@ public static CompletableFuture getOutpostsPlain(GetOutpostsP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1366,12 +1431,13 @@ public static CompletableFuture getOutpostsPlain(GetOutpostsP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getSite(GetSiteArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1384,7 +1450,8 @@ public static Output getSite() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1406,12 +1473,13 @@ public static Output getSite() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getSite(GetSiteArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1424,7 +1492,8 @@ public static CompletableFuture getSitePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1446,12 +1515,13 @@ public static CompletableFuture getSitePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getSite(GetSiteArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1464,7 +1534,8 @@ public static Output getSite(GetSiteArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1486,12 +1557,13 @@ public static Output getSite(GetSiteArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getSite(GetSiteArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1504,7 +1576,8 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1526,12 +1599,13 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getSite(GetSiteArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1544,7 +1618,8 @@ public static Output getSite(GetSiteArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1566,12 +1641,13 @@ public static Output getSite(GetSiteArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = OutpostsFunctions.getSite(GetSiteArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1584,7 +1660,8 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1608,7 +1685,8 @@ public static CompletableFuture getSitePlain(GetSitePlainArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1621,7 +1699,8 @@ public static Output getSites() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1645,7 +1724,8 @@ public static Output getSites() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1658,7 +1738,8 @@ public static CompletableFuture getSitesPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1682,7 +1763,8 @@ public static CompletableFuture getSitesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1695,7 +1777,8 @@ public static Output getSites(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1719,7 +1802,8 @@ public static Output getSites(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1732,7 +1816,8 @@ public static CompletableFuture getSitesPlain(InvokeArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1756,7 +1841,8 @@ public static CompletableFuture getSitesPlain(InvokeArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1769,7 +1855,8 @@ public static Output getSites(InvokeArgs args, InvokeOptions opt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1793,7 +1880,8 @@ public static Output getSites(InvokeArgs args, InvokeOptions opt
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/AdmChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/AdmChannel.java index e16c76a7930..197f3a27211 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/AdmChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/AdmChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,18 +46,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var channel = new AdmChannel("channel", AdmChannelArgs.builder()        
+ *         var channel = new AdmChannel("channel", AdmChannelArgs.builder()        
  *             .applicationId(app.applicationId())
- *             .clientId("")
- *             .clientSecret("")
+ *             .clientId("")
+ *             .clientSecret("")
  *             .enabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsChannel.java index 2c5638910d7..549caed5d0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var apns = new ApnsChannel("apns", ApnsChannelArgs.builder()        
+ *         var apns = new ApnsChannel("apns", ApnsChannelArgs.builder()        
  *             .applicationId(app.applicationId())
  *             .certificate(StdFunctions.file(FileArgs.builder()
- *                 .input("./certificate.pem")
+ *                 .input("./certificate.pem")
  *                 .build()).result())
  *             .privateKey(StdFunctions.file(FileArgs.builder()
- *                 .input("./private_key.key")
+ *                 .input("./private_key.key")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsSandboxChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsSandboxChannel.java index 77c3172bb0e..181fbd74313 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsSandboxChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsSandboxChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var apnsSandbox = new ApnsSandboxChannel("apnsSandbox", ApnsSandboxChannelArgs.builder()        
+ *         var apnsSandbox = new ApnsSandboxChannel("apnsSandbox", ApnsSandboxChannelArgs.builder()        
  *             .applicationId(app.applicationId())
  *             .certificate(StdFunctions.file(FileArgs.builder()
- *                 .input("./certificate.pem")
+ *                 .input("./certificate.pem")
  *                 .build()).result())
  *             .privateKey(StdFunctions.file(FileArgs.builder()
- *                 .input("./private_key.key")
+ *                 .input("./private_key.key")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipChannel.java index 2073ff25765..73cd5b66bb0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var apnsVoip = new ApnsVoipChannel("apnsVoip", ApnsVoipChannelArgs.builder()        
+ *         var apnsVoip = new ApnsVoipChannel("apnsVoip", ApnsVoipChannelArgs.builder()        
  *             .applicationId(app.applicationId())
  *             .certificate(StdFunctions.file(FileArgs.builder()
- *                 .input("./certificate.pem")
+ *                 .input("./certificate.pem")
  *                 .build()).result())
  *             .privateKey(StdFunctions.file(FileArgs.builder()
- *                 .input("./private_key.key")
+ *                 .input("./private_key.key")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipSandboxChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipSandboxChannel.java index 54851936ee4..311d1fd1f5b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipSandboxChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/ApnsVoipSandboxChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var apnsVoipSandbox = new ApnsVoipSandboxChannel("apnsVoipSandbox", ApnsVoipSandboxChannelArgs.builder()        
+ *         var apnsVoipSandbox = new ApnsVoipSandboxChannel("apnsVoipSandbox", ApnsVoipSandboxChannelArgs.builder()        
  *             .applicationId(app.applicationId())
  *             .certificate(StdFunctions.file(FileArgs.builder()
- *                 .input("./certificate.pem")
+ *                 .input("./certificate.pem")
  *                 .build()).result())
  *             .privateKey(StdFunctions.file(FileArgs.builder()
- *                 .input("./private_key.key")
+ *                 .input("./private_key.key")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/App.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/App.java index fbeb2ae9e73..cea0238a49b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/App.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/App.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
- *             .name("test-app")
+ *         var example = new App("example", AppArgs.builder()        
+ *             .name("test-app")
  *             .limits(AppLimitsArgs.builder()
  *                 .maximumDuration(600)
  *                 .build())
  *             .quietTime(AppQuietTimeArgs.builder()
- *                 .start("00:00")
- *                 .end("06:00")
+ *                 .start("00:00")
+ *                 .end("06:00")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/BaiduChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/BaiduChannel.java index b0c14eea9af..bf9404592ac 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/BaiduChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/BaiduChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,17 +46,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var channel = new BaiduChannel("channel", BaiduChannelArgs.builder()        
+ *         var channel = new BaiduChannel("channel", BaiduChannelArgs.builder()        
  *             .applicationId(app.applicationId())
- *             .apiKey("")
- *             .secretKey("")
+ *             .apiKey("")
+ *             .secretKey("")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannel.java index 3e12fff1f07..2574f4c74b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannel.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,52 +53,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("pinpoint.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("pinpoint.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var role = new Role("role", RoleArgs.builder()        
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var role = new Role("role", RoleArgs.builder()        
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var email = new EmailChannel("email", EmailChannelArgs.builder()        
+ *         var email = new EmailChannel("email", EmailChannelArgs.builder()        
  *             .applicationId(app.applicationId())
- *             .fromAddress("user@example.com")
+ *             .fromAddress("user{@literal @}example.com")
  *             .roleArn(role.arn())
  *             .build());
  * 
- *         var identity = new DomainIdentity("identity", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var identity = new DomainIdentity("identity", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
  *         final var rolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "mobileanalytics:PutEvents",
- *                     "mobileanalytics:PutItems")
- *                 .resources("*")
+ *                     "mobileanalytics:PutEvents",
+ *                     "mobileanalytics:PutItems")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var rolePolicyRolePolicy = new RolePolicy("rolePolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("role_policy")
+ *         var rolePolicyRolePolicy = new RolePolicy("rolePolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("role_policy")
  *             .role(role.id())
- *             .policy(rolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(rolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -154,14 +156,14 @@ public Output> enabled() { return Codegen.optional(this.enabled); } /** - * The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * */ @Export(name="fromAddress", refs={String.class}, tree="[0]") private Output fromAddress; /** - * @return The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @return The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * */ public Output fromAddress() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannelArgs.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannelArgs.java index c1ac574caff..5cb17ba2efd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannelArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EmailChannelArgs.java @@ -63,14 +63,14 @@ public Optional> enabled() { } /** - * The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * */ @Import(name="fromAddress", required=true) private Output fromAddress; /** - * @return The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @return The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * */ public Output fromAddress() { @@ -200,7 +200,7 @@ public Builder enabled(Boolean enabled) { } /** - * @param fromAddress The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @param fromAddress The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * * @return builder * @@ -211,7 +211,7 @@ public Builder fromAddress(Output fromAddress) { } /** - * @param fromAddress The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @param fromAddress The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EventStream.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EventStream.java index 0cb8c8ea794..b1351bc48a4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EventStream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/EventStream.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,29 +50,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var testStream = new Stream("testStream", StreamArgs.builder()        
- *             .name("pinpoint-kinesis-test")
+ *         var testStream = new Stream("testStream", StreamArgs.builder()        
+ *             .name("pinpoint-kinesis-test")
  *             .shardCount(1)
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("pinpoint.us-east-1.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("pinpoint.us-east-1.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var stream = new EventStream("stream", EventStreamArgs.builder()        
+ *         var stream = new EventStream("stream", EventStreamArgs.builder()        
  *             .applicationId(app.applicationId())
  *             .destinationStreamArn(testStream.arn())
  *             .roleArn(testRole.arn())
@@ -79,23 +80,24 @@
  * 
  *         final var testRolePolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "kinesis:PutRecords",
- *                     "kinesis:DescribeStream")
- *                 .resources("arn:aws:kinesis:us-east-1:*:*{@literal /}*")
+ *                     "kinesis:PutRecords",
+ *                     "kinesis:DescribeStream")
+ *                 .resources("arn:aws:kinesis:us-east-1:*:*{@literal /}*")
  *                 .build())
  *             .build());
  * 
- *         var testRolePolicyRolePolicy = new RolePolicy("testRolePolicyRolePolicy", RolePolicyArgs.builder()        
- *             .name("test_policy")
+ *         var testRolePolicyRolePolicy = new RolePolicy("testRolePolicyRolePolicy", RolePolicyArgs.builder()        
+ *             .name("test_policy")
  *             .role(testRole.id())
- *             .policy(testRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(testRolePolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/GcmChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/GcmChannel.java index adff687b799..f0a3631e4af 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/GcmChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/GcmChannel.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var gcm = new GcmChannel("gcm", GcmChannelArgs.builder()        
+ *         var gcm = new GcmChannel("gcm", GcmChannelArgs.builder()        
  *             .applicationId(app.applicationId())
- *             .apiKey("api_key")
+ *             .apiKey("api_key")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/SmsChannel.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/SmsChannel.java index e25ae37517b..f9a99bd17b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/SmsChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/SmsChannel.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var app = new App("app");
+ *         var app = new App("app");
  * 
- *         var sms = new SmsChannel("sms", SmsChannelArgs.builder()        
+ *         var sms = new SmsChannel("sms", SmsChannelArgs.builder()        
  *             .applicationId(app.applicationId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/inputs/EmailChannelState.java b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/inputs/EmailChannelState.java index 51bc88fa8cc..5ecdea6e87a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pinpoint/inputs/EmailChannelState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pinpoint/inputs/EmailChannelState.java @@ -63,14 +63,14 @@ public Optional> enabled() { } /** - * The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * */ @Import(name="fromAddress") private @Nullable Output fromAddress; /** - * @return The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @return The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * */ public Optional> fromAddress() { @@ -216,7 +216,7 @@ public Builder enabled(Boolean enabled) { } /** - * @param fromAddress The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @param fromAddress The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * * @return builder * @@ -227,7 +227,7 @@ public Builder fromAddress(@Nullable Output fromAddress) { } /** - * @param fromAddress The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). + * @param fromAddress The email address used to send emails from. You can use email only (`user{@literal @}example.com`) or friendly address (`User <user{@literal @}example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/pipes/Pipe.java b/sdk/java/src/main/java/com/pulumi/aws/pipes/Pipe.java index 336448c1324..0e8832b4aec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pipes/Pipe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pipes/Pipe.java @@ -32,7 +32,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -64,61 +65,61 @@
  *     public static void stack(Context ctx) {
  *         final var main = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Role("example", RoleArgs.builder()        
+ *         var example = new Role("example", RoleArgs.builder()        
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "pipes.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "pipes.amazonaws.com")
  *                         )),
- *                         jsonProperty("Condition", jsonObject(
- *                             jsonProperty("StringEquals", jsonObject(
- *                                 jsonProperty("aws:SourceAccount", main.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         jsonProperty("Condition", jsonObject(
+ *                             jsonProperty("StringEquals", jsonObject(
+ *                                 jsonProperty("aws:SourceAccount", main.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                             ))
  *                         ))
  *                     ))
  *                 )))
  *             .build());
  * 
- *         var sourceQueue = new Queue("sourceQueue");
+ *         var sourceQueue = new Queue("sourceQueue");
  * 
- *         var source = new RolePolicy("source", RolePolicyArgs.builder()        
+ *         var source = new RolePolicy("source", RolePolicyArgs.builder()        
  *             .role(example.id())
- *             .policy(sourceQueue.arn().applyValue(arn -> serializeJson(
+ *             .policy(sourceQueue.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", jsonArray(
- *                             "sqs:DeleteMessage", 
- *                             "sqs:GetQueueAttributes", 
- *                             "sqs:ReceiveMessage"
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", jsonArray(
+ *                             "sqs:DeleteMessage", 
+ *                             "sqs:GetQueueAttributes", 
+ *                             "sqs:ReceiveMessage"
  *                         )),
- *                         jsonProperty("Resource", jsonArray(arn))
+ *                         jsonProperty("Resource", jsonArray(arn))
  *                     )))
  *                 ))))
  *             .build());
  * 
- *         var targetQueue = new Queue("targetQueue");
+ *         var targetQueue = new Queue("targetQueue");
  * 
- *         var target = new RolePolicy("target", RolePolicyArgs.builder()        
+ *         var target = new RolePolicy("target", RolePolicyArgs.builder()        
  *             .role(example.id())
- *             .policy(targetQueue.arn().applyValue(arn -> serializeJson(
+ *             .policy(targetQueue.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", jsonArray("sqs:SendMessage")),
- *                         jsonProperty("Resource", jsonArray(arn))
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", jsonArray("sqs:SendMessage")),
+ *                         jsonProperty("Resource", jsonArray(arn))
  *                     )))
  *                 ))))
  *             .build());
  * 
- *         var examplePipe = new Pipe("examplePipe", PipeArgs.builder()        
- *             .name("example-pipe")
+ *         var examplePipe = new Pipe("examplePipe", PipeArgs.builder()        
+ *             .name("example-pipe")
  *             .roleArn(example.arn())
  *             .source(sourceQueue.arn())
  *             .target(targetQueue.arn())
@@ -130,13 +131,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enrichment Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -159,22 +162,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Pipe("example", PipeArgs.builder()        
- *             .name("example-pipe")
+ *         var example = new Pipe("example", PipeArgs.builder()        
+ *             .name("example-pipe")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .source(source.arn())
  *             .target(target.arn())
  *             .enrichment(exampleAwsCloudwatchEventApiDestination.arn())
  *             .enrichmentParameters(PipeEnrichmentParametersArgs.builder()
  *                 .httpParameters(PipeEnrichmentParametersHttpParametersArgs.builder()
- *                     .pathParameterValues("example-path-param")
+ *                     .pathParameterValues("example-path-param")
  *                     .headerParameters(Map.ofEntries(
- *                         Map.entry("example-header", "example-value"),
- *                         Map.entry("second-example-header", "second-example-value")
+ *                         Map.entry("example-header", "example-value"),
+ *                         Map.entry("second-example-header", "second-example-value")
  *                     ))
  *                     .queryStringParameters(Map.ofEntries(
- *                         Map.entry("example-query-string", "example-value"),
- *                         Map.entry("second-example-query-string", "second-example-value")
+ *                         Map.entry("example-query-string", "example-value"),
+ *                         Map.entry("second-example-query-string", "second-example-value")
  *                     ))
  *                     .build())
  *                 .build())
@@ -182,13 +185,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Filter Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -212,8 +217,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Pipe("example", PipeArgs.builder()        
- *             .name("example-pipe")
+ *         var example = new Pipe("example", PipeArgs.builder()        
+ *             .name("example-pipe")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .source(source.arn())
  *             .target(target.arn())
@@ -222,7 +227,7 @@
  *                     .filters(PipeSourceParametersFilterCriteriaFilterArgs.builder()
  *                         .pattern(serializeJson(
  *                             jsonObject(
- *                                 jsonProperty("source", jsonArray("event-source"))
+ *                                 jsonProperty("source", jsonArray("event-source"))
  *                             )))
  *                         .build())
  *                     .build())
@@ -231,13 +236,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SQS Source and Target Configuration Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -261,8 +268,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Pipe("example", PipeArgs.builder()        
- *             .name("example-pipe")
+ *         var example = new Pipe("example", PipeArgs.builder()        
+ *             .name("example-pipe")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .source(source.arn())
  *             .target(target.arn())
@@ -279,7 +286,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/polly/PollyFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/polly/PollyFunctions.java index 7eeb53636db..08264b5b198 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/polly/PollyFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/polly/PollyFunctions.java @@ -22,7 +22,8 @@ public final class PollyFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,13 +48,15 @@ public final class PollyFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -75,12 +78,13 @@ public final class PollyFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PollyFunctions.getVoices(GetVoicesArgs.builder()
-     *             .languageCode("en-GB")
+     *             .languageCode("en-GB")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -95,7 +99,8 @@ public static Output getVoices() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -120,13 +125,15 @@ public static Output getVoices() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -148,12 +155,13 @@ public static Output getVoices() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PollyFunctions.getVoices(GetVoicesArgs.builder()
-     *             .languageCode("en-GB")
+     *             .languageCode("en-GB")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -168,7 +176,8 @@ public static CompletableFuture getVoicesPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -193,13 +202,15 @@ public static CompletableFuture getVoicesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -221,12 +232,13 @@ public static CompletableFuture getVoicesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PollyFunctions.getVoices(GetVoicesArgs.builder()
-     *             .languageCode("en-GB")
+     *             .languageCode("en-GB")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -241,7 +253,8 @@ public static Output getVoices(GetVoicesArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -266,13 +279,15 @@ public static Output getVoices(GetVoicesArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -294,12 +309,13 @@ public static Output getVoices(GetVoicesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PollyFunctions.getVoices(GetVoicesArgs.builder()
-     *             .languageCode("en-GB")
+     *             .languageCode("en-GB")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -314,7 +330,8 @@ public static CompletableFuture getVoicesPlain(GetVoicesPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -339,13 +356,15 @@ public static CompletableFuture getVoicesPlain(GetVoicesPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -367,12 +386,13 @@ public static CompletableFuture getVoicesPlain(GetVoicesPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PollyFunctions.getVoices(GetVoicesArgs.builder()
-     *             .languageCode("en-GB")
+     *             .languageCode("en-GB")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -387,7 +407,8 @@ public static Output getVoices(GetVoicesArgs args, InvokeOption * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -412,13 +433,15 @@ public static Output getVoices(GetVoicesArgs args, InvokeOption
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With Language Code * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -440,12 +463,13 @@ public static Output getVoices(GetVoicesArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PollyFunctions.getVoices(GetVoicesArgs.builder()
-     *             .languageCode("en-GB")
+     *             .languageCode("en-GB")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/pricing/PricingFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/pricing/PricingFunctions.java index 77ebde6b039..15818033953 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/pricing/PricingFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/pricing/PricingFunctions.java @@ -21,7 +21,8 @@ public final class PricingFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -43,45 +44,47 @@ public final class PricingFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonEC2")
+     *             .serviceCode("AmazonEC2")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("c5.xlarge")
+     *                     .field("instanceType")
+     *                     .value("c5.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("operatingSystem")
-     *                     .value("Linux")
+     *                     .field("operatingSystem")
+     *                     .value("Linux")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("preInstalledSw")
-     *                     .value("NA")
+     *                     .field("preInstalledSw")
+     *                     .value("NA")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("licenseModel")
-     *                     .value("No License required")
+     *                     .field("licenseModel")
+     *                     .value("No License required")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("tenancy")
-     *                     .value("Shared")
+     *                     .field("tenancy")
+     *                     .value("Shared")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("capacitystatus")
-     *                     .value("Used")
+     *                     .field("capacitystatus")
+     *                     .value("Used")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -103,21 +106,22 @@ public final class PricingFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonRedshift")
+     *             .serviceCode("AmazonRedshift")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("ds1.xlarge")
+     *                     .field("instanceType")
+     *                     .value("ds1.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -131,7 +135,8 @@ public static Output getProduct(GetProductArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -153,45 +158,47 @@ public static Output getProduct(GetProductArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonEC2")
+     *             .serviceCode("AmazonEC2")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("c5.xlarge")
+     *                     .field("instanceType")
+     *                     .value("c5.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("operatingSystem")
-     *                     .value("Linux")
+     *                     .field("operatingSystem")
+     *                     .value("Linux")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("preInstalledSw")
-     *                     .value("NA")
+     *                     .field("preInstalledSw")
+     *                     .value("NA")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("licenseModel")
-     *                     .value("No License required")
+     *                     .field("licenseModel")
+     *                     .value("No License required")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("tenancy")
-     *                     .value("Shared")
+     *                     .field("tenancy")
+     *                     .value("Shared")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("capacitystatus")
-     *                     .value("Used")
+     *                     .field("capacitystatus")
+     *                     .value("Used")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -213,21 +220,22 @@ public static Output getProduct(GetProductArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonRedshift")
+     *             .serviceCode("AmazonRedshift")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("ds1.xlarge")
+     *                     .field("instanceType")
+     *                     .value("ds1.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -241,7 +249,8 @@ public static CompletableFuture getProductPlain(GetProductPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -263,45 +272,47 @@ public static CompletableFuture getProductPlain(GetProductPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonEC2")
+     *             .serviceCode("AmazonEC2")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("c5.xlarge")
+     *                     .field("instanceType")
+     *                     .value("c5.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("operatingSystem")
-     *                     .value("Linux")
+     *                     .field("operatingSystem")
+     *                     .value("Linux")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("preInstalledSw")
-     *                     .value("NA")
+     *                     .field("preInstalledSw")
+     *                     .value("NA")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("licenseModel")
-     *                     .value("No License required")
+     *                     .field("licenseModel")
+     *                     .value("No License required")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("tenancy")
-     *                     .value("Shared")
+     *                     .field("tenancy")
+     *                     .value("Shared")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("capacitystatus")
-     *                     .value("Used")
+     *                     .field("capacitystatus")
+     *                     .value("Used")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -323,21 +334,22 @@ public static CompletableFuture getProductPlain(GetProductPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonRedshift")
+     *             .serviceCode("AmazonRedshift")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("ds1.xlarge")
+     *                     .field("instanceType")
+     *                     .value("ds1.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -351,7 +363,8 @@ public static Output getProduct(GetProductArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -373,45 +386,47 @@ public static Output getProduct(GetProductArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonEC2")
+     *             .serviceCode("AmazonEC2")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("c5.xlarge")
+     *                     .field("instanceType")
+     *                     .value("c5.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("operatingSystem")
-     *                     .value("Linux")
+     *                     .field("operatingSystem")
+     *                     .value("Linux")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("preInstalledSw")
-     *                     .value("NA")
+     *                     .field("preInstalledSw")
+     *                     .value("NA")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("licenseModel")
-     *                     .value("No License required")
+     *                     .field("licenseModel")
+     *                     .value("No License required")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("tenancy")
-     *                     .value("Shared")
+     *                     .field("tenancy")
+     *                     .value("Shared")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("capacitystatus")
-     *                     .value("Used")
+     *                     .field("capacitystatus")
+     *                     .value("Used")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -433,21 +448,22 @@ public static Output getProduct(GetProductArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = PricingFunctions.getProduct(GetProductArgs.builder()
-     *             .serviceCode("AmazonRedshift")
+     *             .serviceCode("AmazonRedshift")
      *             .filters(            
      *                 GetProductFilterArgs.builder()
-     *                     .field("instanceType")
-     *                     .value("ds1.xlarge")
+     *                     .field("instanceType")
+     *                     .value("ds1.xlarge")
      *                     .build(),
      *                 GetProductFilterArgs.builder()
-     *                     .field("location")
-     *                     .value("US East (N. Virginia)")
+     *                     .field("location")
+     *                     .value("US East (N. Virginia)")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/qldb/Ledger.java b/sdk/java/src/main/java/com/pulumi/aws/qldb/Ledger.java index a2e28cab813..7fb3d68c6ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/qldb/Ledger.java +++ b/sdk/java/src/main/java/com/pulumi/aws/qldb/Ledger.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sample_ledger = new Ledger("sample-ledger", LedgerArgs.builder()        
- *             .name("sample-ledger")
- *             .permissionsMode("STANDARD")
+ *         var sample_ledger = new Ledger("sample-ledger", LedgerArgs.builder()        
+ *             .name("sample-ledger")
+ *             .permissionsMode("STANDARD")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/qldb/QldbFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/qldb/QldbFunctions.java index d3c74358a5d..30cb6a401c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/qldb/QldbFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/qldb/QldbFunctions.java @@ -20,7 +20,8 @@ public final class QldbFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class QldbFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QldbFunctions.getLedger(GetLedgerArgs.builder()
-     *             .name("an_example_ledger")
+     *             .name("an_example_ledger")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getLedger(GetLedgerArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getLedger(GetLedgerArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QldbFunctions.getLedger(GetLedgerArgs.builder()
-     *             .name("an_example_ledger")
+     *             .name("an_example_ledger")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getLedgerPlain(GetLedgerPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getLedgerPlain(GetLedgerPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QldbFunctions.getLedger(GetLedgerArgs.builder()
-     *             .name("an_example_ledger")
+     *             .name("an_example_ledger")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getLedger(GetLedgerArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getLedger(GetLedgerArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QldbFunctions.getLedger(GetLedgerArgs.builder()
-     *             .name("an_example_ledger")
+     *             .name("an_example_ledger")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/qldb/Stream.java b/sdk/java/src/main/java/com/pulumi/aws/qldb/Stream.java index 1d1d7cd818f..94158cef41a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/qldb/Stream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/qldb/Stream.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,21 +45,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Stream("example", StreamArgs.builder()        
- *             .ledgerName("existing-ledger-name")
- *             .streamName("sample-ledger-stream")
- *             .roleArn("sample-role-arn")
- *             .inclusiveStartTime("2021-01-01T00:00:00Z")
+ *         var example = new Stream("example", StreamArgs.builder()        
+ *             .ledgerName("existing-ledger-name")
+ *             .streamName("sample-ledger-stream")
+ *             .roleArn("sample-role-arn")
+ *             .inclusiveStartTime("2021-01-01T00:00:00Z")
  *             .kinesisConfiguration(StreamKinesisConfigurationArgs.builder()
  *                 .aggregationEnabled(false)
- *                 .streamArn("arn:aws:kinesis:us-east-1:xxxxxxxxxxxx:stream/example-kinesis-stream")
+ *                 .streamArn("arn:aws:kinesis:us-east-1:xxxxxxxxxxxx:stream/example-kinesis-stream")
  *                 .build())
- *             .tags(Map.of("example", "tag"))
+ *             .tags(Map.of("example", "tag"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/AccountSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/AccountSubscription.java index 168638da13a..4422d97c425 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/AccountSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/AccountSubscription.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var subscription = new AccountSubscription("subscription", AccountSubscriptionArgs.builder()        
- *             .accountName("quicksight-pulumi")
- *             .authenticationMethod("IAM_AND_QUICKSIGHT")
- *             .edition("ENTERPRISE")
- *             .notificationEmail("notification@email.com")
+ *         var subscription = new AccountSubscription("subscription", AccountSubscriptionArgs.builder()        
+ *             .accountName("quicksight-pulumi")
+ *             .authenticationMethod("IAM_AND_QUICKSIGHT")
+ *             .edition("ENTERPRISE")
+ *             .notificationEmail("notification{@literal @}email.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Analysis.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Analysis.java index 23631460ae1..6b906d341a8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Analysis.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Analysis.java @@ -28,7 +28,8 @@ * ### From Source Template * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,15 +52,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Analysis("example", AnalysisArgs.builder()        
- *             .analysisId("example-id")
- *             .name("example-name")
+ *         var example = new Analysis("example", AnalysisArgs.builder()        
+ *             .analysisId("example-id")
+ *             .name("example-name")
  *             .sourceEntity(AnalysisSourceEntityArgs.builder()
  *                 .sourceTemplate(AnalysisSourceEntitySourceTemplateArgs.builder()
  *                     .arn(source.arn())
  *                     .dataSetReferences(AnalysisSourceEntitySourceTemplateDataSetReferenceArgs.builder()
  *                         .dataSetArn(dataset.arn())
- *                         .dataSetPlaceholder("1")
+ *                         .dataSetPlaceholder("1")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -67,13 +68,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Definition * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,15 +97,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Analysis("example", AnalysisArgs.builder()        
- *             .analysisId("example-id")
- *             .name("example-name")
+ *         var example = new Analysis("example", AnalysisArgs.builder()        
+ *             .analysisId("example-id")
+ *             .name("example-name")
  *             .definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Dashboard.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Dashboard.java index bf2b18ae27e..81effc2aaf0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Dashboard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Dashboard.java @@ -29,7 +29,8 @@ * ### From Source Template * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,16 +53,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Dashboard("example", DashboardArgs.builder()        
- *             .dashboardId("example-id")
- *             .name("example-name")
- *             .versionDescription("version")
+ *         var example = new Dashboard("example", DashboardArgs.builder()        
+ *             .dashboardId("example-id")
+ *             .name("example-name")
+ *             .versionDescription("version")
  *             .sourceEntity(DashboardSourceEntityArgs.builder()
  *                 .sourceTemplate(DashboardSourceEntitySourceTemplateArgs.builder()
  *                     .arn(source.arn())
  *                     .dataSetReferences(DashboardSourceEntitySourceTemplateDataSetReferenceArgs.builder()
  *                         .dataSetArn(dataset.arn())
- *                         .dataSetPlaceholder("1")
+ *                         .dataSetPlaceholder("1")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -69,13 +70,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Definition * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -96,16 +99,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Dashboard("example", DashboardArgs.builder()        
- *             .dashboardId("example-id")
- *             .name("example-name")
- *             .versionDescription("version")
+ *         var example = new Dashboard("example", DashboardArgs.builder()        
+ *             .dashboardId("example-id")
+ *             .name("example-name")
+ *             .versionDescription("version")
  *             .definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSet.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSet.java index d06d553795d..efcc5c4ab84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSet.java @@ -35,7 +35,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,20 +60,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSet("example", DataSetArgs.builder()        
- *             .dataSetId("example-id")
- *             .name("example-name")
- *             .importMode("SPICE")
+ *         var example = new DataSet("example", DataSetArgs.builder()        
+ *             .dataSetId("example-id")
+ *             .name("example-name")
+ *             .importMode("SPICE")
  *             .physicalTableMaps(DataSetPhysicalTableMapArgs.builder()
- *                 .physicalTableMapId("example-id")
+ *                 .physicalTableMapId("example-id")
  *                 .s3Source(DataSetPhysicalTableMapS3SourceArgs.builder()
  *                     .dataSourceArn(exampleAwsQuicksightDataSource.arn())
  *                     .inputColumns(DataSetPhysicalTableMapS3SourceInputColumnArgs.builder()
- *                         .name("Column1")
- *                         .type("STRING")
+ *                         .name("Column1")
+ *                         .type("STRING")
  *                         .build())
  *                     .uploadSettings(DataSetPhysicalTableMapS3SourceUploadSettingsArgs.builder()
- *                         .format("JSON")
+ *                         .format("JSON")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -80,13 +81,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Column Level Permission Rules * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -111,38 +114,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSet("example", DataSetArgs.builder()        
- *             .dataSetId("example-id")
- *             .name("example-name")
- *             .importMode("SPICE")
+ *         var example = new DataSet("example", DataSetArgs.builder()        
+ *             .dataSetId("example-id")
+ *             .name("example-name")
+ *             .importMode("SPICE")
  *             .physicalTableMaps(DataSetPhysicalTableMapArgs.builder()
- *                 .physicalTableMapId("example-id")
+ *                 .physicalTableMapId("example-id")
  *                 .s3Source(DataSetPhysicalTableMapS3SourceArgs.builder()
  *                     .dataSourceArn(exampleAwsQuicksightDataSource.arn())
  *                     .inputColumns(DataSetPhysicalTableMapS3SourceInputColumnArgs.builder()
- *                         .name("Column1")
- *                         .type("STRING")
+ *                         .name("Column1")
+ *                         .type("STRING")
  *                         .build())
  *                     .uploadSettings(DataSetPhysicalTableMapS3SourceUploadSettingsArgs.builder()
- *                         .format("JSON")
+ *                         .format("JSON")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .columnLevelPermissionRules(DataSetColumnLevelPermissionRuleArgs.builder()
- *                 .columnNames("Column1")
+ *                 .columnNames("Column1")
  *                 .principals(exampleAwsQuicksightUser.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Field Folders * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -167,39 +172,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSet("example", DataSetArgs.builder()        
- *             .dataSetId("example-id")
- *             .name("example-name")
- *             .importMode("SPICE")
+ *         var example = new DataSet("example", DataSetArgs.builder()        
+ *             .dataSetId("example-id")
+ *             .name("example-name")
+ *             .importMode("SPICE")
  *             .physicalTableMaps(DataSetPhysicalTableMapArgs.builder()
- *                 .physicalTableMapId("example-id")
+ *                 .physicalTableMapId("example-id")
  *                 .s3Source(DataSetPhysicalTableMapS3SourceArgs.builder()
  *                     .dataSourceArn(exampleAwsQuicksightDataSource.arn())
  *                     .inputColumns(DataSetPhysicalTableMapS3SourceInputColumnArgs.builder()
- *                         .name("Column1")
- *                         .type("STRING")
+ *                         .name("Column1")
+ *                         .type("STRING")
  *                         .build())
  *                     .uploadSettings(DataSetPhysicalTableMapS3SourceUploadSettingsArgs.builder()
- *                         .format("JSON")
+ *                         .format("JSON")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .fieldFolders(DataSetFieldFolderArgs.builder()
- *                 .fieldFoldersId("example-id")
- *                 .columns("Column1")
- *                 .description("example description")
+ *                 .fieldFoldersId("example-id")
+ *                 .columns("Column1")
+ *                 .description("example description")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -224,43 +231,45 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSet("example", DataSetArgs.builder()        
- *             .dataSetId("example-id")
- *             .name("example-name")
- *             .importMode("SPICE")
+ *         var example = new DataSet("example", DataSetArgs.builder()        
+ *             .dataSetId("example-id")
+ *             .name("example-name")
+ *             .importMode("SPICE")
  *             .physicalTableMaps(DataSetPhysicalTableMapArgs.builder()
- *                 .physicalTableMapId("example-id")
+ *                 .physicalTableMapId("example-id")
  *                 .s3Source(DataSetPhysicalTableMapS3SourceArgs.builder()
  *                     .dataSourceArn(exampleAwsQuicksightDataSource.arn())
  *                     .inputColumns(DataSetPhysicalTableMapS3SourceInputColumnArgs.builder()
- *                         .name("Column1")
- *                         .type("STRING")
+ *                         .name("Column1")
+ *                         .type("STRING")
  *                         .build())
  *                     .uploadSettings(DataSetPhysicalTableMapS3SourceUploadSettingsArgs.builder()
- *                         .format("JSON")
+ *                         .format("JSON")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .permissions(DataSetPermissionArgs.builder()
  *                 .actions(                
- *                     "quicksight:DescribeDataSet",
- *                     "quicksight:DescribeDataSetPermissions",
- *                     "quicksight:PassDataSet",
- *                     "quicksight:DescribeIngestion",
- *                     "quicksight:ListIngestions")
+ *                     "quicksight:DescribeDataSet",
+ *                     "quicksight:DescribeDataSetPermissions",
+ *                     "quicksight:PassDataSet",
+ *                     "quicksight:DescribeIngestion",
+ *                     "quicksight:ListIngestions")
  *                 .principal(exampleAwsQuicksightUser.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Row Level Permission Tag Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -285,37 +294,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataSet("example", DataSetArgs.builder()        
- *             .dataSetId("example-id")
- *             .name("example-name")
- *             .importMode("SPICE")
+ *         var example = new DataSet("example", DataSetArgs.builder()        
+ *             .dataSetId("example-id")
+ *             .name("example-name")
+ *             .importMode("SPICE")
  *             .physicalTableMaps(DataSetPhysicalTableMapArgs.builder()
- *                 .physicalTableMapId("example-id")
+ *                 .physicalTableMapId("example-id")
  *                 .s3Source(DataSetPhysicalTableMapS3SourceArgs.builder()
  *                     .dataSourceArn(exampleAwsQuicksightDataSource.arn())
  *                     .inputColumns(DataSetPhysicalTableMapS3SourceInputColumnArgs.builder()
- *                         .name("Column1")
- *                         .type("STRING")
+ *                         .name("Column1")
+ *                         .type("STRING")
  *                         .build())
  *                     .uploadSettings(DataSetPhysicalTableMapS3SourceUploadSettingsArgs.builder()
- *                         .format("JSON")
+ *                         .format("JSON")
  *                         .build())
  *                     .build())
  *                 .build())
  *             .rowLevelPermissionTagConfiguration(DataSetRowLevelPermissionTagConfigurationArgs.builder()
- *                 .status("ENABLED")
+ *                 .status("ENABLED")
  *                 .tagRules(DataSetRowLevelPermissionTagConfigurationTagRuleArgs.builder()
- *                     .columnName("Column1")
- *                     .tagKey("tagkey")
- *                     .matchAllValue("*")
- *                     .tagMultiValueDelimiter(",")
+ *                     .columnName("Column1")
+ *                     .tagKey("tagkey")
+ *                     .matchAllValue("*")
+ *                     .tagMultiValueDelimiter(",")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSource.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSource.java index ae0992ae616..c2ce86b46e2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/DataSource.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,23 +52,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new DataSource("default", DataSourceArgs.builder()        
- *             .dataSourceId("example-id")
- *             .name("My Cool Data in S3")
+ *         var default_ = new DataSource("default", DataSourceArgs.builder()        
+ *             .dataSourceId("example-id")
+ *             .name("My Cool Data in S3")
  *             .parameters(DataSourceParametersArgs.builder()
  *                 .s3(DataSourceParametersS3Args.builder()
  *                     .manifestFileLocation(DataSourceParametersS3ManifestFileLocationArgs.builder()
- *                         .bucket("my-bucket")
- *                         .key("path/to/manifest.json")
+ *                         .bucket("my-bucket")
+ *                         .key("path/to/manifest.json")
  *                         .build())
  *                     .build())
  *                 .build())
- *             .type("S3")
+ *             .type("S3")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Folder.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Folder.java index 664e71da7ea..483034dee97 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Folder.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Folder.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Folder("example", FolderArgs.builder()        
- *             .folderId("example-id")
- *             .name("example-name")
+ *         var example = new Folder("example", FolderArgs.builder()        
+ *             .folderId("example-id")
+ *             .name("example-name")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Permissions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,32 +84,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Folder("example", FolderArgs.builder()        
- *             .folderId("example-id")
- *             .name("example-name")
+ *         var example = new Folder("example", FolderArgs.builder()        
+ *             .folderId("example-id")
+ *             .name("example-name")
  *             .permissions(FolderPermissionArgs.builder()
  *                 .actions(                
- *                     "quicksight:CreateFolder",
- *                     "quicksight:DescribeFolder",
- *                     "quicksight:UpdateFolder",
- *                     "quicksight:DeleteFolder",
- *                     "quicksight:CreateFolderMembership",
- *                     "quicksight:DeleteFolderMembership",
- *                     "quicksight:DescribeFolderPermissions",
- *                     "quicksight:UpdateFolderPermissions")
+ *                     "quicksight:CreateFolder",
+ *                     "quicksight:DescribeFolder",
+ *                     "quicksight:UpdateFolder",
+ *                     "quicksight:DeleteFolder",
+ *                     "quicksight:CreateFolderMembership",
+ *                     "quicksight:DeleteFolderMembership",
+ *                     "quicksight:DescribeFolderPermissions",
+ *                     "quicksight:UpdateFolderPermissions")
  *                 .principal(exampleAwsQuicksightUser.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Parent Folder * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -127,20 +132,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var parent = new Folder("parent", FolderArgs.builder()        
- *             .folderId("parent-id")
- *             .name("parent-name")
+ *         var parent = new Folder("parent", FolderArgs.builder()        
+ *             .folderId("parent-id")
+ *             .name("parent-name")
  *             .build());
  * 
- *         var example = new Folder("example", FolderArgs.builder()        
- *             .folderId("example-id")
- *             .name("example-name")
+ *         var example = new Folder("example", FolderArgs.builder()        
+ *             .folderId("example-id")
+ *             .name("example-name")
  *             .parentFolderArn(parent.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/FolderMembership.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/FolderMembership.java index a5a05feab4a..dedc1a7a915 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/FolderMembership.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/FolderMembership.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FolderMembership("example", FolderMembershipArgs.builder()        
+ *         var example = new FolderMembership("example", FolderMembershipArgs.builder()        
  *             .folderId(exampleAwsQuicksightFolder.folderId())
- *             .memberType("DATASET")
+ *             .memberType("DATASET")
  *             .memberId(exampleAwsQuicksightDataSet.dataSetId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Group.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Group.java index 87e86ca5ff3..a781d4653f6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Group.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,13 +42,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Group("example", GroupArgs.builder()        
- *             .groupName("tf-example")
+ *         var example = new Group("example", GroupArgs.builder()        
+ *             .groupName("tf-example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/GroupMembership.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/GroupMembership.java index 63dc14c9dd3..c3dde45168f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/GroupMembership.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/GroupMembership.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,14 +42,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GroupMembership("example", GroupMembershipArgs.builder()        
- *             .groupName("all-access-users")
- *             .memberName("john_smith")
+ *         var example = new GroupMembership("example", GroupMembershipArgs.builder()        
+ *             .groupName("all-access-users")
+ *             .memberName("john_smith")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/IamPolicyAssignment.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/IamPolicyAssignment.java index d9a6cb29905..0302d025fc0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/IamPolicyAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/IamPolicyAssignment.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,9 +46,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new IamPolicyAssignment("example", IamPolicyAssignmentArgs.builder()        
- *             .assignmentName("example")
- *             .assignmentStatus("ENABLED")
+ *         var example = new IamPolicyAssignment("example", IamPolicyAssignmentArgs.builder()        
+ *             .assignmentName("example")
+ *             .assignmentStatus("ENABLED")
  *             .policyArn(exampleAwsIamPolicy.arn())
  *             .identities(IamPolicyAssignmentIdentitiesArgs.builder()
  *                 .users(exampleAwsQuicksightUser.userName())
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Ingestion.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Ingestion.java index 9d2aaa784f0..7a323c1d18b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Ingestion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Ingestion.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Ingestion("example", IngestionArgs.builder()        
+ *         var example = new Ingestion("example", IngestionArgs.builder()        
  *             .dataSetId(exampleAwsQuicksightDataSet.dataSetId())
- *             .ingestionId("example-id")
- *             .ingestionType("FULL_REFRESH")
+ *             .ingestionId("example-id")
+ *             .ingestionType("FULL_REFRESH")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Namespace.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Namespace.java index 3ad56eecc62..3a9143c4391 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Namespace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Namespace.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,13 +46,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Namespace("example", NamespaceArgs.builder()        
- *             .namespace("example")
+ *         var example = new Namespace("example", NamespaceArgs.builder()        
+ *             .namespace("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/QuicksightFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/QuicksightFunctions.java index 6deec250278..eb8b2d5f3c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/QuicksightFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/QuicksightFunctions.java @@ -31,7 +31,8 @@ public final class QuicksightFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,12 +54,13 @@ public final class QuicksightFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getDataSet(GetDataSetArgs.builder()
-     *             .dataSetId("example-id")
+     *             .dataSetId("example-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -73,7 +75,8 @@ public static Output getDataSet(GetDataSetArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -95,12 +98,13 @@ public static Output getDataSet(GetDataSetArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getDataSet(GetDataSetArgs.builder()
-     *             .dataSetId("example-id")
+     *             .dataSetId("example-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -115,7 +119,8 @@ public static CompletableFuture getDataSetPlain(GetDataSetPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -137,12 +142,13 @@ public static CompletableFuture getDataSetPlain(GetDataSetPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getDataSet(GetDataSetArgs.builder()
-     *             .dataSetId("example-id")
+     *             .dataSetId("example-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -157,7 +163,8 @@ public static Output getDataSet(GetDataSetArgs args, InvokeOpt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -179,12 +186,13 @@ public static Output getDataSet(GetDataSetArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getDataSet(GetDataSetArgs.builder()
-     *             .dataSetId("example-id")
+     *             .dataSetId("example-id")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -201,7 +209,8 @@ public static CompletableFuture getDataSetPlain(GetDataSetPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -223,12 +232,13 @@ public static CompletableFuture getDataSetPlain(GetDataSetPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightGroup(GetQuicksightGroupArgs.builder()
-     *             .groupName("example")
+     *             .groupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -245,7 +255,8 @@ public static Output getQuicksightGroup(GetQuicksightG * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -267,12 +278,13 @@ public static Output getQuicksightGroup(GetQuicksightG
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightGroup(GetQuicksightGroupArgs.builder()
-     *             .groupName("example")
+     *             .groupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -289,7 +301,8 @@ public static CompletableFuture getQuicksightGroupPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -311,12 +324,13 @@ public static CompletableFuture getQuicksightGroupPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightGroup(GetQuicksightGroupArgs.builder()
-     *             .groupName("example")
+     *             .groupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -333,7 +347,8 @@ public static Output getQuicksightGroup(GetQuicksightG * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -355,12 +370,13 @@ public static Output getQuicksightGroup(GetQuicksightG
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightGroup(GetQuicksightGroupArgs.builder()
-     *             .groupName("example")
+     *             .groupName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -377,7 +393,8 @@ public static CompletableFuture getQuicksightGroupPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -399,12 +416,13 @@ public static CompletableFuture getQuicksightGroupPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightUser(GetQuicksightUserArgs.builder()
-     *             .userName("example")
+     *             .userName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -421,7 +439,8 @@ public static Output getQuicksightUser(GetQuicksightUse * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -443,12 +462,13 @@ public static Output getQuicksightUser(GetQuicksightUse
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightUser(GetQuicksightUserArgs.builder()
-     *             .userName("example")
+     *             .userName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -465,7 +485,8 @@ public static CompletableFuture getQuicksightUserPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -487,12 +508,13 @@ public static CompletableFuture getQuicksightUserPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightUser(GetQuicksightUserArgs.builder()
-     *             .userName("example")
+     *             .userName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -509,7 +531,8 @@ public static Output getQuicksightUser(GetQuicksightUse * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -531,12 +554,13 @@ public static Output getQuicksightUser(GetQuicksightUse
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getQuicksightUser(GetQuicksightUserArgs.builder()
-     *             .userName("example")
+     *             .userName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -551,7 +575,8 @@ public static CompletableFuture getQuicksightUserPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -573,12 +598,13 @@ public static CompletableFuture getQuicksightUserPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getTheme(GetThemeArgs.builder()
-     *             .themeId("example")
+     *             .themeId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -593,7 +619,8 @@ public static Output getTheme(GetThemeArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -615,12 +642,13 @@ public static Output getTheme(GetThemeArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getTheme(GetThemeArgs.builder()
-     *             .themeId("example")
+     *             .themeId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -635,7 +663,8 @@ public static CompletableFuture getThemePlain(GetThemePlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -657,12 +686,13 @@ public static CompletableFuture getThemePlain(GetThemePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getTheme(GetThemeArgs.builder()
-     *             .themeId("example")
+     *             .themeId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -677,7 +707,8 @@ public static Output getTheme(GetThemeArgs args, InvokeOptions o * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -699,12 +730,13 @@ public static Output getTheme(GetThemeArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = QuicksightFunctions.getTheme(GetThemeArgs.builder()
-     *             .themeId("example")
+     *             .themeId("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/RefreshSchedule.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/RefreshSchedule.java index d089aa6da6b..143b2b949d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/RefreshSchedule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/RefreshSchedule.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,26 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RefreshSchedule("example", RefreshScheduleArgs.builder()        
- *             .dataSetId("dataset-id")
- *             .scheduleId("schedule-id")
+ *         var example = new RefreshSchedule("example", RefreshScheduleArgs.builder()        
+ *             .dataSetId("dataset-id")
+ *             .scheduleId("schedule-id")
  *             .schedule(RefreshScheduleScheduleArgs.builder()
- *                 .refreshType("FULL_REFRESH")
+ *                 .refreshType("FULL_REFRESH")
  *                 .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
- *                     .interval("HOURLY")
+ *                     .interval("HOURLY")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Weekly Refresh * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,17 +92,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RefreshSchedule("example", RefreshScheduleArgs.builder()        
- *             .dataSetId("dataset-id")
- *             .scheduleId("schedule-id")
+ *         var example = new RefreshSchedule("example", RefreshScheduleArgs.builder()        
+ *             .dataSetId("dataset-id")
+ *             .scheduleId("schedule-id")
  *             .schedule(RefreshScheduleScheduleArgs.builder()
- *                 .refreshType("INCREMENTAL_REFRESH")
+ *                 .refreshType("INCREMENTAL_REFRESH")
  *                 .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
- *                     .interval("WEEKLY")
- *                     .timeOfTheDay("01:00")
- *                     .timezone("Europe/London")
+ *                     .interval("WEEKLY")
+ *                     .timeOfTheDay("01:00")
+ *                     .timezone("Europe/London")
  *                     .refreshOnDay(RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs.builder()
- *                         .dayOfWeek("MONDAY")
+ *                         .dayOfWeek("MONDAY")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -107,13 +110,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Monthly Refresh * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -137,17 +142,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RefreshSchedule("example", RefreshScheduleArgs.builder()        
- *             .dataSetId("dataset-id")
- *             .scheduleId("schedule-id")
+ *         var example = new RefreshSchedule("example", RefreshScheduleArgs.builder()        
+ *             .dataSetId("dataset-id")
+ *             .scheduleId("schedule-id")
  *             .schedule(RefreshScheduleScheduleArgs.builder()
- *                 .refreshType("INCREMENTAL_REFRESH")
+ *                 .refreshType("INCREMENTAL_REFRESH")
  *                 .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
- *                     .interval("MONTHLY")
- *                     .timeOfTheDay("01:00")
- *                     .timezone("Europe/London")
+ *                     .interval("MONTHLY")
+ *                     .timeOfTheDay("01:00")
+ *                     .timezone("Europe/London")
  *                     .refreshOnDay(RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs.builder()
- *                         .dayOfMonth("1")
+ *                         .dayOfMonth("1")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -155,7 +160,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Template.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Template.java index cd5c936d403..46017794fcd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Template.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Template.java @@ -27,7 +27,8 @@ * ### From Source Template * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,10 +51,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Template("example", TemplateArgs.builder()        
- *             .templateId("example-id")
- *             .name("example-name")
- *             .versionDescription("version")
+ *         var example = new Template("example", TemplateArgs.builder()        
+ *             .templateId("example-id")
+ *             .name("example-name")
+ *             .versionDescription("version")
  *             .sourceEntity(TemplateSourceEntityArgs.builder()
  *                 .sourceTemplate(TemplateSourceEntitySourceTemplateArgs.builder()
  *                     .arn(source.arn())
@@ -63,13 +64,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Definition * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,16 +93,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Template("example", TemplateArgs.builder()        
- *             .templateId("example-id")
- *             .name("example-name")
- *             .versionDescription("version")
+ *         var example = new Template("example", TemplateArgs.builder()        
+ *             .templateId("example-id")
+ *             .name("example-name")
+ *             .versionDescription("version")
  *             .definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/TemplateAlias.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/TemplateAlias.java index 37caf46b8dc..7ec25525255 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/TemplateAlias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/TemplateAlias.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TemplateAlias("example", TemplateAliasArgs.builder()        
- *             .aliasName("example-alias")
+ *         var example = new TemplateAlias("example", TemplateAliasArgs.builder()        
+ *             .aliasName("example-alias")
  *             .templateId(test.templateId())
  *             .templateVersionNumber(test.versionNumber())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Theme.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Theme.java index 27e2e92eee3..e8d6607f5d7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/Theme.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/Theme.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,34 +51,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Theme("example", ThemeArgs.builder()        
- *             .themeId("example")
- *             .name("example")
- *             .baseThemeId("MIDNIGHT")
+ *         var example = new Theme("example", ThemeArgs.builder()        
+ *             .themeId("example")
+ *             .name("example")
+ *             .baseThemeId("MIDNIGHT")
  *             .configuration(ThemeConfigurationArgs.builder()
  *                 .dataColorPalette(ThemeConfigurationDataColorPaletteArgs.builder()
  *                     .colors(                    
- *                         "#FFFFFF",
- *                         "#111111",
- *                         "#222222",
- *                         "#333333",
- *                         "#444444",
- *                         "#555555",
- *                         "#666666",
- *                         "#777777",
- *                         "#888888",
- *                         "#999999")
- *                     .emptyFillColor("#FFFFFF")
+ *                         "#FFFFFF",
+ *                         "#111111",
+ *                         "#222222",
+ *                         "#333333",
+ *                         "#444444",
+ *                         "#555555",
+ *                         "#666666",
+ *                         "#777777",
+ *                         "#888888",
+ *                         "#999999")
+ *                     .emptyFillColor("#FFFFFF")
  *                     .minMaxGradients(                    
- *                         "#FFFFFF",
- *                         "#111111")
+ *                         "#FFFFFF",
+ *                         "#111111")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/User.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/User.java index 5cccb91c96c..1b1413b09c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/User.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,18 +42,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new User("example", UserArgs.builder()        
- *             .sessionName("an-author")
- *             .email("author@example.com")
- *             .namespace("foo")
- *             .identityType("IAM")
- *             .iamArn("arn:aws:iam::123456789012:user/Example")
- *             .userRole("AUTHOR")
+ *         var example = new User("example", UserArgs.builder()        
+ *             .sessionName("an-author")
+ *             .email("author{@literal @}example.com")
+ *             .namespace("foo")
+ *             .identityType("IAM")
+ *             .iamArn("arn:aws:iam::123456789012:user/Example")
+ *             .userRole("AUTHOR")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/quicksight/VpcConnection.java b/sdk/java/src/main/java/com/pulumi/aws/quicksight/VpcConnection.java index 68bcaf5575e..4e1b85ba3c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/quicksight/VpcConnection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/quicksight/VpcConnection.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,51 +51,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var vpcConnectionRole = new Role("vpcConnectionRole", RoleArgs.builder()        
+ *         var vpcConnectionRole = new Role("vpcConnectionRole", RoleArgs.builder()        
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "quicksight.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "quicksight.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
  *             .inlinePolicies(RoleInlinePolicyArgs.builder()
- *                 .name("QuickSightVPCConnectionRolePolicy")
+ *                 .name("QuickSightVPCConnectionRolePolicy")
  *                 .policy(serializeJson(
  *                     jsonObject(
- *                         jsonProperty("Version", "2012-10-17"),
- *                         jsonProperty("Statement", jsonArray(jsonObject(
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Action", jsonArray(
- *                                 "ec2:CreateNetworkInterface", 
- *                                 "ec2:ModifyNetworkInterfaceAttribute", 
- *                                 "ec2:DeleteNetworkInterface", 
- *                                 "ec2:DescribeSubnets", 
- *                                 "ec2:DescribeSecurityGroups"
+ *                         jsonProperty("Version", "2012-10-17"),
+ *                         jsonProperty("Statement", jsonArray(jsonObject(
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Action", jsonArray(
+ *                                 "ec2:CreateNetworkInterface", 
+ *                                 "ec2:ModifyNetworkInterfaceAttribute", 
+ *                                 "ec2:DeleteNetworkInterface", 
+ *                                 "ec2:DescribeSubnets", 
+ *                                 "ec2:DescribeSecurityGroups"
  *                             )),
- *                             jsonProperty("Resource", jsonArray("*"))
+ *                             jsonProperty("Resource", jsonArray("*"))
  *                         )))
  *                     )))
  *                 .build())
  *             .build());
  * 
- *         var example = new VpcConnection("example", VpcConnectionArgs.builder()        
- *             .vpcConnectionId("example-connection-id")
- *             .name("Example Connection")
+ *         var example = new VpcConnection("example", VpcConnectionArgs.builder()        
+ *             .vpcConnectionId("example-connection-id")
+ *             .name("Example Connection")
  *             .roleArn(vpcConnectionRole.arn())
- *             .securityGroupIds("sg-00000000000000000")
+ *             .securityGroupIds("sg-00000000000000000")
  *             .subnetIds(            
- *                 "subnet-00000000000000000",
- *                 "subnet-00000000000000001")
+ *                 "subnet-00000000000000000",
+ *                 "subnet-00000000000000001")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ram/PrincipalAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ram/PrincipalAssociation.java index 4da052b7cf9..ff7e56d7bc2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ram/PrincipalAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ram/PrincipalAssociation.java @@ -31,7 +31,8 @@ * ### AWS Account ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,24 +55,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceShare("example", ResourceShareArgs.builder()        
+ *         var example = new ResourceShare("example", ResourceShareArgs.builder()        
  *             .allowExternalPrincipals(true)
  *             .build());
  * 
- *         var examplePrincipalAssociation = new PrincipalAssociation("examplePrincipalAssociation", PrincipalAssociationArgs.builder()        
- *             .principal("111111111111")
+ *         var examplePrincipalAssociation = new PrincipalAssociation("examplePrincipalAssociation", PrincipalAssociationArgs.builder()        
+ *             .principal("111111111111")
  *             .resourceShareArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS Organization * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,14 +95,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PrincipalAssociation("example", PrincipalAssociationArgs.builder()        
+ *         var example = new PrincipalAssociation("example", PrincipalAssociationArgs.builder()        
  *             .principal(exampleAwsOrganizationsOrganization.arn())
  *             .resourceShareArn(exampleAwsRamResourceShare.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ram/RamFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ram/RamFunctions.java index e6af1a8a2f5..e823a68c049 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ram/RamFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ram/RamFunctions.java @@ -20,7 +20,8 @@ public final class RamFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,19 +43,21 @@ public final class RamFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .name("example")
-     *             .resourceOwner("SELF")
+     *             .name("example")
+     *             .resourceOwner("SELF")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Search by filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -76,16 +79,17 @@ public final class RamFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var tagFilter = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .resourceOwner("SELF")
+     *             .resourceOwner("SELF")
      *             .filters(GetResourceShareFilterArgs.builder()
-     *                 .name("NameOfTag")
-     *                 .values("exampleNameTagValue")
+     *                 .name("NameOfTag")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -98,7 +102,8 @@ public static Output getResourceShare(GetResourceShareAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -120,19 +125,21 @@ public static Output getResourceShare(GetResourceShareAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .name("example")
-     *             .resourceOwner("SELF")
+     *             .name("example")
+     *             .resourceOwner("SELF")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Search by filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -154,16 +161,17 @@ public static Output getResourceShare(GetResourceShareAr
      * 
      *     public static void stack(Context ctx) {
      *         final var tagFilter = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .resourceOwner("SELF")
+     *             .resourceOwner("SELF")
      *             .filters(GetResourceShareFilterArgs.builder()
-     *                 .name("NameOfTag")
-     *                 .values("exampleNameTagValue")
+     *                 .name("NameOfTag")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -176,7 +184,8 @@ public static CompletableFuture getResourceSharePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -198,19 +207,21 @@ public static CompletableFuture getResourceSharePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .name("example")
-     *             .resourceOwner("SELF")
+     *             .name("example")
+     *             .resourceOwner("SELF")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Search by filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -232,16 +243,17 @@ public static CompletableFuture getResourceSharePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var tagFilter = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .resourceOwner("SELF")
+     *             .resourceOwner("SELF")
      *             .filters(GetResourceShareFilterArgs.builder()
-     *                 .name("NameOfTag")
-     *                 .values("exampleNameTagValue")
+     *                 .name("NameOfTag")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -254,7 +266,8 @@ public static Output getResourceShare(GetResourceShareAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -276,19 +289,21 @@ public static Output getResourceShare(GetResourceShareAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .name("example")
-     *             .resourceOwner("SELF")
+     *             .name("example")
+     *             .resourceOwner("SELF")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Search by filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -310,16 +325,17 @@ public static Output getResourceShare(GetResourceShareAr
      * 
      *     public static void stack(Context ctx) {
      *         final var tagFilter = RamFunctions.getResourceShare(GetResourceShareArgs.builder()
-     *             .resourceOwner("SELF")
+     *             .resourceOwner("SELF")
      *             .filters(GetResourceShareFilterArgs.builder()
-     *                 .name("NameOfTag")
-     *                 .values("exampleNameTagValue")
+     *                 .name("NameOfTag")
+     *                 .values("exampleNameTagValue")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceAssociation.java index 08d4fa0efba..20bcbb8e168 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceAssociation("example", ResourceAssociationArgs.builder()        
+ *         var example = new ResourceAssociation("example", ResourceAssociationArgs.builder()        
  *             .resourceArn(exampleAwsSubnet.arn())
  *             .resourceShareArn(exampleAwsRamResourceShare.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShare.java b/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShare.java index 18390e637a2..12862ac393e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShare.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShare.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceShare("example", ResourceShareArgs.builder()        
- *             .name("example")
+ *         var example = new ResourceShare("example", ResourceShareArgs.builder()        
+ *             .name("example")
  *             .allowExternalPrincipals(true)
- *             .tags(Map.of("Environment", "Production"))
+ *             .tags(Map.of("Environment", "Production"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShareAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShareAccepter.java index 7150dced568..67d1ac0f9b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShareAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ram/ResourceShareAccepter.java @@ -24,7 +24,8 @@ * This configuration provides an example of using multiple AWS providers to configure two different AWS accounts. In the _sender_ account, the configuration creates a `aws.ram.ResourceShare` and uses a data source in the _receiver_ account to create a `aws.ram.PrincipalAssociation` resource with the _receiver's_ account ID. In the _receiver_ account, the configuration accepts the invitation to share resources with the `aws.ram.ResourceShareAccepter`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,26 +52,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var senderShare = new ResourceShare("senderShare", ResourceShareArgs.builder()        
- *             .name("tf-test-resource-share")
+ *         var senderShare = new ResourceShare("senderShare", ResourceShareArgs.builder()        
+ *             .name("tf-test-resource-share")
  *             .allowExternalPrincipals(true)
- *             .tags(Map.of("Name", "tf-test-resource-share"))
+ *             .tags(Map.of("Name", "tf-test-resource-share"))
  *             .build());
  * 
  *         final var receiver = AwsFunctions.getCallerIdentity();
  * 
- *         var senderInvite = new PrincipalAssociation("senderInvite", PrincipalAssociationArgs.builder()        
- *             .principal(receiver.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *         var senderInvite = new PrincipalAssociation("senderInvite", PrincipalAssociationArgs.builder()        
+ *             .principal(receiver.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *             .resourceShareArn(senderShare.arn())
  *             .build());
  * 
- *         var receiverAccept = new ResourceShareAccepter("receiverAccept", ResourceShareAccepterArgs.builder()        
+ *         var receiverAccept = new ResourceShareAccepter("receiverAccept", ResourceShareAccepterArgs.builder()        
  *             .shareArn(senderInvite.resourceShareArn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ram/SharingWithOrganization.java b/sdk/java/src/main/java/com/pulumi/aws/ram/SharingWithOrganization.java index 9200d129be3..5aebc46669a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ram/SharingWithOrganization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ram/SharingWithOrganization.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -39,11 +40,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SharingWithOrganization("example");
+ *         var example = new SharingWithOrganization("example");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rbin/Rule.java b/sdk/java/src/main/java/com/pulumi/aws/rbin/Rule.java index 56a0366cc2c..e33f79f5187 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rbin/Rule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rbin/Rule.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,23 +51,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Rule("example", RuleArgs.builder()        
- *             .description("example_rule")
- *             .resourceType("EBS_SNAPSHOT")
+ *         var example = new Rule("example", RuleArgs.builder()        
+ *             .description("example_rule")
+ *             .resourceType("EBS_SNAPSHOT")
  *             .resourceTags(RuleResourceTagArgs.builder()
- *                 .resourceTagKey("tag_key")
- *                 .resourceTagValue("tag_value")
+ *                 .resourceTagKey("tag_key")
+ *                 .resourceTagValue("tag_value")
  *                 .build())
  *             .retentionPeriod(RuleRetentionPeriodArgs.builder()
  *                 .retentionPeriodValue(10)
- *                 .retentionPeriodUnit("DAYS")
+ *                 .retentionPeriodUnit("DAYS")
  *                 .build())
- *             .tags(Map.of("test_tag_key", "test_tag_value"))
+ *             .tags(Map.of("test_tag_key", "test_tag_value"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/rds/Cluster.java index 85561f6f21f..71a24b78307 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/Cluster.java @@ -42,7 +42,8 @@ * ### Aurora MySQL 2.x (MySQL 5.7) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -63,30 +64,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("aurora-cluster-demo")
- *             .engine("aurora-mysql")
- *             .engineVersion("5.7.mysql_aurora.2.03.2")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("aurora-cluster-demo")
+ *             .engine("aurora-mysql")
+ *             .engineVersion("5.7.mysql_aurora.2.03.2")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("bar")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("bar")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Aurora MySQL 1.x (MySQL 5.6) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,28 +110,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("aurora-cluster-demo")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("aurora-cluster-demo")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("bar")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("bar")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Aurora with PostgreSQL engine * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -149,23 +154,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var postgresql = new Cluster("postgresql", ClusterArgs.builder()        
- *             .clusterIdentifier("aurora-cluster-demo")
- *             .engine("aurora-postgresql")
+ *         var postgresql = new Cluster("postgresql", ClusterArgs.builder()        
+ *             .clusterIdentifier("aurora-cluster-demo")
+ *             .engine("aurora-postgresql")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("bar")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("bar")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Multi-AZ Cluster @@ -175,7 +181,8 @@ * To create a Multi-AZ RDS cluster, you must additionally specify the `engine`, `storage_type`, `allocated_storage`, `iops` and `db_cluster_instance_class` attributes. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -196,24 +203,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterIdentifier("example")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterIdentifier("example")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .engine("mysql")
- *             .dbClusterInstanceClass("db.r6gd.xlarge")
- *             .storageType("io1")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .engine("mysql")
+ *             .dbClusterInstanceClass("db.r6gd.xlarge")
+ *             .storageType("io1")
  *             .allocatedStorage(100)
  *             .iops(1000)
- *             .masterUsername("test")
- *             .masterPassword("mustbeeightcharaters")
+ *             .masterUsername("test")
+ *             .masterPassword("mustbeeightcharaters")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Serverless v2 Cluster @@ -226,7 +234,8 @@ * To create a Serverless v2 RDS cluster, you must additionally specify the `engine_mode` and `serverlessv2_scaling_configuration` attributes. An `aws.rds.ClusterInstance` resource must also be added to the cluster with the `instance_class` attribute specified. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -250,14 +259,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterIdentifier("example")
- *             .engine("aurora-postgresql")
- *             .engineMode("provisioned")
- *             .engineVersion("13.6")
- *             .databaseName("test")
- *             .masterUsername("test")
- *             .masterPassword("must_be_eight_characters")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterIdentifier("example")
+ *             .engine("aurora-postgresql")
+ *             .engineMode("provisioned")
+ *             .engineVersion("13.6")
+ *             .databaseName("test")
+ *             .masterUsername("test")
+ *             .masterPassword("must_be_eight_characters")
  *             .storageEncrypted(true)
  *             .serverlessv2ScalingConfiguration(ClusterServerlessv2ScalingConfigurationArgs.builder()
  *                 .maxCapacity(1)
@@ -265,16 +274,17 @@
  *                 .build())
  *             .build());
  * 
- *         var exampleClusterInstance = new ClusterInstance("exampleClusterInstance", ClusterInstanceArgs.builder()        
+ *         var exampleClusterInstance = new ClusterInstance("exampleClusterInstance", ClusterInstanceArgs.builder()        
  *             .clusterIdentifier(example.id())
- *             .instanceClass("db.serverless")
+ *             .instanceClass("db.serverless")
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS/Aurora Managed Master Passwords via Secrets Manager, default KMS Key @@ -284,7 +294,8 @@ * You can specify the `manage_master_user_password` attribute to enable managing the master password with Secrets Manager. You can also update an existing cluster to use Secrets Manager by specify the `manage_master_user_password` attribute and removing the `master_password` attribute (removal is required). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -305,16 +316,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Cluster("test", ClusterArgs.builder()        
- *             .clusterIdentifier("example")
- *             .databaseName("test")
+ *         var test = new Cluster("test", ClusterArgs.builder()        
+ *             .clusterIdentifier("example")
+ *             .databaseName("test")
  *             .manageMasterUserPassword(true)
- *             .masterUsername("test")
+ *             .masterUsername("test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS/Aurora Managed Master Passwords via Secrets Manager, specific KMS Key @@ -324,7 +336,8 @@ * You can specify the `master_user_secret_kms_key_id` attribute to specify a specific KMS Key. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -347,27 +360,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("Example KMS Key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("Example KMS Key")
  *             .build());
  * 
- *         var test = new Cluster("test", ClusterArgs.builder()        
- *             .clusterIdentifier("example")
- *             .databaseName("test")
+ *         var test = new Cluster("test", ClusterArgs.builder()        
+ *             .clusterIdentifier("example")
+ *             .databaseName("test")
  *             .manageMasterUserPassword(true)
- *             .masterUsername("test")
+ *             .masterUsername("test")
  *             .masterUserSecretKmsKeyId(example.keyId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Global Cluster Restored From Snapshot * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -393,26 +408,27 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var example = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
- *             .dbClusterIdentifier("example-original-cluster")
+ *             .dbClusterIdentifier("example-original-cluster")
  *             .mostRecent(true)
  *             .build());
  * 
- *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
- *             .engine("aurora")
- *             .engineVersion("5.6.mysql_aurora.1.22.4")
- *             .clusterIdentifier("example")
- *             .snapshotIdentifier(example.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+ *         var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()        
+ *             .engine("aurora")
+ *             .engineVersion("5.6.mysql_aurora.1.22.4")
+ *             .clusterIdentifier("example")
+ *             .snapshotIdentifier(example.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
  *             .build());
  * 
- *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("example")
+ *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("example")
  *             .sourceDbClusterIdentifier(exampleCluster.arn())
  *             .forceDestroy(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterActivityStream.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterActivityStream.java index 4553dcf6c35..e4cf59c1e7d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterActivityStream.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterActivityStream.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,33 +58,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("aurora-cluster-demo")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("aurora-cluster-demo")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("mustbeeightcharaters")
- *             .engine("aurora-postgresql")
- *             .engineVersion("13.4")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("mustbeeightcharaters")
+ *             .engine("aurora-postgresql")
+ *             .engineVersion("13.4")
  *             .build());
  * 
- *         var defaultClusterInstance = new ClusterInstance("defaultClusterInstance", ClusterInstanceArgs.builder()        
- *             .identifier("aurora-instance-demo")
+ *         var defaultClusterInstance = new ClusterInstance("defaultClusterInstance", ClusterInstanceArgs.builder()        
+ *             .identifier("aurora-instance-demo")
  *             .clusterIdentifier(default_.clusterIdentifier())
  *             .engine(default_.engine())
- *             .instanceClass("db.r6g.large")
+ *             .instanceClass("db.r6g.large")
  *             .build());
  * 
- *         var defaultKey = new Key("defaultKey", KeyArgs.builder()        
- *             .description("AWS KMS Key to encrypt Database Activity Stream")
+ *         var defaultKey = new Key("defaultKey", KeyArgs.builder()        
+ *             .description("AWS KMS Key to encrypt Database Activity Stream")
  *             .build());
  * 
- *         var defaultClusterActivityStream = new ClusterActivityStream("defaultClusterActivityStream", ClusterActivityStreamArgs.builder()        
+ *         var defaultClusterActivityStream = new ClusterActivityStream("defaultClusterActivityStream", ClusterActivityStreamArgs.builder()        
  *             .resourceArn(default_.arn())
- *             .mode("async")
+ *             .mode("async")
  *             .kmsKeyId(defaultKey.keyId())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(defaultClusterInstance)
@@ -91,7 +92,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterEndpoint.java index 3125aabf5c2..42204e5dddf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterEndpoint.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,59 +49,59 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("aurora-cluster-demo")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("aurora-cluster-demo")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("bar")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("bar")
  *             .backupRetentionPeriod(5)
- *             .preferredBackupWindow("07:00-09:00")
+ *             .preferredBackupWindow("07:00-09:00")
  *             .build());
  * 
- *         var test1 = new ClusterInstance("test1", ClusterInstanceArgs.builder()        
+ *         var test1 = new ClusterInstance("test1", ClusterInstanceArgs.builder()        
  *             .applyImmediately(true)
  *             .clusterIdentifier(default_.id())
- *             .identifier("test1")
- *             .instanceClass("db.t2.small")
+ *             .identifier("test1")
+ *             .instanceClass("db.t2.small")
  *             .engine(default_.engine())
  *             .engineVersion(default_.engineVersion())
  *             .build());
  * 
- *         var test2 = new ClusterInstance("test2", ClusterInstanceArgs.builder()        
+ *         var test2 = new ClusterInstance("test2", ClusterInstanceArgs.builder()        
  *             .applyImmediately(true)
  *             .clusterIdentifier(default_.id())
- *             .identifier("test2")
- *             .instanceClass("db.t2.small")
+ *             .identifier("test2")
+ *             .instanceClass("db.t2.small")
  *             .engine(default_.engine())
  *             .engineVersion(default_.engineVersion())
  *             .build());
  * 
- *         var test3 = new ClusterInstance("test3", ClusterInstanceArgs.builder()        
+ *         var test3 = new ClusterInstance("test3", ClusterInstanceArgs.builder()        
  *             .applyImmediately(true)
  *             .clusterIdentifier(default_.id())
- *             .identifier("test3")
- *             .instanceClass("db.t2.small")
+ *             .identifier("test3")
+ *             .instanceClass("db.t2.small")
  *             .engine(default_.engine())
  *             .engineVersion(default_.engineVersion())
  *             .build());
  * 
- *         var eligible = new ClusterEndpoint("eligible", ClusterEndpointArgs.builder()        
+ *         var eligible = new ClusterEndpoint("eligible", ClusterEndpointArgs.builder()        
  *             .clusterIdentifier(default_.id())
- *             .clusterEndpointIdentifier("reader")
- *             .customEndpointType("READER")
+ *             .clusterEndpointIdentifier("reader")
+ *             .customEndpointType("READER")
  *             .excludedMembers(            
  *                 test1.id(),
  *                 test2.id())
  *             .build());
  * 
- *         var static_ = new ClusterEndpoint("static", ClusterEndpointArgs.builder()        
+ *         var static_ = new ClusterEndpoint("static", ClusterEndpointArgs.builder()        
  *             .clusterIdentifier(default_.id())
- *             .clusterEndpointIdentifier("static")
- *             .customEndpointType("READER")
+ *             .clusterEndpointIdentifier("static")
+ *             .customEndpointType("READER")
  *             .staticMembers(            
  *                 test1.id(),
  *                 test3.id())
@@ -108,7 +109,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterInstance.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterInstance.java index ed57ea8b510..95d9213c662 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterInstance.java @@ -38,7 +38,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -62,22 +63,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("aurora-cluster-demo")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("aurora-cluster-demo")
  *             .availabilityZones(            
- *                 "us-west-2a",
- *                 "us-west-2b",
- *                 "us-west-2c")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("barbut8chars")
+ *                 "us-west-2a",
+ *                 "us-west-2b",
+ *                 "us-west-2c")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("barbut8chars")
  *             .build());
  * 
- *         for (var i = 0; i < 2; i++) {
- *             new ClusterInstance("clusterInstances-" + i, ClusterInstanceArgs.builder()            
- *                 .identifier(String.format("aurora-cluster-demo-%s", range.value()))
+ *         for (var i = 0; i < 2; i++) {
+ *             new ClusterInstance("clusterInstances-" + i, ClusterInstanceArgs.builder()            
+ *                 .identifier(String.format("aurora-cluster-demo-%s", range.value()))
  *                 .clusterIdentifier(default_.id())
- *                 .instanceClass("db.r4.large")
+ *                 .instanceClass("db.r4.large")
  *                 .engine(default_.engine())
  *                 .engineVersion(default_.engineVersion())
  *                 .build());
@@ -86,7 +87,8 @@
  * }
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterParameterGroup.java index 7aca0d44586..5f3c2c19fd5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterParameterGroup.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new ClusterParameterGroup("default", ClusterParameterGroupArgs.builder()        
- *             .name("rds-cluster-pg")
- *             .family("aurora5.6")
- *             .description("RDS default cluster parameter group")
+ *         var default_ = new ClusterParameterGroup("default", ClusterParameterGroupArgs.builder()        
+ *             .name("rds-cluster-pg")
+ *             .family("aurora5.6")
+ *             .description("RDS default cluster parameter group")
  *             .parameters(            
  *                 ClusterParameterGroupParameterArgs.builder()
- *                     .name("character_set_server")
- *                     .value("utf8")
+ *                     .name("character_set_server")
+ *                     .value("utf8")
  *                     .build(),
  *                 ClusterParameterGroupParameterArgs.builder()
- *                     .name("character_set_client")
- *                     .value("utf8")
+ *                     .name("character_set_client")
+ *                     .value("utf8")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterRoleAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterRoleAssociation.java index edc7a3dc593..dcab83b87df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterRoleAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterRoleAssociation.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterRoleAssociation("example", ClusterRoleAssociationArgs.builder()        
+ *         var example = new ClusterRoleAssociation("example", ClusterRoleAssociationArgs.builder()        
  *             .dbClusterIdentifier(exampleAwsRdsCluster.id())
- *             .featureName("S3_INTEGRATION")
+ *             .featureName("S3_INTEGRATION")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterSnapshot.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterSnapshot.java index 1140f80d388..b4af288d4f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ClusterSnapshot.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
+ *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
  *             .dbClusterIdentifier(exampleAwsRdsCluster.id())
- *             .dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
+ *             .dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/CustomDbEngineVersion.java b/sdk/java/src/main/java/com/pulumi/aws/rds/CustomDbEngineVersion.java index 3e61beba3dd..e55bb9e76b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/CustomDbEngineVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/CustomDbEngineVersion.java @@ -23,7 +23,8 @@ * ### RDS Custom for Oracle Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,36 +47,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("KMS symmetric key for RDS Custom for Oracle")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("KMS symmetric key for RDS Custom for Oracle")
  *             .build());
  * 
- *         var exampleCustomDbEngineVersion = new CustomDbEngineVersion("exampleCustomDbEngineVersion", CustomDbEngineVersionArgs.builder()        
- *             .databaseInstallationFilesS3BucketName("DOC-EXAMPLE-BUCKET")
- *             .databaseInstallationFilesS3Prefix("1915_GI/")
- *             .engine("custom-oracle-ee-cdb")
- *             .engineVersion("19.cdb_cev1")
+ *         var exampleCustomDbEngineVersion = new CustomDbEngineVersion("exampleCustomDbEngineVersion", CustomDbEngineVersionArgs.builder()        
+ *             .databaseInstallationFilesS3BucketName("DOC-EXAMPLE-BUCKET")
+ *             .databaseInstallationFilesS3Prefix("1915_GI/")
+ *             .engine("custom-oracle-ee-cdb")
+ *             .engineVersion("19.cdb_cev1")
  *             .kmsKeyId(example.arn())
- *             .manifest("""
+ *             .manifest("""
  *   {
- * 	"databaseInstallationFileNames":["V982063-01.zip"]
+ * 	"databaseInstallationFileNames":["V982063-01.zip"]
  *   }
- *             """)
+ *             """)
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "example"),
- *                 Map.entry("Key", "value")
+ *                 Map.entry("Name", "example"),
+ *                 Map.entry("Key", "value")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Custom for Oracle External Manifest Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,35 +101,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("KMS symmetric key for RDS Custom for Oracle")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("KMS symmetric key for RDS Custom for Oracle")
  *             .build());
  * 
- *         var exampleCustomDbEngineVersion = new CustomDbEngineVersion("exampleCustomDbEngineVersion", CustomDbEngineVersionArgs.builder()        
- *             .databaseInstallationFilesS3BucketName("DOC-EXAMPLE-BUCKET")
- *             .databaseInstallationFilesS3Prefix("1915_GI/")
- *             .engine("custom-oracle-ee-cdb")
- *             .engineVersion("19.cdb_cev1")
+ *         var exampleCustomDbEngineVersion = new CustomDbEngineVersion("exampleCustomDbEngineVersion", CustomDbEngineVersionArgs.builder()        
+ *             .databaseInstallationFilesS3BucketName("DOC-EXAMPLE-BUCKET")
+ *             .databaseInstallationFilesS3Prefix("1915_GI/")
+ *             .engine("custom-oracle-ee-cdb")
+ *             .engineVersion("19.cdb_cev1")
  *             .kmsKeyId(example.arn())
- *             .filename("manifest_1915_GI.json")
+ *             .filename("manifest_1915_GI.json")
  *             .manifestHash(StdFunctions.filebase64sha256(Filebase64sha256Args.builder()
  *                 .input(json)
  *                 .build()).result())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "example"),
- *                 Map.entry("Key", "value")
+ *                 Map.entry("Name", "example"),
+ *                 Map.entry("Key", "value")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Custom for SQL Server Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -148,21 +153,23 @@
  * 
  *     public static void stack(Context ctx) {
  *         // CEV creation requires an AMI owned by the operator
- *         var test = new CustomDbEngineVersion("test", CustomDbEngineVersionArgs.builder()        
- *             .engine("custom-sqlserver-se")
- *             .engineVersion("15.00.4249.2.cev-1")
- *             .sourceImageId("ami-0aa12345678a12ab1")
+ *         var test = new CustomDbEngineVersion("test", CustomDbEngineVersionArgs.builder()        
+ *             .engine("custom-sqlserver-se")
+ *             .engineVersion("15.00.4249.2.cev-1")
+ *             .sourceImageId("ami-0aa12345678a12ab1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Custom for SQL Server Usage with AMI from another region * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -185,23 +192,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AmiCopy("example", AmiCopyArgs.builder()        
- *             .name("sqlserver-se-2019-15.00.4249.2")
- *             .description("A copy of ami-xxxxxxxx")
- *             .sourceAmiId("ami-xxxxxxxx")
- *             .sourceAmiRegion("us-east-1")
+ *         var example = new AmiCopy("example", AmiCopyArgs.builder()        
+ *             .name("sqlserver-se-2019-15.00.4249.2")
+ *             .description("A copy of ami-xxxxxxxx")
+ *             .sourceAmiId("ami-xxxxxxxx")
+ *             .sourceAmiRegion("us-east-1")
  *             .build());
  * 
  *         // CEV creation requires an AMI owned by the operator
- *         var test = new CustomDbEngineVersion("test", CustomDbEngineVersionArgs.builder()        
- *             .engine("custom-sqlserver-se")
- *             .engineVersion("15.00.4249.2.cev-1")
+ *         var test = new CustomDbEngineVersion("test", CustomDbEngineVersionArgs.builder()        
+ *             .engine("custom-sqlserver-se")
+ *             .engineVersion("15.00.4249.2.cev-1")
  *             .sourceImageId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/EventSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/rds/EventSubscription.java index f7baf4404a5..83c26ac55a6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/EventSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/EventSubscription.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,43 +49,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .engine("mysql")
- *             .engineVersion("5.6.17")
- *             .instanceClass("db.t2.micro")
- *             .dbName("mydb")
- *             .username("foo")
- *             .password("bar")
- *             .dbSubnetGroupName("my_database_subnet_group")
- *             .parameterGroupName("default.mysql5.6")
+ *             .engine("mysql")
+ *             .engineVersion("5.6.17")
+ *             .instanceClass("db.t2.micro")
+ *             .dbName("mydb")
+ *             .username("foo")
+ *             .password("bar")
+ *             .dbSubnetGroupName("my_database_subnet_group")
+ *             .parameterGroupName("default.mysql5.6")
  *             .build());
  * 
- *         var defaultTopic = new Topic("defaultTopic", TopicArgs.builder()        
- *             .name("rds-events")
+ *         var defaultTopic = new Topic("defaultTopic", TopicArgs.builder()        
+ *             .name("rds-events")
  *             .build());
  * 
- *         var defaultEventSubscription = new EventSubscription("defaultEventSubscription", EventSubscriptionArgs.builder()        
- *             .name("rds-event-sub")
+ *         var defaultEventSubscription = new EventSubscription("defaultEventSubscription", EventSubscriptionArgs.builder()        
+ *             .name("rds-event-sub")
  *             .snsTopic(defaultTopic.arn())
- *             .sourceType("db-instance")
+ *             .sourceType("db-instance")
  *             .sourceIds(default_.identifier())
  *             .eventCategories(            
- *                 "availability",
- *                 "deletion",
- *                 "failover",
- *                 "failure",
- *                 "low storage",
- *                 "maintenance",
- *                 "notification",
- *                 "read replica",
- *                 "recovery",
- *                 "restoration")
+ *                 "availability",
+ *                 "deletion",
+ *                 "failover",
+ *                 "failure",
+ *                 "low storage",
+ *                 "maintenance",
+ *                 "notification",
+ *                 "read replica",
+ *                 "recovery",
+ *                 "restoration")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ExportTask.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ExportTask.java index 9b762fa7c33..88c1a61fc46 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ExportTask.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ExportTask.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,8 +47,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ExportTask("example", ExportTaskArgs.builder()        
- *             .exportTaskIdentifier("example")
+ *         var example = new ExportTask("example", ExportTaskArgs.builder()        
+ *             .exportTaskIdentifier("example")
  *             .sourceArn(exampleAwsDbSnapshot.dbSnapshotArn())
  *             .s3BucketName(exampleAwsS3Bucket.id())
  *             .iamRoleArn(exampleAwsIamRole.arn())
@@ -56,13 +57,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Complete Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -102,27 +105,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "sts:AssumeRole"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "export.rds.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "sts:AssumeRole"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "export.rds.amazonaws.com")
  *                         ))
  *                     )))
  *                 )))
@@ -131,69 +134,70 @@
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .actions("s3:ListAllMyBuckets")
- *                     .resources("*")
+ *                     .actions("s3:ListAllMyBuckets")
+ *                     .resources("*")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
  *                     .actions(                    
- *                         "s3:GetBucketLocation",
- *                         "s3:ListBucket")
+ *                         "s3:GetBucketLocation",
+ *                         "s3:ListBucket")
  *                     .resources(exampleBucketV2.arn())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
  *                     .actions(                    
- *                         "s3:GetObject",
- *                         "s3:PutObject",
- *                         "s3:DeleteObject")
- *                     .resources(exampleBucketV2.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                         "s3:GetObject",
+ *                         "s3:PutObject",
+ *                         "s3:DeleteObject")
+ *                     .resources(exampleBucketV2.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .build())
  *             .build());
  * 
- *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
- *             .name("example")
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+ *             .name("example")
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(exampleRole.name())
  *             .policyArn(examplePolicy.arn())
  *             .build());
  * 
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
  *             .deletionWindowInDays(10)
  *             .build());
  * 
- *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
- *             .identifier("example")
+ *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
+ *             .identifier("example")
  *             .allocatedStorage(10)
- *             .dbName("test")
- *             .engine("mysql")
- *             .engineVersion("5.7")
- *             .instanceClass("db.t3.micro")
- *             .username("foo")
- *             .password("foobarbaz")
- *             .parameterGroupName("default.mysql5.7")
+ *             .dbName("test")
+ *             .engine("mysql")
+ *             .engineVersion("5.7")
+ *             .instanceClass("db.t3.micro")
+ *             .username("foo")
+ *             .password("foobarbaz")
+ *             .parameterGroupName("default.mysql5.7")
  *             .skipFinalSnapshot(true)
  *             .build());
  * 
- *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
+ *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
  *             .dbInstanceIdentifier(exampleInstance.identifier())
- *             .dbSnapshotIdentifier("example")
+ *             .dbSnapshotIdentifier("example")
  *             .build());
  * 
- *         var exampleExportTask = new ExportTask("exampleExportTask", ExportTaskArgs.builder()        
- *             .exportTaskIdentifier("example")
+ *         var exampleExportTask = new ExportTask("exampleExportTask", ExportTaskArgs.builder()        
+ *             .exportTaskIdentifier("example")
  *             .sourceArn(exampleSnapshot.dbSnapshotArn())
  *             .s3BucketName(exampleBucketV2.id())
  *             .iamRoleArn(exampleRole.arn())
  *             .kmsKeyId(exampleKey.arn())
- *             .exportOnlies("database")
- *             .s3Prefix("my_prefix/example")
+ *             .exportOnlies("database")
+ *             .s3Prefix("my_prefix/example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/GlobalCluster.java b/sdk/java/src/main/java/com/pulumi/aws/rds/GlobalCluster.java index 81419a1b0e8..604d61a01d1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/GlobalCluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/GlobalCluster.java @@ -27,7 +27,8 @@ * ### New MySQL Global Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,61 +54,63 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("global-test")
- *             .engine("aurora")
- *             .engineVersion("5.6.mysql_aurora.1.22.2")
- *             .databaseName("example_db")
+ *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("global-test")
+ *             .engine("aurora")
+ *             .engineVersion("5.6.mysql_aurora.1.22.2")
+ *             .databaseName("example_db")
  *             .build());
  * 
- *         var primary = new Cluster("primary", ClusterArgs.builder()        
+ *         var primary = new Cluster("primary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-primary-cluster")
- *             .masterUsername("username")
- *             .masterPassword("somepass123")
- *             .databaseName("example_db")
+ *             .clusterIdentifier("test-primary-cluster")
+ *             .masterUsername("username")
+ *             .masterPassword("somepass123")
+ *             .databaseName("example_db")
  *             .globalClusterIdentifier(example.id())
- *             .dbSubnetGroupName("default")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
- *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .identifier("test-primary-cluster-instance")
+ *             .identifier("test-primary-cluster-instance")
  *             .clusterIdentifier(primary.id())
- *             .instanceClass("db.r4.large")
- *             .dbSubnetGroupName("default")
+ *             .instanceClass("db.r4.large")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
- *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
+ *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-secondary-cluster")
+ *             .clusterIdentifier("test-secondary-cluster")
  *             .globalClusterIdentifier(example.id())
- *             .dbSubnetGroupName("default")
+ *             .dbSubnetGroupName("default")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primaryClusterInstance)
  *                 .build());
  * 
- *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .identifier("test-secondary-cluster-instance")
+ *             .identifier("test-secondary-cluster-instance")
  *             .clusterIdentifier(secondary.id())
- *             .instanceClass("db.r4.large")
- *             .dbSubnetGroupName("default")
+ *             .instanceClass("db.r4.large")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### New PostgreSQL Global Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -133,62 +136,64 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("global-test")
- *             .engine("aurora-postgresql")
- *             .engineVersion("11.9")
- *             .databaseName("example_db")
+ *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("global-test")
+ *             .engine("aurora-postgresql")
+ *             .engineVersion("11.9")
+ *             .databaseName("example_db")
  *             .build());
  * 
- *         var primary = new Cluster("primary", ClusterArgs.builder()        
+ *         var primary = new Cluster("primary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-primary-cluster")
- *             .masterUsername("username")
- *             .masterPassword("somepass123")
- *             .databaseName("example_db")
+ *             .clusterIdentifier("test-primary-cluster")
+ *             .masterUsername("username")
+ *             .masterPassword("somepass123")
+ *             .databaseName("example_db")
  *             .globalClusterIdentifier(example.id())
- *             .dbSubnetGroupName("default")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
- *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .identifier("test-primary-cluster-instance")
+ *             .identifier("test-primary-cluster-instance")
  *             .clusterIdentifier(primary.id())
- *             .instanceClass("db.r4.large")
- *             .dbSubnetGroupName("default")
+ *             .instanceClass("db.r4.large")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
- *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
+ *         var secondary = new Cluster("secondary", ClusterArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .clusterIdentifier("test-secondary-cluster")
+ *             .clusterIdentifier("test-secondary-cluster")
  *             .globalClusterIdentifier(example.id())
  *             .skipFinalSnapshot(true)
- *             .dbSubnetGroupName("default")
+ *             .dbSubnetGroupName("default")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(primaryClusterInstance)
  *                 .build());
  * 
- *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var secondaryClusterInstance = new ClusterInstance("secondaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
- *             .identifier("test-secondary-cluster-instance")
+ *             .identifier("test-secondary-cluster-instance")
  *             .clusterIdentifier(secondary.id())
- *             .instanceClass("db.r4.large")
- *             .dbSubnetGroupName("default")
+ *             .instanceClass("db.r4.large")
+ *             .dbSubnetGroupName("default")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### New Global Cluster From Existing DB Cluster * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -210,17 +215,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example");
+ *         var example = new Cluster("example");
  * 
- *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
+ *         var exampleGlobalCluster = new GlobalCluster("exampleGlobalCluster", GlobalClusterArgs.builder()        
  *             .forceDestroy(true)
- *             .globalClusterIdentifier("example")
+ *             .globalClusterIdentifier("example")
  *             .sourceDbClusterIdentifier(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Upgrading Engine Versions @@ -228,7 +234,8 @@ * When you upgrade the version of an `aws.rds.GlobalCluster`, the provider will attempt to in-place upgrade the engine versions of all associated clusters. Since the `aws.rds.Cluster` resource is being updated through the `aws.rds.GlobalCluster`, you are likely to get an error (`Provider produced inconsistent final plan`). To avoid this, use the `lifecycle` `ignore_changes` meta argument as shown below on the `aws.rds.Cluster`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -253,37 +260,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
- *             .globalClusterIdentifier("kyivkharkiv")
- *             .engine("aurora-mysql")
- *             .engineVersion("5.7.mysql_aurora.2.07.5")
+ *         var example = new GlobalCluster("example", GlobalClusterArgs.builder()        
+ *             .globalClusterIdentifier("kyivkharkiv")
+ *             .engine("aurora-mysql")
+ *             .engineVersion("5.7.mysql_aurora.2.07.5")
  *             .build());
  * 
- *         var primary = new Cluster("primary", ClusterArgs.builder()        
+ *         var primary = new Cluster("primary", ClusterArgs.builder()        
  *             .allowMajorVersionUpgrade(true)
  *             .applyImmediately(true)
- *             .clusterIdentifier("odessadnipro")
- *             .databaseName("totoro")
+ *             .clusterIdentifier("odessadnipro")
+ *             .databaseName("totoro")
  *             .engine(example.engine())
  *             .engineVersion(example.engineVersion())
  *             .globalClusterIdentifier(example.id())
- *             .masterPassword("satsukimae")
- *             .masterUsername("maesatsuki")
+ *             .masterPassword("satsukimae")
+ *             .masterUsername("maesatsuki")
  *             .skipFinalSnapshot(true)
  *             .build());
  * 
- *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
+ *         var primaryClusterInstance = new ClusterInstance("primaryClusterInstance", ClusterInstanceArgs.builder()        
  *             .applyImmediately(true)
  *             .clusterIdentifier(primary.id())
  *             .engine(primary.engine())
  *             .engineVersion(primary.engineVersion())
- *             .identifier("donetsklviv")
- *             .instanceClass("db.r4.large")
+ *             .identifier("donetsklviv")
+ *             .instanceClass("db.r4.large")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/rds/Instance.java index 888abc6e056..71eb49e9573 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/Instance.java @@ -66,7 +66,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,27 +88,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .dbName("mydb")
- *             .engine("mysql")
- *             .engineVersion("5.7")
- *             .instanceClass("db.t3.micro")
- *             .username("foo")
- *             .password("foobarbaz")
- *             .parameterGroupName("default.mysql5.7")
+ *             .dbName("mydb")
+ *             .engine("mysql")
+ *             .engineVersion("5.7")
+ *             .instanceClass("db.t3.micro")
+ *             .username("foo")
+ *             .password("foobarbaz")
+ *             .parameterGroupName("default.mysql5.7")
  *             .skipFinalSnapshot(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Custom for Oracle Usage with Replica * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -134,48 +137,48 @@
  *     public static void stack(Context ctx) {
  *         // Lookup the available instance classes for the custom engine for the region being operated in
  *         final var custom-oracle = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
- *             .engine("custom-oracle-ee")
- *             .engineVersion("19.c.ee.002")
- *             .licenseModel("bring-your-own-license")
- *             .storageType("gp3")
+ *             .engine("custom-oracle-ee")
+ *             .engineVersion("19.c.ee.002")
+ *             .licenseModel("bring-your-own-license")
+ *             .storageType("gp3")
  *             .preferredInstanceClasses(            
- *                 "db.r5.xlarge",
- *                 "db.r5.2xlarge",
- *                 "db.r5.4xlarge")
+ *                 "db.r5.xlarge",
+ *                 "db.r5.2xlarge",
+ *                 "db.r5.4xlarge")
  *             .build());
  * 
  *         // The RDS instance resource requires an ARN. Look up the ARN of the KMS key associated with the CEV.
  *         final var byId = KmsFunctions.getKey(GetKeyArgs.builder()
- *             .keyId("example-ef278353ceba4a5a97de6784565b9f78")
+ *             .keyId("example-ef278353ceba4a5a97de6784565b9f78")
  *             .build());
  * 
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(50)
  *             .autoMinorVersionUpgrade(false)
- *             .customIamInstanceProfile("AWSRDSCustomInstanceProfile")
+ *             .customIamInstanceProfile("AWSRDSCustomInstanceProfile")
  *             .backupRetentionPeriod(7)
  *             .dbSubnetGroupName(dbSubnetGroupName)
  *             .engine(custom_oracle.engine())
  *             .engineVersion(custom_oracle.engineVersion())
- *             .identifier("ee-instance-demo")
+ *             .identifier("ee-instance-demo")
  *             .instanceClass(custom_oracle.instanceClass())
- *             .kmsKeyId(byId.applyValue(getKeyResult -> getKeyResult.arn()))
+ *             .kmsKeyId(byId.applyValue(getKeyResult -> getKeyResult.arn()))
  *             .licenseModel(custom_oracle.licenseModel())
  *             .multiAz(false)
- *             .password("avoid-plaintext-passwords")
- *             .username("test")
+ *             .password("avoid-plaintext-passwords")
+ *             .username("test")
  *             .storageEncrypted(true)
  *             .build());
  * 
- *         var test_replica = new Instance("test-replica", InstanceArgs.builder()        
+ *         var test_replica = new Instance("test-replica", InstanceArgs.builder()        
  *             .replicateSourceDb(default_.identifier())
- *             .replicaMode("mounted")
+ *             .replicaMode("mounted")
  *             .autoMinorVersionUpgrade(false)
- *             .customIamInstanceProfile("AWSRDSCustomInstanceProfile")
+ *             .customIamInstanceProfile("AWSRDSCustomInstanceProfile")
  *             .backupRetentionPeriod(7)
- *             .identifier("ee-instance-replica")
+ *             .identifier("ee-instance-replica")
  *             .instanceClass(custom_oracle.instanceClass())
- *             .kmsKeyId(byId.applyValue(getKeyResult -> getKeyResult.arn()))
+ *             .kmsKeyId(byId.applyValue(getKeyResult -> getKeyResult.arn()))
  *             .multiAz(false)
  *             .skipFinalSnapshot(true)
  *             .storageEncrypted(true)
@@ -183,13 +186,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Custom for SQL Server * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -216,46 +221,48 @@
  *     public static void stack(Context ctx) {
  *         // Lookup the available instance classes for the custom engine for the region being operated in
  *         final var custom-sqlserver = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
- *             .engine("custom-sqlserver-se")
- *             .engineVersion("15.00.4249.2.v1")
- *             .storageType("gp3")
+ *             .engine("custom-sqlserver-se")
+ *             .engineVersion("15.00.4249.2.v1")
+ *             .storageType("gp3")
  *             .preferredInstanceClasses(            
- *                 "db.r5.xlarge",
- *                 "db.r5.2xlarge",
- *                 "db.r5.4xlarge")
+ *                 "db.r5.xlarge",
+ *                 "db.r5.2xlarge",
+ *                 "db.r5.4xlarge")
  *             .build());
  * 
  *         // The RDS instance resource requires an ARN. Look up the ARN of the KMS key.
  *         final var byId = KmsFunctions.getKey(GetKeyArgs.builder()
- *             .keyId("example-ef278353ceba4a5a97de6784565b9f78")
+ *             .keyId("example-ef278353ceba4a5a97de6784565b9f78")
  *             .build());
  * 
- *         var example = new Instance("example", InstanceArgs.builder()        
+ *         var example = new Instance("example", InstanceArgs.builder()        
  *             .allocatedStorage(500)
  *             .autoMinorVersionUpgrade(false)
- *             .customIamInstanceProfile("AWSRDSCustomSQLServerInstanceProfile")
+ *             .customIamInstanceProfile("AWSRDSCustomSQLServerInstanceProfile")
  *             .backupRetentionPeriod(7)
  *             .dbSubnetGroupName(dbSubnetGroupName)
  *             .engine(custom_sqlserver.engine())
  *             .engineVersion(custom_sqlserver.engineVersion())
- *             .identifier("sql-instance-demo")
+ *             .identifier("sql-instance-demo")
  *             .instanceClass(custom_sqlserver.instanceClass())
- *             .kmsKeyId(byId.applyValue(getKeyResult -> getKeyResult.arn()))
+ *             .kmsKeyId(byId.applyValue(getKeyResult -> getKeyResult.arn()))
  *             .multiAz(false)
- *             .password("avoid-plaintext-passwords")
+ *             .password("avoid-plaintext-passwords")
  *             .storageEncrypted(true)
- *             .username("test")
+ *             .username("test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### RDS Db2 Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -284,55 +291,56 @@
  *     public static void stack(Context ctx) {
  *         // Lookup the default version for the engine. Db2 Standard Edition is `db2-se`, Db2 Advanced Edition is `db2-ae`.
  *         final var default = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
- *             .engine("db2-se")
+ *             .engine("db2-se")
  *             .build());
  * 
  *         // Lookup the available instance classes for the engine in the region being operated in
  *         final var example = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
  *             .engine(default_.engine())
  *             .engineVersion(default_.version())
- *             .licenseModel("bring-your-own-license")
- *             .storageType("gp3")
+ *             .licenseModel("bring-your-own-license")
+ *             .storageType("gp3")
  *             .preferredInstanceClasses(            
- *                 "db.t3.small",
- *                 "db.r6i.large",
- *                 "db.m6i.large")
+ *                 "db.t3.small",
+ *                 "db.r6i.large",
+ *                 "db.m6i.large")
  *             .build());
  * 
  *         // The RDS Db2 instance resource requires licensing information. Create a new parameter group using the default paramater group as a source, and set license information.
- *         var exampleParameterGroup = new ParameterGroup("exampleParameterGroup", ParameterGroupArgs.builder()        
- *             .name("db-db2-params")
+ *         var exampleParameterGroup = new ParameterGroup("exampleParameterGroup", ParameterGroupArgs.builder()        
+ *             .name("db-db2-params")
  *             .family(default_.parameterGroupFamily())
  *             .parameters(            
  *                 ParameterGroupParameterArgs.builder()
- *                     .applyMethod("immediate")
- *                     .name("rds.ibm_customer_id")
+ *                     .applyMethod("immediate")
+ *                     .name("rds.ibm_customer_id")
  *                     .value(0)
  *                     .build(),
  *                 ParameterGroupParameterArgs.builder()
- *                     .applyMethod("immediate")
- *                     .name("rds.ibm_site_id")
+ *                     .applyMethod("immediate")
+ *                     .name("rds.ibm_site_id")
  *                     .value(0)
  *                     .build())
  *             .build());
  * 
  *         // Create the RDS Db2 instance, use the data sources defined to set attributes
- *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
+ *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
  *             .allocatedStorage(100)
  *             .backupRetentionPeriod(7)
- *             .dbName("test")
- *             .engine(example.applyValue(getOrderableDbInstanceResult -> getOrderableDbInstanceResult.engine()))
- *             .engineVersion(example.applyValue(getOrderableDbInstanceResult -> getOrderableDbInstanceResult.engineVersion()))
- *             .identifier("db2-instance-demo")
- *             .instanceClass(example.applyValue(getOrderableDbInstanceResult -> getOrderableDbInstanceResult.instanceClass()))
+ *             .dbName("test")
+ *             .engine(example.applyValue(getOrderableDbInstanceResult -> getOrderableDbInstanceResult.engine()))
+ *             .engineVersion(example.applyValue(getOrderableDbInstanceResult -> getOrderableDbInstanceResult.engineVersion()))
+ *             .identifier("db2-instance-demo")
+ *             .instanceClass(example.applyValue(getOrderableDbInstanceResult -> getOrderableDbInstanceResult.instanceClass()))
  *             .parameterGroupName(exampleParameterGroup.name())
- *             .password("avoid-plaintext-passwords")
- *             .username("test")
+ *             .password("avoid-plaintext-passwords")
+ *             .username("test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Storage Autoscaling @@ -340,7 +348,8 @@ * To enable Storage Autoscaling with instances that support the feature, define the `max_allocated_storage` argument higher than the `allocated_storage` argument. This provider will automatically hide differences with the `allocated_storage` argument value if autoscaling occurs. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -361,14 +370,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Instance("example", InstanceArgs.builder()        
+ *         var example = new Instance("example", InstanceArgs.builder()        
  *             .allocatedStorage(50)
  *             .maxAllocatedStorage(100)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Managed Master Passwords via Secrets Manager, default KMS Key @@ -378,7 +388,8 @@ * You can specify the `manage_master_user_password` attribute to enable managing the master password with Secrets Manager. You can also update an existing cluster to use Secrets Manager by specify the `manage_master_user_password` attribute and removing the `password` attribute (removal is required). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -399,20 +410,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .dbName("mydb")
- *             .engine("mysql")
- *             .engineVersion("5.7")
- *             .instanceClass("db.t3.micro")
+ *             .dbName("mydb")
+ *             .engine("mysql")
+ *             .engineVersion("5.7")
+ *             .instanceClass("db.t3.micro")
  *             .manageMasterUserPassword(true)
- *             .username("foo")
- *             .parameterGroupName("default.mysql5.7")
+ *             .username("foo")
+ *             .parameterGroupName("default.mysql5.7")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Managed Master Passwords via Secrets Manager, specific KMS Key @@ -422,7 +434,8 @@ * You can specify the `master_user_secret_kms_key_id` attribute to specify a specific KMS Key. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -445,25 +458,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Key("example", KeyArgs.builder()        
- *             .description("Example KMS Key")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .description("Example KMS Key")
  *             .build());
  * 
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .dbName("mydb")
- *             .engine("mysql")
- *             .engineVersion("5.7")
- *             .instanceClass("db.t3.micro")
+ *             .dbName("mydb")
+ *             .engine("mysql")
+ *             .engineVersion("5.7")
+ *             .instanceClass("db.t3.micro")
  *             .manageMasterUserPassword(true)
  *             .masterUserSecretKmsKeyId(example.keyId())
- *             .username("foo")
- *             .parameterGroupName("default.mysql5.7")
+ *             .username("foo")
+ *             .parameterGroupName("default.mysql5.7")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/InstanceAutomatedBackupsReplication.java b/sdk/java/src/main/java/com/pulumi/aws/rds/InstanceAutomatedBackupsReplication.java index 23404a7ea7b..1b1312f86c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/InstanceAutomatedBackupsReplication.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/InstanceAutomatedBackupsReplication.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new InstanceAutomatedBackupsReplication("default", InstanceAutomatedBackupsReplicationArgs.builder()        
- *             .sourceDbInstanceArn("arn:aws:rds:us-west-2:123456789012:db:mydatabase")
+ *         var default_ = new InstanceAutomatedBackupsReplication("default", InstanceAutomatedBackupsReplicationArgs.builder()        
+ *             .sourceDbInstanceArn("arn:aws:rds:us-west-2:123456789012:db:mydatabase")
  *             .retentionPeriod(14)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Encrypting the automated backup with KMS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,20 +83,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new InstanceAutomatedBackupsReplication("default", InstanceAutomatedBackupsReplicationArgs.builder()        
- *             .sourceDbInstanceArn("arn:aws:rds:us-west-2:123456789012:db:mydatabase")
- *             .kmsKeyId("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
+ *         var default_ = new InstanceAutomatedBackupsReplication("default", InstanceAutomatedBackupsReplicationArgs.builder()        
+ *             .sourceDbInstanceArn("arn:aws:rds:us-west-2:123456789012:db:mydatabase")
+ *             .kmsKeyId("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example including a RDS DB instance * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -118,32 +123,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .identifier("mydb")
- *             .engine("postgres")
- *             .engineVersion("13.4")
- *             .instanceClass("db.t3.micro")
- *             .dbName("mydb")
- *             .username("masterusername")
- *             .password("mustbeeightcharacters")
+ *             .identifier("mydb")
+ *             .engine("postgres")
+ *             .engineVersion("13.4")
+ *             .instanceClass("db.t3.micro")
+ *             .dbName("mydb")
+ *             .username("masterusername")
+ *             .password("mustbeeightcharacters")
  *             .backupRetentionPeriod(7)
  *             .storageEncrypted(true)
  *             .skipFinalSnapshot(true)
  *             .build());
  * 
- *         var defaultKey = new Key("defaultKey", KeyArgs.builder()        
- *             .description("Encryption key for automated backups")
+ *         var defaultKey = new Key("defaultKey", KeyArgs.builder()        
+ *             .description("Encryption key for automated backups")
  *             .build());
  * 
- *         var defaultInstanceAutomatedBackupsReplication = new InstanceAutomatedBackupsReplication("defaultInstanceAutomatedBackupsReplication", InstanceAutomatedBackupsReplicationArgs.builder()        
+ *         var defaultInstanceAutomatedBackupsReplication = new InstanceAutomatedBackupsReplication("defaultInstanceAutomatedBackupsReplication", InstanceAutomatedBackupsReplicationArgs.builder()        
  *             .sourceDbInstanceArn(default_.arn())
  *             .kmsKeyId(defaultKey.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java b/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java index 834d3c96f8c..47d86e49875 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/OptionGroup.java @@ -28,7 +28,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,34 +51,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OptionGroup("example", OptionGroupArgs.builder()        
- *             .name("option-group-test")
- *             .optionGroupDescription("Option Group")
- *             .engineName("sqlserver-ee")
- *             .majorEngineVersion("11.00")
+ *         var example = new OptionGroup("example", OptionGroupArgs.builder()        
+ *             .name("option-group-test")
+ *             .optionGroupDescription("Option Group")
+ *             .engineName("sqlserver-ee")
+ *             .majorEngineVersion("11.00")
  *             .options(            
  *                 OptionGroupOptionArgs.builder()
- *                     .optionName("Timezone")
+ *                     .optionName("Timezone")
  *                     .optionSettings(OptionGroupOptionOptionSettingArgs.builder()
- *                         .name("TIME_ZONE")
- *                         .value("UTC")
+ *                         .name("TIME_ZONE")
+ *                         .value("UTC")
  *                         .build())
  *                     .build(),
  *                 OptionGroupOptionArgs.builder()
- *                     .optionName("SQLSERVER_BACKUP_RESTORE")
+ *                     .optionName("SQLSERVER_BACKUP_RESTORE")
  *                     .optionSettings(OptionGroupOptionOptionSettingArgs.builder()
- *                         .name("IAM_ROLE_ARN")
+ *                         .name("IAM_ROLE_ARN")
  *                         .value(exampleAwsIamRole.arn())
  *                         .build())
  *                     .build(),
  *                 OptionGroupOptionArgs.builder()
- *                     .optionName("TDE")
+ *                     .optionName("TDE")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * > **Note:** Any modifications to the `aws.rds.OptionGroup` are set to happen immediately as we default to applying immediately. diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ParameterGroup.java index 86c1a95ffa5..6af6c3fe8e7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ParameterGroup.java @@ -38,7 +38,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,23 +61,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new ParameterGroup("default", ParameterGroupArgs.builder()        
- *             .name("rds-pg")
- *             .family("mysql5.6")
+ *         var default_ = new ParameterGroup("default", ParameterGroupArgs.builder()        
+ *             .name("rds-pg")
+ *             .family("mysql5.6")
  *             .parameters(            
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("character_set_server")
- *                     .value("utf8")
+ *                     .name("character_set_server")
+ *                     .value("utf8")
  *                     .build(),
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("character_set_client")
- *                     .value("utf8")
+ *                     .name("character_set_client")
+ *                     .value("utf8")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/Proxy.java b/sdk/java/src/main/java/com/pulumi/aws/rds/Proxy.java index 5a0651575c1..94a2befc756 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/Proxy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/Proxy.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,30 +48,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Proxy("example", ProxyArgs.builder()        
- *             .name("example")
+ *         var example = new Proxy("example", ProxyArgs.builder()        
+ *             .name("example")
  *             .debugLogging(false)
- *             .engineFamily("MYSQL")
+ *             .engineFamily("MYSQL")
  *             .idleClientTimeout(1800)
  *             .requireTls(true)
  *             .roleArn(exampleAwsIamRole.arn())
  *             .vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
  *             .vpcSubnetIds(exampleAwsSubnet.id())
  *             .auths(ProxyAuthArgs.builder()
- *                 .authScheme("SECRETS")
- *                 .description("example")
- *                 .iamAuth("DISABLED")
+ *                 .authScheme("SECRETS")
+ *                 .description("example")
+ *                 .iamAuth("DISABLED")
  *                 .secretArn(exampleAwsSecretsmanagerSecret.arn())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "example"),
- *                 Map.entry("Key", "value")
+ *                 Map.entry("Name", "example"),
+ *                 Map.entry("Key", "value")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyDefaultTargetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyDefaultTargetGroup.java index 239ff766b89..f6e09f2f27a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyDefaultTargetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyDefaultTargetGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,41 +48,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Proxy("example", ProxyArgs.builder()        
- *             .name("example")
+ *         var example = new Proxy("example", ProxyArgs.builder()        
+ *             .name("example")
  *             .debugLogging(false)
- *             .engineFamily("MYSQL")
+ *             .engineFamily("MYSQL")
  *             .idleClientTimeout(1800)
  *             .requireTls(true)
  *             .roleArn(exampleAwsIamRole.arn())
  *             .vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
  *             .vpcSubnetIds(exampleAwsSubnet.id())
  *             .auths(ProxyAuthArgs.builder()
- *                 .authScheme("SECRETS")
- *                 .description("example")
- *                 .iamAuth("DISABLED")
+ *                 .authScheme("SECRETS")
+ *                 .description("example")
+ *                 .iamAuth("DISABLED")
  *                 .secretArn(exampleAwsSecretsmanagerSecret.arn())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "example"),
- *                 Map.entry("Key", "value")
+ *                 Map.entry("Name", "example"),
+ *                 Map.entry("Key", "value")
  *             ))
  *             .build());
  * 
- *         var exampleProxyDefaultTargetGroup = new ProxyDefaultTargetGroup("exampleProxyDefaultTargetGroup", ProxyDefaultTargetGroupArgs.builder()        
+ *         var exampleProxyDefaultTargetGroup = new ProxyDefaultTargetGroup("exampleProxyDefaultTargetGroup", ProxyDefaultTargetGroupArgs.builder()        
  *             .dbProxyName(example.name())
  *             .connectionPoolConfig(ProxyDefaultTargetGroupConnectionPoolConfigArgs.builder()
  *                 .connectionBorrowTimeout(120)
- *                 .initQuery("SET x=1, y=2")
+ *                 .initQuery("SET x=1, y=2")
  *                 .maxConnectionsPercent(100)
  *                 .maxIdleConnectionsPercent(50)
- *                 .sessionPinningFilters("EXCLUDE_VARIABLE_SETS")
+ *                 .sessionPinningFilters("EXCLUDE_VARIABLE_SETS")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyEndpoint.java index e5642374f4c..c11862bde1a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyEndpoint.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProxyEndpoint("example", ProxyEndpointArgs.builder()        
+ *         var example = new ProxyEndpoint("example", ProxyEndpointArgs.builder()        
  *             .dbProxyName(test.name())
- *             .dbProxyEndpointName("example")
- *             .vpcSubnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
- *             .targetRole("READ_ONLY")
+ *             .dbProxyEndpointName("example")
+ *             .vpcSubnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *             .targetRole("READ_ONLY")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyTarget.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyTarget.java index 3e2a5242714..5dbec2718eb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ProxyTarget.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,39 +49,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Proxy("example", ProxyArgs.builder()        
- *             .name("example")
+ *         var example = new Proxy("example", ProxyArgs.builder()        
+ *             .name("example")
  *             .debugLogging(false)
- *             .engineFamily("MYSQL")
+ *             .engineFamily("MYSQL")
  *             .idleClientTimeout(1800)
  *             .requireTls(true)
  *             .roleArn(exampleAwsIamRole.arn())
  *             .vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
  *             .vpcSubnetIds(exampleAwsSubnet.id())
  *             .auths(ProxyAuthArgs.builder()
- *                 .authScheme("SECRETS")
- *                 .description("example")
- *                 .iamAuth("DISABLED")
+ *                 .authScheme("SECRETS")
+ *                 .description("example")
+ *                 .iamAuth("DISABLED")
  *                 .secretArn(exampleAwsSecretsmanagerSecret.arn())
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "example"),
- *                 Map.entry("Key", "value")
+ *                 Map.entry("Name", "example"),
+ *                 Map.entry("Key", "value")
  *             ))
  *             .build());
  * 
- *         var exampleProxyDefaultTargetGroup = new ProxyDefaultTargetGroup("exampleProxyDefaultTargetGroup", ProxyDefaultTargetGroupArgs.builder()        
+ *         var exampleProxyDefaultTargetGroup = new ProxyDefaultTargetGroup("exampleProxyDefaultTargetGroup", ProxyDefaultTargetGroupArgs.builder()        
  *             .dbProxyName(example.name())
  *             .connectionPoolConfig(ProxyDefaultTargetGroupConnectionPoolConfigArgs.builder()
  *                 .connectionBorrowTimeout(120)
- *                 .initQuery("SET x=1, y=2")
+ *                 .initQuery("SET x=1, y=2")
  *                 .maxConnectionsPercent(100)
  *                 .maxIdleConnectionsPercent(50)
- *                 .sessionPinningFilters("EXCLUDE_VARIABLE_SETS")
+ *                 .sessionPinningFilters("EXCLUDE_VARIABLE_SETS")
  *                 .build())
  *             .build());
  * 
- *         var exampleProxyTarget = new ProxyTarget("exampleProxyTarget", ProxyTargetArgs.builder()        
+ *         var exampleProxyTarget = new ProxyTarget("exampleProxyTarget", ProxyTargetArgs.builder()        
  *             .dbInstanceIdentifier(exampleAwsDbInstance.identifier())
  *             .dbProxyName(example.name())
  *             .targetGroupName(exampleProxyDefaultTargetGroup.name())
@@ -88,7 +89,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/RdsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/rds/RdsFunctions.java index 34c37317dc0..9c80913aee3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/RdsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/RdsFunctions.java @@ -59,7 +59,8 @@ public final class RdsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,7 +87,8 @@ public final class RdsFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -99,7 +101,8 @@ public static Output getCertificate() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -126,7 +129,8 @@ public static Output getCertificate() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -139,7 +143,8 @@ public static CompletableFuture getCertificatePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -166,7 +171,8 @@ public static CompletableFuture getCertificatePlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -179,7 +185,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -206,7 +213,8 @@ public static Output getCertificate(GetCertificateArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -219,7 +227,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -246,7 +255,8 @@ public static CompletableFuture getCertificatePlain(GetCer
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -259,7 +269,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -286,7 +297,8 @@ public static Output getCertificate(GetCertificateArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -299,7 +311,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -321,12 +334,13 @@ public static CompletableFuture getCertificatePlain(GetCer
      * 
      *     public static void stack(Context ctx) {
      *         final var clusterName = RdsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("clusterName")
+     *             .clusterIdentifier("clusterName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -339,7 +353,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -361,12 +376,13 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var clusterName = RdsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("clusterName")
+     *             .clusterIdentifier("clusterName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -379,7 +395,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -401,12 +418,13 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var clusterName = RdsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("clusterName")
+     *             .clusterIdentifier("clusterName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -419,7 +437,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -441,12 +460,13 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var clusterName = RdsFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("clusterName")
+     *             .clusterIdentifier("clusterName")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -462,7 +482,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -488,27 +509,28 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var developmentFinalSnapshot = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
-     *             .dbClusterIdentifier("development_cluster")
+     *             .dbClusterIdentifier("development_cluster")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Use the last snapshot of the dev database before it was destroyed to create
      *         // a new dev database.
-     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
-     *             .clusterIdentifier("development_cluster")
-     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
+     *             .clusterIdentifier("development_cluster")
+     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
-     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
+     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
      *             .clusterIdentifier(aurora.id())
-     *             .instanceClass("db.t2.small")
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *             .instanceClass("db.t2.small")
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -524,7 +546,8 @@ public static Output getClusterSnapshot() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -550,27 +573,28 @@ public static Output getClusterSnapshot() {
      * 
      *     public static void stack(Context ctx) {
      *         final var developmentFinalSnapshot = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
-     *             .dbClusterIdentifier("development_cluster")
+     *             .dbClusterIdentifier("development_cluster")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Use the last snapshot of the dev database before it was destroyed to create
      *         // a new dev database.
-     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
-     *             .clusterIdentifier("development_cluster")
-     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
+     *             .clusterIdentifier("development_cluster")
+     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
-     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
+     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
      *             .clusterIdentifier(aurora.id())
-     *             .instanceClass("db.t2.small")
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *             .instanceClass("db.t2.small")
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -586,7 +610,8 @@ public static CompletableFuture getClusterSnapshotPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -612,27 +637,28 @@ public static CompletableFuture getClusterSnapshotPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var developmentFinalSnapshot = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
-     *             .dbClusterIdentifier("development_cluster")
+     *             .dbClusterIdentifier("development_cluster")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Use the last snapshot of the dev database before it was destroyed to create
      *         // a new dev database.
-     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
-     *             .clusterIdentifier("development_cluster")
-     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
+     *             .clusterIdentifier("development_cluster")
+     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
-     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
+     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
      *             .clusterIdentifier(aurora.id())
-     *             .instanceClass("db.t2.small")
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *             .instanceClass("db.t2.small")
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -648,7 +674,8 @@ public static Output getClusterSnapshot(GetClusterSnap * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -674,27 +701,28 @@ public static Output getClusterSnapshot(GetClusterSnap
      * 
      *     public static void stack(Context ctx) {
      *         final var developmentFinalSnapshot = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
-     *             .dbClusterIdentifier("development_cluster")
+     *             .dbClusterIdentifier("development_cluster")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Use the last snapshot of the dev database before it was destroyed to create
      *         // a new dev database.
-     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
-     *             .clusterIdentifier("development_cluster")
-     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
+     *             .clusterIdentifier("development_cluster")
+     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
-     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
+     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
      *             .clusterIdentifier(aurora.id())
-     *             .instanceClass("db.t2.small")
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *             .instanceClass("db.t2.small")
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -710,7 +738,8 @@ public static CompletableFuture getClusterSnapshotPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -736,27 +765,28 @@ public static CompletableFuture getClusterSnapshotPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var developmentFinalSnapshot = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
-     *             .dbClusterIdentifier("development_cluster")
+     *             .dbClusterIdentifier("development_cluster")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Use the last snapshot of the dev database before it was destroyed to create
      *         // a new dev database.
-     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
-     *             .clusterIdentifier("development_cluster")
-     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
+     *             .clusterIdentifier("development_cluster")
+     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
-     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
+     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
      *             .clusterIdentifier(aurora.id())
-     *             .instanceClass("db.t2.small")
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *             .instanceClass("db.t2.small")
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -772,7 +802,8 @@ public static Output getClusterSnapshot(GetClusterSnap * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -798,27 +829,28 @@ public static Output getClusterSnapshot(GetClusterSnap
      * 
      *     public static void stack(Context ctx) {
      *         final var developmentFinalSnapshot = RdsFunctions.getClusterSnapshot(GetClusterSnapshotArgs.builder()
-     *             .dbClusterIdentifier("development_cluster")
+     *             .dbClusterIdentifier("development_cluster")
      *             .mostRecent(true)
      *             .build());
      * 
      *         // Use the last snapshot of the dev database before it was destroyed to create
      *         // a new dev database.
-     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
-     *             .clusterIdentifier("development_cluster")
-     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *         var aurora = new Cluster("aurora", ClusterArgs.builder()        
+     *             .clusterIdentifier("development_cluster")
+     *             .snapshotIdentifier(developmentFinalSnapshot.applyValue(getClusterSnapshotResult -> getClusterSnapshotResult.id()))
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
-     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
+     *         var auroraClusterInstance = new ClusterInstance("auroraClusterInstance", ClusterInstanceArgs.builder()        
      *             .clusterIdentifier(aurora.id())
-     *             .instanceClass("db.t2.small")
-     *             .dbSubnetGroupName("my_db_subnet_group")
+     *             .instanceClass("db.t2.small")
+     *             .dbSubnetGroupName("my_db_subnet_group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -833,7 +865,8 @@ public static CompletableFuture getClusterSnapshotPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -856,14 +889,15 @@ public static CompletableFuture getClusterSnapshotPlai
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getClusters(GetClustersArgs.builder()
      *             .filters(GetClustersFilterArgs.builder()
-     *                 .name("engine")
-     *                 .values("aurora-postgresql")
+     *                 .name("engine")
+     *                 .values("aurora-postgresql")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -878,7 +912,8 @@ public static Output getClusters() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -901,14 +936,15 @@ public static Output getClusters() {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getClusters(GetClustersArgs.builder()
      *             .filters(GetClustersFilterArgs.builder()
-     *                 .name("engine")
-     *                 .values("aurora-postgresql")
+     *                 .name("engine")
+     *                 .values("aurora-postgresql")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -923,7 +959,8 @@ public static CompletableFuture getClustersPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -946,14 +983,15 @@ public static CompletableFuture getClustersPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getClusters(GetClustersArgs.builder()
      *             .filters(GetClustersFilterArgs.builder()
-     *                 .name("engine")
-     *                 .values("aurora-postgresql")
+     *                 .name("engine")
+     *                 .values("aurora-postgresql")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -968,7 +1006,8 @@ public static Output getClusters(GetClustersArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -991,14 +1030,15 @@ public static Output getClusters(GetClustersArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getClusters(GetClustersArgs.builder()
      *             .filters(GetClustersFilterArgs.builder()
-     *                 .name("engine")
-     *                 .values("aurora-postgresql")
+     *                 .name("engine")
+     *                 .values("aurora-postgresql")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1013,7 +1053,8 @@ public static CompletableFuture getClustersPlain(GetClustersP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1036,14 +1077,15 @@ public static CompletableFuture getClustersPlain(GetClustersP
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getClusters(GetClustersArgs.builder()
      *             .filters(GetClustersFilterArgs.builder()
-     *                 .name("engine")
-     *                 .values("aurora-postgresql")
+     *                 .name("engine")
+     *                 .values("aurora-postgresql")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1058,7 +1100,8 @@ public static Output getClusters(GetClustersArgs args, Invoke * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1081,14 +1124,15 @@ public static Output getClusters(GetClustersArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getClusters(GetClustersArgs.builder()
      *             .filters(GetClustersFilterArgs.builder()
-     *                 .name("engine")
-     *                 .values("aurora-postgresql")
+     *                 .name("engine")
+     *                 .values("aurora-postgresql")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1103,7 +1147,8 @@ public static CompletableFuture getClustersPlain(GetClustersP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1125,21 +1170,23 @@ public static CompletableFuture getClustersPlain(GetClustersP
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("mysql")
+     *             .engine("mysql")
      *             .preferredVersions(            
-     *                 "8.0.27",
-     *                 "8.0.26")
+     *                 "8.0.27",
+     *                 "8.0.26")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With `filter` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1161,18 +1208,19 @@ public static CompletableFuture getClustersPlain(GetClustersP
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("aurora-postgresql")
-     *             .version("10.14")
+     *             .engine("aurora-postgresql")
+     *             .version("10.14")
      *             .includeAll(true)
      *             .filters(GetEngineVersionFilterArgs.builder()
-     *                 .name("engine-mode")
-     *                 .values("serverless")
+     *                 .name("engine-mode")
+     *                 .values("serverless")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1187,7 +1235,8 @@ public static Output getEngineVersion(GetEngineVersionAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1209,21 +1258,23 @@ public static Output getEngineVersion(GetEngineVersionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("mysql")
+     *             .engine("mysql")
      *             .preferredVersions(            
-     *                 "8.0.27",
-     *                 "8.0.26")
+     *                 "8.0.27",
+     *                 "8.0.26")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With `filter` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1245,18 +1296,19 @@ public static Output getEngineVersion(GetEngineVersionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("aurora-postgresql")
-     *             .version("10.14")
+     *             .engine("aurora-postgresql")
+     *             .version("10.14")
      *             .includeAll(true)
      *             .filters(GetEngineVersionFilterArgs.builder()
-     *                 .name("engine-mode")
-     *                 .values("serverless")
+     *                 .name("engine-mode")
+     *                 .values("serverless")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1271,7 +1323,8 @@ public static CompletableFuture getEngineVersionPlain(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1293,21 +1346,23 @@ public static CompletableFuture getEngineVersionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("mysql")
+     *             .engine("mysql")
      *             .preferredVersions(            
-     *                 "8.0.27",
-     *                 "8.0.26")
+     *                 "8.0.27",
+     *                 "8.0.26")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With `filter` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1329,18 +1384,19 @@ public static CompletableFuture getEngineVersionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("aurora-postgresql")
-     *             .version("10.14")
+     *             .engine("aurora-postgresql")
+     *             .version("10.14")
      *             .includeAll(true)
      *             .filters(GetEngineVersionFilterArgs.builder()
-     *                 .name("engine-mode")
-     *                 .values("serverless")
+     *                 .name("engine-mode")
+     *                 .values("serverless")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1355,7 +1411,8 @@ public static Output getEngineVersion(GetEngineVersionAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1377,21 +1434,23 @@ public static Output getEngineVersion(GetEngineVersionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("mysql")
+     *             .engine("mysql")
      *             .preferredVersions(            
-     *                 "8.0.27",
-     *                 "8.0.26")
+     *                 "8.0.27",
+     *                 "8.0.26")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### With `filter` * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1413,18 +1472,19 @@ public static Output getEngineVersion(GetEngineVersionAr
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getEngineVersion(GetEngineVersionArgs.builder()
-     *             .engine("aurora-postgresql")
-     *             .version("10.14")
+     *             .engine("aurora-postgresql")
+     *             .version("10.14")
      *             .includeAll(true)
      *             .filters(GetEngineVersionFilterArgs.builder()
-     *                 .name("engine-mode")
-     *                 .values("serverless")
+     *                 .name("engine-mode")
+     *                 .values("serverless")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1437,7 +1497,8 @@ public static CompletableFuture getEngineVersionPlain(Ge * List the event categories of all the RDS resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1460,16 +1521,18 @@ public static CompletableFuture getEngineVersionPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories();
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * List the event categories specific to the RDS resource `db-snapshot`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1491,13 +1554,14 @@ public static CompletableFuture getEngineVersionPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories(GetEventCategoriesArgs.builder()
-     *             .sourceType("db-snapshot")
+     *             .sourceType("db-snapshot")
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1510,7 +1574,8 @@ public static Output getEventCategories() { * List the event categories of all the RDS resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1533,16 +1598,18 @@ public static Output getEventCategories() {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories();
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * List the event categories specific to the RDS resource `db-snapshot`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1564,13 +1631,14 @@ public static Output getEventCategories() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories(GetEventCategoriesArgs.builder()
-     *             .sourceType("db-snapshot")
+     *             .sourceType("db-snapshot")
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1583,7 +1651,8 @@ public static CompletableFuture getEventCategoriesPlai * List the event categories of all the RDS resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1606,16 +1675,18 @@ public static CompletableFuture getEventCategoriesPlai
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories();
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * List the event categories specific to the RDS resource `db-snapshot`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1637,13 +1708,14 @@ public static CompletableFuture getEventCategoriesPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories(GetEventCategoriesArgs.builder()
-     *             .sourceType("db-snapshot")
+     *             .sourceType("db-snapshot")
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1656,7 +1728,8 @@ public static Output getEventCategories(GetEventCatego * List the event categories of all the RDS resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1679,16 +1752,18 @@ public static Output getEventCategories(GetEventCatego
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories();
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * List the event categories specific to the RDS resource `db-snapshot`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1710,13 +1785,14 @@ public static Output getEventCategories(GetEventCatego
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories(GetEventCategoriesArgs.builder()
-     *             .sourceType("db-snapshot")
+     *             .sourceType("db-snapshot")
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1729,7 +1805,8 @@ public static CompletableFuture getEventCategoriesPlai * List the event categories of all the RDS resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1752,16 +1829,18 @@ public static CompletableFuture getEventCategoriesPlai
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories();
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * List the event categories specific to the RDS resource `db-snapshot`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1783,13 +1862,14 @@ public static CompletableFuture getEventCategoriesPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories(GetEventCategoriesArgs.builder()
-     *             .sourceType("db-snapshot")
+     *             .sourceType("db-snapshot")
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1802,7 +1882,8 @@ public static Output getEventCategories(GetEventCatego * List the event categories of all the RDS resources. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1825,16 +1906,18 @@ public static Output getEventCategories(GetEventCatego
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories();
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * List the event categories specific to the RDS resource `db-snapshot`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1856,13 +1939,14 @@ public static Output getEventCategories(GetEventCatego
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getEventCategories(GetEventCategoriesArgs.builder()
-     *             .sourceType("db-snapshot")
+     *             .sourceType("db-snapshot")
      *             .build());
      * 
-     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
+     *         ctx.export("example", example.applyValue(getEventCategoriesResult -> getEventCategoriesResult.eventCategories()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1875,7 +1959,8 @@ public static CompletableFuture getEventCategoriesPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1897,12 +1982,13 @@ public static CompletableFuture getEventCategoriesPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
-     *             .dbInstanceIdentifier("my-test-database")
+     *             .dbInstanceIdentifier("my-test-database")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1915,7 +2001,8 @@ public static Output getInstance() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1937,12 +2024,13 @@ public static Output getInstance() {
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
-     *             .dbInstanceIdentifier("my-test-database")
+     *             .dbInstanceIdentifier("my-test-database")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1955,7 +2043,8 @@ public static CompletableFuture getInstancePlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1977,12 +2066,13 @@ public static CompletableFuture getInstancePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
-     *             .dbInstanceIdentifier("my-test-database")
+     *             .dbInstanceIdentifier("my-test-database")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1995,7 +2085,8 @@ public static Output getInstance(GetInstanceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2017,12 +2108,13 @@ public static Output getInstance(GetInstanceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
-     *             .dbInstanceIdentifier("my-test-database")
+     *             .dbInstanceIdentifier("my-test-database")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2035,7 +2127,8 @@ public static CompletableFuture getInstancePlain(GetInstanceP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2057,12 +2150,13 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
-     *             .dbInstanceIdentifier("my-test-database")
+     *             .dbInstanceIdentifier("my-test-database")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2075,7 +2169,8 @@ public static Output getInstance(GetInstanceArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2097,12 +2192,13 @@ public static Output getInstance(GetInstanceArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
-     *             .dbInstanceIdentifier("my-test-database")
+     *             .dbInstanceIdentifier("my-test-database")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2117,7 +2213,8 @@ public static CompletableFuture getInstancePlain(GetInstanceP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2140,20 +2237,22 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("db-instance-id")
-     *                 .values("my-database-id")
+     *                 .name("db-instance-id")
+     *                 .values("my-database-id")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Using tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2175,12 +2274,13 @@ public static CompletableFuture getInstancePlain(GetInstanceP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2195,7 +2295,8 @@ public static Output getInstances() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2218,20 +2319,22 @@ public static Output getInstances() {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("db-instance-id")
-     *                 .values("my-database-id")
+     *                 .name("db-instance-id")
+     *                 .values("my-database-id")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Using tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2253,12 +2356,13 @@ public static Output getInstances() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2273,7 +2377,8 @@ public static CompletableFuture getInstancesPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2296,20 +2401,22 @@ public static CompletableFuture getInstancesPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("db-instance-id")
-     *                 .values("my-database-id")
+     *                 .name("db-instance-id")
+     *                 .values("my-database-id")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Using tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2331,12 +2438,13 @@ public static CompletableFuture getInstancesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2351,7 +2459,8 @@ public static Output getInstances(GetInstancesArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2374,20 +2483,22 @@ public static Output getInstances(GetInstancesArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("db-instance-id")
-     *                 .values("my-database-id")
+     *                 .name("db-instance-id")
+     *                 .values("my-database-id")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Using tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2409,12 +2520,13 @@ public static Output getInstances(GetInstancesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2429,7 +2541,8 @@ public static CompletableFuture getInstancesPlain(GetInstanc * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2452,20 +2565,22 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("db-instance-id")
-     *                 .values("my-database-id")
+     *                 .name("db-instance-id")
+     *                 .values("my-database-id")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Using tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2487,12 +2602,13 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2507,7 +2623,8 @@ public static Output getInstances(GetInstancesArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2530,20 +2647,22 @@ public static Output getInstances(GetInstancesArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("db-instance-id")
-     *                 .values("my-database-id")
+     *                 .name("db-instance-id")
+     *                 .values("my-database-id")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Using tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2565,12 +2684,13 @@ public static Output getInstances(GetInstancesArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RdsFunctions.getInstances(GetInstancesArgs.builder()
-     *             .tags(Map.of("Env", "test"))
+     *             .tags(Map.of("Env", "test"))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2583,7 +2703,8 @@ public static CompletableFuture getInstancesPlain(GetInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2605,25 +2726,27 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .engineVersion("5.7.22")
-     *             .licenseModel("general-public-license")
-     *             .storageType("standard")
+     *             .engine("mysql")
+     *             .engineVersion("5.7.22")
+     *             .licenseModel("general-public-license")
+     *             .storageType("standard")
      *             .preferredInstanceClasses(            
-     *                 "db.r6.xlarge",
-     *                 "db.m4.large",
-     *                 "db.t3.small")
+     *                 "db.r6.xlarge",
+     *                 "db.m4.large",
+     *                 "db.t3.small")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Valid parameter combinations can also be found with `preferred_engine_versions` and/or `preferred_instance_classes`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2645,21 +2768,22 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .licenseModel("general-public-license")
+     *             .engine("mysql")
+     *             .licenseModel("general-public-license")
      *             .preferredEngineVersions(            
-     *                 "5.6.35",
-     *                 "5.6.41",
-     *                 "5.6.44")
+     *                 "5.6.35",
+     *                 "5.6.41",
+     *                 "5.6.44")
      *             .preferredInstanceClasses(            
-     *                 "db.t2.small",
-     *                 "db.t3.medium",
-     *                 "db.t3.large")
+     *                 "db.t2.small",
+     *                 "db.t3.medium",
+     *                 "db.t3.large")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2672,7 +2796,8 @@ public static Output getOrderableDbInstance(GetOrd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2694,25 +2819,27 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .engineVersion("5.7.22")
-     *             .licenseModel("general-public-license")
-     *             .storageType("standard")
+     *             .engine("mysql")
+     *             .engineVersion("5.7.22")
+     *             .licenseModel("general-public-license")
+     *             .storageType("standard")
      *             .preferredInstanceClasses(            
-     *                 "db.r6.xlarge",
-     *                 "db.m4.large",
-     *                 "db.t3.small")
+     *                 "db.r6.xlarge",
+     *                 "db.m4.large",
+     *                 "db.t3.small")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Valid parameter combinations can also be found with `preferred_engine_versions` and/or `preferred_instance_classes`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2734,21 +2861,22 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .licenseModel("general-public-license")
+     *             .engine("mysql")
+     *             .licenseModel("general-public-license")
      *             .preferredEngineVersions(            
-     *                 "5.6.35",
-     *                 "5.6.41",
-     *                 "5.6.44")
+     *                 "5.6.35",
+     *                 "5.6.41",
+     *                 "5.6.44")
      *             .preferredInstanceClasses(            
-     *                 "db.t2.small",
-     *                 "db.t3.medium",
-     *                 "db.t3.large")
+     *                 "db.t2.small",
+     *                 "db.t3.medium",
+     *                 "db.t3.large")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2761,7 +2889,8 @@ public static CompletableFuture getOrderableDbInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2783,25 +2912,27 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .engineVersion("5.7.22")
-     *             .licenseModel("general-public-license")
-     *             .storageType("standard")
+     *             .engine("mysql")
+     *             .engineVersion("5.7.22")
+     *             .licenseModel("general-public-license")
+     *             .storageType("standard")
      *             .preferredInstanceClasses(            
-     *                 "db.r6.xlarge",
-     *                 "db.m4.large",
-     *                 "db.t3.small")
+     *                 "db.r6.xlarge",
+     *                 "db.m4.large",
+     *                 "db.t3.small")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Valid parameter combinations can also be found with `preferred_engine_versions` and/or `preferred_instance_classes`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2823,21 +2954,22 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .licenseModel("general-public-license")
+     *             .engine("mysql")
+     *             .licenseModel("general-public-license")
      *             .preferredEngineVersions(            
-     *                 "5.6.35",
-     *                 "5.6.41",
-     *                 "5.6.44")
+     *                 "5.6.35",
+     *                 "5.6.41",
+     *                 "5.6.44")
      *             .preferredInstanceClasses(            
-     *                 "db.t2.small",
-     *                 "db.t3.medium",
-     *                 "db.t3.large")
+     *                 "db.t2.small",
+     *                 "db.t3.medium",
+     *                 "db.t3.large")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2850,7 +2982,8 @@ public static Output getOrderableDbInstance(GetOrd * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2872,25 +3005,27 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .engineVersion("5.7.22")
-     *             .licenseModel("general-public-license")
-     *             .storageType("standard")
+     *             .engine("mysql")
+     *             .engineVersion("5.7.22")
+     *             .licenseModel("general-public-license")
+     *             .storageType("standard")
      *             .preferredInstanceClasses(            
-     *                 "db.r6.xlarge",
-     *                 "db.m4.large",
-     *                 "db.t3.small")
+     *                 "db.r6.xlarge",
+     *                 "db.m4.large",
+     *                 "db.t3.small")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * Valid parameter combinations can also be found with `preferred_engine_versions` and/or `preferred_instance_classes`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2912,21 +3047,22 @@ public static Output getOrderableDbInstance(GetOrd
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
-     *             .engine("mysql")
-     *             .licenseModel("general-public-license")
+     *             .engine("mysql")
+     *             .licenseModel("general-public-license")
      *             .preferredEngineVersions(            
-     *                 "5.6.35",
-     *                 "5.6.41",
-     *                 "5.6.44")
+     *                 "5.6.35",
+     *                 "5.6.41",
+     *                 "5.6.44")
      *             .preferredInstanceClasses(            
-     *                 "db.t2.small",
-     *                 "db.t3.medium",
-     *                 "db.t3.large")
+     *                 "db.t2.small",
+     *                 "db.t3.medium",
+     *                 "db.t3.large")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2939,7 +3075,8 @@ public static CompletableFuture getOrderableDbInst * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2961,12 +3098,13 @@ public static CompletableFuture getOrderableDbInst
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("default.postgres15")
+     *             .name("default.postgres15")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2979,7 +3117,8 @@ public static Output getParameterGroup(GetParameterGrou * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3001,12 +3140,13 @@ public static Output getParameterGroup(GetParameterGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("default.postgres15")
+     *             .name("default.postgres15")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3019,7 +3159,8 @@ public static CompletableFuture getParameterGroupPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3041,12 +3182,13 @@ public static CompletableFuture getParameterGroupPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("default.postgres15")
+     *             .name("default.postgres15")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3059,7 +3201,8 @@ public static Output getParameterGroup(GetParameterGrou * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3081,12 +3224,13 @@ public static Output getParameterGroup(GetParameterGrou
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getParameterGroup(GetParameterGroupArgs.builder()
-     *             .name("default.postgres15")
+     *             .name("default.postgres15")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3099,7 +3243,8 @@ public static CompletableFuture getParameterGroupPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3121,12 +3266,13 @@ public static CompletableFuture getParameterGroupPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var proxy = RdsFunctions.getProxy(GetProxyArgs.builder()
-     *             .name("my-test-db-proxy")
+     *             .name("my-test-db-proxy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3139,7 +3285,8 @@ public static Output getProxy(GetProxyArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3161,12 +3308,13 @@ public static Output getProxy(GetProxyArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var proxy = RdsFunctions.getProxy(GetProxyArgs.builder()
-     *             .name("my-test-db-proxy")
+     *             .name("my-test-db-proxy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3179,7 +3327,8 @@ public static CompletableFuture getProxyPlain(GetProxyPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3201,12 +3350,13 @@ public static CompletableFuture getProxyPlain(GetProxyPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var proxy = RdsFunctions.getProxy(GetProxyArgs.builder()
-     *             .name("my-test-db-proxy")
+     *             .name("my-test-db-proxy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3219,7 +3369,8 @@ public static Output getProxy(GetProxyArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3241,12 +3392,13 @@ public static Output getProxy(GetProxyArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var proxy = RdsFunctions.getProxy(GetProxyArgs.builder()
-     *             .name("my-test-db-proxy")
+     *             .name("my-test-db-proxy")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3259,7 +3411,8 @@ public static CompletableFuture getProxyPlain(GetProxyPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3281,16 +3434,17 @@ public static CompletableFuture getProxyPlain(GetProxyPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getReservedInstanceOffering(GetReservedInstanceOfferingArgs.builder()
-     *             .dbInstanceClass("db.t2.micro")
+     *             .dbInstanceClass("db.t2.micro")
      *             .duration(31536000)
      *             .multiAz(false)
-     *             .offeringType("All Upfront")
-     *             .productDescription("mysql")
+     *             .offeringType("All Upfront")
+     *             .productDescription("mysql")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3303,7 +3457,8 @@ public static Output getReservedInstanceOffer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3325,16 +3480,17 @@ public static Output getReservedInstanceOffer
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getReservedInstanceOffering(GetReservedInstanceOfferingArgs.builder()
-     *             .dbInstanceClass("db.t2.micro")
+     *             .dbInstanceClass("db.t2.micro")
      *             .duration(31536000)
      *             .multiAz(false)
-     *             .offeringType("All Upfront")
-     *             .productDescription("mysql")
+     *             .offeringType("All Upfront")
+     *             .productDescription("mysql")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3347,7 +3503,8 @@ public static CompletableFuture getReservedIn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3369,16 +3526,17 @@ public static CompletableFuture getReservedIn
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getReservedInstanceOffering(GetReservedInstanceOfferingArgs.builder()
-     *             .dbInstanceClass("db.t2.micro")
+     *             .dbInstanceClass("db.t2.micro")
      *             .duration(31536000)
      *             .multiAz(false)
-     *             .offeringType("All Upfront")
-     *             .productDescription("mysql")
+     *             .offeringType("All Upfront")
+     *             .productDescription("mysql")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3391,7 +3549,8 @@ public static Output getReservedInstanceOffer * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3413,16 +3572,17 @@ public static Output getReservedInstanceOffer
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RdsFunctions.getReservedInstanceOffering(GetReservedInstanceOfferingArgs.builder()
-     *             .dbInstanceClass("db.t2.micro")
+     *             .dbInstanceClass("db.t2.micro")
      *             .duration(31536000)
      *             .multiAz(false)
-     *             .offeringType("All Upfront")
-     *             .productDescription("mysql")
+     *             .offeringType("All Upfront")
+     *             .productDescription("mysql")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3438,7 +3598,8 @@ public static CompletableFuture getReservedIn * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3461,16 +3622,16 @@ public static CompletableFuture getReservedIn
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var prod = new Instance("prod", InstanceArgs.builder()        
+     *         var prod = new Instance("prod", InstanceArgs.builder()        
      *             .allocatedStorage(10)
-     *             .engine("mysql")
-     *             .engineVersion("5.6.17")
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydb")
-     *             .username("foo")
-     *             .password("bar")
-     *             .dbSubnetGroupName("my_database_subnet_group")
-     *             .parameterGroupName("default.mysql5.6")
+     *             .engine("mysql")
+     *             .engineVersion("5.6.17")
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydb")
+     *             .username("foo")
+     *             .password("bar")
+     *             .dbSubnetGroupName("my_database_subnet_group")
+     *             .parameterGroupName("default.mysql5.6")
      *             .build());
      * 
      *         final var latestProdSnapshot = RdsFunctions.getSnapshot(GetSnapshotArgs.builder()
@@ -3479,15 +3640,16 @@ public static CompletableFuture getReservedIn
      *             .build());
      * 
      *         // Use the latest production snapshot to create a dev instance.
-     *         var dev = new Instance("dev", InstanceArgs.builder()        
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydbdev")
-     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
+     *         var dev = new Instance("dev", InstanceArgs.builder()        
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydbdev")
+     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3503,7 +3665,8 @@ public static Output getSnapshot() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3526,16 +3689,16 @@ public static Output getSnapshot() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var prod = new Instance("prod", InstanceArgs.builder()        
+     *         var prod = new Instance("prod", InstanceArgs.builder()        
      *             .allocatedStorage(10)
-     *             .engine("mysql")
-     *             .engineVersion("5.6.17")
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydb")
-     *             .username("foo")
-     *             .password("bar")
-     *             .dbSubnetGroupName("my_database_subnet_group")
-     *             .parameterGroupName("default.mysql5.6")
+     *             .engine("mysql")
+     *             .engineVersion("5.6.17")
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydb")
+     *             .username("foo")
+     *             .password("bar")
+     *             .dbSubnetGroupName("my_database_subnet_group")
+     *             .parameterGroupName("default.mysql5.6")
      *             .build());
      * 
      *         final var latestProdSnapshot = RdsFunctions.getSnapshot(GetSnapshotArgs.builder()
@@ -3544,15 +3707,16 @@ public static Output getSnapshot() {
      *             .build());
      * 
      *         // Use the latest production snapshot to create a dev instance.
-     *         var dev = new Instance("dev", InstanceArgs.builder()        
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydbdev")
-     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
+     *         var dev = new Instance("dev", InstanceArgs.builder()        
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydbdev")
+     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3568,7 +3732,8 @@ public static CompletableFuture getSnapshotPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3591,16 +3756,16 @@ public static CompletableFuture getSnapshotPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var prod = new Instance("prod", InstanceArgs.builder()        
+     *         var prod = new Instance("prod", InstanceArgs.builder()        
      *             .allocatedStorage(10)
-     *             .engine("mysql")
-     *             .engineVersion("5.6.17")
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydb")
-     *             .username("foo")
-     *             .password("bar")
-     *             .dbSubnetGroupName("my_database_subnet_group")
-     *             .parameterGroupName("default.mysql5.6")
+     *             .engine("mysql")
+     *             .engineVersion("5.6.17")
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydb")
+     *             .username("foo")
+     *             .password("bar")
+     *             .dbSubnetGroupName("my_database_subnet_group")
+     *             .parameterGroupName("default.mysql5.6")
      *             .build());
      * 
      *         final var latestProdSnapshot = RdsFunctions.getSnapshot(GetSnapshotArgs.builder()
@@ -3609,15 +3774,16 @@ public static CompletableFuture getSnapshotPlain() {
      *             .build());
      * 
      *         // Use the latest production snapshot to create a dev instance.
-     *         var dev = new Instance("dev", InstanceArgs.builder()        
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydbdev")
-     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
+     *         var dev = new Instance("dev", InstanceArgs.builder()        
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydbdev")
+     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3633,7 +3799,8 @@ public static Output getSnapshot(GetSnapshotArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3656,16 +3823,16 @@ public static Output getSnapshot(GetSnapshotArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var prod = new Instance("prod", InstanceArgs.builder()        
+     *         var prod = new Instance("prod", InstanceArgs.builder()        
      *             .allocatedStorage(10)
-     *             .engine("mysql")
-     *             .engineVersion("5.6.17")
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydb")
-     *             .username("foo")
-     *             .password("bar")
-     *             .dbSubnetGroupName("my_database_subnet_group")
-     *             .parameterGroupName("default.mysql5.6")
+     *             .engine("mysql")
+     *             .engineVersion("5.6.17")
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydb")
+     *             .username("foo")
+     *             .password("bar")
+     *             .dbSubnetGroupName("my_database_subnet_group")
+     *             .parameterGroupName("default.mysql5.6")
      *             .build());
      * 
      *         final var latestProdSnapshot = RdsFunctions.getSnapshot(GetSnapshotArgs.builder()
@@ -3674,15 +3841,16 @@ public static Output getSnapshot(GetSnapshotArgs args) {
      *             .build());
      * 
      *         // Use the latest production snapshot to create a dev instance.
-     *         var dev = new Instance("dev", InstanceArgs.builder()        
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydbdev")
-     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
+     *         var dev = new Instance("dev", InstanceArgs.builder()        
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydbdev")
+     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3698,7 +3866,8 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3721,16 +3890,16 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var prod = new Instance("prod", InstanceArgs.builder()        
+     *         var prod = new Instance("prod", InstanceArgs.builder()        
      *             .allocatedStorage(10)
-     *             .engine("mysql")
-     *             .engineVersion("5.6.17")
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydb")
-     *             .username("foo")
-     *             .password("bar")
-     *             .dbSubnetGroupName("my_database_subnet_group")
-     *             .parameterGroupName("default.mysql5.6")
+     *             .engine("mysql")
+     *             .engineVersion("5.6.17")
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydb")
+     *             .username("foo")
+     *             .password("bar")
+     *             .dbSubnetGroupName("my_database_subnet_group")
+     *             .parameterGroupName("default.mysql5.6")
      *             .build());
      * 
      *         final var latestProdSnapshot = RdsFunctions.getSnapshot(GetSnapshotArgs.builder()
@@ -3739,15 +3908,16 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      *             .build());
      * 
      *         // Use the latest production snapshot to create a dev instance.
-     *         var dev = new Instance("dev", InstanceArgs.builder()        
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydbdev")
-     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
+     *         var dev = new Instance("dev", InstanceArgs.builder()        
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydbdev")
+     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3763,7 +3933,8 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3786,16 +3957,16 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var prod = new Instance("prod", InstanceArgs.builder()        
+     *         var prod = new Instance("prod", InstanceArgs.builder()        
      *             .allocatedStorage(10)
-     *             .engine("mysql")
-     *             .engineVersion("5.6.17")
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydb")
-     *             .username("foo")
-     *             .password("bar")
-     *             .dbSubnetGroupName("my_database_subnet_group")
-     *             .parameterGroupName("default.mysql5.6")
+     *             .engine("mysql")
+     *             .engineVersion("5.6.17")
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydb")
+     *             .username("foo")
+     *             .password("bar")
+     *             .dbSubnetGroupName("my_database_subnet_group")
+     *             .parameterGroupName("default.mysql5.6")
      *             .build());
      * 
      *         final var latestProdSnapshot = RdsFunctions.getSnapshot(GetSnapshotArgs.builder()
@@ -3804,15 +3975,16 @@ public static Output getSnapshot(GetSnapshotArgs args, Invoke
      *             .build());
      * 
      *         // Use the latest production snapshot to create a dev instance.
-     *         var dev = new Instance("dev", InstanceArgs.builder()        
-     *             .instanceClass("db.t2.micro")
-     *             .dbName("mydbdev")
-     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
+     *         var dev = new Instance("dev", InstanceArgs.builder()        
+     *             .instanceClass("db.t2.micro")
+     *             .dbName("mydbdev")
+     *             .snapshotIdentifier(latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult).applyValue(latestProdSnapshot -> latestProdSnapshot.applyValue(getSnapshotResult -> getSnapshotResult.id())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3825,7 +3997,8 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3847,12 +4020,13 @@ public static CompletableFuture getSnapshotPlain(GetSnapshotP
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-test-database-subnet-group")
+     *             .name("my-test-database-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3865,7 +4039,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3887,12 +4062,13 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-test-database-subnet-group")
+     *             .name("my-test-database-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3905,7 +4081,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3927,12 +4104,13 @@ public static CompletableFuture getSubnetGroupPlain(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-test-database-subnet-group")
+     *             .name("my-test-database-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3945,7 +4123,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3967,12 +4146,13 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var database = RdsFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
-     *             .name("my-test-database-subnet-group")
+     *             .name("my-test-database-subnet-group")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/ReservedInstance.java b/sdk/java/src/main/java/com/pulumi/aws/rds/ReservedInstance.java index cab127c5d5f..599663da028 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/ReservedInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/ReservedInstance.java @@ -30,7 +30,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,22 +55,23 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var test = RdsFunctions.getReservedInstanceOffering(GetReservedInstanceOfferingArgs.builder()
- *             .dbInstanceClass("db.t2.micro")
+ *             .dbInstanceClass("db.t2.micro")
  *             .duration(31536000)
  *             .multiAz(false)
- *             .offeringType("All Upfront")
- *             .productDescription("mysql")
+ *             .offeringType("All Upfront")
+ *             .productDescription("mysql")
  *             .build());
  * 
- *         var example = new ReservedInstance("example", ReservedInstanceArgs.builder()        
- *             .offeringId(test.applyValue(getReservedInstanceOfferingResult -> getReservedInstanceOfferingResult.offeringId()))
- *             .reservationId("optionalCustomReservationID")
+ *         var example = new ReservedInstance("example", ReservedInstanceArgs.builder()        
+ *             .offeringId(test.applyValue(getReservedInstanceOfferingResult -> getReservedInstanceOfferingResult.offeringId()))
+ *             .reservationId("optionalCustomReservationID")
  *             .instanceCount(3)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/RoleAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/rds/RoleAssociation.java index 80fa48751b9..1ee550332f8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/RoleAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/RoleAssociation.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,15 +46,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RoleAssociation("example", RoleAssociationArgs.builder()        
+ *         var example = new RoleAssociation("example", RoleAssociationArgs.builder()        
  *             .dbInstanceIdentifier(exampleAwsDbInstance.identifier())
- *             .featureName("S3_INTEGRATION")
+ *             .featureName("S3_INTEGRATION")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/Snapshot.java b/sdk/java/src/main/java/com/pulumi/aws/rds/Snapshot.java index 31f56d0cb61..d3a0333899a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/Snapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/Snapshot.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,27 +48,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new Instance("bar", InstanceArgs.builder()        
+ *         var bar = new Instance("bar", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .engine("mysql")
- *             .engineVersion("5.6.21")
- *             .instanceClass("db.t2.micro")
- *             .dbName("baz")
- *             .password("barbarbarbar")
- *             .username("foo")
- *             .maintenanceWindow("Fri:09:00-Fri:09:30")
+ *             .engine("mysql")
+ *             .engineVersion("5.6.21")
+ *             .instanceClass("db.t2.micro")
+ *             .dbName("baz")
+ *             .password("barbarbarbar")
+ *             .username("foo")
+ *             .maintenanceWindow("Fri:09:00-Fri:09:30")
  *             .backupRetentionPeriod(0)
- *             .parameterGroupName("default.mysql5.6")
+ *             .parameterGroupName("default.mysql5.6")
  *             .build());
  * 
- *         var test = new Snapshot("test", SnapshotArgs.builder()        
+ *         var test = new Snapshot("test", SnapshotArgs.builder()        
  *             .dbInstanceIdentifier(bar.identifier())
- *             .dbSnapshotIdentifier("testsnapshot1234")
+ *             .dbSnapshotIdentifier("testsnapshot1234")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/SnapshotCopy.java b/sdk/java/src/main/java/com/pulumi/aws/rds/SnapshotCopy.java index 043ec9307cd..ed3247905c5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/SnapshotCopy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/SnapshotCopy.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,32 +49,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Instance("example", InstanceArgs.builder()        
+ *         var example = new Instance("example", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .engine("mysql")
- *             .engineVersion("5.6.21")
- *             .instanceClass("db.t2.micro")
- *             .dbName("baz")
- *             .password("barbarbarbar")
- *             .username("foo")
- *             .maintenanceWindow("Fri:09:00-Fri:09:30")
+ *             .engine("mysql")
+ *             .engineVersion("5.6.21")
+ *             .instanceClass("db.t2.micro")
+ *             .dbName("baz")
+ *             .password("barbarbarbar")
+ *             .username("foo")
+ *             .maintenanceWindow("Fri:09:00-Fri:09:30")
  *             .backupRetentionPeriod(0)
- *             .parameterGroupName("default.mysql5.6")
+ *             .parameterGroupName("default.mysql5.6")
  *             .build());
  * 
- *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
+ *         var exampleSnapshot = new Snapshot("exampleSnapshot", SnapshotArgs.builder()        
  *             .dbInstanceIdentifier(example.identifier())
- *             .dbSnapshotIdentifier("testsnapshot1234")
+ *             .dbSnapshotIdentifier("testsnapshot1234")
  *             .build());
  * 
- *         var exampleSnapshotCopy = new SnapshotCopy("exampleSnapshotCopy", SnapshotCopyArgs.builder()        
+ *         var exampleSnapshotCopy = new SnapshotCopy("exampleSnapshotCopy", SnapshotCopyArgs.builder()        
  *             .sourceDbSnapshotIdentifier(exampleSnapshot.dbSnapshotArn())
- *             .targetDbSnapshotIdentifier("testsnapshot1234-copy")
+ *             .targetDbSnapshotIdentifier("testsnapshot1234-copy")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rds/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/rds/SubnetGroup.java index 5f20536e88a..0eb26463ee9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rds/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rds/SubnetGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,17 +44,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new SubnetGroup("default", SubnetGroupArgs.builder()        
- *             .name("main")
+ *         var default_ = new SubnetGroup("default", SubnetGroupArgs.builder()        
+ *             .name("main")
  *             .subnetIds(            
  *                 frontend.id(),
  *                 backend.id())
- *             .tags(Map.of("Name", "My DB subnet group"))
+ *             .tags(Map.of("Name", "My DB subnet group"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/AuthenticationProfile.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/AuthenticationProfile.java index bd00a4b6d45..c4d6a325d5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/AuthenticationProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/AuthenticationProfile.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,19 +42,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AuthenticationProfile("example", AuthenticationProfileArgs.builder()        
- *             .authenticationProfileName("example")
+ *         var example = new AuthenticationProfile("example", AuthenticationProfileArgs.builder()        
+ *             .authenticationProfileName("example")
  *             .authenticationProfileContent(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("AllowDBUserOverride", "1"),
- *                     jsonProperty("Client_ID", "ExampleClientID"),
- *                     jsonProperty("App_ID", "example")
+ *                     jsonProperty("AllowDBUserOverride", "1"),
+ *                     jsonProperty("Client_ID", "ExampleClientID"),
+ *                     jsonProperty("App_ID", "example")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/Cluster.java index 4d4be1b6ac2..a6a1f8b0733 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/Cluster.java @@ -31,7 +31,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,24 +53,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterIdentifier("tf-redshift-cluster")
- *             .databaseName("mydb")
- *             .masterUsername("exampleuser")
- *             .masterPassword("Mustbe8characters")
- *             .nodeType("dc1.large")
- *             .clusterType("single-node")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterIdentifier("tf-redshift-cluster")
+ *             .databaseName("mydb")
+ *             .masterUsername("exampleuser")
+ *             .masterPassword("Mustbe8characters")
+ *             .nodeType("dc1.large")
+ *             .clusterType("single-node")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Managed Credentials * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,18 +93,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .clusterIdentifier("tf-redshift-cluster")
- *             .databaseName("mydb")
- *             .masterUsername("exampleuser")
- *             .nodeType("dc1.large")
- *             .clusterType("single-node")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .clusterIdentifier("tf-redshift-cluster")
+ *             .databaseName("mydb")
+ *             .masterUsername("exampleuser")
+ *             .nodeType("dc1.large")
+ *             .clusterType("single-node")
  *             .manageMasterPassword(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterIamRoles.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterIamRoles.java index 473bc232d0c..7a49213d661 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterIamRoles.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterIamRoles.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterIamRoles("example", ClusterIamRolesArgs.builder()        
+ *         var example = new ClusterIamRoles("example", ClusterIamRolesArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.clusterIdentifier())
  *             .iamRoleArns(exampleAwsIamRole.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterSnapshot.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterSnapshot.java index 4c09e86fb10..541eb91cb5b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/ClusterSnapshot.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
- *             .clusterSnapshotName("example")
+ *         var example = new ClusterSnapshot("example", ClusterSnapshotArgs.builder()        
+ *             .clusterSnapshotName("example")
  *             .clusterSnapshotContent(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("AllowDBUserOverride", "1"),
- *                     jsonProperty("Client_ID", "ExampleClientID"),
- *                     jsonProperty("App_ID", "example")
+ *                     jsonProperty("AllowDBUserOverride", "1"),
+ *                     jsonProperty("Client_ID", "ExampleClientID"),
+ *                     jsonProperty("App_ID", "example")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareAuthorization.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareAuthorization.java index 7aca2be8073..27396eb0a63 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareAuthorization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareAuthorization.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataShareAuthorization("example", DataShareAuthorizationArgs.builder()        
- *             .consumerIdentifier("012345678901")
- *             .dataShareArn("arn:aws:redshift:us-west-2:012345678901:datashare:3072dae5-022b-4d45-9cd3-01f010aae4b2/example_share")
+ *         var example = new DataShareAuthorization("example", DataShareAuthorizationArgs.builder()        
+ *             .consumerIdentifier("012345678901")
+ *             .dataShareArn("arn:aws:redshift:us-west-2:012345678901:datashare:3072dae5-022b-4d45-9cd3-01f010aae4b2/example_share")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareConsumerAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareConsumerAssociation.java index a1e0c3a0212..6f5b61922b9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareConsumerAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/DataShareConsumerAssociation.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataShareConsumerAssociation("example", DataShareConsumerAssociationArgs.builder()        
- *             .dataShareArn("arn:aws:redshift:us-west-2:012345678901:datashare:b3bfde75-73fd-408b-9086-d6fccfd6d588/example")
+ *         var example = new DataShareConsumerAssociation("example", DataShareConsumerAssociationArgs.builder()        
+ *             .dataShareArn("arn:aws:redshift:us-west-2:012345678901:datashare:b3bfde75-73fd-408b-9086-d6fccfd6d588/example")
  *             .associateEntireAccount(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Consumer Region * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,14 +81,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataShareConsumerAssociation("example", DataShareConsumerAssociationArgs.builder()        
- *             .dataShareArn("arn:aws:redshift:us-west-2:012345678901:datashare:b3bfde75-73fd-408b-9086-d6fccfd6d588/example")
- *             .consumerRegion("us-west-2")
+ *         var example = new DataShareConsumerAssociation("example", DataShareConsumerAssociationArgs.builder()        
+ *             .dataShareArn("arn:aws:redshift:us-west-2:012345678901:datashare:b3bfde75-73fd-408b-9086-d6fccfd6d588/example")
+ *             .consumerRegion("us-west-2")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAccess.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAccess.java index bcb6bdc9a3b..39232a71188 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAccess.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAccess.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EndpointAccess("example", EndpointAccessArgs.builder()        
- *             .endpointName("example")
+ *         var example = new EndpointAccess("example", EndpointAccessArgs.builder()        
+ *             .endpointName("example")
  *             .subnetGroupName(exampleAwsRedshiftSubnetGroup.id())
  *             .clusterIdentifier(exampleAwsRedshiftCluster.clusterIdentifier())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAuthorization.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAuthorization.java index 868d7d6d4db..35ef6fa4245 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAuthorization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/EndpointAuthorization.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EndpointAuthorization("example", EndpointAuthorizationArgs.builder()        
- *             .account("01234567910")
+ *         var example = new EndpointAuthorization("example", EndpointAuthorizationArgs.builder()        
+ *             .account("01234567910")
  *             .clusterIdentifier(exampleAwsRedshiftCluster.clusterIdentifier())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/EventSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/EventSubscription.java index cbfb72fc6dc..167e8b96451 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/EventSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/EventSubscription.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,32 +49,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("default")
- *             .databaseName("default")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("default")
+ *             .databaseName("default")
  *             .build());
  * 
- *         var defaultTopic = new Topic("defaultTopic", TopicArgs.builder()        
- *             .name("redshift-events")
+ *         var defaultTopic = new Topic("defaultTopic", TopicArgs.builder()        
+ *             .name("redshift-events")
  *             .build());
  * 
- *         var defaultEventSubscription = new EventSubscription("defaultEventSubscription", EventSubscriptionArgs.builder()        
- *             .name("redshift-event-sub")
+ *         var defaultEventSubscription = new EventSubscription("defaultEventSubscription", EventSubscriptionArgs.builder()        
+ *             .name("redshift-event-sub")
  *             .snsTopicArn(defaultTopic.arn())
- *             .sourceType("cluster")
+ *             .sourceType("cluster")
  *             .sourceIds(default_.id())
- *             .severity("INFO")
+ *             .severity("INFO")
  *             .eventCategories(            
- *                 "configuration",
- *                 "management",
- *                 "monitoring",
- *                 "security")
- *             .tags(Map.of("Name", "default"))
+ *                 "configuration",
+ *                 "management",
+ *                 "monitoring",
+ *                 "security")
+ *             .tags(Map.of("Name", "default"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmClientCertificate.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmClientCertificate.java index c81d53afb9a..27a552d4a36 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmClientCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmClientCertificate.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HsmClientCertificate("example", HsmClientCertificateArgs.builder()        
- *             .hsmClientCertificateIdentifier("example")
+ *         var example = new HsmClientCertificate("example", HsmClientCertificateArgs.builder()        
+ *             .hsmClientCertificateIdentifier("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmConfiguration.java index 4dce7bf8b15..845860b9bc1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/HsmConfiguration.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,18 +44,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HsmConfiguration("example", HsmConfigurationArgs.builder()        
- *             .description("example")
- *             .hsmConfigurationIdentifier("example")
- *             .hsmIpAddress("10.0.0.1")
- *             .hsmPartitionName("aws")
- *             .hsmPartitionPassword("example")
- *             .hsmServerPublicCertificate("example")
+ *         var example = new HsmConfiguration("example", HsmConfigurationArgs.builder()        
+ *             .description("example")
+ *             .hsmConfigurationIdentifier("example")
+ *             .hsmIpAddress("10.0.0.1")
+ *             .hsmPartitionName("aws")
+ *             .hsmPartitionPassword("example")
+ *             .hsmServerPublicCertificate("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/Logging.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/Logging.java index 2e02edfd399..c35d885b2a7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/Logging.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/Logging.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,23 +45,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Logging("example", LoggingArgs.builder()        
+ *         var example = new Logging("example", LoggingArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.id())
- *             .logDestinationType("cloudwatch")
+ *             .logDestinationType("cloudwatch")
  *             .logExports(            
- *                 "connectionlog",
- *                 "userlog")
+ *                 "connectionlog",
+ *                 "userlog")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Destination Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,16 +84,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Logging("example", LoggingArgs.builder()        
+ *         var example = new Logging("example", LoggingArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.id())
- *             .logDestinationType("s3")
+ *             .logDestinationType("s3")
  *             .bucketName(exampleAwsS3Bucket.id())
- *             .s3KeyPrefix("example-prefix/")
+ *             .s3KeyPrefix("example-prefix/")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/ParameterGroup.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/ParameterGroup.java index 5e02f1f214e..5f7dd750149 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/ParameterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/ParameterGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,27 +46,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bar = new ParameterGroup("bar", ParameterGroupArgs.builder()        
- *             .name("parameter-group-test")
- *             .family("redshift-1.0")
+ *         var bar = new ParameterGroup("bar", ParameterGroupArgs.builder()        
+ *             .name("parameter-group-test")
+ *             .family("redshift-1.0")
  *             .parameters(            
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("require_ssl")
- *                     .value("true")
+ *                     .name("require_ssl")
+ *                     .value("true")
  *                     .build(),
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("query_group")
- *                     .value("example")
+ *                     .name("query_group")
+ *                     .value("example")
  *                     .build(),
  *                 ParameterGroupParameterArgs.builder()
- *                     .name("enable_user_activity_logging")
- *                     .value("true")
+ *                     .name("enable_user_activity_logging")
+ *                     .value("true")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/Partner.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/Partner.java index e1b0af065e2..c1be62b97ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/Partner.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/Partner.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,16 +41,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Partner("example", PartnerArgs.builder()        
+ *         var example = new Partner("example", PartnerArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.id())
  *             .accountId(1234567910)
  *             .databaseName(exampleAwsRedshiftCluster.databaseName())
- *             .partnerName("example")
+ *             .partnerName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/RedshiftFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/RedshiftFunctions.java index 3f3c58cadc1..b56f77646df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/RedshiftFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/RedshiftFunctions.java @@ -38,7 +38,8 @@ public final class RedshiftFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -64,33 +65,34 @@ public final class RedshiftFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("example-cluster")
+     *             .clusterIdentifier("example-cluster")
      *             .build());
      * 
-     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
-     *             .name("kinesis-firehose-example-stream")
-     *             .destination("redshift")
+     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
+     *             .name("kinesis-firehose-example-stream")
+     *             .destination("redshift")
      *             .redshiftConfiguration(FirehoseDeliveryStreamRedshiftConfigurationArgs.builder()
      *                 .roleArn(firehoseRole.arn())
-     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
-     *                 .username("exampleuser")
-     *                 .password("Exampl3Pass")
-     *                 .dataTableName("example-table")
-     *                 .copyOptions("delimiter '|'")
-     *                 .dataTableColumns("example-col")
+     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
+     *                 .username("exampleuser")
+     *                 .password("Exampl3Pass")
+     *                 .dataTableName("example-table")
+     *                 .copyOptions("delimiter '|'")
+     *                 .dataTableColumns("example-col")
      *                 .s3Configuration(FirehoseDeliveryStreamRedshiftConfigurationS3ConfigurationArgs.builder()
      *                     .roleArn(firehoseRole.arn())
      *                     .bucketArn(bucket.arn())
      *                     .bufferSize(10)
      *                     .bufferInterval(400)
-     *                     .compressionFormat("GZIP")
+     *                     .compressionFormat("GZIP")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +105,8 @@ public static Output getCluster(GetClusterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -129,33 +132,34 @@ public static Output getCluster(GetClusterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("example-cluster")
+     *             .clusterIdentifier("example-cluster")
      *             .build());
      * 
-     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
-     *             .name("kinesis-firehose-example-stream")
-     *             .destination("redshift")
+     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
+     *             .name("kinesis-firehose-example-stream")
+     *             .destination("redshift")
      *             .redshiftConfiguration(FirehoseDeliveryStreamRedshiftConfigurationArgs.builder()
      *                 .roleArn(firehoseRole.arn())
-     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
-     *                 .username("exampleuser")
-     *                 .password("Exampl3Pass")
-     *                 .dataTableName("example-table")
-     *                 .copyOptions("delimiter '|'")
-     *                 .dataTableColumns("example-col")
+     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
+     *                 .username("exampleuser")
+     *                 .password("Exampl3Pass")
+     *                 .dataTableName("example-table")
+     *                 .copyOptions("delimiter '|'")
+     *                 .dataTableColumns("example-col")
      *                 .s3Configuration(FirehoseDeliveryStreamRedshiftConfigurationS3ConfigurationArgs.builder()
      *                     .roleArn(firehoseRole.arn())
      *                     .bucketArn(bucket.arn())
      *                     .bufferSize(10)
      *                     .bufferInterval(400)
-     *                     .compressionFormat("GZIP")
+     *                     .compressionFormat("GZIP")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -168,7 +172,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -194,33 +199,34 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("example-cluster")
+     *             .clusterIdentifier("example-cluster")
      *             .build());
      * 
-     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
-     *             .name("kinesis-firehose-example-stream")
-     *             .destination("redshift")
+     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
+     *             .name("kinesis-firehose-example-stream")
+     *             .destination("redshift")
      *             .redshiftConfiguration(FirehoseDeliveryStreamRedshiftConfigurationArgs.builder()
      *                 .roleArn(firehoseRole.arn())
-     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
-     *                 .username("exampleuser")
-     *                 .password("Exampl3Pass")
-     *                 .dataTableName("example-table")
-     *                 .copyOptions("delimiter '|'")
-     *                 .dataTableColumns("example-col")
+     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
+     *                 .username("exampleuser")
+     *                 .password("Exampl3Pass")
+     *                 .dataTableName("example-table")
+     *                 .copyOptions("delimiter '|'")
+     *                 .dataTableColumns("example-col")
      *                 .s3Configuration(FirehoseDeliveryStreamRedshiftConfigurationS3ConfigurationArgs.builder()
      *                     .roleArn(firehoseRole.arn())
      *                     .bucketArn(bucket.arn())
      *                     .bufferSize(10)
      *                     .bufferInterval(400)
-     *                     .compressionFormat("GZIP")
+     *                     .compressionFormat("GZIP")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -233,7 +239,8 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -259,33 +266,34 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getCluster(GetClusterArgs.builder()
-     *             .clusterIdentifier("example-cluster")
+     *             .clusterIdentifier("example-cluster")
      *             .build());
      * 
-     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
-     *             .name("kinesis-firehose-example-stream")
-     *             .destination("redshift")
+     *         var exampleStream = new FirehoseDeliveryStream("exampleStream", FirehoseDeliveryStreamArgs.builder()        
+     *             .name("kinesis-firehose-example-stream")
+     *             .destination("redshift")
      *             .redshiftConfiguration(FirehoseDeliveryStreamRedshiftConfigurationArgs.builder()
      *                 .roleArn(firehoseRole.arn())
-     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
-     *                 .username("exampleuser")
-     *                 .password("Exampl3Pass")
-     *                 .dataTableName("example-table")
-     *                 .copyOptions("delimiter '|'")
-     *                 .dataTableColumns("example-col")
+     *                 .clusterJdbcurl(String.format("jdbc:redshift://%s/%s", example.applyValue(getClusterResult -> getClusterResult.endpoint()),example.applyValue(getClusterResult -> getClusterResult.databaseName())))
+     *                 .username("exampleuser")
+     *                 .password("Exampl3Pass")
+     *                 .dataTableName("example-table")
+     *                 .copyOptions("delimiter '|'")
+     *                 .dataTableColumns("example-col")
      *                 .s3Configuration(FirehoseDeliveryStreamRedshiftConfigurationS3ConfigurationArgs.builder()
      *                     .roleArn(firehoseRole.arn())
      *                     .bucketArn(bucket.arn())
      *                     .bufferSize(10)
      *                     .bufferInterval(400)
-     *                     .compressionFormat("GZIP")
+     *                     .compressionFormat("GZIP")
      *                     .build())
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -298,7 +306,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -326,7 +335,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -339,7 +349,8 @@ public static Output getClusterCredentials(GetClust * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -367,7 +378,8 @@ public static Output getClusterCredentials(GetClust
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -380,7 +392,8 @@ public static CompletableFuture getClusterCredentia * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -408,7 +421,8 @@ public static CompletableFuture getClusterCredentia
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -421,7 +435,8 @@ public static Output getClusterCredentials(GetClust * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -449,7 +464,8 @@ public static Output getClusterCredentials(GetClust
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -464,7 +480,8 @@ public static CompletableFuture getClusterCredentia * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -489,7 +506,8 @@ public static CompletableFuture getClusterCredentia
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -504,7 +522,8 @@ public static Output getDataShares() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -529,7 +548,8 @@ public static Output getDataShares() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -544,7 +564,8 @@ public static CompletableFuture getDataSharesPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -569,7 +590,8 @@ public static CompletableFuture getDataSharesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -584,7 +606,8 @@ public static Output getDataShares(GetDataSharesArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -609,7 +632,8 @@ public static Output getDataShares(GetDataSharesArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -624,7 +648,8 @@ public static CompletableFuture getDataSharesPlain(GetDataS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -649,7 +674,8 @@ public static CompletableFuture getDataSharesPlain(GetDataS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -664,7 +690,8 @@ public static Output getDataShares(GetDataSharesArgs args, * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -689,7 +716,8 @@ public static Output getDataShares(GetDataSharesArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -702,7 +730,8 @@ public static CompletableFuture getDataSharesPlain(GetDataS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -724,15 +753,16 @@ public static CompletableFuture getDataSharesPlain(GetDataS
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
-     *             .clusterType("multi-node")
+     *             .clusterType("multi-node")
      *             .preferredNodeTypes(            
-     *                 "dc2.large",
-     *                 "ds2.xlarge")
+     *                 "dc2.large",
+     *                 "ds2.xlarge")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -745,7 +775,8 @@ public static Output getOrderableCluster() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -767,15 +798,16 @@ public static Output getOrderableCluster() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
-     *             .clusterType("multi-node")
+     *             .clusterType("multi-node")
      *             .preferredNodeTypes(            
-     *                 "dc2.large",
-     *                 "ds2.xlarge")
+     *                 "dc2.large",
+     *                 "ds2.xlarge")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -788,7 +820,8 @@ public static CompletableFuture getOrderableClusterPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -810,15 +843,16 @@ public static CompletableFuture getOrderableClusterPl
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
-     *             .clusterType("multi-node")
+     *             .clusterType("multi-node")
      *             .preferredNodeTypes(            
-     *                 "dc2.large",
-     *                 "ds2.xlarge")
+     *                 "dc2.large",
+     *                 "ds2.xlarge")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -831,7 +865,8 @@ public static Output getOrderableCluster(GetOrderable * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -853,15 +888,16 @@ public static Output getOrderableCluster(GetOrderable
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
-     *             .clusterType("multi-node")
+     *             .clusterType("multi-node")
      *             .preferredNodeTypes(            
-     *                 "dc2.large",
-     *                 "ds2.xlarge")
+     *                 "dc2.large",
+     *                 "ds2.xlarge")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -874,7 +910,8 @@ public static CompletableFuture getOrderableClusterPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -896,15 +933,16 @@ public static CompletableFuture getOrderableClusterPl
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
-     *             .clusterType("multi-node")
+     *             .clusterType("multi-node")
      *             .preferredNodeTypes(            
-     *                 "dc2.large",
-     *                 "ds2.xlarge")
+     *                 "dc2.large",
+     *                 "ds2.xlarge")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -917,7 +955,8 @@ public static Output getOrderableCluster(GetOrderable * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -939,15 +978,16 @@ public static Output getOrderableCluster(GetOrderable
      * 
      *     public static void stack(Context ctx) {
      *         final var test = RedshiftFunctions.getOrderableCluster(GetOrderableClusterArgs.builder()
-     *             .clusterType("multi-node")
+     *             .clusterType("multi-node")
      *             .preferredNodeTypes(            
-     *                 "dc2.large",
-     *                 "ds2.xlarge")
+     *                 "dc2.large",
+     *                 "ds2.xlarge")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -962,7 +1002,8 @@ public static CompletableFuture getOrderableClusterPl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -984,12 +1025,13 @@ public static CompletableFuture getOrderableClusterPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getProducerDataShares(GetProducerDataSharesArgs.builder()
-     *             .producerArn("")
+     *             .producerArn("")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1004,7 +1046,8 @@ public static Output getProducerDataShares(GetProdu * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1026,12 +1069,13 @@ public static Output getProducerDataShares(GetProdu
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getProducerDataShares(GetProducerDataSharesArgs.builder()
-     *             .producerArn("")
+     *             .producerArn("")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1046,7 +1090,8 @@ public static CompletableFuture getProducerDataShar * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1068,12 +1113,13 @@ public static CompletableFuture getProducerDataShar
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getProducerDataShares(GetProducerDataSharesArgs.builder()
-     *             .producerArn("")
+     *             .producerArn("")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1088,7 +1134,8 @@ public static Output getProducerDataShares(GetProdu * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1110,12 +1157,13 @@ public static Output getProducerDataShares(GetProdu
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftFunctions.getProducerDataShares(GetProducerDataSharesArgs.builder()
-     *             .producerArn("")
+     *             .producerArn("")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1132,7 +1180,8 @@ public static CompletableFuture getProducerDataShar * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1161,43 +1210,44 @@ public static CompletableFuture getProducerDataShar
      *     public static void stack(Context ctx) {
      *         final var main = RedshiftFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-redshift-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-redshift-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowAuditLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucketAwsS3Bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1214,7 +1264,8 @@ public static Output getServiceAccount() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1243,43 +1294,44 @@ public static Output getServiceAccount() {
      *     public static void stack(Context ctx) {
      *         final var main = RedshiftFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-redshift-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-redshift-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowAuditLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucketAwsS3Bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1296,7 +1348,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1325,43 +1378,44 @@ public static CompletableFuture getServiceAccountPlain(
      *     public static void stack(Context ctx) {
      *         final var main = RedshiftFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-redshift-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-redshift-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowAuditLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucketAwsS3Bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1378,7 +1432,8 @@ public static Output getServiceAccount(GetServiceAccoun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1407,43 +1462,44 @@ public static Output getServiceAccount(GetServiceAccoun
      *     public static void stack(Context ctx) {
      *         final var main = RedshiftFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-redshift-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-redshift-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowAuditLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucketAwsS3Bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1460,7 +1516,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1489,43 +1546,44 @@ public static CompletableFuture getServiceAccountPlain(
      *     public static void stack(Context ctx) {
      *         final var main = RedshiftFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-redshift-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-redshift-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowAuditLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucketAwsS3Bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1542,7 +1600,8 @@ public static Output getServiceAccount(GetServiceAccoun * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1571,43 +1630,44 @@ public static Output getServiceAccount(GetServiceAccoun
      *     public static void stack(Context ctx) {
      *         final var main = RedshiftFunctions.getServiceAccount();
      * 
-     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
-     *             .bucket("tf-redshift-logging-test-bucket")
+     *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+     *             .bucket("tf-redshift-logging-test-bucket")
      *             .forceDestroy(true)
      *             .build());
      * 
      *         final var allowAuditLogging = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
      *             .statements(            
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Put bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Put bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:PutObject")
-     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
+     *                     .actions("s3:PutObject")
+     *                     .resources(bucket.arn().applyValue(arn -> String.format("%s/*", arn)))
      *                     .build(),
      *                 GetPolicyDocumentStatementArgs.builder()
-     *                     .sid("Get bucket policy needed for audit logging")
-     *                     .effect("Allow")
+     *                     .sid("Get bucket policy needed for audit logging")
+     *                     .effect("Allow")
      *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
-     *                         .type("AWS")
-     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
+     *                         .type("AWS")
+     *                         .identifiers(main.applyValue(getServiceAccountResult -> getServiceAccountResult.arn()))
      *                         .build())
-     *                     .actions("s3:GetBucketAcl")
+     *                     .actions("s3:GetBucketAcl")
      *                     .resources(bucketAwsS3Bucket.arn())
      *                     .build())
      *             .build());
      * 
-     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
+     *         var allowAuditLoggingBucketPolicy = new BucketPolicy("allowAuditLoggingBucketPolicy", BucketPolicyArgs.builder()        
      *             .bucket(bucket.id())
-     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+     *             .policy(allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAuditLogging -> allowAuditLogging.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1620,7 +1680,8 @@ public static CompletableFuture getServiceAccountPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1647,7 +1708,8 @@ public static CompletableFuture getServiceAccountPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1660,7 +1722,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1687,7 +1750,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1700,7 +1764,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1727,7 +1792,8 @@ public static CompletableFuture getSubnetGroupPlain(GetSub
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1740,7 +1806,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1767,7 +1834,8 @@ public static Output getSubnetGroup(GetSubnetGroupArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/ResourcePolicy.java index 85dfeaed6fa..af40951cc91 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/ResourcePolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,26 +42,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .resourceArn(exampleAwsRedshiftCluster.clusterNamespaceArn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "arn:aws:iam::12345678901:root")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "arn:aws:iam::12345678901:root")
  *                         )),
- *                         jsonProperty("Action", "redshift:CreateInboundIntegration"),
- *                         jsonProperty("Resource", exampleAwsRedshiftCluster.clusterNamespaceArn()),
- *                         jsonProperty("Sid", "")
+ *                         jsonProperty("Action", "redshift:CreateInboundIntegration"),
+ *                         jsonProperty("Resource", exampleAwsRedshiftCluster.clusterNamespaceArn()),
+ *                         jsonProperty("Sid", "")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/ScheduledAction.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/ScheduledAction.java index 522e2c48f3c..9a7965366e8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/ScheduledAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/ScheduledAction.java @@ -22,7 +22,8 @@ * ### Pause Cluster Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,61 +56,63 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("scheduler.redshift.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("scheduler.redshift.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("redshift_scheduled_action")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("redshift_scheduled_action")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .actions(                
- *                     "redshift:PauseCluster",
- *                     "redshift:ResumeCluster",
- *                     "redshift:ResizeCluster")
- *                 .resources("*")
+ *                     "redshift:PauseCluster",
+ *                     "redshift:ResumeCluster",
+ *                     "redshift:ResizeCluster")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
- *             .name("redshift_scheduled_action")
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()        
+ *             .name("redshift_scheduled_action")
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .policyArn(examplePolicy.arn())
  *             .role(exampleRole.name())
  *             .build());
  * 
- *         var exampleScheduledAction = new ScheduledAction("exampleScheduledAction", ScheduledActionArgs.builder()        
- *             .name("tf-redshift-scheduled-action")
- *             .schedule("cron(00 23 * * ? *)")
+ *         var exampleScheduledAction = new ScheduledAction("exampleScheduledAction", ScheduledActionArgs.builder()        
+ *             .name("tf-redshift-scheduled-action")
+ *             .schedule("cron(00 23 * * ? *)")
  *             .iamRole(exampleRole.arn())
  *             .targetAction(ScheduledActionTargetActionArgs.builder()
  *                 .pauseCluster(ScheduledActionTargetActionPauseClusterArgs.builder()
- *                     .clusterIdentifier("tf-redshift001")
+ *                     .clusterIdentifier("tf-redshift001")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Resize Cluster Action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -132,15 +135,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ScheduledAction("example", ScheduledActionArgs.builder()        
- *             .name("tf-redshift-scheduled-action")
- *             .schedule("cron(00 23 * * ? *)")
+ *         var example = new ScheduledAction("example", ScheduledActionArgs.builder()        
+ *             .name("tf-redshift-scheduled-action")
+ *             .schedule("cron(00 23 * * ? *)")
  *             .iamRole(exampleAwsIamRole.arn())
  *             .targetAction(ScheduledActionTargetActionArgs.builder()
  *                 .resizeCluster(ScheduledActionTargetActionResizeClusterArgs.builder()
- *                     .clusterIdentifier("tf-redshift001")
- *                     .clusterType("multi-node")
- *                     .nodeType("dc1.large")
+ *                     .clusterIdentifier("tf-redshift001")
+ *                     .clusterType("multi-node")
+ *                     .nodeType("dc1.large")
  *                     .numberOfNodes(2)
  *                     .build())
  *                 .build())
@@ -148,7 +151,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopy.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopy.java index c9c61ecaca7..b8e9908efe4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopy.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SnapshotCopy("example", SnapshotCopyArgs.builder()        
+ *         var example = new SnapshotCopy("example", SnapshotCopyArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.id())
- *             .destinationRegion("us-east-1")
+ *             .destinationRegion("us-east-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopyGrant.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopyGrant.java index 4a3aa1127bb..6c876468c13 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopyGrant.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotCopyGrant.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new SnapshotCopyGrant("test", SnapshotCopyGrantArgs.builder()        
- *             .snapshotCopyGrantName("my-grant")
+ *         var test = new SnapshotCopyGrant("test", SnapshotCopyGrantArgs.builder()        
+ *             .snapshotCopyGrantName("my-grant")
  *             .build());
  * 
- *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
+ *         var testCluster = new Cluster("testCluster", ClusterArgs.builder()        
  *             .snapshotCopy(ClusterSnapshotCopyArgs.builder()
- *                 .destinationRegion("us-east-2")
+ *                 .destinationRegion("us-east-2")
  *                 .grantName(test.snapshotCopyGrantName())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotSchedule.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotSchedule.java index d57b425b261..5c0225c4f70 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotSchedule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotSchedule.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new SnapshotSchedule("default", SnapshotScheduleArgs.builder()        
- *             .identifier("tf-redshift-snapshot-schedule")
- *             .definitions("rate(12 hours)")
+ *         var default_ = new SnapshotSchedule("default", SnapshotScheduleArgs.builder()        
+ *             .identifier("tf-redshift-snapshot-schedule")
+ *             .definitions("rate(12 hours)")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotScheduleAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotScheduleAssociation.java index b546dbbd189..6cb39693994 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotScheduleAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/SnapshotScheduleAssociation.java @@ -17,7 +17,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,28 +43,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Cluster("default", ClusterArgs.builder()        
- *             .clusterIdentifier("tf-redshift-cluster")
- *             .databaseName("mydb")
- *             .masterUsername("foo")
- *             .masterPassword("Mustbe8characters")
- *             .nodeType("dc1.large")
- *             .clusterType("single-node")
+ *         var default_ = new Cluster("default", ClusterArgs.builder()        
+ *             .clusterIdentifier("tf-redshift-cluster")
+ *             .databaseName("mydb")
+ *             .masterUsername("foo")
+ *             .masterPassword("Mustbe8characters")
+ *             .nodeType("dc1.large")
+ *             .clusterType("single-node")
  *             .build());
  * 
- *         var defaultSnapshotSchedule = new SnapshotSchedule("defaultSnapshotSchedule", SnapshotScheduleArgs.builder()        
- *             .identifier("tf-redshift-snapshot-schedule")
- *             .definitions("rate(12 hours)")
+ *         var defaultSnapshotSchedule = new SnapshotSchedule("defaultSnapshotSchedule", SnapshotScheduleArgs.builder()        
+ *             .identifier("tf-redshift-snapshot-schedule")
+ *             .definitions("rate(12 hours)")
  *             .build());
  * 
- *         var defaultSnapshotScheduleAssociation = new SnapshotScheduleAssociation("defaultSnapshotScheduleAssociation", SnapshotScheduleAssociationArgs.builder()        
+ *         var defaultSnapshotScheduleAssociation = new SnapshotScheduleAssociation("defaultSnapshotScheduleAssociation", SnapshotScheduleAssociationArgs.builder()        
  *             .clusterIdentifier(default_.id())
  *             .scheduleIdentifier(defaultSnapshotSchedule.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/SubnetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/SubnetGroup.java index efd1b1a5775..3c01b78a8fe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/SubnetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/SubnetGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,35 +48,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Vpc("foo", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var foo = new Vpc("foo", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
- *         var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
- *             .cidrBlock("10.1.1.0/24")
- *             .availabilityZone("us-west-2a")
+ *         var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
+ *             .cidrBlock("10.1.1.0/24")
+ *             .availabilityZone("us-west-2a")
  *             .vpcId(foo.id())
- *             .tags(Map.of("Name", "tf-dbsubnet-test-1"))
+ *             .tags(Map.of("Name", "tf-dbsubnet-test-1"))
  *             .build());
  * 
- *         var bar = new Subnet("bar", SubnetArgs.builder()        
- *             .cidrBlock("10.1.2.0/24")
- *             .availabilityZone("us-west-2b")
+ *         var bar = new Subnet("bar", SubnetArgs.builder()        
+ *             .cidrBlock("10.1.2.0/24")
+ *             .availabilityZone("us-west-2b")
  *             .vpcId(foo.id())
- *             .tags(Map.of("Name", "tf-dbsubnet-test-2"))
+ *             .tags(Map.of("Name", "tf-dbsubnet-test-2"))
  *             .build());
  * 
- *         var fooSubnetGroup = new SubnetGroup("fooSubnetGroup", SubnetGroupArgs.builder()        
- *             .name("foo")
+ *         var fooSubnetGroup = new SubnetGroup("fooSubnetGroup", SubnetGroupArgs.builder()        
+ *             .name("foo")
  *             .subnetIds(            
  *                 fooSubnet.id(),
  *                 bar.id())
- *             .tags(Map.of("environment", "Production"))
+ *             .tags(Map.of("environment", "Production"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshift/UsageLimit.java b/sdk/java/src/main/java/com/pulumi/aws/redshift/UsageLimit.java index 764ea55c5b6..a48e40fa5ba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshift/UsageLimit.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshift/UsageLimit.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,16 +44,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UsageLimit("example", UsageLimitArgs.builder()        
+ *         var example = new UsageLimit("example", UsageLimitArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.id())
- *             .featureType("concurrency-scaling")
- *             .limitType("time")
+ *             .featureType("concurrency-scaling")
+ *             .limitType("time")
  *             .amount(60)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftdata/Statement.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftdata/Statement.java index c1c87dd75bd..92416afd549 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftdata/Statement.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftdata/Statement.java @@ -25,7 +25,8 @@ * ### cluster_identifier * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,22 +47,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Statement("example", StatementArgs.builder()        
+ *         var example = new Statement("example", StatementArgs.builder()        
  *             .clusterIdentifier(exampleAwsRedshiftCluster.clusterIdentifier())
  *             .database(exampleAwsRedshiftCluster.databaseName())
  *             .dbUser(exampleAwsRedshiftCluster.masterUsername())
- *             .sql("CREATE GROUP group_name;")
+ *             .sql("CREATE GROUP group_name;")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### workgroup_name * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,15 +85,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Statement("example", StatementArgs.builder()        
+ *         var example = new Statement("example", StatementArgs.builder()        
  *             .workgroupName(exampleAwsRedshiftserverlessWorkgroup.workgroupName())
- *             .database("dev")
- *             .sql("CREATE GROUP group_name;")
+ *             .database("dev")
+ *             .sql("CREATE GROUP group_name;")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/CustomDomainAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/CustomDomainAssociation.java index b59d8b42d9f..884be0b4113 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/CustomDomainAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/CustomDomainAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,28 +47,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Certificate("example", CertificateArgs.builder()        
- *             .domainName("example.com")
+ *         var example = new Certificate("example", CertificateArgs.builder()        
+ *             .domainName("example.com")
  *             .build());
  * 
- *         var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()        
- *             .namespaceName("example-namespace")
+ *         var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()        
+ *             .namespaceName("example-namespace")
  *             .build());
  * 
- *         var exampleWorkgroup = new Workgroup("exampleWorkgroup", WorkgroupArgs.builder()        
- *             .workgroupName("example-workgroup")
+ *         var exampleWorkgroup = new Workgroup("exampleWorkgroup", WorkgroupArgs.builder()        
+ *             .workgroupName("example-workgroup")
  *             .namespaceName(exampleNamespace.namespaceName())
  *             .build());
  * 
- *         var exampleCustomDomainAssociation = new CustomDomainAssociation("exampleCustomDomainAssociation", CustomDomainAssociationArgs.builder()        
+ *         var exampleCustomDomainAssociation = new CustomDomainAssociation("exampleCustomDomainAssociation", CustomDomainAssociationArgs.builder()        
  *             .workgroupName(exampleWorkgroup.workgroupName())
- *             .customDomainName("example.com")
+ *             .customDomainName("example.com")
  *             .customDomainCertificateArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/EndpointAccess.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/EndpointAccess.java index 5e7ceb873ab..3d8f62e68ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/EndpointAccess.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/EndpointAccess.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EndpointAccess("example", EndpointAccessArgs.builder()        
- *             .endpointName("example")
- *             .workgroupName("example")
+ *         var example = new EndpointAccess("example", EndpointAccessArgs.builder()        
+ *             .endpointName("example")
+ *             .workgroupName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Namespace.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Namespace.java index 59a98172bae..c1d60d39802 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Namespace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Namespace.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Namespace("example", NamespaceArgs.builder()        
- *             .namespaceName("concurrency-scaling")
+ *         var example = new Namespace("example", NamespaceArgs.builder()        
+ *             .namespaceName("concurrency-scaling")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/RedshiftserverlessFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/RedshiftserverlessFunctions.java index 9b6169bfdcc..58e251c2fda 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/RedshiftserverlessFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/RedshiftserverlessFunctions.java @@ -26,7 +26,8 @@ public final class RedshiftserverlessFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,7 +54,8 @@ public final class RedshiftserverlessFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -66,7 +68,8 @@ public static Output getCredentials(GetCredentialsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -93,7 +96,8 @@ public static Output getCredentials(GetCredentialsArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getCredentialsPlain(GetCre * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,7 +138,8 @@ public static CompletableFuture getCredentialsPlain(GetCre
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -146,7 +152,8 @@ public static Output getCredentials(GetCredentialsArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -173,7 +180,8 @@ public static Output getCredentials(GetCredentialsArgs arg
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -186,7 +194,8 @@ public static CompletableFuture getCredentialsPlain(GetCre * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -208,12 +217,13 @@ public static CompletableFuture getCredentialsPlain(GetCre
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftserverlessFunctions.getNamespace(GetNamespaceArgs.builder()
-     *             .namespaceName("example-namespace")
+     *             .namespaceName("example-namespace")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -226,7 +236,8 @@ public static Output getNamespace(GetNamespaceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -248,12 +259,13 @@ public static Output getNamespace(GetNamespaceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftserverlessFunctions.getNamespace(GetNamespaceArgs.builder()
-     *             .namespaceName("example-namespace")
+     *             .namespaceName("example-namespace")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -266,7 +278,8 @@ public static CompletableFuture getNamespacePlain(GetNamespa * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -288,12 +301,13 @@ public static CompletableFuture getNamespacePlain(GetNamespa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftserverlessFunctions.getNamespace(GetNamespaceArgs.builder()
-     *             .namespaceName("example-namespace")
+     *             .namespaceName("example-namespace")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -306,7 +320,8 @@ public static Output getNamespace(GetNamespaceArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -328,12 +343,13 @@ public static Output getNamespace(GetNamespaceArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = RedshiftserverlessFunctions.getNamespace(GetNamespaceArgs.builder()
-     *             .namespaceName("example-namespace")
+     *             .namespaceName("example-namespace")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -348,7 +364,8 @@ public static CompletableFuture getNamespacePlain(GetNamespa * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -375,7 +392,8 @@ public static CompletableFuture getNamespacePlain(GetNamespa
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -390,7 +408,8 @@ public static Output getWorkgroup(GetWorkgroupArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -417,7 +436,8 @@ public static Output getWorkgroup(GetWorkgroupArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -432,7 +452,8 @@ public static CompletableFuture getWorkgroupPlain(GetWorkgro * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -459,7 +480,8 @@ public static CompletableFuture getWorkgroupPlain(GetWorkgro
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -474,7 +496,8 @@ public static Output getWorkgroup(GetWorkgroupArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -501,7 +524,8 @@ public static Output getWorkgroup(GetWorkgroupArgs args, Inv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/ResourcePolicy.java index 1ea6001c796..1e9c71f4bc4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/ResourcePolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,25 +42,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
+ *         var example = new ResourcePolicy("example", ResourcePolicyArgs.builder()        
  *             .resourceArn(exampleAwsRedshiftserverlessSnapshot.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", jsonArray("12345678901"))
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", jsonArray("12345678901"))
  *                         )),
- *                         jsonProperty("Action", jsonArray("redshift-serverless:RestoreFromSnapshot")),
- *                         jsonProperty("Sid", "")
+ *                         jsonProperty("Action", jsonArray("redshift-serverless:RestoreFromSnapshot")),
+ *                         jsonProperty("Sid", "")
  *                     )))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Snapshot.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Snapshot.java index ed6eb84cd22..ee4e51f98d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Snapshot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Snapshot.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Snapshot("example", SnapshotArgs.builder()        
+ *         var example = new Snapshot("example", SnapshotArgs.builder()        
  *             .namespaceName(exampleAwsRedshiftserverlessWorkgroup.namespaceName())
- *             .snapshotName("example")
+ *             .snapshotName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/UsageLimit.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/UsageLimit.java index c519b991519..1c6971796e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/UsageLimit.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/UsageLimit.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,20 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workgroup("example", WorkgroupArgs.builder()        
+ *         var example = new Workgroup("example", WorkgroupArgs.builder()        
  *             .namespaceName(exampleAwsRedshiftserverlessNamespace.namespaceName())
- *             .workgroupName("example")
+ *             .workgroupName("example")
  *             .build());
  * 
- *         var exampleUsageLimit = new UsageLimit("exampleUsageLimit", UsageLimitArgs.builder()        
+ *         var exampleUsageLimit = new UsageLimit("exampleUsageLimit", UsageLimitArgs.builder()        
  *             .resourceArn(example.arn())
- *             .usageType("serverless-compute")
+ *             .usageType("serverless-compute")
  *             .amount(60)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Workgroup.java b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Workgroup.java index a7af0e836a7..ce5a1551cfb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Workgroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/redshiftserverless/Workgroup.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,14 +48,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workgroup("example", WorkgroupArgs.builder()        
- *             .namespaceName("concurrency-scaling")
- *             .workgroupName("concurrency-scaling")
+ *         var example = new Workgroup("example", WorkgroupArgs.builder()        
+ *             .namespaceName("concurrency-scaling")
+ *             .workgroupName("concurrency-scaling")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rekognition/Collection.java b/sdk/java/src/main/java/com/pulumi/aws/rekognition/Collection.java index 0063db8437f..e20ada5670f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rekognition/Collection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rekognition/Collection.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Collection("example", CollectionArgs.builder()        
- *             .collectionId("my-collection")
- *             .tags(Map.of("example", 1))
+ *         var example = new Collection("example", CollectionArgs.builder()        
+ *             .collectionId("my-collection")
+ *             .tags(Map.of("example", 1))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rekognition/Project.java b/sdk/java/src/main/java/com/pulumi/aws/rekognition/Project.java index 8128edb0343..fb6a5ce500c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rekognition/Project.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rekognition/Project.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .name("example-project")
- *             .autoUpdate("ENABLED")
- *             .feature("CONTENT_MODERATION")
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .name("example-project")
+ *             .autoUpdate("ENABLED")
+ *             .feature("CONTENT_MODERATION")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/Index.java b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/Index.java index 45fdede2514..58d51a0ca52 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/Index.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/Index.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .type("LOCAL")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .type("LOCAL")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/ResourceexplorerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/ResourceexplorerFunctions.java index 94efba00128..a16abeb7d3f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/ResourceexplorerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/ResourceexplorerFunctions.java @@ -22,7 +22,8 @@ public final class ResourceexplorerFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,13 +45,14 @@ public final class ResourceexplorerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ResourceexplorerFunctions.Search(SearchArgs.builder()
-     *             .queryString("region:us-west-2")
+     *             .queryString("region:us-west-2")
      *             .viewArn(test.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -65,7 +67,8 @@ public static Output search(SearchArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -87,13 +90,14 @@ public static Output search(SearchArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ResourceexplorerFunctions.Search(SearchArgs.builder()
-     *             .queryString("region:us-west-2")
+     *             .queryString("region:us-west-2")
      *             .viewArn(test.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -108,7 +112,8 @@ public static CompletableFuture searchPlain(SearchPlainArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -130,13 +135,14 @@ public static CompletableFuture searchPlain(SearchPlainArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ResourceexplorerFunctions.Search(SearchArgs.builder()
-     *             .queryString("region:us-west-2")
+     *             .queryString("region:us-west-2")
      *             .viewArn(test.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -151,7 +157,8 @@ public static Output search(SearchArgs args, InvokeOptions options * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -173,13 +180,14 @@ public static Output search(SearchArgs args, InvokeOptions options
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ResourceexplorerFunctions.Search(SearchArgs.builder()
-     *             .queryString("region:us-west-2")
+     *             .queryString("region:us-west-2")
      *             .viewArn(test.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/View.java b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/View.java index 2034e168458..b9d0f4de81d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/View.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/View.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,17 +52,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Index("example", IndexArgs.builder()        
- *             .type("LOCAL")
+ *         var example = new Index("example", IndexArgs.builder()        
+ *             .type("LOCAL")
  *             .build());
  * 
- *         var exampleView = new View("exampleView", ViewArgs.builder()        
- *             .name("exampleview")
+ *         var exampleView = new View("exampleView", ViewArgs.builder()        
+ *             .name("exampleview")
  *             .filters(ViewFiltersArgs.builder()
- *                 .filterString("resourcetype:ec2:instance")
+ *                 .filterString("resourcetype:ec2:instance")
  *                 .build())
  *             .includedProperties(ViewIncludedPropertyArgs.builder()
- *                 .name("tags")
+ *                 .name("tags")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
@@ -69,7 +70,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Group.java b/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Group.java index 011da14a42f..42cce0485d6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Group.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,28 +47,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Group("test", GroupArgs.builder()        
- *             .name("test-group")
+ *         var test = new Group("test", GroupArgs.builder()        
+ *             .name("test-group")
  *             .resourceQuery(GroupResourceQueryArgs.builder()
- *                 .query("""
+ *                 .query("""
  * {
- *   "ResourceTypeFilters": [
- *     "AWS::EC2::Instance"
+ *   "ResourceTypeFilters": [
+ *     "AWS::EC2::Instance"
  *   ],
- *   "TagFilters": [
+ *   "TagFilters": [
  *     {
- *       "Key": "Stage",
- *       "Values": ["Test"]
+ *       "Key": "Stage",
+ *       "Values": ["Test"]
  *     }
  *   ]
  * }
- *                 """)
+ *                 """)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Resource.java b/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Resource.java index 721ea191071..80c8f622b22 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Resource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourcegroups/Resource.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,25 +47,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DedicatedHost("example", DedicatedHostArgs.builder()        
- *             .instanceFamily("t3")
- *             .availabilityZone("us-east-1a")
- *             .hostRecovery("off")
- *             .autoPlacement("on")
+ *         var example = new DedicatedHost("example", DedicatedHostArgs.builder()        
+ *             .instanceFamily("t3")
+ *             .availabilityZone("us-east-1a")
+ *             .hostRecovery("off")
+ *             .autoPlacement("on")
  *             .build());
  * 
- *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
- *             .name("example")
+ *         var exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleResource = new Resource("exampleResource", ResourceArgs.builder()        
+ *         var exampleResource = new Resource("exampleResource", ResourceArgs.builder()        
  *             .groupArn(exampleGroup.arn())
  *             .resourceArn(example.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourcegroupstaggingapi/ResourcegroupstaggingapiFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/resourcegroupstaggingapi/ResourcegroupstaggingapiFunctions.java index 64b764a73f2..2c9e8c4250d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourcegroupstaggingapi/ResourcegroupstaggingapiFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourcegroupstaggingapi/ResourcegroupstaggingapiFunctions.java @@ -22,7 +22,8 @@ public final class ResourcegroupstaggingapiFunctions { * ### Get All Resource Tag Mappings * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,13 +48,15 @@ public final class ResourcegroupstaggingapiFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Tag Key and Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -76,22 +79,24 @@ public final class ResourcegroupstaggingapiFunctions {
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
      *             .tagFilters(GetResourcesTagFilterArgs.builder()
-     *                 .key("tag-key")
+     *                 .key("tag-key")
      *                 .values(                
-     *                     "tag-value-1",
-     *                     "tag-value-2")
+     *                     "tag-value-1",
+     *                     "tag-value-2")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Resource Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -113,12 +118,13 @@ public final class ResourcegroupstaggingapiFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
-     *             .resourceTypeFilters("ec2:instance")
+     *             .resourceTypeFilters("ec2:instance")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -133,7 +139,8 @@ public static Output getResources() { * ### Get All Resource Tag Mappings * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -158,13 +165,15 @@ public static Output getResources() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Tag Key and Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -187,22 +196,24 @@ public static Output getResources() {
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
      *             .tagFilters(GetResourcesTagFilterArgs.builder()
-     *                 .key("tag-key")
+     *                 .key("tag-key")
      *                 .values(                
-     *                     "tag-value-1",
-     *                     "tag-value-2")
+     *                     "tag-value-1",
+     *                     "tag-value-2")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Resource Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -224,12 +235,13 @@ public static Output getResources() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
-     *             .resourceTypeFilters("ec2:instance")
+     *             .resourceTypeFilters("ec2:instance")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -244,7 +256,8 @@ public static CompletableFuture getResourcesPlain() { * ### Get All Resource Tag Mappings * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -269,13 +282,15 @@ public static CompletableFuture getResourcesPlain() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Tag Key and Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -298,22 +313,24 @@ public static CompletableFuture getResourcesPlain() {
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
      *             .tagFilters(GetResourcesTagFilterArgs.builder()
-     *                 .key("tag-key")
+     *                 .key("tag-key")
      *                 .values(                
-     *                     "tag-value-1",
-     *                     "tag-value-2")
+     *                     "tag-value-1",
+     *                     "tag-value-2")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Resource Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -335,12 +352,13 @@ public static CompletableFuture getResourcesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
-     *             .resourceTypeFilters("ec2:instance")
+     *             .resourceTypeFilters("ec2:instance")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -355,7 +373,8 @@ public static Output getResources(GetResourcesArgs args) { * ### Get All Resource Tag Mappings * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -380,13 +399,15 @@ public static Output getResources(GetResourcesArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Tag Key and Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -409,22 +430,24 @@ public static Output getResources(GetResourcesArgs args) {
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
      *             .tagFilters(GetResourcesTagFilterArgs.builder()
-     *                 .key("tag-key")
+     *                 .key("tag-key")
      *                 .values(                
-     *                     "tag-value-1",
-     *                     "tag-value-2")
+     *                     "tag-value-1",
+     *                     "tag-value-2")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Resource Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -446,12 +469,13 @@ public static Output getResources(GetResourcesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
-     *             .resourceTypeFilters("ec2:instance")
+     *             .resourceTypeFilters("ec2:instance")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -466,7 +490,8 @@ public static CompletableFuture getResourcesPlain(GetResourc * ### Get All Resource Tag Mappings * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -491,13 +516,15 @@ public static CompletableFuture getResourcesPlain(GetResourc
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Tag Key and Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -520,22 +547,24 @@ public static CompletableFuture getResourcesPlain(GetResourc
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
      *             .tagFilters(GetResourcesTagFilterArgs.builder()
-     *                 .key("tag-key")
+     *                 .key("tag-key")
      *                 .values(                
-     *                     "tag-value-1",
-     *                     "tag-value-2")
+     *                     "tag-value-1",
+     *                     "tag-value-2")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Resource Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -557,12 +586,13 @@ public static CompletableFuture getResourcesPlain(GetResourc
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
-     *             .resourceTypeFilters("ec2:instance")
+     *             .resourceTypeFilters("ec2:instance")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -577,7 +607,8 @@ public static Output getResources(GetResourcesArgs args, Inv * ### Get All Resource Tag Mappings * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -602,13 +633,15 @@ public static Output getResources(GetResourcesArgs args, Inv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Tag Key and Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -631,22 +664,24 @@ public static Output getResources(GetResourcesArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
      *             .tagFilters(GetResourcesTagFilterArgs.builder()
-     *                 .key("tag-key")
+     *                 .key("tag-key")
      *                 .values(                
-     *                     "tag-value-1",
-     *                     "tag-value-2")
+     *                     "tag-value-1",
+     *                     "tag-value-2")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Resource Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -668,12 +703,13 @@ public static Output getResources(GetResourcesArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ResourcegroupstaggingapiFunctions.getResources(GetResourcesArgs.builder()
-     *             .resourceTypeFilters("ec2:instance")
+     *             .resourceTypeFilters("ec2:instance")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/Profile.java b/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/Profile.java index 8dd32e54a6d..6263ed239c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/Profile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/Profile.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,35 +49,36 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Role("test", RoleArgs.builder()        
- *             .name("test")
- *             .path("/")
+ *         var test = new Role("test", RoleArgs.builder()        
+ *             .name("test")
+ *             .path("/")
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray(
- *                             "sts:AssumeRole", 
- *                             "sts:TagSession", 
- *                             "sts:SetSourceIdentity"
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray(
+ *                             "sts:AssumeRole", 
+ *                             "sts:TagSession", 
+ *                             "sts:SetSourceIdentity"
  *                         )),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "rolesanywhere.amazonaws.com")
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "rolesanywhere.amazonaws.com")
  *                         )),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Sid", "")
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Sid", "")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var testProfile = new Profile("testProfile", ProfileArgs.builder()        
- *             .name("example")
+ *         var testProfile = new Profile("testProfile", ProfileArgs.builder()        
+ *             .name("example")
  *             .roleArns(test.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/TrustAnchor.java b/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/TrustAnchor.java index df806867992..bdb85230d17 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/TrustAnchor.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rolesanywhere/TrustAnchor.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,44 +59,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CertificateAuthority("example", CertificateAuthorityArgs.builder()        
+ *         var example = new CertificateAuthority("example", CertificateAuthorityArgs.builder()        
  *             .permanentDeletionTimeInDays(7)
- *             .type("ROOT")
+ *             .type("ROOT")
  *             .certificateAuthorityConfiguration(CertificateAuthorityCertificateAuthorityConfigurationArgs.builder()
- *                 .keyAlgorithm("RSA_4096")
- *                 .signingAlgorithm("SHA512WITHRSA")
+ *                 .keyAlgorithm("RSA_4096")
+ *                 .signingAlgorithm("SHA512WITHRSA")
  *                 .subject(CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.builder()
- *                     .commonName("example.com")
+ *                     .commonName("example.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *         final var current = AwsFunctions.getPartition();
  * 
- *         var test = new Certificate("test", CertificateArgs.builder()        
+ *         var test = new Certificate("test", CertificateArgs.builder()        
  *             .certificateAuthorityArn(example.arn())
  *             .certificateSigningRequest(example.certificateSigningRequest())
- *             .signingAlgorithm("SHA512WITHRSA")
- *             .templateArn(String.format("arn:%s:acm-pca:::template/RootCACertificate/V1", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
+ *             .signingAlgorithm("SHA512WITHRSA")
+ *             .templateArn(String.format("arn:%s:acm-pca:::template/RootCACertificate/V1", current.applyValue(getPartitionResult -> getPartitionResult.partition())))
  *             .validity(CertificateValidityArgs.builder()
- *                 .type("YEARS")
+ *                 .type("YEARS")
  *                 .value(1)
  *                 .build())
  *             .build());
  * 
- *         var exampleCertificateAuthorityCertificate = new CertificateAuthorityCertificate("exampleCertificateAuthorityCertificate", CertificateAuthorityCertificateArgs.builder()        
+ *         var exampleCertificateAuthorityCertificate = new CertificateAuthorityCertificate("exampleCertificateAuthorityCertificate", CertificateAuthorityCertificateArgs.builder()        
  *             .certificateAuthorityArn(example.arn())
  *             .certificate(exampleAwsAcmpcaCertificate.certificate())
  *             .certificateChain(exampleAwsAcmpcaCertificate.certificateChain())
  *             .build());
  * 
- *         var testTrustAnchor = new TrustAnchor("testTrustAnchor", TrustAnchorArgs.builder()        
- *             .name("example")
+ *         var testTrustAnchor = new TrustAnchor("testTrustAnchor", TrustAnchorArgs.builder()        
+ *             .name("example")
  *             .source(TrustAnchorSourceArgs.builder()
  *                 .sourceData(TrustAnchorSourceSourceDataArgs.builder()
  *                     .acmPcaArn(example.arn())
  *                     .build())
- *                 .sourceType("AWS_ACM_PCA")
+ *                 .sourceType("AWS_ACM_PCA")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleCertificateAuthorityCertificate)
@@ -103,7 +104,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/CidrCollection.java b/sdk/java/src/main/java/com/pulumi/aws/route53/CidrCollection.java index efd8e772eb8..0070693e079 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/CidrCollection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/CidrCollection.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,13 +42,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CidrCollection("example", CidrCollectionArgs.builder()        
- *             .name("collection-1")
+ *         var example = new CidrCollection("example", CidrCollectionArgs.builder()        
+ *             .name("collection-1")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/CidrLocation.java b/sdk/java/src/main/java/com/pulumi/aws/route53/CidrLocation.java index 7b376e44036..534824ad1b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/CidrLocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/CidrLocation.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,21 +44,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CidrCollection("example", CidrCollectionArgs.builder()        
- *             .name("collection-1")
+ *         var example = new CidrCollection("example", CidrCollectionArgs.builder()        
+ *             .name("collection-1")
  *             .build());
  * 
- *         var exampleCidrLocation = new CidrLocation("exampleCidrLocation", CidrLocationArgs.builder()        
+ *         var exampleCidrLocation = new CidrLocation("exampleCidrLocation", CidrLocationArgs.builder()        
  *             .cidrCollectionId(example.id())
- *             .name("office")
+ *             .name("office")
  *             .cidrBlocks(            
- *                 "200.5.3.0/24",
- *                 "200.6.3.0/24")
+ *                 "200.5.3.0/24",
+ *                 "200.6.3.0/24")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/DelegationSet.java b/sdk/java/src/main/java/com/pulumi/aws/route53/DelegationSet.java index 616e4e1ffbb..ce244f7f24f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/DelegationSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/DelegationSet.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,23 +45,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new DelegationSet("main", DelegationSetArgs.builder()        
- *             .referenceName("DynDNS")
+ *         var main = new DelegationSet("main", DelegationSetArgs.builder()        
+ *             .referenceName("DynDNS")
  *             .build());
  * 
- *         var primary = new Zone("primary", ZoneArgs.builder()        
- *             .name("mydomain.com")
+ *         var primary = new Zone("primary", ZoneArgs.builder()        
+ *             .name("mydomain.com")
  *             .delegationSetId(main.id())
  *             .build());
  * 
- *         var secondary = new Zone("secondary", ZoneArgs.builder()        
- *             .name("coolcompany.io")
+ *         var secondary = new Zone("secondary", ZoneArgs.builder()        
+ *             .name("coolcompany.io")
  *             .delegationSetId(main.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/HealthCheck.java b/sdk/java/src/main/java/com/pulumi/aws/route53/HealthCheck.java index b8849157ad8..1e7885b4ed8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/HealthCheck.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/HealthCheck.java @@ -26,7 +26,8 @@ * ### Connectivity and HTTP Status Code Check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,25 +48,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HealthCheck("example", HealthCheckArgs.builder()        
- *             .fqdn("example.com")
+ *         var example = new HealthCheck("example", HealthCheckArgs.builder()        
+ *             .fqdn("example.com")
  *             .port(80)
- *             .type("HTTP")
- *             .resourcePath("/")
- *             .failureThreshold("5")
- *             .requestInterval("30")
- *             .tags(Map.of("Name", "tf-test-health-check"))
+ *             .type("HTTP")
+ *             .resourcePath("/")
+ *             .failureThreshold("5")
+ *             .requestInterval("30")
+ *             .tags(Map.of("Name", "tf-test-health-check"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Connectivity and String Matching Check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,25 +89,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HealthCheck("example", HealthCheckArgs.builder()        
- *             .failureThreshold("5")
- *             .fqdn("example.com")
+ *         var example = new HealthCheck("example", HealthCheckArgs.builder()        
+ *             .failureThreshold("5")
+ *             .fqdn("example.com")
  *             .port(443)
- *             .requestInterval("30")
- *             .resourcePath("/")
- *             .searchString("example")
- *             .type("HTTPS_STR_MATCH")
+ *             .requestInterval("30")
+ *             .resourcePath("/")
+ *             .searchString("example")
+ *             .type("HTTPS_STR_MATCH")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Aggregate Check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,22 +130,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var parent = new HealthCheck("parent", HealthCheckArgs.builder()        
- *             .type("CALCULATED")
+ *         var parent = new HealthCheck("parent", HealthCheckArgs.builder()        
+ *             .type("CALCULATED")
  *             .childHealthThreshold(1)
  *             .childHealthchecks(child.id())
- *             .tags(Map.of("Name", "tf-test-calculated-health-check"))
+ *             .tags(Map.of("Name", "tf-test-calculated-health-check"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### CloudWatch Alarm Check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -163,28 +170,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foobar = new MetricAlarm("foobar", MetricAlarmArgs.builder()        
- *             .name("test-foobar5")
- *             .comparisonOperator("GreaterThanOrEqualToThreshold")
- *             .evaluationPeriods("2")
- *             .metricName("CPUUtilization")
- *             .namespace("AWS/EC2")
- *             .period("120")
- *             .statistic("Average")
- *             .threshold("80")
- *             .alarmDescription("This metric monitors ec2 cpu utilization")
+ *         var foobar = new MetricAlarm("foobar", MetricAlarmArgs.builder()        
+ *             .name("test-foobar5")
+ *             .comparisonOperator("GreaterThanOrEqualToThreshold")
+ *             .evaluationPeriods("2")
+ *             .metricName("CPUUtilization")
+ *             .namespace("AWS/EC2")
+ *             .period("120")
+ *             .statistic("Average")
+ *             .threshold("80")
+ *             .alarmDescription("This metric monitors ec2 cpu utilization")
  *             .build());
  * 
- *         var foo = new HealthCheck("foo", HealthCheckArgs.builder()        
- *             .type("CLOUDWATCH_METRIC")
+ *         var foo = new HealthCheck("foo", HealthCheckArgs.builder()        
+ *             .type("CLOUDWATCH_METRIC")
  *             .cloudwatchAlarmName(foobar.name())
- *             .cloudwatchAlarmRegion("us-west-2")
- *             .insufficientDataHealthStatus("Healthy")
+ *             .cloudwatchAlarmRegion("us-west-2")
+ *             .insufficientDataHealthStatus("Healthy")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/HostedZoneDnsSec.java b/sdk/java/src/main/java/com/pulumi/aws/route53/HostedZoneDnsSec.java index c257e9f76f9..33b60d3a53c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/HostedZoneDnsSec.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/HostedZoneDnsSec.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,52 +58,52 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Key("example", KeyArgs.builder()        
- *             .customerMasterKeySpec("ECC_NIST_P256")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .customerMasterKeySpec("ECC_NIST_P256")
  *             .deletionWindowInDays(7)
- *             .keyUsage("SIGN_VERIFY")
+ *             .keyUsage("SIGN_VERIFY")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(
+ *                     jsonProperty("Statement", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("Action", jsonArray(
- *                                 "kms:DescribeKey", 
- *                                 "kms:GetPublicKey", 
- *                                 "kms:Sign", 
- *                                 "kms:Verify"
+ *                             jsonProperty("Action", jsonArray(
+ *                                 "kms:DescribeKey", 
+ *                                 "kms:GetPublicKey", 
+ *                                 "kms:Sign", 
+ *                                 "kms:Verify"
  *                             )),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
  *                             )),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service")
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service")
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Action", "kms:*"),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("AWS", String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                             jsonProperty("Action", "kms:*"),
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("AWS", String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                             )),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Sid", "Enable IAM User Permissions")
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Sid", "Enable IAM User Permissions")
  *                         )
  *                     )),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
- *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .build());
  * 
- *         var exampleKeySigningKey = new KeySigningKey("exampleKeySigningKey", KeySigningKeyArgs.builder()        
+ *         var exampleKeySigningKey = new KeySigningKey("exampleKeySigningKey", KeySigningKeyArgs.builder()        
  *             .hostedZoneId(exampleZone.id())
  *             .keyManagementServiceArn(example.arn())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleHostedZoneDnsSec = new HostedZoneDnsSec("exampleHostedZoneDnsSec", HostedZoneDnsSecArgs.builder()        
+ *         var exampleHostedZoneDnsSec = new HostedZoneDnsSec("exampleHostedZoneDnsSec", HostedZoneDnsSecArgs.builder()        
  *             .hostedZoneId(exampleKeySigningKey.hostedZoneId())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleKeySigningKey)
@@ -110,7 +111,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/KeySigningKey.java b/sdk/java/src/main/java/com/pulumi/aws/route53/KeySigningKey.java index c82166fcb43..5894f6f0bf8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/KeySigningKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/KeySigningKey.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,73 +55,73 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Key("example", KeyArgs.builder()        
- *             .customerMasterKeySpec("ECC_NIST_P256")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .customerMasterKeySpec("ECC_NIST_P256")
  *             .deletionWindowInDays(7)
- *             .keyUsage("SIGN_VERIFY")
+ *             .keyUsage("SIGN_VERIFY")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(
+ *                     jsonProperty("Statement", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("Action", jsonArray(
- *                                 "kms:DescribeKey", 
- *                                 "kms:GetPublicKey", 
- *                                 "kms:Sign"
+ *                             jsonProperty("Action", jsonArray(
+ *                                 "kms:DescribeKey", 
+ *                                 "kms:GetPublicKey", 
+ *                                 "kms:Sign"
  *                             )),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
  *                             )),
- *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service"),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Condition", jsonObject(
- *                                 jsonProperty("StringEquals", jsonObject(
- *                                     jsonProperty("aws:SourceAccount", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service"),
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Condition", jsonObject(
+ *                                 jsonProperty("StringEquals", jsonObject(
+ *                                     jsonProperty("aws:SourceAccount", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                                 )),
- *                                 jsonProperty("ArnLike", jsonObject(
- *                                     jsonProperty("aws:SourceArn", "arn:aws:route53:::hostedzone/*")
+ *                                 jsonProperty("ArnLike", jsonObject(
+ *                                     jsonProperty("aws:SourceArn", "arn:aws:route53:::hostedzone/*")
  *                                 ))
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Action", "kms:CreateGrant"),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
+ *                             jsonProperty("Action", "kms:CreateGrant"),
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
  *                             )),
- *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service to CreateGrant"),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Condition", jsonObject(
- *                                 jsonProperty("Bool", jsonObject(
- *                                     jsonProperty("kms:GrantIsForAWSResource", "true")
+ *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service to CreateGrant"),
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Condition", jsonObject(
+ *                                 jsonProperty("Bool", jsonObject(
+ *                                     jsonProperty("kms:GrantIsForAWSResource", "true")
  *                                 ))
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Action", "kms:*"),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("AWS", String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                             jsonProperty("Action", "kms:*"),
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("AWS", String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                             )),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Sid", "Enable IAM User Permissions")
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Sid", "Enable IAM User Permissions")
  *                         )
  *                     )),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
- *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .build());
  * 
- *         var exampleKeySigningKey = new KeySigningKey("exampleKeySigningKey", KeySigningKeyArgs.builder()        
+ *         var exampleKeySigningKey = new KeySigningKey("exampleKeySigningKey", KeySigningKeyArgs.builder()        
  *             .hostedZoneId(test.id())
  *             .keyManagementServiceArn(testAwsKmsKey.arn())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleHostedZoneDnsSec = new HostedZoneDnsSec("exampleHostedZoneDnsSec", HostedZoneDnsSecArgs.builder()        
+ *         var exampleHostedZoneDnsSec = new HostedZoneDnsSec("exampleHostedZoneDnsSec", HostedZoneDnsSecArgs.builder()        
  *             .hostedZoneId(exampleKeySigningKey.hostedZoneId())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleKeySigningKey)
@@ -128,7 +129,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/QueryLog.java b/sdk/java/src/main/java/com/pulumi/aws/route53/QueryLog.java index 48a41d3a613..23f983d48d6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/QueryLog.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/QueryLog.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,12 +57,12 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Example Route53 zone with query logging
- *         var exampleCom = new Zone("exampleCom", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var exampleCom = new Zone("exampleCom", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .build());
  * 
- *         var awsRoute53ExampleCom = new LogGroup("awsRoute53ExampleCom", LogGroupArgs.builder()        
- *             .name(exampleCom.name().applyValue(name -> String.format("/aws/route53/%s", name)))
+ *         var awsRoute53ExampleCom = new LogGroup("awsRoute53ExampleCom", LogGroupArgs.builder()        
+ *             .name(exampleCom.name().applyValue(name -> String.format("/aws/route53/%s", name)))
  *             .retentionInDays(30)
  *             .build());
  * 
@@ -70,22 +71,22 @@
  *         final var route53-query-logging-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "logs:CreateLogStream",
- *                     "logs:PutLogEvents")
- *                 .resources("arn:aws:logs:*:*:log-group:/aws/route53/*")
+ *                     "logs:CreateLogStream",
+ *                     "logs:PutLogEvents")
+ *                 .resources("arn:aws:logs:*:*:log-group:/aws/route53/*")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("route53.amazonaws.com")
- *                     .type("Service")
+ *                     .identifiers("route53.amazonaws.com")
+ *                     .type("Service")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var route53_query_logging_policyLogResourcePolicy = new LogResourcePolicy("route53-query-logging-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
+ *         var route53_query_logging_policyLogResourcePolicy = new LogResourcePolicy("route53-query-logging-policyLogResourcePolicy", LogResourcePolicyArgs.builder()        
  *             .policyDocument(route53_query_logging_policy.json())
- *             .policyName("route53-query-logging-policy")
+ *             .policyName("route53-query-logging-policy")
  *             .build());
  * 
- *         var exampleComQueryLog = new QueryLog("exampleComQueryLog", QueryLogArgs.builder()        
+ *         var exampleComQueryLog = new QueryLog("exampleComQueryLog", QueryLogArgs.builder()        
  *             .cloudwatchLogGroupArn(awsRoute53ExampleCom.arn())
  *             .zoneId(exampleCom.zoneId())
  *             .build(), CustomResourceOptions.builder()
@@ -94,7 +95,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/Record.java b/sdk/java/src/main/java/com/pulumi/aws/route53/Record.java index fa05a9dcefa..9c222a3c9e0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/Record.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/Record.java @@ -32,7 +32,8 @@ * ### Simple routing policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,17 +54,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var www = new Record("www", RecordArgs.builder()        
+ *         var www = new Record("www", RecordArgs.builder()        
  *             .zoneId(primary.zoneId())
- *             .name("www.example.com")
- *             .type("A")
+ *             .name("www.example.com")
+ *             .type("A")
  *             .ttl(300)
  *             .records(lb.publicIp())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Weighted routing policy @@ -71,7 +73,8 @@ * Other routing policies are configured similarly. See [Amazon Route 53 Developer Guide](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html) for details. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,39 +96,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var www_dev = new Record("www-dev", RecordArgs.builder()        
+ *         var www_dev = new Record("www-dev", RecordArgs.builder()        
  *             .zoneId(primary.zoneId())
- *             .name("www")
- *             .type("CNAME")
+ *             .name("www")
+ *             .type("CNAME")
  *             .ttl(5)
  *             .weightedRoutingPolicies(RecordWeightedRoutingPolicyArgs.builder()
  *                 .weight(10)
  *                 .build())
- *             .setIdentifier("dev")
- *             .records("dev.example.com")
+ *             .setIdentifier("dev")
+ *             .records("dev.example.com")
  *             .build());
  * 
- *         var www_live = new Record("www-live", RecordArgs.builder()        
+ *         var www_live = new Record("www-live", RecordArgs.builder()        
  *             .zoneId(primary.zoneId())
- *             .name("www")
- *             .type("CNAME")
+ *             .name("www")
+ *             .type("CNAME")
  *             .ttl(5)
  *             .weightedRoutingPolicies(RecordWeightedRoutingPolicyArgs.builder()
  *                 .weight(90)
  *                 .build())
- *             .setIdentifier("live")
- *             .records("live.example.com")
+ *             .setIdentifier("live")
+ *             .records("live.example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Geoproximity routing policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -147,24 +152,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var www = new Record("www", RecordArgs.builder()        
+ *         var www = new Record("www", RecordArgs.builder()        
  *             .zoneId(primary.zoneId())
- *             .name("www.example.com")
- *             .type("CNAME")
+ *             .name("www.example.com")
+ *             .type("CNAME")
  *             .ttl(300)
  *             .geoproximityRoutingPolicy(RecordGeoproximityRoutingPolicyArgs.builder()
  *                 .coordinates(RecordGeoproximityRoutingPolicyCoordinateArgs.builder()
- *                     .latitude("49.22")
- *                     .longitude("-74.01")
+ *                     .latitude("49.22")
+ *                     .longitude("-74.01")
  *                     .build())
  *                 .build())
- *             .setIdentifier("dev")
- *             .records("dev.example.com")
+ *             .setIdentifier("dev")
+ *             .records("dev.example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Alias record @@ -176,7 +182,8 @@ * you cannot change this, therefore `ttl` has to be omitted in alias records. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -201,21 +208,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new LoadBalancer("main", LoadBalancerArgs.builder()        
- *             .name("foobar-elb")
- *             .availabilityZones("us-east-1c")
+ *         var main = new LoadBalancer("main", LoadBalancerArgs.builder()        
+ *             .name("foobar-elb")
+ *             .availabilityZones("us-east-1c")
  *             .listeners(LoadBalancerListenerArgs.builder()
  *                 .instancePort(80)
- *                 .instanceProtocol("http")
+ *                 .instanceProtocol("http")
  *                 .lbPort(80)
- *                 .lbProtocol("http")
+ *                 .lbProtocol("http")
  *                 .build())
  *             .build());
  * 
- *         var www = new Record("www", RecordArgs.builder()        
+ *         var www = new Record("www", RecordArgs.builder()        
  *             .zoneId(primary.zoneId())
- *             .name("example.com")
- *             .type("A")
+ *             .name("example.com")
+ *             .type("A")
  *             .aliases(RecordAliasArgs.builder()
  *                 .name(main.dnsName())
  *                 .zoneId(main.zoneId())
@@ -225,7 +232,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### NS and SOA Record Management @@ -233,7 +241,8 @@ * When creating Route 53 zones, the `NS` and `SOA` records for the zone are automatically created. Enabling the `allow_overwrite` argument will allow managing these records in a single deployment without the requirement for `import`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -256,26 +265,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Zone("example", ZoneArgs.builder()        
- *             .name("test.example.com")
+ *         var example = new Zone("example", ZoneArgs.builder()        
+ *             .name("test.example.com")
  *             .build());
  * 
- *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
+ *         var exampleRecord = new Record("exampleRecord", RecordArgs.builder()        
  *             .allowOverwrite(true)
- *             .name("test.example.com")
+ *             .name("test.example.com")
  *             .ttl(172800)
- *             .type("NS")
+ *             .type("NS")
  *             .zoneId(example.zoneId())
  *             .records(            
- *                 example.nameServers().applyValue(nameServers -> nameServers[0]),
- *                 example.nameServers().applyValue(nameServers -> nameServers[1]),
- *                 example.nameServers().applyValue(nameServers -> nameServers[2]),
- *                 example.nameServers().applyValue(nameServers -> nameServers[3]))
+ *                 example.nameServers().applyValue(nameServers -> nameServers[0]),
+ *                 example.nameServers().applyValue(nameServers -> nameServers[1]),
+ *                 example.nameServers().applyValue(nameServers -> nameServers[2]),
+ *                 example.nameServers().applyValue(nameServers -> nameServers[3]))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverConfig.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverConfig.java index 5734b6320fc..49038c4f8eb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverConfig.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,20 +43,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var exampleResolverConfig = new ResolverConfig("exampleResolverConfig", ResolverConfigArgs.builder()        
+ *         var exampleResolverConfig = new ResolverConfig("exampleResolverConfig", ResolverConfigArgs.builder()        
  *             .resourceId(example.id())
- *             .autodefinedReverseFlag("DISABLE")
+ *             .autodefinedReverseFlag("DISABLE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverDnsSecConfig.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverDnsSecConfig.java index f567fe4f894..22cf3907679 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverDnsSecConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverDnsSecConfig.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,19 +43,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var exampleResolverDnsSecConfig = new ResolverDnsSecConfig("exampleResolverDnsSecConfig", ResolverDnsSecConfigArgs.builder()        
+ *         var exampleResolverDnsSecConfig = new ResolverDnsSecConfig("exampleResolverDnsSecConfig", ResolverDnsSecConfigArgs.builder()        
  *             .resourceId(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverEndpoint.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverEndpoint.java index d4aa3be8144..80d795ca968 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverEndpoint.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,9 +46,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new ResolverEndpoint("foo", ResolverEndpointArgs.builder()        
- *             .name("foo")
- *             .direction("INBOUND")
+ *         var foo = new ResolverEndpoint("foo", ResolverEndpointArgs.builder()        
+ *             .name("foo")
+ *             .direction("INBOUND")
  *             .securityGroupIds(            
  *                 sg1.id(),
  *                 sg2.id())
@@ -57,17 +58,18 @@
  *                     .build(),
  *                 ResolverEndpointIpAddressArgs.builder()
  *                     .subnetId(sn2.id())
- *                     .ip("10.0.64.4")
+ *                     .ip("10.0.64.4")
  *                     .build())
  *             .protocols(            
- *                 "Do53",
- *                 "DoH")
- *             .tags(Map.of("Environment", "Prod"))
+ *                 "Do53",
+ *                 "DoH")
+ *             .tags(Map.of("Environment", "Prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallConfig.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallConfig.java index e0bcd3ad87e..9cf41edddc2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallConfig.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,20 +43,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var exampleResolverFirewallConfig = new ResolverFirewallConfig("exampleResolverFirewallConfig", ResolverFirewallConfigArgs.builder()        
+ *         var exampleResolverFirewallConfig = new ResolverFirewallConfig("exampleResolverFirewallConfig", ResolverFirewallConfigArgs.builder()        
  *             .resourceId(example.id())
- *             .firewallFailOpen("ENABLED")
+ *             .firewallFailOpen("ENABLED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallDomainList.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallDomainList.java index 94f63689bf4..1666388d08a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallDomainList.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallDomainList.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverFirewallDomainList("example", ResolverFirewallDomainListArgs.builder()        
- *             .name("example")
+ *         var example = new ResolverFirewallDomainList("example", ResolverFirewallDomainListArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRule.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRule.java index 1b79ee07aee..1bb030c4bcf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRule.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,24 +47,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverFirewallDomainList("example", ResolverFirewallDomainListArgs.builder()        
- *             .name("example")
- *             .domains("example.com")
+ *         var example = new ResolverFirewallDomainList("example", ResolverFirewallDomainListArgs.builder()        
+ *             .name("example")
+ *             .domains("example.com")
  *             .tags()
  *             .build());
  * 
- *         var exampleResolverFirewallRuleGroup = new ResolverFirewallRuleGroup("exampleResolverFirewallRuleGroup", ResolverFirewallRuleGroupArgs.builder()        
- *             .name("example")
+ *         var exampleResolverFirewallRuleGroup = new ResolverFirewallRuleGroup("exampleResolverFirewallRuleGroup", ResolverFirewallRuleGroupArgs.builder()        
+ *             .name("example")
  *             .tags()
  *             .build());
  * 
- *         var exampleResolverFirewallRule = new ResolverFirewallRule("exampleResolverFirewallRule", ResolverFirewallRuleArgs.builder()        
- *             .name("example")
- *             .action("BLOCK")
- *             .blockOverrideDnsType("CNAME")
- *             .blockOverrideDomain("example.com")
+ *         var exampleResolverFirewallRule = new ResolverFirewallRule("exampleResolverFirewallRule", ResolverFirewallRuleArgs.builder()        
+ *             .name("example")
+ *             .action("BLOCK")
+ *             .blockOverrideDnsType("CNAME")
+ *             .blockOverrideDomain("example.com")
  *             .blockOverrideTtl(1)
- *             .blockResponse("OVERRIDE")
+ *             .blockResponse("OVERRIDE")
  *             .firewallDomainListId(example.id())
  *             .firewallRuleGroupId(exampleResolverFirewallRuleGroup.id())
  *             .priority(100)
@@ -71,7 +72,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroup.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroup.java index 50bf14220d9..3fd176a4725 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroup.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverFirewallRuleGroup("example", ResolverFirewallRuleGroupArgs.builder()        
- *             .name("example")
+ *         var example = new ResolverFirewallRuleGroup("example", ResolverFirewallRuleGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroupAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroupAssociation.java index e8b4a0121be..ad28f76f841 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroupAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverFirewallRuleGroupAssociation.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,12 +46,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverFirewallRuleGroup("example", ResolverFirewallRuleGroupArgs.builder()        
- *             .name("example")
+ *         var example = new ResolverFirewallRuleGroup("example", ResolverFirewallRuleGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleResolverFirewallRuleGroupAssociation = new ResolverFirewallRuleGroupAssociation("exampleResolverFirewallRuleGroupAssociation", ResolverFirewallRuleGroupAssociationArgs.builder()        
- *             .name("example")
+ *         var exampleResolverFirewallRuleGroupAssociation = new ResolverFirewallRuleGroupAssociation("exampleResolverFirewallRuleGroupAssociation", ResolverFirewallRuleGroupAssociationArgs.builder()        
+ *             .name("example")
  *             .firewallRuleGroupId(example.id())
  *             .priority(100)
  *             .vpcId(exampleAwsVpc.id())
@@ -58,7 +59,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfig.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfig.java index ad8cb9907e9..b9a99046b38 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfig.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverQueryLogConfig("example", ResolverQueryLogConfigArgs.builder()        
- *             .name("example")
+ *         var example = new ResolverQueryLogConfig("example", ResolverQueryLogConfigArgs.builder()        
+ *             .name("example")
  *             .destinationArn(exampleAwsS3Bucket.arn())
- *             .tags(Map.of("Environment", "Prod"))
+ *             .tags(Map.of("Environment", "Prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfigAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfigAssociation.java index 2e55fd954ca..b7f8f95819d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfigAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverQueryLogConfigAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverQueryLogConfigAssociation("example", ResolverQueryLogConfigAssociationArgs.builder()        
+ *         var example = new ResolverQueryLogConfigAssociation("example", ResolverQueryLogConfigAssociationArgs.builder()        
  *             .resolverQueryLogConfigId(exampleAwsRoute53ResolverQueryLogConfig.id())
  *             .resourceId(exampleAwsVpc.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRule.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRule.java index f6021f284e8..3aa7083de99 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRule.java @@ -25,7 +25,8 @@ * ### System rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sys = new ResolverRule("sys", ResolverRuleArgs.builder()        
- *             .domainName("subdomain.example.com")
- *             .ruleType("SYSTEM")
+ *         var sys = new ResolverRule("sys", ResolverRuleArgs.builder()        
+ *             .domainName("subdomain.example.com")
+ *             .ruleType("SYSTEM")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Forward rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,20 +84,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fwd = new ResolverRule("fwd", ResolverRuleArgs.builder()        
- *             .domainName("example.com")
- *             .name("example")
- *             .ruleType("FORWARD")
+ *         var fwd = new ResolverRule("fwd", ResolverRuleArgs.builder()        
+ *             .domainName("example.com")
+ *             .name("example")
+ *             .ruleType("FORWARD")
  *             .resolverEndpointId(foo.id())
  *             .targetIps(ResolverRuleTargetIpArgs.builder()
- *                 .ip("123.45.67.89")
+ *                 .ip("123.45.67.89")
  *                 .build())
- *             .tags(Map.of("Environment", "Prod"))
+ *             .tags(Map.of("Environment", "Prod"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRuleAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRuleAssociation.java index a8ee1175196..aa69c7446df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRuleAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ResolverRuleAssociation.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResolverRuleAssociation("example", ResolverRuleAssociationArgs.builder()        
+ *         var example = new ResolverRuleAssociation("example", ResolverRuleAssociationArgs.builder()        
  *             .resolverRuleId(sys.id())
  *             .vpcId(foo.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/Route53Functions.java b/sdk/java/src/main/java/com/pulumi/aws/route53/Route53Functions.java index a0a71d3e896..0a232071fc0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/Route53Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/Route53Functions.java @@ -57,7 +57,8 @@ public final class Route53Functions { * The following example shows how to get a delegation set from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -79,12 +80,13 @@ public final class Route53Functions {
      * 
      *     public static void stack(Context ctx) {
      *         final var dset = Route53Functions.getDelegationSet(GetDelegationSetArgs.builder()
-     *             .id("MQWGHCBFAKEID")
+     *             .id("MQWGHCBFAKEID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -101,7 +103,8 @@ public static Output getDelegationSet(GetDelegationSetAr * The following example shows how to get a delegation set from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -123,12 +126,13 @@ public static Output getDelegationSet(GetDelegationSetAr
      * 
      *     public static void stack(Context ctx) {
      *         final var dset = Route53Functions.getDelegationSet(GetDelegationSetArgs.builder()
-     *             .id("MQWGHCBFAKEID")
+     *             .id("MQWGHCBFAKEID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -145,7 +149,8 @@ public static CompletableFuture getDelegationSetPlain(Ge * The following example shows how to get a delegation set from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -167,12 +172,13 @@ public static CompletableFuture getDelegationSetPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var dset = Route53Functions.getDelegationSet(GetDelegationSetArgs.builder()
-     *             .id("MQWGHCBFAKEID")
+     *             .id("MQWGHCBFAKEID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -189,7 +195,8 @@ public static Output getDelegationSet(GetDelegationSetAr * The following example shows how to get a delegation set from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -211,12 +218,13 @@ public static Output getDelegationSet(GetDelegationSetAr
      * 
      *     public static void stack(Context ctx) {
      *         final var dset = Route53Functions.getDelegationSet(GetDelegationSetArgs.builder()
-     *             .id("MQWGHCBFAKEID")
+     *             .id("MQWGHCBFAKEID")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -229,7 +237,8 @@ public static CompletableFuture getDelegationSetPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,16 +260,18 @@ public static CompletableFuture getDelegationSetPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
-     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
+     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -284,18 +295,19 @@ public static CompletableFuture getDelegationSetPlain(Ge
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
      *             .filters(            
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("Name")
-     *                     .values("shared-query-log-config")
+     *                     .name("Name")
+     *                     .values("shared-query-log-config")
      *                     .build(),
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("ShareStatus")
-     *                     .values("SHARED_WITH_ME")
+     *                     .name("ShareStatus")
+     *                     .values("SHARED_WITH_ME")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -308,7 +320,8 @@ public static Output getQueryLogConfig() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -330,16 +343,18 @@ public static Output getQueryLogConfig() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
-     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
+     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -363,18 +378,19 @@ public static Output getQueryLogConfig() {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
      *             .filters(            
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("Name")
-     *                     .values("shared-query-log-config")
+     *                     .name("Name")
+     *                     .values("shared-query-log-config")
      *                     .build(),
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("ShareStatus")
-     *                     .values("SHARED_WITH_ME")
+     *                     .name("ShareStatus")
+     *                     .values("SHARED_WITH_ME")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -387,7 +403,8 @@ public static CompletableFuture getQueryLogConfigPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -409,16 +426,18 @@ public static CompletableFuture getQueryLogConfigPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
-     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
+     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -442,18 +461,19 @@ public static CompletableFuture getQueryLogConfigPlain(
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
      *             .filters(            
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("Name")
-     *                     .values("shared-query-log-config")
+     *                     .name("Name")
+     *                     .values("shared-query-log-config")
      *                     .build(),
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("ShareStatus")
-     *                     .values("SHARED_WITH_ME")
+     *                     .name("ShareStatus")
+     *                     .values("SHARED_WITH_ME")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -466,7 +486,8 @@ public static Output getQueryLogConfig(GetQueryLogConfi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -488,16 +509,18 @@ public static Output getQueryLogConfig(GetQueryLogConfi
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
-     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
+     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -521,18 +544,19 @@ public static Output getQueryLogConfig(GetQueryLogConfi
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
      *             .filters(            
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("Name")
-     *                     .values("shared-query-log-config")
+     *                     .name("Name")
+     *                     .values("shared-query-log-config")
      *                     .build(),
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("ShareStatus")
-     *                     .values("SHARED_WITH_ME")
+     *                     .name("ShareStatus")
+     *                     .values("SHARED_WITH_ME")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -545,7 +569,8 @@ public static CompletableFuture getQueryLogConfigPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -567,16 +592,18 @@ public static CompletableFuture getQueryLogConfigPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
-     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
+     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -600,18 +627,19 @@ public static CompletableFuture getQueryLogConfigPlain(
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
      *             .filters(            
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("Name")
-     *                     .values("shared-query-log-config")
+     *                     .name("Name")
+     *                     .values("shared-query-log-config")
      *                     .build(),
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("ShareStatus")
-     *                     .values("SHARED_WITH_ME")
+     *                     .name("ShareStatus")
+     *                     .values("SHARED_WITH_ME")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -624,7 +652,8 @@ public static Output getQueryLogConfig(GetQueryLogConfi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -646,16 +675,18 @@ public static Output getQueryLogConfig(GetQueryLogConfi
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
-     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
+     *             .resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -679,18 +710,19 @@ public static Output getQueryLogConfig(GetQueryLogConfi
      *         final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
      *             .filters(            
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("Name")
-     *                     .values("shared-query-log-config")
+     *                     .name("Name")
+     *                     .values("shared-query-log-config")
      *                     .build(),
      *                 GetQueryLogConfigFilterArgs.builder()
-     *                     .name("ShareStatus")
-     *                     .values("SHARED_WITH_ME")
+     *                     .name("ShareStatus")
+     *                     .values("SHARED_WITH_ME")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -705,7 +737,8 @@ public static CompletableFuture getQueryLogConfigPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -727,16 +760,18 @@ public static CompletableFuture getQueryLogConfigPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
-     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
+     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -759,14 +794,15 @@ public static CompletableFuture getQueryLogConfigPlain(
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
      *             .filters(GetResolverEndpointFilterArgs.builder()
-     *                 .name("NAME")
-     *                 .values("MyResolverExampleName")
+     *                 .name("NAME")
+     *                 .values("MyResolverExampleName")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -781,7 +817,8 @@ public static Output getResolverEndpoint() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -803,16 +840,18 @@ public static Output getResolverEndpoint() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
-     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
+     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -835,14 +874,15 @@ public static Output getResolverEndpoint() {
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
      *             .filters(GetResolverEndpointFilterArgs.builder()
-     *                 .name("NAME")
-     *                 .values("MyResolverExampleName")
+     *                 .name("NAME")
+     *                 .values("MyResolverExampleName")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -857,7 +897,8 @@ public static CompletableFuture getResolverEndpointPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -879,16 +920,18 @@ public static CompletableFuture getResolverEndpointPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
-     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
+     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -911,14 +954,15 @@ public static CompletableFuture getResolverEndpointPl
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
      *             .filters(GetResolverEndpointFilterArgs.builder()
-     *                 .name("NAME")
-     *                 .values("MyResolverExampleName")
+     *                 .name("NAME")
+     *                 .values("MyResolverExampleName")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -933,7 +977,8 @@ public static Output getResolverEndpoint(GetResolverE * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -955,16 +1000,18 @@ public static Output getResolverEndpoint(GetResolverE
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
-     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
+     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -987,14 +1034,15 @@ public static Output getResolverEndpoint(GetResolverE
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
      *             .filters(GetResolverEndpointFilterArgs.builder()
-     *                 .name("NAME")
-     *                 .values("MyResolverExampleName")
+     *                 .name("NAME")
+     *                 .values("MyResolverExampleName")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1009,7 +1057,8 @@ public static CompletableFuture getResolverEndpointPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1031,16 +1080,18 @@ public static CompletableFuture getResolverEndpointPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
-     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
+     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1063,14 +1114,15 @@ public static CompletableFuture getResolverEndpointPl
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
      *             .filters(GetResolverEndpointFilterArgs.builder()
-     *                 .name("NAME")
-     *                 .values("MyResolverExampleName")
+     *                 .name("NAME")
+     *                 .values("MyResolverExampleName")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1085,7 +1137,8 @@ public static Output getResolverEndpoint(GetResolverE * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1107,16 +1160,18 @@ public static Output getResolverEndpoint(GetResolverE
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
-     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
+     *             .resolverEndpointId("rslvr-in-1abc2345ef678g91h")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1139,14 +1194,15 @@ public static Output getResolverEndpoint(GetResolverE
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverEndpoint(GetResolverEndpointArgs.builder()
      *             .filters(GetResolverEndpointFilterArgs.builder()
-     *                 .name("NAME")
-     *                 .values("MyResolverExampleName")
+     *                 .name("NAME")
+     *                 .values("MyResolverExampleName")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1163,7 +1219,8 @@ public static CompletableFuture getResolverEndpointPl * The following example shows how to get a firewall config using the VPC ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1185,12 +1242,13 @@ public static CompletableFuture getResolverEndpointPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallConfig(GetResolverFirewallConfigArgs.builder()
-     *             .resourceId("vpc-exampleid")
+     *             .resourceId("vpc-exampleid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1207,7 +1265,8 @@ public static Output getResolverFirewallConfig( * The following example shows how to get a firewall config using the VPC ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1229,12 +1288,13 @@ public static Output getResolverFirewallConfig(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallConfig(GetResolverFirewallConfigArgs.builder()
-     *             .resourceId("vpc-exampleid")
+     *             .resourceId("vpc-exampleid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1251,7 +1311,8 @@ public static CompletableFuture getResolverFire * The following example shows how to get a firewall config using the VPC ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1273,12 +1334,13 @@ public static CompletableFuture getResolverFire
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallConfig(GetResolverFirewallConfigArgs.builder()
-     *             .resourceId("vpc-exampleid")
+     *             .resourceId("vpc-exampleid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1295,7 +1357,8 @@ public static Output getResolverFirewallConfig( * The following example shows how to get a firewall config using the VPC ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1317,12 +1380,13 @@ public static Output getResolverFirewallConfig(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallConfig(GetResolverFirewallConfigArgs.builder()
-     *             .resourceId("vpc-exampleid")
+     *             .resourceId("vpc-exampleid")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1339,7 +1403,8 @@ public static CompletableFuture getResolverFire * The following example shows how to get a firewall domain list from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1361,12 +1426,13 @@ public static CompletableFuture getResolverFire
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallDomainList(GetResolverFirewallDomainListArgs.builder()
-     *             .firewallDomainListId("rslvr-fdl-example")
+     *             .firewallDomainListId("rslvr-fdl-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1383,7 +1449,8 @@ public static Output getResolverFirewallDom * The following example shows how to get a firewall domain list from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1405,12 +1472,13 @@ public static Output getResolverFirewallDom
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallDomainList(GetResolverFirewallDomainListArgs.builder()
-     *             .firewallDomainListId("rslvr-fdl-example")
+     *             .firewallDomainListId("rslvr-fdl-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1427,7 +1495,8 @@ public static CompletableFuture getResolver * The following example shows how to get a firewall domain list from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1449,12 +1518,13 @@ public static CompletableFuture getResolver
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallDomainList(GetResolverFirewallDomainListArgs.builder()
-     *             .firewallDomainListId("rslvr-fdl-example")
+     *             .firewallDomainListId("rslvr-fdl-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1471,7 +1541,8 @@ public static Output getResolverFirewallDom * The following example shows how to get a firewall domain list from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1493,12 +1564,13 @@ public static Output getResolverFirewallDom
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallDomainList(GetResolverFirewallDomainListArgs.builder()
-     *             .firewallDomainListId("rslvr-fdl-example")
+     *             .firewallDomainListId("rslvr-fdl-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1515,7 +1587,8 @@ public static CompletableFuture getResolver * The following example shows how to get a firewall rule group from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1537,12 +1610,13 @@ public static CompletableFuture getResolver
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs.builder()
-     *             .firewallRuleGroupId("rslvr-frg-example")
+     *             .firewallRuleGroupId("rslvr-frg-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1559,7 +1633,8 @@ public static Output getResolverFirewallRule * The following example shows how to get a firewall rule group from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1581,12 +1656,13 @@ public static Output getResolverFirewallRule
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs.builder()
-     *             .firewallRuleGroupId("rslvr-frg-example")
+     *             .firewallRuleGroupId("rslvr-frg-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1603,7 +1679,8 @@ public static CompletableFuture getResolverF * The following example shows how to get a firewall rule group from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1625,12 +1702,13 @@ public static CompletableFuture getResolverF
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs.builder()
-     *             .firewallRuleGroupId("rslvr-frg-example")
+     *             .firewallRuleGroupId("rslvr-frg-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1647,7 +1725,8 @@ public static Output getResolverFirewallRule * The following example shows how to get a firewall rule group from its ID. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1669,12 +1748,13 @@ public static Output getResolverFirewallRule
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroup(GetResolverFirewallRuleGroupArgs.builder()
-     *             .firewallRuleGroupId("rslvr-frg-example")
+     *             .firewallRuleGroupId("rslvr-frg-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1691,7 +1771,8 @@ public static CompletableFuture getResolverF * The following example shows how to get a firewall rule group association from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1713,12 +1794,13 @@ public static CompletableFuture getResolverF
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs.builder()
-     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
+     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1735,7 +1817,8 @@ public static Output getResolverF * The following example shows how to get a firewall rule group association from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1757,12 +1840,13 @@ public static Output getResolverF
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs.builder()
-     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
+     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1779,7 +1863,8 @@ public static CompletableFuture g * The following example shows how to get a firewall rule group association from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1801,12 +1886,13 @@ public static CompletableFuture g
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs.builder()
-     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
+     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1823,7 +1909,8 @@ public static Output getResolverF * The following example shows how to get a firewall rule group association from its id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1845,12 +1932,13 @@ public static Output getResolverF
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverFirewallRuleGroupAssociation(GetResolverFirewallRuleGroupAssociationArgs.builder()
-     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
+     *             .firewallRuleGroupAssociationId("rslvr-frgassoc-example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1865,7 +1953,8 @@ public static CompletableFuture g * The following example shows how to get Route53 Resolver Firewall rules based on its associated firewall group id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1892,7 +1981,8 @@ public static CompletableFuture g
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1907,7 +1997,8 @@ public static Output getResolverFirewallRules(Ge * The following example shows how to get Route53 Resolver Firewall rules based on its associated firewall group id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1934,7 +2025,8 @@ public static Output getResolverFirewallRules(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1949,7 +2041,8 @@ public static CompletableFuture getResolverFirew * The following example shows how to get Route53 Resolver Firewall rules based on its associated firewall group id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1976,7 +2069,8 @@ public static CompletableFuture getResolverFirew
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1991,7 +2085,8 @@ public static Output getResolverFirewallRules(Ge * The following example shows how to get Route53 Resolver Firewall rules based on its associated firewall group id. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2018,7 +2113,8 @@ public static Output getResolverFirewallRules(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2033,7 +2129,8 @@ public static CompletableFuture getResolverFirew * The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2055,13 +2152,14 @@ public static CompletableFuture getResolverFirew
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRule(GetResolverRuleArgs.builder()
-     *             .domainName("subdomain.example.com")
-     *             .ruleType("SYSTEM")
+     *             .domainName("subdomain.example.com")
+     *             .ruleType("SYSTEM")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2076,7 +2174,8 @@ public static Output getResolverRule() { * The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2098,13 +2197,14 @@ public static Output getResolverRule() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRule(GetResolverRuleArgs.builder()
-     *             .domainName("subdomain.example.com")
-     *             .ruleType("SYSTEM")
+     *             .domainName("subdomain.example.com")
+     *             .ruleType("SYSTEM")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2119,7 +2219,8 @@ public static CompletableFuture getResolverRulePlain() { * The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2141,13 +2242,14 @@ public static CompletableFuture getResolverRulePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRule(GetResolverRuleArgs.builder()
-     *             .domainName("subdomain.example.com")
-     *             .ruleType("SYSTEM")
+     *             .domainName("subdomain.example.com")
+     *             .ruleType("SYSTEM")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2162,7 +2264,8 @@ public static Output getResolverRule(GetResolverRuleArgs * The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2184,13 +2287,14 @@ public static Output getResolverRule(GetResolverRuleArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRule(GetResolverRuleArgs.builder()
-     *             .domainName("subdomain.example.com")
-     *             .ruleType("SYSTEM")
+     *             .domainName("subdomain.example.com")
+     *             .ruleType("SYSTEM")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2205,7 +2309,8 @@ public static CompletableFuture getResolverRulePlain(GetR * The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2227,13 +2332,14 @@ public static CompletableFuture getResolverRulePlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRule(GetResolverRuleArgs.builder()
-     *             .domainName("subdomain.example.com")
-     *             .ruleType("SYSTEM")
+     *             .domainName("subdomain.example.com")
+     *             .ruleType("SYSTEM")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2248,7 +2354,8 @@ public static Output getResolverRule(GetResolverRuleArgs * The following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2270,13 +2377,14 @@ public static Output getResolverRule(GetResolverRuleArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRule(GetResolverRuleArgs.builder()
-     *             .domainName("subdomain.example.com")
-     *             .ruleType("SYSTEM")
+     *             .domainName("subdomain.example.com")
+     *             .ruleType("SYSTEM")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2291,7 +2399,8 @@ public static CompletableFuture getResolverRulePlain(GetR * ### Retrieving the default resolver rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2313,20 +2422,22 @@ public static CompletableFuture getResolverRulePlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ownerId("Route 53 Resolver")
-     *             .ruleType("RECURSIVE")
-     *             .shareStatus("NOT_SHARED")
+     *             .ownerId("Route 53 Resolver")
+     *             .ruleType("RECURSIVE")
+     *             .shareStatus("NOT_SHARED")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving forward rules shared with me * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2348,13 +2459,14 @@ public static CompletableFuture getResolverRulePlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ruleType("FORWARD")
-     *             .shareStatus("SHARED_WITH_ME")
+     *             .ruleType("FORWARD")
+     *             .shareStatus("SHARED_WITH_ME")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving rules by name regex @@ -2362,7 +2474,8 @@ public static CompletableFuture getResolverRulePlain(GetR * Resolver rules whose name contains `abc`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2384,12 +2497,13 @@ public static CompletableFuture getResolverRulePlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2404,7 +2518,8 @@ public static Output getResolverRules() { * ### Retrieving the default resolver rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2426,20 +2541,22 @@ public static Output getResolverRules() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ownerId("Route 53 Resolver")
-     *             .ruleType("RECURSIVE")
-     *             .shareStatus("NOT_SHARED")
+     *             .ownerId("Route 53 Resolver")
+     *             .ruleType("RECURSIVE")
+     *             .shareStatus("NOT_SHARED")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving forward rules shared with me * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2461,13 +2578,14 @@ public static Output getResolverRules() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ruleType("FORWARD")
-     *             .shareStatus("SHARED_WITH_ME")
+     *             .ruleType("FORWARD")
+     *             .shareStatus("SHARED_WITH_ME")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving rules by name regex @@ -2475,7 +2593,8 @@ public static Output getResolverRules() { * Resolver rules whose name contains `abc`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2497,12 +2616,13 @@ public static Output getResolverRules() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2517,7 +2637,8 @@ public static CompletableFuture getResolverRulesPlain() * ### Retrieving the default resolver rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2539,20 +2660,22 @@ public static CompletableFuture getResolverRulesPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ownerId("Route 53 Resolver")
-     *             .ruleType("RECURSIVE")
-     *             .shareStatus("NOT_SHARED")
+     *             .ownerId("Route 53 Resolver")
+     *             .ruleType("RECURSIVE")
+     *             .shareStatus("NOT_SHARED")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving forward rules shared with me * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2574,13 +2697,14 @@ public static CompletableFuture getResolverRulesPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ruleType("FORWARD")
-     *             .shareStatus("SHARED_WITH_ME")
+     *             .ruleType("FORWARD")
+     *             .shareStatus("SHARED_WITH_ME")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving rules by name regex @@ -2588,7 +2712,8 @@ public static CompletableFuture getResolverRulesPlain() * Resolver rules whose name contains `abc`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2610,12 +2735,13 @@ public static CompletableFuture getResolverRulesPlain()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2630,7 +2756,8 @@ public static Output getResolverRules(GetResolverRulesAr * ### Retrieving the default resolver rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2652,20 +2779,22 @@ public static Output getResolverRules(GetResolverRulesAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ownerId("Route 53 Resolver")
-     *             .ruleType("RECURSIVE")
-     *             .shareStatus("NOT_SHARED")
+     *             .ownerId("Route 53 Resolver")
+     *             .ruleType("RECURSIVE")
+     *             .shareStatus("NOT_SHARED")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving forward rules shared with me * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2687,13 +2816,14 @@ public static Output getResolverRules(GetResolverRulesAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ruleType("FORWARD")
-     *             .shareStatus("SHARED_WITH_ME")
+     *             .ruleType("FORWARD")
+     *             .shareStatus("SHARED_WITH_ME")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving rules by name regex @@ -2701,7 +2831,8 @@ public static Output getResolverRules(GetResolverRulesAr * Resolver rules whose name contains `abc`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2723,12 +2854,13 @@ public static Output getResolverRules(GetResolverRulesAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2743,7 +2875,8 @@ public static CompletableFuture getResolverRulesPlain(Ge * ### Retrieving the default resolver rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2765,20 +2898,22 @@ public static CompletableFuture getResolverRulesPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ownerId("Route 53 Resolver")
-     *             .ruleType("RECURSIVE")
-     *             .shareStatus("NOT_SHARED")
+     *             .ownerId("Route 53 Resolver")
+     *             .ruleType("RECURSIVE")
+     *             .shareStatus("NOT_SHARED")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving forward rules shared with me * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2800,13 +2935,14 @@ public static CompletableFuture getResolverRulesPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ruleType("FORWARD")
-     *             .shareStatus("SHARED_WITH_ME")
+     *             .ruleType("FORWARD")
+     *             .shareStatus("SHARED_WITH_ME")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving rules by name regex @@ -2814,7 +2950,8 @@ public static CompletableFuture getResolverRulesPlain(Ge * Resolver rules whose name contains `abc`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2836,12 +2973,13 @@ public static CompletableFuture getResolverRulesPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2856,7 +2994,8 @@ public static Output getResolverRules(GetResolverRulesAr * ### Retrieving the default resolver rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2878,20 +3017,22 @@ public static Output getResolverRules(GetResolverRulesAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ownerId("Route 53 Resolver")
-     *             .ruleType("RECURSIVE")
-     *             .shareStatus("NOT_SHARED")
+     *             .ownerId("Route 53 Resolver")
+     *             .ruleType("RECURSIVE")
+     *             .shareStatus("NOT_SHARED")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving forward rules shared with me * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2913,13 +3054,14 @@ public static Output getResolverRules(GetResolverRulesAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .ruleType("FORWARD")
-     *             .shareStatus("SHARED_WITH_ME")
+     *             .ruleType("FORWARD")
+     *             .shareStatus("SHARED_WITH_ME")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieving rules by name regex @@ -2927,7 +3069,8 @@ public static Output getResolverRules(GetResolverRulesAr * Resolver rules whose name contains `abc`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2949,12 +3092,13 @@ public static Output getResolverRules(GetResolverRulesAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getResolverRules(GetResolverRulesArgs.builder()
-     *             .nameRegex(".*abc.*")
+     *             .nameRegex(".*abc.*")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2969,7 +3113,8 @@ public static CompletableFuture getResolverRulesPlain(Ge * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2997,41 +3142,42 @@ public static CompletableFuture getResolverRulesPlain(Ge
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("site_switch")
+     *             .recordType("A")
+     *             .startRule("site_switch")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("my_elb")
-     *                     .type("elastic-load-balancer")
-     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *                     .id("my_elb")
+     *                     .type("elastic-load-balancer")
+     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("site_down_banner")
-     *                     .type("s3-website")
-     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *                     .value("www.example.com")
+     *                     .id("site_down_banner")
+     *                     .type("s3-website")
+     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *                     .value("www.example.com")
      *                     .build())
      *             .rules(GetTrafficPolicyDocumentRuleArgs.builder()
-     *                 .id("site_switch")
-     *                 .type("failover")
+     *                 .id("site_switch")
+     *                 .type("failover")
      *                 .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                     .endpointReference("my_elb")
+     *                     .endpointReference("my_elb")
      *                     .build())
      *                 .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                     .endpointReference("site_down_banner")
+     *                     .endpointReference("site_down_banner")
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Complex Example @@ -3039,7 +3185,8 @@ public static CompletableFuture getResolverRulesPlain(Ge * The following example showcases the use of nested rules within the traffic policy document and introduces the `geoproximity` rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3063,74 +3210,75 @@ public static CompletableFuture getResolverRulesPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("geoproximity_rule")
+     *             .recordType("A")
+     *             .startRule("geoproximity_rule")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_a")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_a")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_b")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_b")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("eu_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
+     *                     .id("eu_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("ap_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
+     *                     .id("ap_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
      *                     .build())
      *             .rules(            
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("na_rule")
-     *                     .type("failover")
+     *                     .id("na_rule")
+     *                     .type("failover")
      *                     .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                         .endpointReference("na_endpoint_a")
+     *                         .endpointReference("na_endpoint_a")
      *                         .build())
      *                     .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                         .endpointReference("na_endpoint_b")
+     *                         .endpointReference("na_endpoint_b")
      *                         .build())
      *                     .build(),
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("geoproximity_rule")
-     *                     .type("geoproximity")
+     *                     .id("geoproximity_rule")
+     *                     .type("geoproximity")
      *                     .geoProximityLocations(                    
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:us-west-1")
+     *                             .region("aws:route53:us-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .ruleReference("na_rule")
+     *                             .ruleReference("na_rule")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:eu-west-1")
+     *                             .region("aws:route53:eu-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("eu_endpoint")
+     *                             .endpointReference("eu_endpoint")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:ap-northeast-2")
+     *                             .region("aws:route53:ap-northeast-2")
      *                             .bias(0)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("ap_endpoint")
+     *                             .endpointReference("ap_endpoint")
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3145,7 +3293,8 @@ public static Output getTrafficPolicyDocument() * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3173,41 +3322,42 @@ public static Output getTrafficPolicyDocument()
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("site_switch")
+     *             .recordType("A")
+     *             .startRule("site_switch")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("my_elb")
-     *                     .type("elastic-load-balancer")
-     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *                     .id("my_elb")
+     *                     .type("elastic-load-balancer")
+     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("site_down_banner")
-     *                     .type("s3-website")
-     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *                     .value("www.example.com")
+     *                     .id("site_down_banner")
+     *                     .type("s3-website")
+     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *                     .value("www.example.com")
      *                     .build())
      *             .rules(GetTrafficPolicyDocumentRuleArgs.builder()
-     *                 .id("site_switch")
-     *                 .type("failover")
+     *                 .id("site_switch")
+     *                 .type("failover")
      *                 .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                     .endpointReference("my_elb")
+     *                     .endpointReference("my_elb")
      *                     .build())
      *                 .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                     .endpointReference("site_down_banner")
+     *                     .endpointReference("site_down_banner")
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Complex Example @@ -3215,7 +3365,8 @@ public static Output getTrafficPolicyDocument() * The following example showcases the use of nested rules within the traffic policy document and introduces the `geoproximity` rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3239,74 +3390,75 @@ public static Output getTrafficPolicyDocument()
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("geoproximity_rule")
+     *             .recordType("A")
+     *             .startRule("geoproximity_rule")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_a")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_a")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_b")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_b")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("eu_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
+     *                     .id("eu_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("ap_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
+     *                     .id("ap_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
      *                     .build())
      *             .rules(            
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("na_rule")
-     *                     .type("failover")
+     *                     .id("na_rule")
+     *                     .type("failover")
      *                     .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                         .endpointReference("na_endpoint_a")
+     *                         .endpointReference("na_endpoint_a")
      *                         .build())
      *                     .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                         .endpointReference("na_endpoint_b")
+     *                         .endpointReference("na_endpoint_b")
      *                         .build())
      *                     .build(),
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("geoproximity_rule")
-     *                     .type("geoproximity")
+     *                     .id("geoproximity_rule")
+     *                     .type("geoproximity")
      *                     .geoProximityLocations(                    
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:us-west-1")
+     *                             .region("aws:route53:us-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .ruleReference("na_rule")
+     *                             .ruleReference("na_rule")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:eu-west-1")
+     *                             .region("aws:route53:eu-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("eu_endpoint")
+     *                             .endpointReference("eu_endpoint")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:ap-northeast-2")
+     *                             .region("aws:route53:ap-northeast-2")
      *                             .bias(0)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("ap_endpoint")
+     *                             .endpointReference("ap_endpoint")
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3321,7 +3473,8 @@ public static CompletableFuture getTrafficPolicy * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3349,41 +3502,42 @@ public static CompletableFuture getTrafficPolicy
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("site_switch")
+     *             .recordType("A")
+     *             .startRule("site_switch")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("my_elb")
-     *                     .type("elastic-load-balancer")
-     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *                     .id("my_elb")
+     *                     .type("elastic-load-balancer")
+     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("site_down_banner")
-     *                     .type("s3-website")
-     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *                     .value("www.example.com")
+     *                     .id("site_down_banner")
+     *                     .type("s3-website")
+     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *                     .value("www.example.com")
      *                     .build())
      *             .rules(GetTrafficPolicyDocumentRuleArgs.builder()
-     *                 .id("site_switch")
-     *                 .type("failover")
+     *                 .id("site_switch")
+     *                 .type("failover")
      *                 .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                     .endpointReference("my_elb")
+     *                     .endpointReference("my_elb")
      *                     .build())
      *                 .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                     .endpointReference("site_down_banner")
+     *                     .endpointReference("site_down_banner")
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Complex Example @@ -3391,7 +3545,8 @@ public static CompletableFuture getTrafficPolicy * The following example showcases the use of nested rules within the traffic policy document and introduces the `geoproximity` rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3415,74 +3570,75 @@ public static CompletableFuture getTrafficPolicy
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("geoproximity_rule")
+     *             .recordType("A")
+     *             .startRule("geoproximity_rule")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_a")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_a")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_b")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_b")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("eu_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
+     *                     .id("eu_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("ap_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
+     *                     .id("ap_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
      *                     .build())
      *             .rules(            
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("na_rule")
-     *                     .type("failover")
+     *                     .id("na_rule")
+     *                     .type("failover")
      *                     .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                         .endpointReference("na_endpoint_a")
+     *                         .endpointReference("na_endpoint_a")
      *                         .build())
      *                     .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                         .endpointReference("na_endpoint_b")
+     *                         .endpointReference("na_endpoint_b")
      *                         .build())
      *                     .build(),
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("geoproximity_rule")
-     *                     .type("geoproximity")
+     *                     .id("geoproximity_rule")
+     *                     .type("geoproximity")
      *                     .geoProximityLocations(                    
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:us-west-1")
+     *                             .region("aws:route53:us-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .ruleReference("na_rule")
+     *                             .ruleReference("na_rule")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:eu-west-1")
+     *                             .region("aws:route53:eu-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("eu_endpoint")
+     *                             .endpointReference("eu_endpoint")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:ap-northeast-2")
+     *                             .region("aws:route53:ap-northeast-2")
      *                             .bias(0)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("ap_endpoint")
+     *                             .endpointReference("ap_endpoint")
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3497,7 +3653,8 @@ public static Output getTrafficPolicyDocument(Ge * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3525,41 +3682,42 @@ public static Output getTrafficPolicyDocument(Ge
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("site_switch")
+     *             .recordType("A")
+     *             .startRule("site_switch")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("my_elb")
-     *                     .type("elastic-load-balancer")
-     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *                     .id("my_elb")
+     *                     .type("elastic-load-balancer")
+     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("site_down_banner")
-     *                     .type("s3-website")
-     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *                     .value("www.example.com")
+     *                     .id("site_down_banner")
+     *                     .type("s3-website")
+     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *                     .value("www.example.com")
      *                     .build())
      *             .rules(GetTrafficPolicyDocumentRuleArgs.builder()
-     *                 .id("site_switch")
-     *                 .type("failover")
+     *                 .id("site_switch")
+     *                 .type("failover")
      *                 .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                     .endpointReference("my_elb")
+     *                     .endpointReference("my_elb")
      *                     .build())
      *                 .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                     .endpointReference("site_down_banner")
+     *                     .endpointReference("site_down_banner")
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Complex Example @@ -3567,7 +3725,8 @@ public static Output getTrafficPolicyDocument(Ge * The following example showcases the use of nested rules within the traffic policy document and introduces the `geoproximity` rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3591,74 +3750,75 @@ public static Output getTrafficPolicyDocument(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("geoproximity_rule")
+     *             .recordType("A")
+     *             .startRule("geoproximity_rule")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_a")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_a")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_b")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_b")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("eu_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
+     *                     .id("eu_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("ap_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
+     *                     .id("ap_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
      *                     .build())
      *             .rules(            
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("na_rule")
-     *                     .type("failover")
+     *                     .id("na_rule")
+     *                     .type("failover")
      *                     .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                         .endpointReference("na_endpoint_a")
+     *                         .endpointReference("na_endpoint_a")
      *                         .build())
      *                     .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                         .endpointReference("na_endpoint_b")
+     *                         .endpointReference("na_endpoint_b")
      *                         .build())
      *                     .build(),
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("geoproximity_rule")
-     *                     .type("geoproximity")
+     *                     .id("geoproximity_rule")
+     *                     .type("geoproximity")
      *                     .geoProximityLocations(                    
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:us-west-1")
+     *                             .region("aws:route53:us-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .ruleReference("na_rule")
+     *                             .ruleReference("na_rule")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:eu-west-1")
+     *                             .region("aws:route53:eu-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("eu_endpoint")
+     *                             .endpointReference("eu_endpoint")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:ap-northeast-2")
+     *                             .region("aws:route53:ap-northeast-2")
      *                             .bias(0)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("ap_endpoint")
+     *                             .endpointReference("ap_endpoint")
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3673,7 +3833,8 @@ public static CompletableFuture getTrafficPolicy * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3701,41 +3862,42 @@ public static CompletableFuture getTrafficPolicy
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("site_switch")
+     *             .recordType("A")
+     *             .startRule("site_switch")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("my_elb")
-     *                     .type("elastic-load-balancer")
-     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *                     .id("my_elb")
+     *                     .type("elastic-load-balancer")
+     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("site_down_banner")
-     *                     .type("s3-website")
-     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *                     .value("www.example.com")
+     *                     .id("site_down_banner")
+     *                     .type("s3-website")
+     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *                     .value("www.example.com")
      *                     .build())
      *             .rules(GetTrafficPolicyDocumentRuleArgs.builder()
-     *                 .id("site_switch")
-     *                 .type("failover")
+     *                 .id("site_switch")
+     *                 .type("failover")
      *                 .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                     .endpointReference("my_elb")
+     *                     .endpointReference("my_elb")
      *                     .build())
      *                 .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                     .endpointReference("site_down_banner")
+     *                     .endpointReference("site_down_banner")
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Complex Example @@ -3743,7 +3905,8 @@ public static CompletableFuture getTrafficPolicy * The following example showcases the use of nested rules within the traffic policy document and introduces the `geoproximity` rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3767,74 +3930,75 @@ public static CompletableFuture getTrafficPolicy
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("geoproximity_rule")
+     *             .recordType("A")
+     *             .startRule("geoproximity_rule")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_a")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_a")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_b")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_b")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("eu_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
+     *                     .id("eu_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("ap_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
+     *                     .id("ap_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
      *                     .build())
      *             .rules(            
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("na_rule")
-     *                     .type("failover")
+     *                     .id("na_rule")
+     *                     .type("failover")
      *                     .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                         .endpointReference("na_endpoint_a")
+     *                         .endpointReference("na_endpoint_a")
      *                         .build())
      *                     .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                         .endpointReference("na_endpoint_b")
+     *                         .endpointReference("na_endpoint_b")
      *                         .build())
      *                     .build(),
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("geoproximity_rule")
-     *                     .type("geoproximity")
+     *                     .id("geoproximity_rule")
+     *                     .type("geoproximity")
      *                     .geoProximityLocations(                    
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:us-west-1")
+     *                             .region("aws:route53:us-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .ruleReference("na_rule")
+     *                             .ruleReference("na_rule")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:eu-west-1")
+     *                             .region("aws:route53:eu-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("eu_endpoint")
+     *                             .endpointReference("eu_endpoint")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:ap-northeast-2")
+     *                             .region("aws:route53:ap-northeast-2")
      *                             .bias(0)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("ap_endpoint")
+     *                             .endpointReference("ap_endpoint")
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -3849,7 +4013,8 @@ public static Output getTrafficPolicyDocument(Ge * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3877,41 +4042,42 @@ public static Output getTrafficPolicyDocument(Ge
      *         final var current = AwsFunctions.getRegion();
      * 
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("site_switch")
+     *             .recordType("A")
+     *             .startRule("site_switch")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("my_elb")
-     *                     .type("elastic-load-balancer")
-     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
+     *                     .id("my_elb")
+     *                     .type("elastic-load-balancer")
+     *                     .value(String.format("elb-111111.%s.elb.amazonaws.com", current.applyValue(getRegionResult -> getRegionResult.name())))
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("site_down_banner")
-     *                     .type("s3-website")
-     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
-     *                     .value("www.example.com")
+     *                     .id("site_down_banner")
+     *                     .type("s3-website")
+     *                     .region(current.applyValue(getRegionResult -> getRegionResult.name()))
+     *                     .value("www.example.com")
      *                     .build())
      *             .rules(GetTrafficPolicyDocumentRuleArgs.builder()
-     *                 .id("site_switch")
-     *                 .type("failover")
+     *                 .id("site_switch")
+     *                 .type("failover")
      *                 .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                     .endpointReference("my_elb")
+     *                     .endpointReference("my_elb")
      *                     .build())
      *                 .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                     .endpointReference("site_down_banner")
+     *                     .endpointReference("site_down_banner")
      *                     .build())
      *                 .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Complex Example @@ -3919,7 +4085,8 @@ public static Output getTrafficPolicyDocument(Ge * The following example showcases the use of nested rules within the traffic policy document and introduces the `geoproximity` rule type. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -3943,74 +4110,75 @@ public static Output getTrafficPolicyDocument(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Route53Functions.getTrafficPolicyDocument(GetTrafficPolicyDocumentArgs.builder()
-     *             .recordType("A")
-     *             .startRule("geoproximity_rule")
+     *             .recordType("A")
+     *             .startRule("geoproximity_rule")
      *             .endpoints(            
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_a")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_a")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-111111.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("na_endpoint_b")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
+     *                     .id("na_endpoint_b")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-222222.us-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("eu_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
+     *                     .id("eu_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-333333.eu-west-1.elb.amazonaws.com")
      *                     .build(),
      *                 GetTrafficPolicyDocumentEndpointArgs.builder()
-     *                     .id("ap_endpoint")
-     *                     .type("elastic-load-balancer")
-     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
+     *                     .id("ap_endpoint")
+     *                     .type("elastic-load-balancer")
+     *                     .value("elb-444444.ap-northeast-2.elb.amazonaws.com")
      *                     .build())
      *             .rules(            
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("na_rule")
-     *                     .type("failover")
+     *                     .id("na_rule")
+     *                     .type("failover")
      *                     .primary(GetTrafficPolicyDocumentRulePrimaryArgs.builder()
-     *                         .endpointReference("na_endpoint_a")
+     *                         .endpointReference("na_endpoint_a")
      *                         .build())
      *                     .secondary(GetTrafficPolicyDocumentRuleSecondaryArgs.builder()
-     *                         .endpointReference("na_endpoint_b")
+     *                         .endpointReference("na_endpoint_b")
      *                         .build())
      *                     .build(),
      *                 GetTrafficPolicyDocumentRuleArgs.builder()
-     *                     .id("geoproximity_rule")
-     *                     .type("geoproximity")
+     *                     .id("geoproximity_rule")
+     *                     .type("geoproximity")
      *                     .geoProximityLocations(                    
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:us-west-1")
+     *                             .region("aws:route53:us-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .ruleReference("na_rule")
+     *                             .ruleReference("na_rule")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:eu-west-1")
+     *                             .region("aws:route53:eu-west-1")
      *                             .bias(10)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("eu_endpoint")
+     *                             .endpointReference("eu_endpoint")
      *                             .build(),
      *                         GetTrafficPolicyDocumentRuleGeoProximityLocationArgs.builder()
-     *                             .region("aws:route53:ap-northeast-2")
+     *                             .region("aws:route53:ap-northeast-2")
      *                             .bias(0)
      *                             .evaluateTargetHealth(true)
-     *                             .endpointReference("ap_endpoint")
+     *                             .endpointReference("ap_endpoint")
      *                             .build())
      *                     .build())
      *             .build());
      * 
-     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
-     *             .name("example")
-     *             .comment("example comment")
-     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
+     *         var exampleTrafficPolicy = new TrafficPolicy("exampleTrafficPolicy", TrafficPolicyArgs.builder()        
+     *             .name("example")
+     *             .comment("example comment")
+     *             .document(example.applyValue(getTrafficPolicyDocumentResult -> getTrafficPolicyDocumentResult.json()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4027,7 +4195,8 @@ public static CompletableFuture getTrafficPolicy * The following example shows how to get a Hosted Zone from its name and from this data how to create a Record Set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4051,21 +4220,22 @@ public static CompletableFuture getTrafficPolicy
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .privateZone(true)
      *             .build());
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
-     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
-     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
-     *             .type("A")
-     *             .ttl("300")
-     *             .records("10.0.0.1")
+     *         var www = new Record("www", RecordArgs.builder()        
+     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
+     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
+     *             .type("A")
+     *             .ttl("300")
+     *             .records("10.0.0.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4082,7 +4252,8 @@ public static Output getZone() { * The following example shows how to get a Hosted Zone from its name and from this data how to create a Record Set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4106,21 +4277,22 @@ public static Output getZone() {
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .privateZone(true)
      *             .build());
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
-     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
-     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
-     *             .type("A")
-     *             .ttl("300")
-     *             .records("10.0.0.1")
+     *         var www = new Record("www", RecordArgs.builder()        
+     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
+     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
+     *             .type("A")
+     *             .ttl("300")
+     *             .records("10.0.0.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4137,7 +4309,8 @@ public static CompletableFuture getZonePlain() { * The following example shows how to get a Hosted Zone from its name and from this data how to create a Record Set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4161,21 +4334,22 @@ public static CompletableFuture getZonePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .privateZone(true)
      *             .build());
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
-     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
-     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
-     *             .type("A")
-     *             .ttl("300")
-     *             .records("10.0.0.1")
+     *         var www = new Record("www", RecordArgs.builder()        
+     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
+     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
+     *             .type("A")
+     *             .ttl("300")
+     *             .records("10.0.0.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4192,7 +4366,8 @@ public static Output getZone(GetZoneArgs args) { * The following example shows how to get a Hosted Zone from its name and from this data how to create a Record Set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4216,21 +4391,22 @@ public static Output getZone(GetZoneArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .privateZone(true)
      *             .build());
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
-     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
-     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
-     *             .type("A")
-     *             .ttl("300")
-     *             .records("10.0.0.1")
+     *         var www = new Record("www", RecordArgs.builder()        
+     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
+     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
+     *             .type("A")
+     *             .ttl("300")
+     *             .records("10.0.0.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4247,7 +4423,8 @@ public static CompletableFuture getZonePlain(GetZonePlainArgs arg * The following example shows how to get a Hosted Zone from its name and from this data how to create a Record Set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4271,21 +4448,22 @@ public static CompletableFuture getZonePlain(GetZonePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .privateZone(true)
      *             .build());
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
-     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
-     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
-     *             .type("A")
-     *             .ttl("300")
-     *             .records("10.0.0.1")
+     *         var www = new Record("www", RecordArgs.builder()        
+     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
+     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
+     *             .type("A")
+     *             .ttl("300")
+     *             .records("10.0.0.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -4302,7 +4480,8 @@ public static Output getZone(GetZoneArgs args, InvokeOptions opti * The following example shows how to get a Hosted Zone from its name and from this data how to create a Record Set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -4326,21 +4505,22 @@ public static Output getZone(GetZoneArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .privateZone(true)
      *             .build());
      * 
-     *         var www = new Record("www", RecordArgs.builder()        
-     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
-     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
-     *             .type("A")
-     *             .ttl("300")
-     *             .records("10.0.0.1")
+     *         var www = new Record("www", RecordArgs.builder()        
+     *             .zoneId(selected.applyValue(getZoneResult -> getZoneResult.zoneId()))
+     *             .name(String.format("www.%s", selected.applyValue(getZoneResult -> getZoneResult.name())))
+     *             .type("A")
+     *             .ttl("300")
+     *             .records("10.0.0.1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicy.java index c1307107e89..7418e5f9c23 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,27 +43,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TrafficPolicy("example", TrafficPolicyArgs.builder()        
- *             .name("example")
- *             .comment("example comment")
- *             .document("""
+ *         var example = new TrafficPolicy("example", TrafficPolicyArgs.builder()        
+ *             .name("example")
+ *             .comment("example comment")
+ *             .document("""
  * {
- *   "AWSPolicyFormatVersion": "2015-10-01",
- *   "RecordType": "A",
- *   "Endpoints": {
- *     "endpoint-start-NkPh": {
- *       "Type": "value",
- *       "Value": "10.0.0.2"
+ *   "AWSPolicyFormatVersion": "2015-10-01",
+ *   "RecordType": "A",
+ *   "Endpoints": {
+ *     "endpoint-start-NkPh": {
+ *       "Type": "value",
+ *       "Value": "10.0.0.2"
  *     }
  *   },
- *   "StartEndpoint": "endpoint-start-NkPh"
+ *   "StartEndpoint": "endpoint-start-NkPh"
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicyInstance.java b/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicyInstance.java index 2a85806decb..b3a8a733afd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicyInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/TrafficPolicyInstance.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,17 +42,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new TrafficPolicyInstance("test", TrafficPolicyInstanceArgs.builder()        
- *             .name("test.example.com")
- *             .trafficPolicyId("b3gb108f-ea6f-45a5-baab-9d112d8b4037")
+ *         var test = new TrafficPolicyInstance("test", TrafficPolicyInstanceArgs.builder()        
+ *             .name("test.example.com")
+ *             .trafficPolicyId("b3gb108f-ea6f-45a5-baab-9d112d8b4037")
  *             .trafficPolicyVersion(1)
- *             .hostedZoneId("Z033120931TAQO548OGJC")
+ *             .hostedZoneId("Z033120931TAQO548OGJC")
  *             .ttl(360)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/VpcAssociationAuthorization.java b/sdk/java/src/main/java/com/pulumi/aws/route53/VpcAssociationAuthorization.java index 9f2d8a98518..db403432861 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/VpcAssociationAuthorization.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/VpcAssociationAuthorization.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,38 +48,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.6.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.6.0.0/16")
  *             .enableDnsHostnames(true)
  *             .enableDnsSupport(true)
  *             .build());
  * 
- *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .vpcs(ZoneVpcArgs.builder()
  *                 .vpcId(example.id())
  *                 .build())
  *             .build());
  * 
- *         var alternate = new Vpc("alternate", VpcArgs.builder()        
- *             .cidrBlock("10.7.0.0/16")
+ *         var alternate = new Vpc("alternate", VpcArgs.builder()        
+ *             .cidrBlock("10.7.0.0/16")
  *             .enableDnsHostnames(true)
  *             .enableDnsSupport(true)
  *             .build());
  * 
- *         var exampleVpcAssociationAuthorization = new VpcAssociationAuthorization("exampleVpcAssociationAuthorization", VpcAssociationAuthorizationArgs.builder()        
+ *         var exampleVpcAssociationAuthorization = new VpcAssociationAuthorization("exampleVpcAssociationAuthorization", VpcAssociationAuthorizationArgs.builder()        
  *             .vpcId(alternate.id())
  *             .zoneId(exampleZone.id())
  *             .build());
  * 
- *         var exampleZoneAssociation = new ZoneAssociation("exampleZoneAssociation", ZoneAssociationArgs.builder()        
+ *         var exampleZoneAssociation = new ZoneAssociation("exampleZoneAssociation", ZoneAssociationArgs.builder()        
  *             .vpcId(exampleVpcAssociationAuthorization.vpcId())
  *             .zoneId(exampleVpcAssociationAuthorization.zoneId())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/Zone.java b/sdk/java/src/main/java/com/pulumi/aws/route53/Zone.java index e6e39bebbaa..8b5de504ef7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/Zone.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/Zone.java @@ -26,7 +26,8 @@ * ### Public Zone * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,13 +48,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Zone("primary", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var primary = new Zone("primary", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Public Subdomain Zone @@ -63,7 +65,8 @@ * zone. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,26 +89,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new Zone("main", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var main = new Zone("main", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .build());
  * 
- *         var dev = new Zone("dev", ZoneArgs.builder()        
- *             .name("dev.example.com")
- *             .tags(Map.of("Environment", "dev"))
+ *         var dev = new Zone("dev", ZoneArgs.builder()        
+ *             .name("dev.example.com")
+ *             .tags(Map.of("Environment", "dev"))
  *             .build());
  * 
- *         var dev_ns = new Record("dev-ns", RecordArgs.builder()        
+ *         var dev_ns = new Record("dev-ns", RecordArgs.builder()        
  *             .zoneId(main.zoneId())
- *             .name("dev.example.com")
- *             .type("NS")
- *             .ttl("30")
+ *             .name("dev.example.com")
+ *             .type("NS")
+ *             .ttl("30")
  *             .records(dev.nameServers())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Private Zone @@ -115,7 +119,8 @@ * > **NOTE:** Private zones require at least one VPC association at all times. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -137,8 +142,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var private_ = new Zone("private", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var private_ = new Zone("private", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .vpcs(ZoneVpcArgs.builder()
  *                 .vpcId(example.id())
  *                 .build())
@@ -146,7 +151,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53/ZoneAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/route53/ZoneAssociation.java index 45411df9209..8cbf61b7077 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53/ZoneAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53/ZoneAssociation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,33 +50,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var primary = new Vpc("primary", VpcArgs.builder()        
- *             .cidrBlock("10.6.0.0/16")
+ *         var primary = new Vpc("primary", VpcArgs.builder()        
+ *             .cidrBlock("10.6.0.0/16")
  *             .enableDnsHostnames(true)
  *             .enableDnsSupport(true)
  *             .build());
  * 
- *         var secondary = new Vpc("secondary", VpcArgs.builder()        
- *             .cidrBlock("10.7.0.0/16")
+ *         var secondary = new Vpc("secondary", VpcArgs.builder()        
+ *             .cidrBlock("10.7.0.0/16")
  *             .enableDnsHostnames(true)
  *             .enableDnsSupport(true)
  *             .build());
  * 
- *         var example = new Zone("example", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var example = new Zone("example", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .vpcs(ZoneVpcArgs.builder()
  *                 .vpcId(primary.id())
  *                 .build())
  *             .build());
  * 
- *         var secondaryZoneAssociation = new ZoneAssociation("secondaryZoneAssociation", ZoneAssociationArgs.builder()        
+ *         var secondaryZoneAssociation = new ZoneAssociation("secondaryZoneAssociation", ZoneAssociationArgs.builder()        
  *             .zoneId(example.zoneId())
  *             .vpcId(secondary.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53domains/DelegationSignerRecord.java b/sdk/java/src/main/java/com/pulumi/aws/route53domains/DelegationSignerRecord.java index 17ecb2dcaaa..3173316eba8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53domains/DelegationSignerRecord.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53domains/DelegationSignerRecord.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,80 +61,80 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Key("example", KeyArgs.builder()        
- *             .customerMasterKeySpec("ECC_NIST_P256")
+ *         var example = new Key("example", KeyArgs.builder()        
+ *             .customerMasterKeySpec("ECC_NIST_P256")
  *             .deletionWindowInDays(7)
- *             .keyUsage("SIGN_VERIFY")
+ *             .keyUsage("SIGN_VERIFY")
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Statement", jsonArray(
+ *                     jsonProperty("Statement", jsonArray(
  *                         jsonObject(
- *                             jsonProperty("Action", jsonArray(
- *                                 "kms:DescribeKey", 
- *                                 "kms:GetPublicKey", 
- *                                 "kms:Sign"
+ *                             jsonProperty("Action", jsonArray(
+ *                                 "kms:DescribeKey", 
+ *                                 "kms:GetPublicKey", 
+ *                                 "kms:Sign"
  *                             )),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
  *                             )),
- *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service"),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Condition", jsonObject(
- *                                 jsonProperty("StringEquals", jsonObject(
- *                                     jsonProperty("aws:SourceAccount", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service"),
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Condition", jsonObject(
+ *                                 jsonProperty("StringEquals", jsonObject(
+ *                                     jsonProperty("aws:SourceAccount", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                                 )),
- *                                 jsonProperty("ArnLike", jsonObject(
- *                                     jsonProperty("aws:SourceArn", "arn:aws:route53:::hostedzone/*")
+ *                                 jsonProperty("ArnLike", jsonObject(
+ *                                     jsonProperty("aws:SourceArn", "arn:aws:route53:::hostedzone/*")
  *                                 ))
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Action", "kms:CreateGrant"),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
+ *                             jsonProperty("Action", "kms:CreateGrant"),
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("Service", "dnssec-route53.amazonaws.com")
  *                             )),
- *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service to CreateGrant"),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Condition", jsonObject(
- *                                 jsonProperty("Bool", jsonObject(
- *                                     jsonProperty("kms:GrantIsForAWSResource", "true")
+ *                             jsonProperty("Sid", "Allow Route 53 DNSSEC Service to CreateGrant"),
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Condition", jsonObject(
+ *                                 jsonProperty("Bool", jsonObject(
+ *                                     jsonProperty("kms:GrantIsForAWSResource", "true")
  *                                 ))
  *                             ))
  *                         ), 
  *                         jsonObject(
- *                             jsonProperty("Action", "kms:*"),
- *                             jsonProperty("Effect", "Allow"),
- *                             jsonProperty("Principal", jsonObject(
- *                                 jsonProperty("AWS", String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                             jsonProperty("Action", "kms:*"),
+ *                             jsonProperty("Effect", "Allow"),
+ *                             jsonProperty("Principal", jsonObject(
+ *                                 jsonProperty("AWS", String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                             )),
- *                             jsonProperty("Resource", "*"),
- *                             jsonProperty("Sid", "Enable IAM User Permissions")
+ *                             jsonProperty("Resource", "*"),
+ *                             jsonProperty("Sid", "Enable IAM User Permissions")
  *                         )
  *                     )),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
- *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
- *             .name("example.com")
+ *         var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
+ *             .name("example.com")
  *             .build());
  * 
- *         var exampleKeySigningKey = new KeySigningKey("exampleKeySigningKey", KeySigningKeyArgs.builder()        
+ *         var exampleKeySigningKey = new KeySigningKey("exampleKeySigningKey", KeySigningKeyArgs.builder()        
  *             .hostedZoneId(test.id())
  *             .keyManagementServiceArn(testAwsKmsKey.arn())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleHostedZoneDnsSec = new HostedZoneDnsSec("exampleHostedZoneDnsSec", HostedZoneDnsSecArgs.builder()        
+ *         var exampleHostedZoneDnsSec = new HostedZoneDnsSec("exampleHostedZoneDnsSec", HostedZoneDnsSecArgs.builder()        
  *             .hostedZoneId(exampleKeySigningKey.hostedZoneId())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleKeySigningKey)
  *                 .build());
  * 
- *         var exampleDelegationSignerRecord = new DelegationSignerRecord("exampleDelegationSignerRecord", DelegationSignerRecordArgs.builder()        
- *             .domainName("example.com")
+ *         var exampleDelegationSignerRecord = new DelegationSignerRecord("exampleDelegationSignerRecord", DelegationSignerRecordArgs.builder()        
+ *             .domainName("example.com")
  *             .signingAttributes(DelegationSignerRecordSigningAttributesArgs.builder()
  *                 .algorithm(exampleKeySigningKey.signingAlgorithmType())
  *                 .flags(exampleKeySigningKey.flag())
@@ -143,7 +144,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53domains/RegisteredDomain.java b/sdk/java/src/main/java/com/pulumi/aws/route53domains/RegisteredDomain.java index 7deda017bd1..82389fcacf4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53domains/RegisteredDomain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53domains/RegisteredDomain.java @@ -32,7 +32,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,21 +55,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RegisteredDomain("example", RegisteredDomainArgs.builder()        
- *             .domainName("example.com")
+ *         var example = new RegisteredDomain("example", RegisteredDomainArgs.builder()        
+ *             .domainName("example.com")
  *             .nameServers(            
  *                 RegisteredDomainNameServerArgs.builder()
- *                     .name("ns-195.awsdns-24.com")
+ *                     .name("ns-195.awsdns-24.com")
  *                     .build(),
  *                 RegisteredDomainNameServerArgs.builder()
- *                     .name("ns-874.awsdns-45.net")
+ *                     .name("ns-874.awsdns-45.net")
  *                     .build())
- *             .tags(Map.of("Environment", "test"))
+ *             .tags(Map.of("Environment", "test"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/Cluster.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/Cluster.java index ce730733a43..20514f0fb2c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/Cluster.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cluster("example", ClusterArgs.builder()        
- *             .name("georgefitzgerald")
+ *         var example = new Cluster("example", ClusterArgs.builder()        
+ *             .name("georgefitzgerald")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/ControlPanel.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/ControlPanel.java index cff90a89750..2bdb3a82b2d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/ControlPanel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/ControlPanel.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ControlPanel("example", ControlPanelArgs.builder()        
- *             .name("balmorhea")
- *             .clusterArn("arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
+ *         var example = new ControlPanel("example", ControlPanelArgs.builder()        
+ *             .name("balmorhea")
+ *             .clusterArn("arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/RoutingControl.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/RoutingControl.java index bc4f213b987..691b7a22676 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/RoutingControl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/RoutingControl.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,18 +41,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RoutingControl("example", RoutingControlArgs.builder()        
- *             .name("tinlicker")
- *             .clusterArn("arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
+ *         var example = new RoutingControl("example", RoutingControlArgs.builder()        
+ *             .name("tinlicker")
+ *             .clusterArn("arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -72,15 +75,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RoutingControl("example", RoutingControlArgs.builder()        
- *             .name("thomasoliver")
- *             .clusterArn("arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
- *             .controlPanelArn("arn:aws:route53-recovery-control::428113431245:controlpanel/abd5fbfc052d4844a082dbf400f61da8")
+ *         var example = new RoutingControl("example", RoutingControlArgs.builder()        
+ *             .name("thomasoliver")
+ *             .clusterArn("arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
+ *             .controlPanelArn("arn:aws:route53-recovery-control::428113431245:controlpanel/abd5fbfc052d4844a082dbf400f61da8")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/SafetyRule.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/SafetyRule.java index 1631442a9d1..aff41eeee9b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/SafetyRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoverycontrol/SafetyRule.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,25 +46,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SafetyRule("example", SafetyRuleArgs.builder()        
+ *         var example = new SafetyRule("example", SafetyRuleArgs.builder()        
  *             .assertedControls(exampleAwsRoute53recoverycontrolconfigRoutingControl.arn())
- *             .controlPanelArn("arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8")
- *             .name("daisyguttridge")
+ *             .controlPanelArn("arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8")
+ *             .name("daisyguttridge")
  *             .waitPeriodMs(5000)
  *             .ruleConfig(SafetyRuleRuleConfigArgs.builder()
  *                 .inverted(false)
  *                 .threshold(1)
- *                 .type("ATLEAST")
+ *                 .type("ATLEAST")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,22 +88,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SafetyRule("example", SafetyRuleArgs.builder()        
- *             .name("i_o")
- *             .controlPanelArn("arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8")
+ *         var example = new SafetyRule("example", SafetyRuleArgs.builder()        
+ *             .name("i_o")
+ *             .controlPanelArn("arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8")
  *             .waitPeriodMs(5000)
  *             .gatingControls(exampleAwsRoute53recoverycontrolconfigRoutingControl.arn())
  *             .targetControls(exampleAwsRoute53recoverycontrolconfigRoutingControl.arn())
  *             .ruleConfig(SafetyRuleRuleConfigArgs.builder()
  *                 .inverted(false)
  *                 .threshold(1)
- *                 .type("ATLEAST")
+ *                 .type("ATLEAST")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/Cell.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/Cell.java index 4f3e9a838a3..5a5da20d288 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/Cell.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/Cell.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cell("example", CellArgs.builder()        
- *             .cellName("us-west-2-failover-cell")
+ *         var example = new Cell("example", CellArgs.builder()        
+ *             .cellName("us-west-2-failover-cell")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ReadinessCheck.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ReadinessCheck.java index 3125949b04a..87d406e762e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ReadinessCheck.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ReadinessCheck.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ReadinessCheck("example", ReadinessCheckArgs.builder()        
+ *         var example = new ReadinessCheck("example", ReadinessCheckArgs.builder()        
  *             .readinessCheckName(my_cw_alarm_check)
  *             .resourceSetName(my_cw_alarm_set)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/RecoveryGroup.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/RecoveryGroup.java index d118d6263e1..fa6f4edac14 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/RecoveryGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/RecoveryGroup.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,13 +44,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RecoveryGroup("example", RecoveryGroupArgs.builder()        
- *             .recoveryGroupName("my-high-availability-app")
+ *         var example = new RecoveryGroup("example", RecoveryGroupArgs.builder()        
+ *             .recoveryGroupName("my-high-availability-app")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ResourceSet.java b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ResourceSet.java index 75dc32bf6db..36dd4cf6634 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ResourceSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/route53recoveryreadiness/ResourceSet.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,9 +46,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResourceSet("example", ResourceSetArgs.builder()        
+ *         var example = new ResourceSet("example", ResourceSetArgs.builder()        
  *             .resourceSetName(my_cw_alarm_set)
- *             .resourceSetType("AWS::CloudWatch::Alarm")
+ *             .resourceSetType("AWS::CloudWatch::Alarm")
  *             .resources(ResourceSetResourceArgs.builder()
  *                 .resourceArn(exampleAwsCloudwatchMetricAlarm.arn())
  *                 .build())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rum/AppMonitor.java b/sdk/java/src/main/java/com/pulumi/aws/rum/AppMonitor.java index 6c7b2e721f8..24ba580be6e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rum/AppMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rum/AppMonitor.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AppMonitor("example", AppMonitorArgs.builder()        
- *             .name("example")
- *             .domain("localhost")
+ *         var example = new AppMonitor("example", AppMonitorArgs.builder()        
+ *             .name("example")
+ *             .domain("localhost")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/rum/MetricsDestination.java b/sdk/java/src/main/java/com/pulumi/aws/rum/MetricsDestination.java index ccff42697aa..6cd31d4ac6f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/rum/MetricsDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/rum/MetricsDestination.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,14 +42,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MetricsDestination("example", MetricsDestinationArgs.builder()        
+ *         var example = new MetricsDestination("example", MetricsDestinationArgs.builder()        
  *             .appMonitorName(exampleAwsRumAppMonitor.name())
- *             .destination("CloudWatch")
+ *             .destination("CloudWatch")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/AccessPoint.java b/sdk/java/src/main/java/com/pulumi/aws/s3/AccessPoint.java index 7927d8d4706..b4ac61ad83d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/AccessPoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/AccessPoint.java @@ -32,7 +32,8 @@ * ### AWS Partition General Purpose Bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,24 +56,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
+ *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
  *             .bucket(example.id())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 on Outposts Bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,17 +101,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Bucket("example", BucketArgs.builder()        
- *             .bucket("example")
+ *         var example = new Bucket("example", BucketArgs.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
+ *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
  *             .bucket(example.arn())
- *             .name("example")
+ *             .name("example")
  *             .vpcConfiguration(AccessPointVpcConfigurationArgs.builder()
  *                 .vpcId(exampleVpc.id())
  *                 .build())
@@ -116,7 +119,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/AccountPublicAccessBlock.java b/sdk/java/src/main/java/com/pulumi/aws/s3/AccountPublicAccessBlock.java index fcc9fba6de1..3db140c7748 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/AccountPublicAccessBlock.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/AccountPublicAccessBlock.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccountPublicAccessBlock("example", AccountPublicAccessBlockArgs.builder()        
+ *         var example = new AccountPublicAccessBlock("example", AccountPublicAccessBlockArgs.builder()        
  *             .blockPublicAcls(true)
  *             .blockPublicPolicy(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/AnalyticsConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/s3/AnalyticsConfiguration.java index 61c4a3dfcec..6a5b31256de 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/AnalyticsConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/AnalyticsConfiguration.java @@ -26,7 +26,8 @@ * ### Add analytics configuration for entire S3 bucket and export results to a second S3 bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,17 +54,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var analytics = new BucketV2("analytics", BucketV2Args.builder()        
- *             .bucket("analytics destination")
+ *         var analytics = new BucketV2("analytics", BucketV2Args.builder()        
+ *             .bucket("analytics destination")
  *             .build());
  * 
- *         var example_entire_bucket = new AnalyticsConfiguration("example-entire-bucket", AnalyticsConfigurationArgs.builder()        
+ *         var example_entire_bucket = new AnalyticsConfiguration("example-entire-bucket", AnalyticsConfigurationArgs.builder()        
  *             .bucket(example.id())
- *             .name("EntireBucket")
+ *             .name("EntireBucket")
  *             .storageClassAnalysis(AnalyticsConfigurationStorageClassAnalysisArgs.builder()
  *                 .dataExport(AnalyticsConfigurationStorageClassAnalysisDataExportArgs.builder()
  *                     .destination(AnalyticsConfigurationStorageClassAnalysisDataExportDestinationArgs.builder()
@@ -77,13 +78,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add analytics configuration with S3 object filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,25 +110,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example_filtered = new AnalyticsConfiguration("example-filtered", AnalyticsConfigurationArgs.builder()        
+ *         var example_filtered = new AnalyticsConfiguration("example-filtered", AnalyticsConfigurationArgs.builder()        
  *             .bucket(example.id())
- *             .name("ImportantBlueDocuments")
+ *             .name("ImportantBlueDocuments")
  *             .filter(AnalyticsConfigurationFilterArgs.builder()
- *                 .prefix("documents/")
+ *                 .prefix("documents/")
  *                 .tags(Map.ofEntries(
- *                     Map.entry("priority", "high"),
- *                     Map.entry("class", "blue")
+ *                     Map.entry("priority", "high"),
+ *                     Map.entry("class", "blue")
  *                 ))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/Bucket.java b/sdk/java/src/main/java/com/pulumi/aws/s3/Bucket.java index 2da7cbbee70..13e4a56b5fc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/Bucket.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/Bucket.java @@ -38,7 +38,8 @@ * ### Private Bucket w/ Tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,24 +60,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new Bucket("b", BucketArgs.builder()        
- *             .bucket("my-tf-test-bucket")
- *             .acl("private")
+ *         var b = new Bucket("b", BucketArgs.builder()        
+ *             .bucket("my-tf-test-bucket")
+ *             .acl("private")
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "My bucket"),
- *                 Map.entry("Environment", "Dev")
+ *                 Map.entry("Name", "My bucket"),
+ *                 Map.entry("Environment", "Dev")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Static Website Hosting * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,37 +101,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new Bucket("b", BucketArgs.builder()        
- *             .bucket("s3-website-test.mydomain.com")
- *             .acl("public-read")
+ *         var b = new Bucket("b", BucketArgs.builder()        
+ *             .bucket("s3-website-test.mydomain.com")
+ *             .acl("public-read")
  *             .policy(StdFunctions.file(FileArgs.builder()
- *                 .input("policy.json")
+ *                 .input("policy.json")
  *                 .build()).result())
  *             .website(BucketWebsiteArgs.builder()
- *                 .indexDocument("index.html")
- *                 .errorDocument("error.html")
- *                 .routingRules("""
+ *                 .indexDocument("index.html")
+ *                 .errorDocument("error.html")
+ *                 .routingRules("""
  * [{
- *     "Condition": {
- *         "KeyPrefixEquals": "docs/"
+ *     "Condition": {
+ *         "KeyPrefixEquals": "docs/"
  *     },
- *     "Redirect": {
- *         "ReplaceKeyPrefixWith": "documents/"
+ *     "Redirect": {
+ *         "ReplaceKeyPrefixWith": "documents/"
  *     }
  * }]
- *                 """)
+ *                 """)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using CORS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -150,29 +155,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new Bucket("b", BucketArgs.builder()        
- *             .bucket("s3-website-test.mydomain.com")
- *             .acl("public-read")
+ *         var b = new Bucket("b", BucketArgs.builder()        
+ *             .bucket("s3-website-test.mydomain.com")
+ *             .acl("public-read")
  *             .corsRules(BucketCorsRuleArgs.builder()
- *                 .allowedHeaders("*")
+ *                 .allowedHeaders("*")
  *                 .allowedMethods(                
- *                     "PUT",
- *                     "POST")
- *                 .allowedOrigins("https://s3-website-test.mydomain.com")
- *                 .exposeHeaders("ETag")
+ *                     "PUT",
+ *                     "POST")
+ *                 .allowedOrigins("https://s3-website-test.mydomain.com")
+ *                 .exposeHeaders("ETag")
  *                 .maxAgeSeconds(3000)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using versioning * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -194,9 +201,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var b = new Bucket("b", BucketArgs.builder()        
- *             .bucket("my-tf-test-bucket")
- *             .acl("private")
+ *         var b = new Bucket("b", BucketArgs.builder()        
+ *             .bucket("my-tf-test-bucket")
+ *             .acl("private")
  *             .versioning(BucketVersioningArgs.builder()
  *                 .enabled(true)
  *                 .build())
@@ -204,13 +211,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enable Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -232,29 +241,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var logBucket = new Bucket("logBucket", BucketArgs.builder()        
- *             .bucket("my-tf-log-bucket")
- *             .acl("log-delivery-write")
+ *         var logBucket = new Bucket("logBucket", BucketArgs.builder()        
+ *             .bucket("my-tf-log-bucket")
+ *             .acl("log-delivery-write")
  *             .build());
  * 
- *         var b = new Bucket("b", BucketArgs.builder()        
- *             .bucket("my-tf-test-bucket")
- *             .acl("private")
+ *         var b = new Bucket("b", BucketArgs.builder()        
+ *             .bucket("my-tf-test-bucket")
+ *             .acl("private")
  *             .loggings(BucketLoggingArgs.builder()
  *                 .targetBucket(logBucket.id())
- *                 .targetPrefix("log/")
+ *                 .targetPrefix("log/")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using object lifecycle * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -279,58 +290,58 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new Bucket("bucket", BucketArgs.builder()        
- *             .bucket("my-bucket")
- *             .acl("private")
+ *         var bucket = new Bucket("bucket", BucketArgs.builder()        
+ *             .bucket("my-bucket")
+ *             .acl("private")
  *             .lifecycleRules(            
  *                 BucketLifecycleRuleArgs.builder()
- *                     .id("log")
+ *                     .id("log")
  *                     .enabled(true)
- *                     .prefix("log/")
+ *                     .prefix("log/")
  *                     .tags(Map.ofEntries(
- *                         Map.entry("rule", "log"),
- *                         Map.entry("autoclean", "true")
+ *                         Map.entry("rule", "log"),
+ *                         Map.entry("autoclean", "true")
  *                     ))
  *                     .transitions(                    
  *                         BucketLifecycleRuleTransitionArgs.builder()
  *                             .days(30)
- *                             .storageClass("STANDARD_IA")
+ *                             .storageClass("STANDARD_IA")
  *                             .build(),
  *                         BucketLifecycleRuleTransitionArgs.builder()
  *                             .days(60)
- *                             .storageClass("GLACIER")
+ *                             .storageClass("GLACIER")
  *                             .build())
  *                     .expiration(BucketLifecycleRuleExpirationArgs.builder()
  *                         .days(90)
  *                         .build())
  *                     .build(),
  *                 BucketLifecycleRuleArgs.builder()
- *                     .id("tmp")
- *                     .prefix("tmp/")
+ *                     .id("tmp")
+ *                     .prefix("tmp/")
  *                     .enabled(true)
  *                     .expiration(BucketLifecycleRuleExpirationArgs.builder()
- *                         .date("2016-01-12")
+ *                         .date("2016-01-12")
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var versioningBucket = new Bucket("versioningBucket", BucketArgs.builder()        
- *             .bucket("my-versioning-bucket")
- *             .acl("private")
+ *         var versioningBucket = new Bucket("versioningBucket", BucketArgs.builder()        
+ *             .bucket("my-versioning-bucket")
+ *             .acl("private")
  *             .versioning(BucketVersioningArgs.builder()
  *                 .enabled(true)
  *                 .build())
  *             .lifecycleRules(BucketLifecycleRuleArgs.builder()
- *                 .prefix("config/")
+ *                 .prefix("config/")
  *                 .enabled(true)
  *                 .noncurrentVersionTransitions(                
  *                     BucketLifecycleRuleNoncurrentVersionTransitionArgs.builder()
  *                         .days(30)
- *                         .storageClass("STANDARD_IA")
+ *                         .storageClass("STANDARD_IA")
  *                         .build(),
  *                     BucketLifecycleRuleNoncurrentVersionTransitionArgs.builder()
  *                         .days(60)
- *                         .storageClass("GLACIER")
+ *                         .storageClass("GLACIER")
  *                         .build())
  *                 .noncurrentVersionExpiration(BucketLifecycleRuleNoncurrentVersionExpirationArgs.builder()
  *                     .days(90)
@@ -340,7 +351,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using replication configuration @@ -348,7 +360,8 @@ * > **NOTE:** See the `aws.s3.BucketReplicationConfig` resource to support bi-directional replication configuration and additional features. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -377,55 +390,55 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replication = new Role("replication", RoleArgs.builder()        
- *             .name("tf-iam-role-replication-12345")
- *             .assumeRolePolicy("""
+ *         var replication = new Role("replication", RoleArgs.builder()        
+ *             .name("tf-iam-role-replication-12345")
+ *             .assumeRolePolicy("""
  * {
- *   "Version": "2012-10-17",
- *   "Statement": [
+ *   "Version": "2012-10-17",
+ *   "Statement": [
  *     {
- *       "Action": "sts:AssumeRole",
- *       "Principal": {
- *         "Service": "s3.amazonaws.com"
+ *       "Action": "sts:AssumeRole",
+ *       "Principal": {
+ *         "Service": "s3.amazonaws.com"
  *       },
- *       "Effect": "Allow",
- *       "Sid": ""
+ *       "Effect": "Allow",
+ *       "Sid": ""
  *     }
  *   ]
  * }
- *             """)
+ *             """)
  *             .build());
  * 
- *         var destination = new Bucket("destination", BucketArgs.builder()        
- *             .bucket("tf-test-bucket-destination-12345")
+ *         var destination = new Bucket("destination", BucketArgs.builder()        
+ *             .bucket("tf-test-bucket-destination-12345")
  *             .versioning(BucketVersioningArgs.builder()
  *                 .enabled(true)
  *                 .build())
  *             .build());
  * 
- *         var source = new Bucket("source", BucketArgs.builder()        
- *             .bucket("tf-test-bucket-source-12345")
- *             .acl("private")
+ *         var source = new Bucket("source", BucketArgs.builder()        
+ *             .bucket("tf-test-bucket-source-12345")
+ *             .acl("private")
  *             .versioning(BucketVersioningArgs.builder()
  *                 .enabled(true)
  *                 .build())
  *             .replicationConfiguration(BucketReplicationConfigurationArgs.builder()
  *                 .role(replication.arn())
  *                 .rules(BucketReplicationConfigurationRuleArgs.builder()
- *                     .id("foobar")
- *                     .status("Enabled")
+ *                     .id("foobar")
+ *                     .status("Enabled")
  *                     .filter(BucketReplicationConfigurationRuleFilterArgs.builder()
  *                         .tags()
  *                         .build())
  *                     .destination(BucketReplicationConfigurationRuleDestinationArgs.builder()
  *                         .bucket(destination.arn())
- *                         .storageClass("STANDARD")
+ *                         .storageClass("STANDARD")
  *                         .replicationTime(BucketReplicationConfigurationRuleDestinationReplicationTimeArgs.builder()
- *                             .status("Enabled")
+ *                             .status("Enabled")
  *                             .minutes(15)
  *                             .build())
  *                         .metrics(BucketReplicationConfigurationRuleDestinationMetricsArgs.builder()
- *                             .status("Enabled")
+ *                             .status("Enabled")
  *                             .minutes(15)
  *                             .build())
  *                         .build())
@@ -433,66 +446,68 @@
  *                 .build())
  *             .build());
  * 
- *         var replicationPolicy = new Policy("replicationPolicy", PolicyArgs.builder()        
- *             .name("tf-iam-role-policy-replication-12345")
- *             .policy(Output.tuple(source.arn(), source.arn(), destination.arn()).applyValue(values -> {
+ *         var replicationPolicy = new Policy("replicationPolicy", PolicyArgs.builder()        
+ *             .name("tf-iam-role-policy-replication-12345")
+ *             .policy(Output.tuple(source.arn(), source.arn(), destination.arn()).applyValue(values -> {
  *                 var sourceArn = values.t1;
  *                 var sourceArn1 = values.t2;
  *                 var destinationArn = values.t3;
- *                 return """
+ *                 return """
  * {
- *   "Version": "2012-10-17",
- *   "Statement": [
+ *   "Version": "2012-10-17",
+ *   "Statement": [
  *     {
- *       "Action": [
- *         "s3:GetReplicationConfiguration",
- *         "s3:ListBucket"
+ *       "Action": [
+ *         "s3:GetReplicationConfiguration",
+ *         "s3:ListBucket"
  *       ],
- *       "Effect": "Allow",
- *       "Resource": [
- *         "%s"
+ *       "Effect": "Allow",
+ *       "Resource": [
+ *         "%s"
  *       ]
  *     },
  *     {
- *       "Action": [
- *         "s3:GetObjectVersionForReplication",
- *         "s3:GetObjectVersionAcl",
- *          "s3:GetObjectVersionTagging"
+ *       "Action": [
+ *         "s3:GetObjectVersionForReplication",
+ *         "s3:GetObjectVersionAcl",
+ *          "s3:GetObjectVersionTagging"
  *       ],
- *       "Effect": "Allow",
- *       "Resource": [
- *         "%s/*"
+ *       "Effect": "Allow",
+ *       "Resource": [
+ *         "%s/*"
  *       ]
  *     },
  *     {
- *       "Action": [
- *         "s3:ReplicateObject",
- *         "s3:ReplicateDelete",
- *         "s3:ReplicateTags"
+ *       "Action": [
+ *         "s3:ReplicateObject",
+ *         "s3:ReplicateDelete",
+ *         "s3:ReplicateTags"
  *       ],
- *       "Effect": "Allow",
- *       "Resource": "%s/*"
+ *       "Effect": "Allow",
+ *       "Resource": "%s/*"
  *     }
  *   ]
  * }
- * ", sourceArn,sourceArn1,destinationArn);
+ * ", sourceArn,sourceArn1,destinationArn);
  *             }))
  *             .build());
  * 
- *         var replicationRolePolicyAttachment = new RolePolicyAttachment("replicationRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var replicationRolePolicyAttachment = new RolePolicyAttachment("replicationRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(replication.name())
  *             .policyArn(replicationPolicy.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Enable Default Server Side Encryption * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -518,18 +533,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mykey = new Key("mykey", KeyArgs.builder()        
- *             .description("This key is used to encrypt bucket objects")
+ *         var mykey = new Key("mykey", KeyArgs.builder()        
+ *             .description("This key is used to encrypt bucket objects")
  *             .deletionWindowInDays(10)
  *             .build());
  * 
- *         var mybucket = new Bucket("mybucket", BucketArgs.builder()        
- *             .bucket("mybucket")
+ *         var mybucket = new Bucket("mybucket", BucketArgs.builder()        
+ *             .bucket("mybucket")
  *             .serverSideEncryptionConfiguration(BucketServerSideEncryptionConfigurationArgs.builder()
  *                 .rule(BucketServerSideEncryptionConfigurationRuleArgs.builder()
  *                     .applyServerSideEncryptionByDefault(BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultArgs.builder()
  *                         .kmsMasterKeyId(mykey.arn())
- *                         .sseAlgorithm("aws:kms")
+ *                         .sseAlgorithm("aws:kms")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -537,13 +552,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using ACL policy grants * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -568,26 +585,27 @@
  *     public static void stack(Context ctx) {
  *         final var currentUser = S3Functions.getCanonicalUserId();
  * 
- *         var bucket = new Bucket("bucket", BucketArgs.builder()        
- *             .bucket("mybucket")
+ *         var bucket = new Bucket("bucket", BucketArgs.builder()        
+ *             .bucket("mybucket")
  *             .grants(            
  *                 BucketGrantArgs.builder()
- *                     .id(currentUser.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()))
- *                     .type("CanonicalUser")
- *                     .permissions("FULL_CONTROL")
+ *                     .id(currentUser.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()))
+ *                     .type("CanonicalUser")
+ *                     .permissions("FULL_CONTROL")
  *                     .build(),
  *                 BucketGrantArgs.builder()
- *                     .type("Group")
+ *                     .type("Group")
  *                     .permissions(                    
- *                         "READ_ACP",
- *                         "WRITE")
- *                     .uri("http://acs.amazonaws.com/groups/s3/LogDelivery")
+ *                         "READ_ACP",
+ *                         "WRITE")
+ *                     .uri("http://acs.amazonaws.com/groups/s3/LogDelivery")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAccelerateConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAccelerateConfigurationV2.java index 0aa8b08bbab..99364b032d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAccelerateConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAccelerateConfigurationV2.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,18 +46,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mybucket = new BucketV2("mybucket", BucketV2Args.builder()        
- *             .bucket("mybucket")
+ *         var mybucket = new BucketV2("mybucket", BucketV2Args.builder()        
+ *             .bucket("mybucket")
  *             .build());
  * 
- *         var example = new BucketAccelerateConfigurationV2("example", BucketAccelerateConfigurationV2Args.builder()        
+ *         var example = new BucketAccelerateConfigurationV2("example", BucketAccelerateConfigurationV2Args.builder()        
  *             .bucket(mybucket.id())
- *             .status("Enabled")
+ *             .status("Enabled")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAclV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAclV2.java index e44ca1b57d1..4b9133785d2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAclV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketAclV2.java @@ -27,7 +27,8 @@ * ### With `private` ACL * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,27 +55,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-tf-example-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-tf-example-bucket")
  *             .build());
  * 
- *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
+ *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
  *             .bucket(example.id())
  *             .rule(BucketOwnershipControlsRuleArgs.builder()
- *                 .objectOwnership("BucketOwnerPreferred")
+ *                 .objectOwnership("BucketOwnerPreferred")
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleBucketOwnershipControls)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With `public-read` ACL @@ -83,7 +85,8 @@ * should be done with caution, as all bucket objects become publicly exposed. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -112,18 +115,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-tf-example-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-tf-example-bucket")
  *             .build());
  * 
- *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
+ *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
  *             .bucket(example.id())
  *             .rule(BucketOwnershipControlsRuleArgs.builder()
- *                 .objectOwnership("BucketOwnerPreferred")
+ *                 .objectOwnership("BucketOwnerPreferred")
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketPublicAccessBlock = new BucketPublicAccessBlock("exampleBucketPublicAccessBlock", BucketPublicAccessBlockArgs.builder()        
+ *         var exampleBucketPublicAccessBlock = new BucketPublicAccessBlock("exampleBucketPublicAccessBlock", BucketPublicAccessBlockArgs.builder()        
  *             .bucket(example.id())
  *             .blockPublicAcls(false)
  *             .blockPublicPolicy(false)
@@ -131,9 +134,9 @@
  *             .restrictPublicBuckets(false)
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
- *             .acl("public-read")
+ *             .acl("public-read")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
  *                     exampleBucketOwnershipControls,
@@ -142,13 +145,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Grants * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -180,37 +185,37 @@
  *     public static void stack(Context ctx) {
  *         final var current = S3Functions.getCanonicalUserId();
  * 
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-tf-example-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-tf-example-bucket")
  *             .build());
  * 
- *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
+ *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
  *             .bucket(example.id())
  *             .rule(BucketOwnershipControlsRuleArgs.builder()
- *                 .objectOwnership("BucketOwnerPreferred")
+ *                 .objectOwnership("BucketOwnerPreferred")
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
  *             .accessControlPolicy(BucketAclV2AccessControlPolicyArgs.builder()
  *                 .grants(                
  *                     BucketAclV2AccessControlPolicyGrantArgs.builder()
  *                         .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
- *                             .id(current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()))
- *                             .type("CanonicalUser")
+ *                             .id(current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()))
+ *                             .type("CanonicalUser")
  *                             .build())
- *                         .permission("READ")
+ *                         .permission("READ")
  *                         .build(),
  *                     BucketAclV2AccessControlPolicyGrantArgs.builder()
  *                         .grantee(BucketAclV2AccessControlPolicyGrantGranteeArgs.builder()
- *                             .type("Group")
- *                             .uri("http://acs.amazonaws.com/groups/s3/LogDelivery")
+ *                             .type("Group")
+ *                             .uri("http://acs.amazonaws.com/groups/s3/LogDelivery")
  *                             .build())
- *                         .permission("READ_ACP")
+ *                         .permission("READ_ACP")
  *                         .build())
  *                 .owner(BucketAclV2AccessControlPolicyOwnerArgs.builder()
- *                     .id(current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()))
+ *                     .id(current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()))
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -219,7 +224,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketCorsConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketCorsConfigurationV2.java index d35a4c4e954..88290e2af6b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketCorsConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketCorsConfigurationV2.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,31 +51,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("mybucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("mybucket")
  *             .build());
  * 
- *         var exampleBucketCorsConfigurationV2 = new BucketCorsConfigurationV2("exampleBucketCorsConfigurationV2", BucketCorsConfigurationV2Args.builder()        
+ *         var exampleBucketCorsConfigurationV2 = new BucketCorsConfigurationV2("exampleBucketCorsConfigurationV2", BucketCorsConfigurationV2Args.builder()        
  *             .bucket(example.id())
  *             .corsRules(            
  *                 BucketCorsConfigurationV2CorsRuleArgs.builder()
- *                     .allowedHeaders("*")
+ *                     .allowedHeaders("*")
  *                     .allowedMethods(                    
- *                         "PUT",
- *                         "POST")
- *                     .allowedOrigins("https://s3-website-test.domain.example")
- *                     .exposeHeaders("ETag")
+ *                         "PUT",
+ *                         "POST")
+ *                     .allowedOrigins("https://s3-website-test.domain.example")
+ *                     .exposeHeaders("ETag")
  *                     .maxAgeSeconds(3000)
  *                     .build(),
  *                 BucketCorsConfigurationV2CorsRuleArgs.builder()
- *                     .allowedMethods("GET")
- *                     .allowedOrigins("*")
+ *                     .allowedMethods("GET")
+ *                     .allowedOrigins("*")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketIntelligentTieringConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketIntelligentTieringConfiguration.java index 861914bdaa5..e87b78b70d2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketIntelligentTieringConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketIntelligentTieringConfiguration.java @@ -27,7 +27,8 @@ * ### Add intelligent tiering configuration for entire S3 bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,33 +52,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example_entire_bucket = new BucketIntelligentTieringConfiguration("example-entire-bucket", BucketIntelligentTieringConfigurationArgs.builder()        
+ *         var example_entire_bucket = new BucketIntelligentTieringConfiguration("example-entire-bucket", BucketIntelligentTieringConfigurationArgs.builder()        
  *             .bucket(example.id())
- *             .name("EntireBucket")
+ *             .name("EntireBucket")
  *             .tierings(            
  *                 BucketIntelligentTieringConfigurationTieringArgs.builder()
- *                     .accessTier("DEEP_ARCHIVE_ACCESS")
+ *                     .accessTier("DEEP_ARCHIVE_ACCESS")
  *                     .days(180)
  *                     .build(),
  *                 BucketIntelligentTieringConfigurationTieringArgs.builder()
- *                     .accessTier("ARCHIVE_ACCESS")
+ *                     .accessTier("ARCHIVE_ACCESS")
  *                     .days(125)
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add intelligent tiering configuration with S3 object filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -102,30 +105,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example_filtered = new BucketIntelligentTieringConfiguration("example-filtered", BucketIntelligentTieringConfigurationArgs.builder()        
+ *         var example_filtered = new BucketIntelligentTieringConfiguration("example-filtered", BucketIntelligentTieringConfigurationArgs.builder()        
  *             .bucket(example.id())
- *             .name("ImportantBlueDocuments")
- *             .status("Disabled")
+ *             .name("ImportantBlueDocuments")
+ *             .status("Disabled")
  *             .filter(BucketIntelligentTieringConfigurationFilterArgs.builder()
- *                 .prefix("documents/")
+ *                 .prefix("documents/")
  *                 .tags(Map.ofEntries(
- *                     Map.entry("priority", "high"),
- *                     Map.entry("class", "blue")
+ *                     Map.entry("priority", "high"),
+ *                     Map.entry("class", "blue")
  *                 ))
  *                 .build())
  *             .tierings(BucketIntelligentTieringConfigurationTieringArgs.builder()
- *                 .accessTier("ARCHIVE_ACCESS")
+ *                 .accessTier("ARCHIVE_ACCESS")
  *                 .days(125)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLifecycleConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLifecycleConfigurationV2.java index 3a4cfc30d55..8c1d252fb29 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLifecycleConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLifecycleConfigurationV2.java @@ -45,7 +45,8 @@ * parameter in the AWS Provider `aws.s3.BucketV2` resource prior to `v4.0`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -67,17 +68,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
- *                 .status("Enabled")
+ *                 .id("rule-1")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying an empty filter @@ -85,7 +87,8 @@ * The Lifecycle rule applies to all objects in the bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -108,18 +111,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying a filter using key prefixes @@ -127,7 +131,8 @@ * The Lifecycle rule applies to a subset of objects based on the key name prefix (`logs/`). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -150,26 +155,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
- *                     .prefix("logs/")
+ *                     .prefix("logs/")
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * If you want to apply a Lifecycle action to a subset of objects based on different key name prefixes, specify separate rules. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -192,28 +199,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(            
  *                 BucketLifecycleConfigurationV2RuleArgs.builder()
- *                     .id("rule-1")
+ *                     .id("rule-1")
  *                     .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
- *                         .prefix("logs/")
+ *                         .prefix("logs/")
  *                         .build())
- *                     .status("Enabled")
+ *                     .status("Enabled")
  *                     .build(),
  *                 BucketLifecycleConfigurationV2RuleArgs.builder()
- *                     .id("rule-2")
+ *                     .id("rule-2")
  *                     .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
- *                         .prefix("tmp/")
+ *                         .prefix("tmp/")
  *                         .build())
- *                     .status("Enabled")
+ *                     .status("Enabled")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying a filter based on an object tag @@ -221,7 +229,8 @@ * The Lifecycle rule specifies a filter based on a tag key and value. The rule then applies only to a subset of objects with the specific tag. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -245,23 +254,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
  *                     .tag(BucketLifecycleConfigurationV2RuleFilterTagArgs.builder()
- *                         .key("Name")
- *                         .value("Staging")
+ *                         .key("Name")
+ *                         .value("Staging")
  *                         .build())
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying a filter based on multiple tags @@ -269,7 +279,8 @@ * The Lifecycle rule directs Amazon S3 to perform lifecycle actions on objects with two tags (with the specific tag keys and values). Notice `tags` is wrapped in the `and` configuration block. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -293,25 +304,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
  *                     .and(BucketLifecycleConfigurationV2RuleFilterAndArgs.builder()
  *                         .tags(Map.ofEntries(
- *                             Map.entry("Key1", "Value1"),
- *                             Map.entry("Key2", "Value2")
+ *                             Map.entry("Key1", "Value1"),
+ *                             Map.entry("Key2", "Value2")
  *                         ))
  *                         .build())
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying a filter based on both prefix and one or more tags @@ -319,7 +331,8 @@ * The Lifecycle rule directs Amazon S3 to perform lifecycle actions on objects with the specified prefix and two tags (with the specific tag keys and values). Notice both `prefix` and `tags` are wrapped in the `and` configuration block. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -343,26 +356,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
  *                     .and(BucketLifecycleConfigurationV2RuleFilterAndArgs.builder()
- *                         .prefix("logs/")
+ *                         .prefix("logs/")
  *                         .tags(Map.ofEntries(
- *                             Map.entry("Key1", "Value1"),
- *                             Map.entry("Key2", "Value2")
+ *                             Map.entry("Key1", "Value1"),
+ *                             Map.entry("Key2", "Value2")
  *                         ))
  *                         .build())
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying a filter based on object size @@ -370,7 +384,8 @@ * Object size values are in bytes. Maximum filter size is 5TB. Some storage classes have minimum object size limitations, for more information, see [Comparing the Amazon S3 storage classes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-compare). * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -393,20 +408,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
  *                     .objectSizeGreaterThan(500)
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specifying a filter based on object size range and prefix @@ -414,7 +430,8 @@ * The `object_size_greater_than` must be less than the `object_size_less_than`. Notice both the object size range and prefix are wrapped in the `and` configuration block. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -438,30 +455,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
+ *         var example = new BucketLifecycleConfigurationV2("example", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("rule-1")
+ *                 .id("rule-1")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
  *                     .and(BucketLifecycleConfigurationV2RuleFilterAndArgs.builder()
- *                         .prefix("logs/")
+ *                         .prefix("logs/")
  *                         .objectSizeGreaterThan(500)
  *                         .objectSizeLessThan(64000)
  *                         .build())
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Creating a Lifecycle Configuration for a bucket with versioning * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -495,77 +514,77 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("my-bucket")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("my-bucket")
  *             .build());
  * 
- *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
+ *         var bucketAcl = new BucketAclV2("bucketAcl", BucketAclV2Args.builder()        
  *             .bucket(bucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var bucket_config = new BucketLifecycleConfigurationV2("bucket-config", BucketLifecycleConfigurationV2Args.builder()        
+ *         var bucket_config = new BucketLifecycleConfigurationV2("bucket-config", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(bucket.id())
  *             .rules(            
  *                 BucketLifecycleConfigurationV2RuleArgs.builder()
- *                     .id("log")
+ *                     .id("log")
  *                     .expiration(BucketLifecycleConfigurationV2RuleExpirationArgs.builder()
  *                         .days(90)
  *                         .build())
  *                     .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
  *                         .and(BucketLifecycleConfigurationV2RuleFilterAndArgs.builder()
- *                             .prefix("log/")
+ *                             .prefix("log/")
  *                             .tags(Map.ofEntries(
- *                                 Map.entry("rule", "log"),
- *                                 Map.entry("autoclean", "true")
+ *                                 Map.entry("rule", "log"),
+ *                                 Map.entry("autoclean", "true")
  *                             ))
  *                             .build())
  *                         .build())
- *                     .status("Enabled")
+ *                     .status("Enabled")
  *                     .transitions(                    
  *                         BucketLifecycleConfigurationV2RuleTransitionArgs.builder()
  *                             .days(30)
- *                             .storageClass("STANDARD_IA")
+ *                             .storageClass("STANDARD_IA")
  *                             .build(),
  *                         BucketLifecycleConfigurationV2RuleTransitionArgs.builder()
  *                             .days(60)
- *                             .storageClass("GLACIER")
+ *                             .storageClass("GLACIER")
  *                             .build())
  *                     .build(),
  *                 BucketLifecycleConfigurationV2RuleArgs.builder()
- *                     .id("tmp")
+ *                     .id("tmp")
  *                     .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
- *                         .prefix("tmp/")
+ *                         .prefix("tmp/")
  *                         .build())
  *                     .expiration(BucketLifecycleConfigurationV2RuleExpirationArgs.builder()
- *                         .date("2023-01-13T00:00:00Z")
+ *                         .date("2023-01-13T00:00:00Z")
  *                         .build())
- *                     .status("Enabled")
+ *                     .status("Enabled")
  *                     .build())
  *             .build());
  * 
- *         var versioningBucket = new BucketV2("versioningBucket", BucketV2Args.builder()        
- *             .bucket("my-versioning-bucket")
+ *         var versioningBucket = new BucketV2("versioningBucket", BucketV2Args.builder()        
+ *             .bucket("my-versioning-bucket")
  *             .build());
  * 
- *         var versioningBucketAcl = new BucketAclV2("versioningBucketAcl", BucketAclV2Args.builder()        
+ *         var versioningBucketAcl = new BucketAclV2("versioningBucketAcl", BucketAclV2Args.builder()        
  *             .bucket(versioningBucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var versioning = new BucketVersioningV2("versioning", BucketVersioningV2Args.builder()        
+ *         var versioning = new BucketVersioningV2("versioning", BucketVersioningV2Args.builder()        
  *             .bucket(versioningBucket.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var versioning_bucket_config = new BucketLifecycleConfigurationV2("versioning-bucket-config", BucketLifecycleConfigurationV2Args.builder()        
+ *         var versioning_bucket_config = new BucketLifecycleConfigurationV2("versioning-bucket-config", BucketLifecycleConfigurationV2Args.builder()        
  *             .bucket(versioningBucket.id())
  *             .rules(BucketLifecycleConfigurationV2RuleArgs.builder()
- *                 .id("config")
+ *                 .id("config")
  *                 .filter(BucketLifecycleConfigurationV2RuleFilterArgs.builder()
- *                     .prefix("config/")
+ *                     .prefix("config/")
  *                     .build())
  *                 .noncurrentVersionExpiration(BucketLifecycleConfigurationV2RuleNoncurrentVersionExpirationArgs.builder()
  *                     .noncurrentDays(90)
@@ -573,13 +592,13 @@
  *                 .noncurrentVersionTransitions(                
  *                     BucketLifecycleConfigurationV2RuleNoncurrentVersionTransitionArgs.builder()
  *                         .noncurrentDays(30)
- *                         .storageClass("STANDARD_IA")
+ *                         .storageClass("STANDARD_IA")
  *                         .build(),
  *                     BucketLifecycleConfigurationV2RuleNoncurrentVersionTransitionArgs.builder()
  *                         .noncurrentDays(60)
- *                         .storageClass("GLACIER")
+ *                         .storageClass("GLACIER")
  *                         .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(versioning)
@@ -587,7 +606,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLoggingV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLoggingV2.java index 61feaa6d50e..0acff9c9f60 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLoggingV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketLoggingV2.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,33 +55,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-tf-example-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-tf-example-bucket")
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var logBucket = new BucketV2("logBucket", BucketV2Args.builder()        
- *             .bucket("my-tf-log-bucket")
+ *         var logBucket = new BucketV2("logBucket", BucketV2Args.builder()        
+ *             .bucket("my-tf-log-bucket")
  *             .build());
  * 
- *         var logBucketAcl = new BucketAclV2("logBucketAcl", BucketAclV2Args.builder()        
+ *         var logBucketAcl = new BucketAclV2("logBucketAcl", BucketAclV2Args.builder()        
  *             .bucket(logBucket.id())
- *             .acl("log-delivery-write")
+ *             .acl("log-delivery-write")
  *             .build());
  * 
- *         var exampleBucketLoggingV2 = new BucketLoggingV2("exampleBucketLoggingV2", BucketLoggingV2Args.builder()        
+ *         var exampleBucketLoggingV2 = new BucketLoggingV2("exampleBucketLoggingV2", BucketLoggingV2Args.builder()        
  *             .bucket(example.id())
  *             .targetBucket(logBucket.id())
- *             .targetPrefix("log/")
+ *             .targetPrefix("log/")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketMetric.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketMetric.java index d9986aaa689..17f0ac3b6b9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketMetric.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketMetric.java @@ -25,7 +25,8 @@ * ### Add metrics configuration for entire S3 bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,24 +49,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example_entire_bucket = new BucketMetric("example-entire-bucket", BucketMetricArgs.builder()        
+ *         var example_entire_bucket = new BucketMetric("example-entire-bucket", BucketMetricArgs.builder()        
  *             .bucket(example.id())
- *             .name("EntireBucket")
+ *             .name("EntireBucket")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add metrics configuration with S3 object filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,31 +92,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example_filtered = new BucketMetric("example-filtered", BucketMetricArgs.builder()        
+ *         var example_filtered = new BucketMetric("example-filtered", BucketMetricArgs.builder()        
  *             .bucket(example.id())
- *             .name("ImportantBlueDocuments")
+ *             .name("ImportantBlueDocuments")
  *             .filter(BucketMetricFilterArgs.builder()
- *                 .prefix("documents/")
+ *                 .prefix("documents/")
  *                 .tags(Map.ofEntries(
- *                     Map.entry("priority", "high"),
- *                     Map.entry("class", "blue")
+ *                     Map.entry("priority", "high"),
+ *                     Map.entry("class", "blue")
  *                 ))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add metrics configuration with S3 object filter for S3 Access Point * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -139,30 +144,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var example_access_point = new AccessPoint("example-access-point", AccessPointArgs.builder()        
+ *         var example_access_point = new AccessPoint("example-access-point", AccessPointArgs.builder()        
  *             .bucket(example.id())
- *             .name("example-access-point")
+ *             .name("example-access-point")
  *             .build());
  * 
- *         var example_filtered = new BucketMetric("example-filtered", BucketMetricArgs.builder()        
+ *         var example_filtered = new BucketMetric("example-filtered", BucketMetricArgs.builder()        
  *             .bucket(example.id())
- *             .name("ImportantBlueDocuments")
+ *             .name("ImportantBlueDocuments")
  *             .filter(BucketMetricFilterArgs.builder()
  *                 .accessPoint(example_access_point.arn())
  *                 .tags(Map.ofEntries(
- *                     Map.entry("priority", "high"),
- *                     Map.entry("class", "blue")
+ *                     Map.entry("priority", "high"),
+ *                     Map.entry("class", "blue")
  *                 ))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketNotification.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketNotification.java index 9dd888bb5de..ada88729c09 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketNotification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketNotification.java @@ -31,7 +31,8 @@ * ### Add notification configuration to SNS Topic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,50 +60,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("your-bucket-name")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("your-bucket-name")
  *             .build());
  * 
  *         final var topic = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("s3.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("s3.amazonaws.com")
  *                     .build())
- *                 .actions("SNS:Publish")
- *                 .resources("arn:aws:sns:*:*:s3-event-notification-topic")
+ *                 .actions("SNS:Publish")
+ *                 .resources("arn:aws:sns:*:*:s3-event-notification-topic")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("ArnLike")
- *                     .variable("aws:SourceArn")
+ *                     .test("ArnLike")
+ *                     .variable("aws:SourceArn")
  *                     .values(bucket.arn())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var topicTopic = new Topic("topicTopic", TopicArgs.builder()        
- *             .name("s3-event-notification-topic")
- *             .policy(topic.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(topic -> topic.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var topicTopic = new Topic("topicTopic", TopicArgs.builder()        
+ *             .name("s3-event-notification-topic")
+ *             .policy(topic.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(topic -> topic.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
+ *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
  *             .bucket(bucket.id())
  *             .topics(BucketNotificationTopicArgs.builder()
  *                 .topicArn(topicTopic.arn())
- *                 .events("s3:ObjectCreated:*")
- *                 .filterSuffix(".log")
+ *                 .events("s3:ObjectCreated:*")
+ *                 .filterSuffix(".log")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add notification configuration to SQS Queue * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -130,50 +133,52 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("your-bucket-name")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("your-bucket-name")
  *             .build());
  * 
  *         final var queue = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("sqs:SendMessage")
- *                 .resources("arn:aws:sqs:*:*:s3-event-notification-queue")
+ *                 .actions("sqs:SendMessage")
+ *                 .resources("arn:aws:sqs:*:*:s3-event-notification-queue")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("ArnEquals")
- *                     .variable("aws:SourceArn")
+ *                     .test("ArnEquals")
+ *                     .variable("aws:SourceArn")
  *                     .values(bucket.arn())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var queueQueue = new Queue("queueQueue", QueueArgs.builder()        
- *             .name("s3-event-notification-queue")
- *             .policy(queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(queue -> queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var queueQueue = new Queue("queueQueue", QueueArgs.builder()        
+ *             .name("s3-event-notification-queue")
+ *             .policy(queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(queue -> queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
+ *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
  *             .bucket(bucket.id())
  *             .queues(BucketNotificationQueueArgs.builder()
  *                 .queueArn(queueQueue.arn())
- *                 .events("s3:ObjectCreated:*")
- *                 .filterSuffix(".log")
+ *                 .events("s3:ObjectCreated:*")
+ *                 .filterSuffix(".log")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add notification configuration to Lambda Function * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -209,47 +214,47 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
- *             .name("iam_for_lambda")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
+ *             .name("iam_for_lambda")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var func = new Function("func", FunctionArgs.builder()        
- *             .code(new FileArchive("your-function.zip"))
- *             .name("example_lambda_name")
+ *         var func = new Function("func", FunctionArgs.builder()        
+ *             .code(new FileArchive("your-function.zip"))
+ *             .name("example_lambda_name")
  *             .role(iamForLambda.arn())
- *             .handler("exports.example")
- *             .runtime("go1.x")
+ *             .handler("exports.example")
+ *             .runtime("go1.x")
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("your-bucket-name")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("your-bucket-name")
  *             .build());
  * 
- *         var allowBucket = new Permission("allowBucket", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromS3Bucket")
- *             .action("lambda:InvokeFunction")
+ *         var allowBucket = new Permission("allowBucket", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromS3Bucket")
+ *             .action("lambda:InvokeFunction")
  *             .function(func.arn())
- *             .principal("s3.amazonaws.com")
+ *             .principal("s3.amazonaws.com")
  *             .sourceArn(bucket.arn())
  *             .build());
  * 
- *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
+ *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
  *             .bucket(bucket.id())
  *             .lambdaFunctions(BucketNotificationLambdaFunctionArgs.builder()
  *                 .lambdaFunctionArn(func.arn())
- *                 .events("s3:ObjectCreated:*")
- *                 .filterPrefix("AWSLogs/")
- *                 .filterSuffix(".log")
+ *                 .events("s3:ObjectCreated:*")
+ *                 .filterPrefix("AWSLogs/")
+ *                 .filterSuffix(".log")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(allowBucket)
@@ -257,13 +262,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Trigger multiple Lambda functions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -299,69 +306,69 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("lambda.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("lambda.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
- *             .name("iam_for_lambda")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var iamForLambda = new Role("iamForLambda", RoleArgs.builder()        
+ *             .name("iam_for_lambda")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var func1 = new Function("func1", FunctionArgs.builder()        
- *             .code(new FileArchive("your-function1.zip"))
- *             .name("example_lambda_name1")
+ *         var func1 = new Function("func1", FunctionArgs.builder()        
+ *             .code(new FileArchive("your-function1.zip"))
+ *             .name("example_lambda_name1")
  *             .role(iamForLambda.arn())
- *             .handler("exports.example")
- *             .runtime("go1.x")
+ *             .handler("exports.example")
+ *             .runtime("go1.x")
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("your-bucket-name")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("your-bucket-name")
  *             .build());
  * 
- *         var allowBucket1 = new Permission("allowBucket1", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromS3Bucket1")
- *             .action("lambda:InvokeFunction")
+ *         var allowBucket1 = new Permission("allowBucket1", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromS3Bucket1")
+ *             .action("lambda:InvokeFunction")
  *             .function(func1.arn())
- *             .principal("s3.amazonaws.com")
+ *             .principal("s3.amazonaws.com")
  *             .sourceArn(bucket.arn())
  *             .build());
  * 
- *         var func2 = new Function("func2", FunctionArgs.builder()        
- *             .code(new FileArchive("your-function2.zip"))
- *             .name("example_lambda_name2")
+ *         var func2 = new Function("func2", FunctionArgs.builder()        
+ *             .code(new FileArchive("your-function2.zip"))
+ *             .name("example_lambda_name2")
  *             .role(iamForLambda.arn())
- *             .handler("exports.example")
+ *             .handler("exports.example")
  *             .build());
  * 
- *         var allowBucket2 = new Permission("allowBucket2", PermissionArgs.builder()        
- *             .statementId("AllowExecutionFromS3Bucket2")
- *             .action("lambda:InvokeFunction")
+ *         var allowBucket2 = new Permission("allowBucket2", PermissionArgs.builder()        
+ *             .statementId("AllowExecutionFromS3Bucket2")
+ *             .action("lambda:InvokeFunction")
  *             .function(func2.arn())
- *             .principal("s3.amazonaws.com")
+ *             .principal("s3.amazonaws.com")
  *             .sourceArn(bucket.arn())
  *             .build());
  * 
- *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
+ *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
  *             .bucket(bucket.id())
  *             .lambdaFunctions(            
  *                 BucketNotificationLambdaFunctionArgs.builder()
  *                     .lambdaFunctionArn(func1.arn())
- *                     .events("s3:ObjectCreated:*")
- *                     .filterPrefix("AWSLogs/")
- *                     .filterSuffix(".log")
+ *                     .events("s3:ObjectCreated:*")
+ *                     .filterPrefix("AWSLogs/")
+ *                     .filterSuffix(".log")
  *                     .build(),
  *                 BucketNotificationLambdaFunctionArgs.builder()
  *                     .lambdaFunctionArn(func2.arn())
- *                     .events("s3:ObjectCreated:*")
- *                     .filterPrefix("OtherLogs/")
- *                     .filterSuffix(".log")
+ *                     .events("s3:ObjectCreated:*")
+ *                     .filterPrefix("OtherLogs/")
+ *                     .filterSuffix(".log")
  *                     .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
@@ -371,13 +378,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add multiple notification configurations to SQS Queue * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -405,52 +414,53 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("your-bucket-name")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("your-bucket-name")
  *             .build());
  * 
  *         final var queue = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("sqs:SendMessage")
- *                 .resources("arn:aws:sqs:*:*:s3-event-notification-queue")
+ *                 .actions("sqs:SendMessage")
+ *                 .resources("arn:aws:sqs:*:*:s3-event-notification-queue")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("ArnEquals")
- *                     .variable("aws:SourceArn")
+ *                     .test("ArnEquals")
+ *                     .variable("aws:SourceArn")
  *                     .values(bucket.arn())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var queueQueue = new Queue("queueQueue", QueueArgs.builder()        
- *             .name("s3-event-notification-queue")
- *             .policy(queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(queue -> queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var queueQueue = new Queue("queueQueue", QueueArgs.builder()        
+ *             .name("s3-event-notification-queue")
+ *             .policy(queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(queue -> queue.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
+ *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
  *             .bucket(bucket.id())
  *             .queues(            
  *                 BucketNotificationQueueArgs.builder()
- *                     .id("image-upload-event")
+ *                     .id("image-upload-event")
  *                     .queueArn(queueQueue.arn())
- *                     .events("s3:ObjectCreated:*")
- *                     .filterPrefix("images/")
+ *                     .events("s3:ObjectCreated:*")
+ *                     .filterPrefix("images/")
  *                     .build(),
  *                 BucketNotificationQueueArgs.builder()
- *                     .id("video-upload-event")
+ *                     .id("video-upload-event")
  *                     .queueArn(queueQueue.arn())
- *                     .events("s3:ObjectCreated:*")
- *                     .filterPrefix("videos/")
+ *                     .events("s3:ObjectCreated:*")
+ *                     .filterPrefix("videos/")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * For JSON syntax, use an array instead of defining the `queue` key twice. @@ -458,7 +468,8 @@ * ### Emit events to EventBridge * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -481,18 +492,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("your-bucket-name")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("your-bucket-name")
  *             .build());
  * 
- *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
+ *         var bucketNotification = new BucketNotification("bucketNotification", BucketNotificationArgs.builder()        
  *             .bucket(bucket.id())
  *             .eventbridge(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObject.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObject.java index 49ee06687fa..73c105eb8c2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObject.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObject.java @@ -25,7 +25,8 @@ * ### Uploading a file to a bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,24 +48,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var object = new BucketObject("object", BucketObjectArgs.builder()        
- *             .bucket("your_bucket_name")
- *             .key("new_object_key")
- *             .source(new FileAsset("path/to/file"))
+ *         var object = new BucketObject("object", BucketObjectArgs.builder()        
+ *             .bucket("your_bucket_name")
+ *             .key("new_object_key")
+ *             .source(new FileAsset("path/to/file"))
  *             .etag(StdFunctions.filemd5(Filemd5Args.builder()
- *                 .input("path/to/file")
+ *                 .input("path/to/file")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Encrypting with KMS Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,36 +95,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplekms = new Key("examplekms", KeyArgs.builder()        
- *             .description("KMS key 1")
+ *         var examplekms = new Key("examplekms", KeyArgs.builder()        
+ *             .description("KMS key 1")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
- *             .key("someobject")
+ *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("index.html"))
+ *             .source(new FileAsset("index.html"))
  *             .kmsKeyId(examplekms.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Server Side Encryption with S3 Default Master Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -147,31 +152,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
- *             .key("someobject")
+ *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("index.html"))
- *             .serverSideEncryption("aws:kms")
+ *             .source(new FileAsset("index.html"))
+ *             .serverSideEncryption("aws:kms")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Server Side Encryption with AWS-Managed Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -197,31 +204,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
- *             .key("someobject")
+ *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("index.html"))
- *             .serverSideEncryption("AES256")
+ *             .source(new FileAsset("index.html"))
+ *             .serverSideEncryption("AES256")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Object Lock * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -251,30 +260,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .objectLockEnabled(true)
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(examplebucket.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
- *             .key("someobject")
+ *         var exampleBucketObject = new BucketObject("exampleBucketObject", BucketObjectArgs.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("important.txt"))
- *             .objectLockLegalHoldStatus("ON")
- *             .objectLockMode("GOVERNANCE")
- *             .objectLockRetainUntilDate("2021-12-31T23:59:60Z")
+ *             .source(new FileAsset("important.txt"))
+ *             .objectLockLegalHoldStatus("ON")
+ *             .objectLockMode("GOVERNANCE")
+ *             .objectLockRetainUntilDate("2021-12-31T23:59:60Z")
  *             .forceDestroy(true)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleBucketVersioningV2)
@@ -282,7 +291,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectLockConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectLockConfigurationV2.java index 245bb9bf4e8..6c64414afbd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectLockConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectLockConfigurationV2.java @@ -28,7 +28,8 @@ * ### Object Lock configuration for new or existing buckets * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,22 +57,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("mybucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("mybucket")
  *             .build());
  * 
- *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(example.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketObjectLockConfigurationV2 = new BucketObjectLockConfigurationV2("exampleBucketObjectLockConfigurationV2", BucketObjectLockConfigurationV2Args.builder()        
+ *         var exampleBucketObjectLockConfigurationV2 = new BucketObjectLockConfigurationV2("exampleBucketObjectLockConfigurationV2", BucketObjectLockConfigurationV2Args.builder()        
  *             .bucket(example.id())
  *             .rule(BucketObjectLockConfigurationV2RuleArgs.builder()
  *                 .defaultRetention(BucketObjectLockConfigurationV2RuleDefaultRetentionArgs.builder()
- *                     .mode("COMPLIANCE")
+ *                     .mode("COMPLIANCE")
  *                     .days(5)
  *                     .build())
  *                 .build())
@@ -79,7 +80,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java index 466da34e366..6f64fb3f6f7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketObjectv2.java @@ -28,7 +28,8 @@ * ### Uploading a file to a bucket * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,24 +51,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
- *             .bucket("your_bucket_name")
- *             .key("new_object_key")
- *             .source(new FileAsset("path/to/file"))
+ *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
+ *             .bucket("your_bucket_name")
+ *             .key("new_object_key")
+ *             .source(new FileAsset("path/to/file"))
  *             .etag(StdFunctions.filemd5(Filemd5Args.builder()
- *                 .input("path/to/file")
+ *                 .input("path/to/file")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Encrypting with KMS Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -95,36 +98,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplekms = new Key("examplekms", KeyArgs.builder()        
- *             .description("KMS key 1")
+ *         var examplekms = new Key("examplekms", KeyArgs.builder()        
+ *             .description("KMS key 1")
  *             .deletionWindowInDays(7)
  *             .build());
  * 
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
- *             .key("someobject")
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("index.html"))
+ *             .source(new FileAsset("index.html"))
  *             .kmsKeyId(examplekms.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Server Side Encryption with S3 Default Master Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -150,31 +155,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
- *             .key("someobject")
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("index.html"))
- *             .serverSideEncryption("aws:kms")
+ *             .source(new FileAsset("index.html"))
+ *             .serverSideEncryption("aws:kms")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Server Side Encryption with AWS-Managed Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -200,31 +207,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
- *             .key("someobject")
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("index.html"))
- *             .serverSideEncryption("AES256")
+ *             .source(new FileAsset("index.html"))
+ *             .serverSideEncryption("AES256")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 Object Lock * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -254,30 +263,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .objectLockEnabled(true)
  *             .build());
  * 
- *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
+ *         var example = new BucketAclV2("example", BucketAclV2Args.builder()        
  *             .bucket(examplebucket.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(examplebucket.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var examplebucketObject = new BucketObjectv2("examplebucketObject", BucketObjectv2Args.builder()        
- *             .key("someobject")
+ *         var examplebucketObject = new BucketObjectv2("examplebucketObject", BucketObjectv2Args.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("important.txt"))
- *             .objectLockLegalHoldStatus("ON")
- *             .objectLockMode("GOVERNANCE")
- *             .objectLockRetainUntilDate("2021-12-31T23:59:60Z")
+ *             .source(new FileAsset("important.txt"))
+ *             .objectLockLegalHoldStatus("ON")
+ *             .objectLockMode("GOVERNANCE")
+ *             .objectLockRetainUntilDate("2021-12-31T23:59:60Z")
  *             .forceDestroy(true)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleBucketVersioningV2)
@@ -285,7 +294,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Ignoring Provider `default_tags` @@ -296,7 +306,8 @@ * > S3 objects stored in Amazon S3 Express directory buckets do not support tags, so any provider-level `default_tags` must be suppressed. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -322,15 +333,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
- *             .bucket("examplebuckettftest")
+ *         var examplebucket = new BucketV2("examplebucket", BucketV2Args.builder()        
+ *             .bucket("examplebuckettftest")
  *             .build());
  * 
- *         var examplebucketObject = new BucketObjectv2("examplebucketObject", BucketObjectv2Args.builder()        
- *             .key("someobject")
+ *         var examplebucketObject = new BucketObjectv2("examplebucketObject", BucketObjectv2Args.builder()        
+ *             .key("someobject")
  *             .bucket(examplebucket.id())
- *             .source(new FileAsset("important.txt"))
- *             .tags(Map.of("Env", "test"))
+ *             .source(new FileAsset("important.txt"))
+ *             .tags(Map.of("Env", "test"))
  *             .overrideProvider(BucketObjectv2OverrideProviderArgs.builder()
  *                 .defaultTags(BucketObjectv2OverrideProviderDefaultTagsArgs.builder()
  *                     .tags()
@@ -340,7 +351,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketOwnershipControls.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketOwnershipControls.java index 0bb3f192c48..984f2909f16 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketOwnershipControls.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketOwnershipControls.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
+ *         var exampleBucketOwnershipControls = new BucketOwnershipControls("exampleBucketOwnershipControls", BucketOwnershipControlsArgs.builder()        
  *             .bucket(example.id())
  *             .rule(BucketOwnershipControlsRuleArgs.builder()
- *                 .objectOwnership("BucketOwnerPreferred")
+ *                 .objectOwnership("BucketOwnerPreferred")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPolicy.java index 88d1f43a06b..0b37ed68918 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPolicy.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,33 +49,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-tf-test-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-tf-test-bucket")
  *             .build());
  * 
  *         final var allowAccessFromAnotherAccount = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("123456789012")
+ *                     .type("AWS")
+ *                     .identifiers("123456789012")
  *                     .build())
  *                 .actions(                
- *                     "s3:GetObject",
- *                     "s3:ListBucket")
+ *                     "s3:GetObject",
+ *                     "s3:ListBucket")
  *                 .resources(                
  *                     example.arn(),
- *                     example.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                     example.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                 .build())
  *             .build());
  * 
- *         var allowAccessFromAnotherAccountBucketPolicy = new BucketPolicy("allowAccessFromAnotherAccountBucketPolicy", BucketPolicyArgs.builder()        
+ *         var allowAccessFromAnotherAccountBucketPolicy = new BucketPolicy("allowAccessFromAnotherAccountBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(example.id())
- *             .policy(allowAccessFromAnotherAccount.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAccessFromAnotherAccount -> allowAccessFromAnotherAccount.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(allowAccessFromAnotherAccount.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(allowAccessFromAnotherAccount -> allowAccessFromAnotherAccount.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPublicAccessBlock.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPublicAccessBlock.java index fb6ffc5022b..8c180226df5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPublicAccessBlock.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketPublicAccessBlock.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,11 +47,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleBucketPublicAccessBlock = new BucketPublicAccessBlock("exampleBucketPublicAccessBlock", BucketPublicAccessBlockArgs.builder()        
+ *         var exampleBucketPublicAccessBlock = new BucketPublicAccessBlock("exampleBucketPublicAccessBlock", BucketPublicAccessBlockArgs.builder()        
  *             .bucket(example.id())
  *             .blockPublicAcls(true)
  *             .blockPublicPolicy(true)
@@ -60,7 +61,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java index fb6c321f3a8..faa022724b7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java @@ -28,7 +28,8 @@ * ### Using replication configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -70,96 +71,96 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("s3.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("s3.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var replicationRole = new Role("replicationRole", RoleArgs.builder()        
- *             .name("tf-iam-role-replication-12345")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var replicationRole = new Role("replicationRole", RoleArgs.builder()        
+ *             .name("tf-iam-role-replication-12345")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var destination = new BucketV2("destination", BucketV2Args.builder()        
- *             .bucket("tf-test-bucket-destination-12345")
+ *         var destination = new BucketV2("destination", BucketV2Args.builder()        
+ *             .bucket("tf-test-bucket-destination-12345")
  *             .build());
  * 
- *         var source = new BucketV2("source", BucketV2Args.builder()        
- *             .bucket("tf-test-bucket-source-12345")
+ *         var source = new BucketV2("source", BucketV2Args.builder()        
+ *             .bucket("tf-test-bucket-source-12345")
  *             .build());
  * 
  *         final var replication = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "s3:GetReplicationConfiguration",
- *                         "s3:ListBucket")
+ *                         "s3:GetReplicationConfiguration",
+ *                         "s3:ListBucket")
  *                     .resources(source.arn())
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "s3:GetObjectVersionForReplication",
- *                         "s3:GetObjectVersionAcl",
- *                         "s3:GetObjectVersionTagging")
- *                     .resources(source.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                         "s3:GetObjectVersionForReplication",
+ *                         "s3:GetObjectVersionAcl",
+ *                         "s3:GetObjectVersionTagging")
+ *                     .resources(source.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .actions(                    
- *                         "s3:ReplicateObject",
- *                         "s3:ReplicateDelete",
- *                         "s3:ReplicateTags")
- *                     .resources(destination.arn().applyValue(arn -> String.format("%s/*", arn)))
+ *                         "s3:ReplicateObject",
+ *                         "s3:ReplicateDelete",
+ *                         "s3:ReplicateTags")
+ *                     .resources(destination.arn().applyValue(arn -> String.format("%s/*", arn)))
  *                     .build())
  *             .build());
  * 
- *         var replicationPolicy = new Policy("replicationPolicy", PolicyArgs.builder()        
- *             .name("tf-iam-role-policy-replication-12345")
- *             .policy(replication.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(replication -> replication.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *         var replicationPolicy = new Policy("replicationPolicy", PolicyArgs.builder()        
+ *             .name("tf-iam-role-policy-replication-12345")
+ *             .policy(replication.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(replication -> replication.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
- *         var replicationRolePolicyAttachment = new RolePolicyAttachment("replicationRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var replicationRolePolicyAttachment = new RolePolicyAttachment("replicationRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(replicationRole.name())
  *             .policyArn(replicationPolicy.arn())
  *             .build());
  * 
- *         var destinationBucketVersioningV2 = new BucketVersioningV2("destinationBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var destinationBucketVersioningV2 = new BucketVersioningV2("destinationBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(destination.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var sourceBucketAcl = new BucketAclV2("sourceBucketAcl", BucketAclV2Args.builder()        
+ *         var sourceBucketAcl = new BucketAclV2("sourceBucketAcl", BucketAclV2Args.builder()        
  *             .bucket(source.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var sourceBucketVersioningV2 = new BucketVersioningV2("sourceBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var sourceBucketVersioningV2 = new BucketVersioningV2("sourceBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(source.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var replicationBucketReplicationConfig = new BucketReplicationConfig("replicationBucketReplicationConfig", BucketReplicationConfigArgs.builder()        
+ *         var replicationBucketReplicationConfig = new BucketReplicationConfig("replicationBucketReplicationConfig", BucketReplicationConfigArgs.builder()        
  *             .role(replicationRole.arn())
  *             .bucket(source.id())
  *             .rules(BucketReplicationConfigRuleArgs.builder()
- *                 .id("foobar")
+ *                 .id("foobar")
  *                 .filter(BucketReplicationConfigRuleFilterArgs.builder()
- *                     .prefix("foo")
+ *                     .prefix("foo")
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .destination(BucketReplicationConfigRuleDestinationArgs.builder()
  *                     .bucket(destination.arn())
- *                     .storageClass("STANDARD")
+ *                     .storageClass("STANDARD")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -168,13 +169,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Bi-Directional Replication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -205,58 +208,58 @@
  * 
  *     public static void stack(Context ctx) {
  *         // ... other configuration ...
- *         var east = new BucketV2("east", BucketV2Args.builder()        
- *             .bucket("tf-test-bucket-east-12345")
+ *         var east = new BucketV2("east", BucketV2Args.builder()        
+ *             .bucket("tf-test-bucket-east-12345")
  *             .build());
  * 
- *         var eastBucketVersioningV2 = new BucketVersioningV2("eastBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var eastBucketVersioningV2 = new BucketVersioningV2("eastBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(east.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var west = new BucketV2("west", BucketV2Args.builder()        
- *             .bucket("tf-test-bucket-west-12345")
+ *         var west = new BucketV2("west", BucketV2Args.builder()        
+ *             .bucket("tf-test-bucket-west-12345")
  *             .build());
  * 
- *         var westBucketVersioningV2 = new BucketVersioningV2("westBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var westBucketVersioningV2 = new BucketVersioningV2("westBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(west.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var eastToWest = new BucketReplicationConfig("eastToWest", BucketReplicationConfigArgs.builder()        
+ *         var eastToWest = new BucketReplicationConfig("eastToWest", BucketReplicationConfigArgs.builder()        
  *             .role(eastReplication.arn())
  *             .bucket(east.id())
  *             .rules(BucketReplicationConfigRuleArgs.builder()
- *                 .id("foobar")
+ *                 .id("foobar")
  *                 .filter(BucketReplicationConfigRuleFilterArgs.builder()
- *                     .prefix("foo")
+ *                     .prefix("foo")
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .destination(BucketReplicationConfigRuleDestinationArgs.builder()
  *                     .bucket(west.arn())
- *                     .storageClass("STANDARD")
+ *                     .storageClass("STANDARD")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(eastBucketVersioningV2)
  *                 .build());
  * 
- *         var westToEast = new BucketReplicationConfig("westToEast", BucketReplicationConfigArgs.builder()        
+ *         var westToEast = new BucketReplicationConfig("westToEast", BucketReplicationConfigArgs.builder()        
  *             .role(westReplication.arn())
  *             .bucket(west.id())
  *             .rules(BucketReplicationConfigRuleArgs.builder()
- *                 .id("foobar")
+ *                 .id("foobar")
  *                 .filter(BucketReplicationConfigRuleFilterArgs.builder()
- *                     .prefix("foo")
+ *                     .prefix("foo")
  *                     .build())
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .destination(BucketReplicationConfigRuleDestinationArgs.builder()
  *                     .bucket(east.arn())
- *                     .storageClass("STANDARD")
+ *                     .storageClass("STANDARD")
  *                     .build())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -265,7 +268,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketRequestPaymentConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketRequestPaymentConfigurationV2.java index ba9346e2a37..a5d806e55dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketRequestPaymentConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketRequestPaymentConfigurationV2.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketRequestPaymentConfigurationV2("example", BucketRequestPaymentConfigurationV2Args.builder()        
+ *         var example = new BucketRequestPaymentConfigurationV2("example", BucketRequestPaymentConfigurationV2Args.builder()        
  *             .bucket(exampleAwsS3Bucket.id())
- *             .payer("Requester")
+ *             .payer("Requester")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketServerSideEncryptionConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketServerSideEncryptionConfigurationV2.java index cb3f15ddd3f..1f75e1d90cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketServerSideEncryptionConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketServerSideEncryptionConfigurationV2.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,28 +54,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var mykey = new Key("mykey", KeyArgs.builder()        
- *             .description("This key is used to encrypt bucket objects")
+ *         var mykey = new Key("mykey", KeyArgs.builder()        
+ *             .description("This key is used to encrypt bucket objects")
  *             .deletionWindowInDays(10)
  *             .build());
  * 
- *         var mybucket = new BucketV2("mybucket", BucketV2Args.builder()        
- *             .bucket("mybucket")
+ *         var mybucket = new BucketV2("mybucket", BucketV2Args.builder()        
+ *             .bucket("mybucket")
  *             .build());
  * 
- *         var example = new BucketServerSideEncryptionConfigurationV2("example", BucketServerSideEncryptionConfigurationV2Args.builder()        
+ *         var example = new BucketServerSideEncryptionConfigurationV2("example", BucketServerSideEncryptionConfigurationV2Args.builder()        
  *             .bucket(mybucket.id())
  *             .rules(BucketServerSideEncryptionConfigurationV2RuleArgs.builder()
  *                 .applyServerSideEncryptionByDefault(BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs.builder()
  *                     .kmsMasterKeyId(mykey.arn())
- *                     .sseAlgorithm("aws:kms")
+ *                     .sseAlgorithm("aws:kms")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketV2.java index fe99cb9bf48..894687c9d0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketV2.java @@ -39,7 +39,8 @@ * ### Private Bucket With Tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -60,17 +61,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("my-tf-test-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("my-tf-test-bucket")
  *             .tags(Map.ofEntries(
- *                 Map.entry("Name", "My bucket"),
- *                 Map.entry("Environment", "Dev")
+ *                 Map.entry("Name", "My bucket"),
+ *                 Map.entry("Environment", "Dev")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketVersioningV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketVersioningV2.java index afacb6da30d..0702e9bfbc3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketVersioningV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketVersioningV2.java @@ -31,7 +31,8 @@ * ### With Versioning Enabled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,31 +58,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example-bucket")
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var versioningExample = new BucketVersioningV2("versioningExample", BucketVersioningV2Args.builder()        
+ *         var versioningExample = new BucketVersioningV2("versioningExample", BucketVersioningV2Args.builder()        
  *             .bucket(example.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Versioning Disabled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,25 +110,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example-bucket")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example-bucket")
  *             .build());
  * 
- *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
+ *         var exampleBucketAclV2 = new BucketAclV2("exampleBucketAclV2", BucketAclV2Args.builder()        
  *             .bucket(example.id())
- *             .acl("private")
+ *             .acl("private")
  *             .build());
  * 
- *         var versioningExample = new BucketVersioningV2("versioningExample", BucketVersioningV2Args.builder()        
+ *         var versioningExample = new BucketVersioningV2("versioningExample", BucketVersioningV2Args.builder()        
  *             .bucket(example.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Disabled")
+ *                 .status("Disabled")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Object Dependency On Versioning @@ -137,7 +141,8 @@ * This example shows the `aws_s3_object.example` depending implicitly on the versioning resource through the reference to `aws_s3_bucket_versioning.example.bucket` to define `bucket`: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -164,26 +169,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("yotto")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("yotto")
  *             .build());
  * 
- *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
+ *         var exampleBucketVersioningV2 = new BucketVersioningV2("exampleBucketVersioningV2", BucketVersioningV2Args.builder()        
  *             .bucket(example.id())
  *             .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()
- *                 .status("Enabled")
+ *                 .status("Enabled")
  *                 .build())
  *             .build());
  * 
- *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
+ *         var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()        
  *             .bucket(exampleBucketVersioningV2.id())
- *             .key("droeloe")
- *             .source(new FileAsset("example.txt"))
+ *             .key("droeloe")
+ *             .source(new FileAsset("example.txt"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketWebsiteConfigurationV2.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketWebsiteConfigurationV2.java index e4a3b3ddbdd..d4e85208bc8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketWebsiteConfigurationV2.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketWebsiteConfigurationV2.java @@ -29,7 +29,8 @@ * ### With `routing_rule` configured * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,33 +56,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketWebsiteConfigurationV2("example", BucketWebsiteConfigurationV2Args.builder()        
+ *         var example = new BucketWebsiteConfigurationV2("example", BucketWebsiteConfigurationV2Args.builder()        
  *             .bucket(exampleAwsS3Bucket.id())
  *             .indexDocument(BucketWebsiteConfigurationV2IndexDocumentArgs.builder()
- *                 .suffix("index.html")
+ *                 .suffix("index.html")
  *                 .build())
  *             .errorDocument(BucketWebsiteConfigurationV2ErrorDocumentArgs.builder()
- *                 .key("error.html")
+ *                 .key("error.html")
  *                 .build())
  *             .routingRules(BucketWebsiteConfigurationV2RoutingRuleArgs.builder()
  *                 .condition(BucketWebsiteConfigurationV2RoutingRuleConditionArgs.builder()
- *                     .keyPrefixEquals("docs/")
+ *                     .keyPrefixEquals("docs/")
  *                     .build())
  *                 .redirect(BucketWebsiteConfigurationV2RoutingRuleRedirectArgs.builder()
- *                     .replaceKeyPrefixWith("documents/")
+ *                     .replaceKeyPrefixWith("documents/")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With `routing_rules` configured * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -104,29 +107,30 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketWebsiteConfigurationV2("example", BucketWebsiteConfigurationV2Args.builder()        
+ *         var example = new BucketWebsiteConfigurationV2("example", BucketWebsiteConfigurationV2Args.builder()        
  *             .bucket(exampleAwsS3Bucket.id())
  *             .indexDocument(BucketWebsiteConfigurationV2IndexDocumentArgs.builder()
- *                 .suffix("index.html")
+ *                 .suffix("index.html")
  *                 .build())
  *             .errorDocument(BucketWebsiteConfigurationV2ErrorDocumentArgs.builder()
- *                 .key("error.html")
+ *                 .key("error.html")
  *                 .build())
- *             .routingRuleDetails("""
+ *             .routingRuleDetails("""
  * [{
- *     "Condition": {
- *         "KeyPrefixEquals": "docs/"
+ *     "Condition": {
+ *         "KeyPrefixEquals": "docs/"
  *     },
- *     "Redirect": {
- *         "ReplaceKeyPrefixWith": ""
+ *     "Redirect": {
+ *         "ReplaceKeyPrefixWith": ""
  *     }
  * }]
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/DirectoryBucket.java b/sdk/java/src/main/java/com/pulumi/aws/s3/DirectoryBucket.java index a90077c9711..b71980106a7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/DirectoryBucket.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/DirectoryBucket.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DirectoryBucket("example", DirectoryBucketArgs.builder()        
- *             .bucket("example--usw2-az1--x-s3")
+ *         var example = new DirectoryBucket("example", DirectoryBucketArgs.builder()        
+ *             .bucket("example--usw2-az1--x-s3")
  *             .location(DirectoryBucketLocationArgs.builder()
- *                 .name("usw2-az1")
+ *                 .name("usw2-az1")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/Inventory.java b/sdk/java/src/main/java/com/pulumi/aws/s3/Inventory.java index 62a0b05fc9a..947d6e69fba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/Inventory.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/Inventory.java @@ -29,7 +29,8 @@ * ### Add inventory configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,24 +56,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new BucketV2("test", BucketV2Args.builder()        
- *             .bucket("my-tf-test-bucket")
+ *         var test = new BucketV2("test", BucketV2Args.builder()        
+ *             .bucket("my-tf-test-bucket")
  *             .build());
  * 
- *         var inventory = new BucketV2("inventory", BucketV2Args.builder()        
- *             .bucket("my-tf-inventory-bucket")
+ *         var inventory = new BucketV2("inventory", BucketV2Args.builder()        
+ *             .bucket("my-tf-inventory-bucket")
  *             .build());
  * 
- *         var testInventory = new Inventory("testInventory", InventoryArgs.builder()        
+ *         var testInventory = new Inventory("testInventory", InventoryArgs.builder()        
  *             .bucket(test.id())
- *             .name("EntireBucketDaily")
- *             .includedObjectVersions("All")
+ *             .name("EntireBucketDaily")
+ *             .includedObjectVersions("All")
  *             .schedule(InventoryScheduleArgs.builder()
- *                 .frequency("Daily")
+ *                 .frequency("Daily")
  *                 .build())
  *             .destination(InventoryDestinationArgs.builder()
  *                 .bucket(InventoryDestinationBucketArgs.builder()
- *                     .format("ORC")
+ *                     .format("ORC")
  *                     .bucketArn(inventory.arn())
  *                     .build())
  *                 .build())
@@ -80,13 +81,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Add inventory configuration with S3 object prefix * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -113,36 +116,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new BucketV2("test", BucketV2Args.builder()        
- *             .bucket("my-tf-test-bucket")
+ *         var test = new BucketV2("test", BucketV2Args.builder()        
+ *             .bucket("my-tf-test-bucket")
  *             .build());
  * 
- *         var inventory = new BucketV2("inventory", BucketV2Args.builder()        
- *             .bucket("my-tf-inventory-bucket")
+ *         var inventory = new BucketV2("inventory", BucketV2Args.builder()        
+ *             .bucket("my-tf-inventory-bucket")
  *             .build());
  * 
- *         var test_prefix = new Inventory("test-prefix", InventoryArgs.builder()        
+ *         var test_prefix = new Inventory("test-prefix", InventoryArgs.builder()        
  *             .bucket(test.id())
- *             .name("DocumentsWeekly")
- *             .includedObjectVersions("All")
+ *             .name("DocumentsWeekly")
+ *             .includedObjectVersions("All")
  *             .schedule(InventoryScheduleArgs.builder()
- *                 .frequency("Daily")
+ *                 .frequency("Daily")
  *                 .build())
  *             .filter(InventoryFilterArgs.builder()
- *                 .prefix("documents/")
+ *                 .prefix("documents/")
  *                 .build())
  *             .destination(InventoryDestinationArgs.builder()
  *                 .bucket(InventoryDestinationBucketArgs.builder()
- *                     .format("ORC")
+ *                     .format("ORC")
  *                     .bucketArn(inventory.arn())
- *                     .prefix("inventory")
+ *                     .prefix("inventory")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java b/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java index 3d11715c2fa..3becb533d57 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/ObjectCopy.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ObjectCopy("test", ObjectCopyArgs.builder()        
- *             .bucket("destination_bucket")
- *             .key("destination_key")
- *             .source("source_bucket/source_key")
+ *         var test = new ObjectCopy("test", ObjectCopyArgs.builder()        
+ *             .bucket("destination_bucket")
+ *             .key("destination_key")
+ *             .source("source_bucket/source_key")
  *             .grants(ObjectCopyGrantArgs.builder()
- *                 .uri("http://acs.amazonaws.com/groups/global/AllUsers")
- *                 .type("Group")
- *                 .permissions("READ")
+ *                 .uri("http://acs.amazonaws.com/groups/global/AllUsers")
+ *                 .type("Group")
+ *                 .permissions("READ")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/S3Functions.java b/sdk/java/src/main/java/com/pulumi/aws/s3/S3Functions.java index 2b91faf6093..683c410febd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3/S3Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3/S3Functions.java @@ -41,7 +41,8 @@ public final class S3Functions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -66,7 +67,8 @@ public final class S3Functions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -79,7 +81,8 @@ public static Output getAccountPublicAccessBl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -104,7 +107,8 @@ public static Output getAccountPublicAccessBl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -117,7 +121,8 @@ public static CompletableFuture getAccountPub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,7 +147,8 @@ public static CompletableFuture getAccountPub
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getAccountPublicAccessBl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -180,7 +187,8 @@ public static Output getAccountPublicAccessBl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getAccountPub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -218,7 +227,8 @@ public static CompletableFuture getAccountPub
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -231,7 +241,8 @@ public static Output getAccountPublicAccessBl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -256,7 +267,8 @@ public static Output getAccountPublicAccessBl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -274,7 +286,8 @@ public static CompletableFuture getAccountPub * ### Route53 Record * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -301,32 +314,34 @@ public static CompletableFuture getAccountPub
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("bucket.test.com")
+     *             .bucket("bucket.test.com")
      *             .build());
      * 
      *         final var testZone = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .build());
      * 
-     *         var example = new Record("example", RecordArgs.builder()        
-     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
-     *             .name("bucket")
-     *             .type("A")
+     *         var example = new Record("example", RecordArgs.builder()        
+     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
+     *             .name("bucket")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
-     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
-     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
+     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
+     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### CloudFront Origin * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -351,19 +366,20 @@ public static CompletableFuture getAccountPub
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("a-test-bucket")
+     *             .bucket("a-test-bucket")
      *             .build());
      * 
-     *         var test = new Distribution("test", DistributionArgs.builder()        
+     *         var test = new Distribution("test", DistributionArgs.builder()        
      *             .origins(DistributionOriginArgs.builder()
-     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
-     *                 .originId("s3-selected-bucket")
+     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
+     *                 .originId("s3-selected-bucket")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -381,7 +397,8 @@ public static Output getBucket(GetBucketArgs args) { * ### Route53 Record * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -408,32 +425,34 @@ public static Output getBucket(GetBucketArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("bucket.test.com")
+     *             .bucket("bucket.test.com")
      *             .build());
      * 
      *         final var testZone = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .build());
      * 
-     *         var example = new Record("example", RecordArgs.builder()        
-     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
-     *             .name("bucket")
-     *             .type("A")
+     *         var example = new Record("example", RecordArgs.builder()        
+     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
+     *             .name("bucket")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
-     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
-     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
+     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
+     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### CloudFront Origin * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,19 +477,20 @@ public static Output getBucket(GetBucketArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("a-test-bucket")
+     *             .bucket("a-test-bucket")
      *             .build());
      * 
-     *         var test = new Distribution("test", DistributionArgs.builder()        
+     *         var test = new Distribution("test", DistributionArgs.builder()        
      *             .origins(DistributionOriginArgs.builder()
-     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
-     *                 .originId("s3-selected-bucket")
+     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
+     *                 .originId("s3-selected-bucket")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -488,7 +508,8 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr * ### Route53 Record * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -515,32 +536,34 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("bucket.test.com")
+     *             .bucket("bucket.test.com")
      *             .build());
      * 
      *         final var testZone = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .build());
      * 
-     *         var example = new Record("example", RecordArgs.builder()        
-     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
-     *             .name("bucket")
-     *             .type("A")
+     *         var example = new Record("example", RecordArgs.builder()        
+     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
+     *             .name("bucket")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
-     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
-     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
+     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
+     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### CloudFront Origin * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -565,19 +588,20 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("a-test-bucket")
+     *             .bucket("a-test-bucket")
      *             .build());
      * 
-     *         var test = new Distribution("test", DistributionArgs.builder()        
+     *         var test = new Distribution("test", DistributionArgs.builder()        
      *             .origins(DistributionOriginArgs.builder()
-     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
-     *                 .originId("s3-selected-bucket")
+     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
+     *                 .originId("s3-selected-bucket")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -595,7 +619,8 @@ public static Output getBucket(GetBucketArgs args, InvokeOption * ### Route53 Record * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -622,32 +647,34 @@ public static Output getBucket(GetBucketArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("bucket.test.com")
+     *             .bucket("bucket.test.com")
      *             .build());
      * 
      *         final var testZone = Route53Functions.getZone(GetZoneArgs.builder()
-     *             .name("test.com.")
+     *             .name("test.com.")
      *             .build());
      * 
-     *         var example = new Record("example", RecordArgs.builder()        
-     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
-     *             .name("bucket")
-     *             .type("A")
+     *         var example = new Record("example", RecordArgs.builder()        
+     *             .zoneId(testZone.applyValue(getZoneResult -> getZoneResult.id()))
+     *             .name("bucket")
+     *             .type("A")
      *             .aliases(RecordAliasArgs.builder()
-     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
-     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
+     *                 .name(selected.applyValue(getBucketResult -> getBucketResult.websiteDomain()))
+     *                 .zoneId(selected.applyValue(getBucketResult -> getBucketResult.hostedZoneId()))
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### CloudFront Origin * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -672,19 +699,20 @@ public static Output getBucket(GetBucketArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var selected = S3Functions.getBucket(GetBucketArgs.builder()
-     *             .bucket("a-test-bucket")
+     *             .bucket("a-test-bucket")
      *             .build());
      * 
-     *         var test = new Distribution("test", DistributionArgs.builder()        
+     *         var test = new Distribution("test", DistributionArgs.builder()        
      *             .origins(DistributionOriginArgs.builder()
-     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
-     *                 .originId("s3-selected-bucket")
+     *                 .domainName(selected.applyValue(getBucketResult -> getBucketResult.bucketDomainName()))
+     *                 .originId("s3-selected-bucket")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -705,7 +733,8 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -729,19 +758,20 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -751,7 +781,8 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -775,22 +806,23 @@ public static CompletableFuture getBucketPlain(GetBucketPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
-     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
+     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -811,7 +843,8 @@ public static Output getBucketObject(GetBucketObjectArgs * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -835,19 +868,20 @@ public static Output getBucketObject(GetBucketObjectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -857,7 +891,8 @@ public static Output getBucketObject(GetBucketObjectArgs * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -881,22 +916,23 @@ public static Output getBucketObject(GetBucketObjectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
-     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
+     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -917,7 +953,8 @@ public static CompletableFuture getBucketObjectPlain(GetB * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -941,19 +978,20 @@ public static CompletableFuture getBucketObjectPlain(GetB
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -963,7 +1001,8 @@ public static CompletableFuture getBucketObjectPlain(GetB * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -987,22 +1026,23 @@ public static CompletableFuture getBucketObjectPlain(GetB
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
-     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
+     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1023,7 +1063,8 @@ public static Output getBucketObject(GetBucketObjectArgs * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1047,19 +1088,20 @@ public static Output getBucketObject(GetBucketObjectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getBucketObjectResult -> getBucketObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -1069,7 +1111,8 @@ public static Output getBucketObject(GetBucketObjectArgs * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1093,22 +1136,23 @@ public static Output getBucketObject(GetBucketObjectArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getBucketObject(GetBucketObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
-     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.id()))
+     *             .s3Key(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getBucketObjectResult -> getBucketObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1167,7 +1211,8 @@ public static CompletableFuture getBucketObjectsPlain(Ge * The following example retrieves IAM policy of a specified S3 bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1189,13 +1234,14 @@ public static CompletableFuture getBucketObjectsPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3Functions.getBucketPolicy(GetBucketPolicyArgs.builder()
-     *             .bucket("example-bucket-name")
+     *             .bucket("example-bucket-name")
      *             .build());
      * 
-     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
+     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1210,7 +1256,8 @@ public static Output getBucketPolicy(GetBucketPolicyArgs * The following example retrieves IAM policy of a specified S3 bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1232,13 +1279,14 @@ public static Output getBucketPolicy(GetBucketPolicyArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3Functions.getBucketPolicy(GetBucketPolicyArgs.builder()
-     *             .bucket("example-bucket-name")
+     *             .bucket("example-bucket-name")
      *             .build());
      * 
-     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
+     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1253,7 +1301,8 @@ public static CompletableFuture getBucketPolicyPlain(GetB * The following example retrieves IAM policy of a specified S3 bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1275,13 +1324,14 @@ public static CompletableFuture getBucketPolicyPlain(GetB
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3Functions.getBucketPolicy(GetBucketPolicyArgs.builder()
-     *             .bucket("example-bucket-name")
+     *             .bucket("example-bucket-name")
      *             .build());
      * 
-     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
+     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1296,7 +1346,8 @@ public static Output getBucketPolicy(GetBucketPolicyArgs * The following example retrieves IAM policy of a specified S3 bucket. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1318,13 +1369,14 @@ public static Output getBucketPolicy(GetBucketPolicyArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3Functions.getBucketPolicy(GetBucketPolicyArgs.builder()
-     *             .bucket("example-bucket-name")
+     *             .bucket("example-bucket-name")
      *             .build());
      * 
-     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
+     *         ctx.export("foo", example.applyValue(getBucketPolicyResult -> getBucketPolicyResult.policy()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1340,7 +1392,8 @@ public static CompletableFuture getBucketPolicyPlain(GetB * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1362,10 +1415,11 @@ public static CompletableFuture getBucketPolicyPlain(GetB
      *     public static void stack(Context ctx) {
      *         final var current = S3Functions.getCanonicalUserId();
      * 
-     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
+     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1381,7 +1435,8 @@ public static Output getCanonicalUserId() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1403,10 +1458,11 @@ public static Output getCanonicalUserId() {
      *     public static void stack(Context ctx) {
      *         final var current = S3Functions.getCanonicalUserId();
      * 
-     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
+     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1422,7 +1478,8 @@ public static CompletableFuture getCanonicalUserIdPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1444,10 +1501,11 @@ public static CompletableFuture getCanonicalUserIdPlai
      *     public static void stack(Context ctx) {
      *         final var current = S3Functions.getCanonicalUserId();
      * 
-     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
+     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1463,7 +1521,8 @@ public static Output getCanonicalUserId(InvokeArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1485,10 +1544,11 @@ public static Output getCanonicalUserId(InvokeArgs arg
      *     public static void stack(Context ctx) {
      *         final var current = S3Functions.getCanonicalUserId();
      * 
-     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
+     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1504,7 +1564,8 @@ public static CompletableFuture getCanonicalUserIdPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1526,10 +1587,11 @@ public static CompletableFuture getCanonicalUserIdPlai
      *     public static void stack(Context ctx) {
      *         final var current = S3Functions.getCanonicalUserId();
      * 
-     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
+     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1545,7 +1607,8 @@ public static Output getCanonicalUserId(InvokeArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1567,10 +1630,11 @@ public static Output getCanonicalUserId(InvokeArgs arg
      *     public static void stack(Context ctx) {
      *         final var current = S3Functions.getCanonicalUserId();
      * 
-     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
+     *         ctx.export("canonicalUserId", current.applyValue(getCanonicalUserIdResult -> getCanonicalUserIdResult.id()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1583,7 +1647,8 @@ public static CompletableFuture getCanonicalUserIdPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1607,7 +1672,8 @@ public static CompletableFuture getCanonicalUserIdPlai
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1620,7 +1686,8 @@ public static Output getDirectoryBuckets() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1644,7 +1711,8 @@ public static Output getDirectoryBuckets() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1657,7 +1725,8 @@ public static CompletableFuture getDirectoryBucketsPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1681,7 +1750,8 @@ public static CompletableFuture getDirectoryBucketsPl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1694,7 +1764,8 @@ public static Output getDirectoryBuckets(InvokeArgs a * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1718,7 +1789,8 @@ public static Output getDirectoryBuckets(InvokeArgs a
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1731,7 +1803,8 @@ public static CompletableFuture getDirectoryBucketsPl * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1755,7 +1828,8 @@ public static CompletableFuture getDirectoryBucketsPl
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1768,7 +1842,8 @@ public static Output getDirectoryBuckets(InvokeArgs a * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1792,7 +1867,8 @@ public static Output getDirectoryBuckets(InvokeArgs a
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1811,7 +1887,8 @@ public static CompletableFuture getDirectoryBucketsPl * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1835,19 +1912,20 @@ public static CompletableFuture getDirectoryBucketsPl
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -1857,7 +1935,8 @@ public static CompletableFuture getDirectoryBucketsPl * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1881,22 +1960,23 @@ public static CompletableFuture getDirectoryBucketsPl
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
-     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
+     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1915,7 +1995,8 @@ public static Output getObject(GetObjectArgs args) { * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1939,19 +2020,20 @@ public static Output getObject(GetObjectArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -1961,7 +2043,8 @@ public static Output getObject(GetObjectArgs args) { * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1985,22 +2068,23 @@ public static Output getObject(GetObjectArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
-     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
+     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2019,7 +2103,8 @@ public static CompletableFuture getObjectPlain(GetObjectPlainAr * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2043,19 +2128,20 @@ public static CompletableFuture getObjectPlain(GetObjectPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -2065,7 +2151,8 @@ public static CompletableFuture getObjectPlain(GetObjectPlainAr * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2089,22 +2176,23 @@ public static CompletableFuture getObjectPlain(GetObjectPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
-     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
+     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -2123,7 +2211,8 @@ public static Output getObject(GetObjectArgs args, InvokeOption * value starting with `text/`) and uses it as the `user_data` for an EC2 instance: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2147,19 +2236,20 @@ public static Output getObject(GetObjectArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var bootstrapScript = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-deploy-config")
-     *             .key("ec2-bootstrap-script.sh")
+     *             .bucket("ourcorp-deploy-config")
+     *             .key("ec2-bootstrap-script.sh")
      *             .build());
      * 
-     *         var example = new Instance("example", InstanceArgs.builder()        
-     *             .instanceType("t2.micro")
-     *             .ami("ami-2757f631")
-     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
+     *         var example = new Instance("example", InstanceArgs.builder()        
+     *             .instanceType("t2.micro")
+     *             .ami("ami-2757f631")
+     *             .userData(bootstrapScript.applyValue(getObjectResult -> getObjectResult.body()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * The following, more-complex example retrieves only the metadata for a zip @@ -2169,7 +2259,8 @@ public static Output getObject(GetObjectArgs args, InvokeOption * `aws.lambda.Function`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -2193,22 +2284,23 @@ public static Output getObject(GetObjectArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var lambda = S3Functions.getObject(GetObjectArgs.builder()
-     *             .bucket("ourcorp-lambda-functions")
-     *             .key("hello-world.zip")
+     *             .bucket("ourcorp-lambda-functions")
+     *             .key("hello-world.zip")
      *             .build());
      * 
-     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
-     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
-     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
-     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
-     *             .name("lambda_function_name")
+     *         var testLambda = new Function("testLambda", FunctionArgs.builder()        
+     *             .s3Bucket(lambda.applyValue(getObjectResult -> getObjectResult.bucket()))
+     *             .s3Key(lambda.applyValue(getObjectResult -> getObjectResult.key()))
+     *             .s3ObjectVersion(lambda.applyValue(getObjectResult -> getObjectResult.versionId()))
+     *             .name("lambda_function_name")
      *             .role(iamForLambda.arn())
-     *             .handler("exports.test")
+     *             .handler("exports.test")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrant.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrant.java index f1c5cfaf8ee..a9c68ca68a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrant.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrant.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,30 +53,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessGrantsInstance("example");
+ *         var example = new AccessGrantsInstance("example");
  * 
- *         var exampleAccessGrantsLocation = new AccessGrantsLocation("exampleAccessGrantsLocation", AccessGrantsLocationArgs.builder()        
+ *         var exampleAccessGrantsLocation = new AccessGrantsLocation("exampleAccessGrantsLocation", AccessGrantsLocationArgs.builder()        
  *             .iamRoleArn(exampleAwsIamRole.arn())
- *             .locationScope(String.format("s3://%s/prefixA*", exampleAwsS3Bucket.bucket()))
+ *             .locationScope(String.format("s3://%s/prefixA*", exampleAwsS3Bucket.bucket()))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var exampleAccessGrant = new AccessGrant("exampleAccessGrant", AccessGrantArgs.builder()        
+ *         var exampleAccessGrant = new AccessGrant("exampleAccessGrant", AccessGrantArgs.builder()        
  *             .accessGrantsLocationId(exampleAccessGrantsLocation.accessGrantsLocationId())
- *             .permission("READ")
+ *             .permission("READ")
  *             .accessGrantsLocationConfiguration(AccessGrantAccessGrantsLocationConfigurationArgs.builder()
- *                 .s3SubPrefix("prefixB*")
+ *                 .s3SubPrefix("prefixB*")
  *                 .build())
  *             .grantee(AccessGrantGranteeArgs.builder()
- *                 .granteeType("IAM")
+ *                 .granteeType("IAM")
  *                 .granteeIdentifier(exampleAwsIamUser.arn())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstance.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstance.java index a541ba3bffd..8ed26350d92 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstance.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessGrantsInstance("example");
+ *         var example = new AccessGrantsInstance("example");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS IAM Identity Center * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -75,13 +78,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessGrantsInstance("example", AccessGrantsInstanceArgs.builder()        
- *             .identityCenterArn("arn:aws:sso:::instance/ssoins-890759e9c7bfdc1d")
+ *         var example = new AccessGrantsInstance("example", AccessGrantsInstanceArgs.builder()        
+ *             .identityCenterArn("arn:aws:sso:::instance/ssoins-890759e9c7bfdc1d")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstanceResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstanceResourcePolicy.java index a8d6c9ddc41..f0cbea4a71e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstanceResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsInstanceResourcePolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,33 +43,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessGrantsInstance("example");
+ *         var example = new AccessGrantsInstance("example");
  * 
- *         var exampleAccessGrantsInstanceResourcePolicy = new AccessGrantsInstanceResourcePolicy("exampleAccessGrantsInstanceResourcePolicy", AccessGrantsInstanceResourcePolicyArgs.builder()        
- *             .policy(example.accessGrantsInstanceArn().applyValue(accessGrantsInstanceArn -> """
+ *         var exampleAccessGrantsInstanceResourcePolicy = new AccessGrantsInstanceResourcePolicy("exampleAccessGrantsInstanceResourcePolicy", AccessGrantsInstanceResourcePolicyArgs.builder()        
+ *             .policy(example.accessGrantsInstanceArn().applyValue(accessGrantsInstanceArn -> """
  * {
- *   "Version": "2012-10-17",
- *   "Id": "S3AccessGrantsPolicy",
- *   "Statement": [{
- *     "Sid": "AllowAccessToS3AccessGrants",
- *     "Effect": "Allow",
- *     "Principal": {
- *       "AWS": "123456789456"
+ *   "Version": "2012-10-17",
+ *   "Id": "S3AccessGrantsPolicy",
+ *   "Statement": [{
+ *     "Sid": "AllowAccessToS3AccessGrants",
+ *     "Effect": "Allow",
+ *     "Principal": {
+ *       "AWS": "123456789456"
  *     },
- *     "Action": [
- *       "s3:ListAccessGrants",
- *       "s3:ListAccessGrantsLocations",
- *       "s3:GetDataAccess"
+ *     "Action": [
+ *       "s3:ListAccessGrants",
+ *       "s3:ListAccessGrantsLocations",
+ *       "s3:GetDataAccess"
  *     ],
- *     "Resource": "%s"
+ *     "Resource": "%s"
  *   }]
  * }
- * ", accessGrantsInstanceArn)))
+ * ", accessGrantsInstanceArn)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsLocation.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsLocation.java index a5b0cdfb773..9f0c35c42ad 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsLocation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessGrantsLocation.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessGrantsInstance("example");
+ *         var example = new AccessGrantsInstance("example");
  * 
- *         var exampleAccessGrantsLocation = new AccessGrantsLocation("exampleAccessGrantsLocation", AccessGrantsLocationArgs.builder()        
+ *         var exampleAccessGrantsLocation = new AccessGrantsLocation("exampleAccessGrantsLocation", AccessGrantsLocationArgs.builder()        
  *             .iamRoleArn(exampleAwsIamRole.arn())
- *             .locationScope("s3://")
+ *             .locationScope("s3://")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessPointPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessPointPolicy.java index 4fc4f8c58c0..a9940fdb90e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessPointPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/AccessPointPolicy.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,13 +50,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
+ *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
  *             .bucket(example.id())
- *             .name("example")
+ *             .name("example")
  *             .publicAccessBlockConfiguration(AccessPointPublicAccessBlockConfigurationArgs.builder()
  *                 .blockPublicAcls(true)
  *                 .blockPublicPolicy(false)
@@ -64,25 +65,26 @@
  *                 .build())
  *             .build());
  * 
- *         var exampleAccessPointPolicy = new AccessPointPolicy("exampleAccessPointPolicy", AccessPointPolicyArgs.builder()        
+ *         var exampleAccessPointPolicy = new AccessPointPolicy("exampleAccessPointPolicy", AccessPointPolicyArgs.builder()        
  *             .accessPointArn(exampleAccessPoint.arn())
- *             .policy(exampleAccessPoint.arn().applyValue(arn -> serializeJson(
+ *             .policy(exampleAccessPoint.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2008-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", "s3:GetObjectTagging"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "*")
+ *                     jsonProperty("Version", "2008-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", "s3:GetObjectTagging"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "*")
  *                         )),
- *                         jsonProperty("Resource", String.format("%s/object/*", arn))
+ *                         jsonProperty("Resource", String.format("%s/object/*", arn))
  *                     )))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/Bucket.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/Bucket.java index f8bcc04a356..067abb5fbcd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/Bucket.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/Bucket.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Bucket("example", BucketArgs.builder()        
- *             .bucket("example")
+ *         var example = new Bucket("example", BucketArgs.builder()        
+ *             .bucket("example")
  *             .outpostId(exampleAwsOutpostsOutpost.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketLifecycleConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketLifecycleConfiguration.java index 86176b189dd..71f06ecfc30 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketLifecycleConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketLifecycleConfiguration.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,7 +50,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketLifecycleConfiguration("example", BucketLifecycleConfigurationArgs.builder()        
+ *         var example = new BucketLifecycleConfiguration("example", BucketLifecycleConfigurationArgs.builder()        
  *             .bucket(exampleAwsS3controlBucket.arn())
  *             .rules(            
  *                 BucketLifecycleConfigurationRuleArgs.builder()
@@ -57,24 +58,25 @@
  *                         .days(365)
  *                         .build())
  *                     .filter(BucketLifecycleConfigurationRuleFilterArgs.builder()
- *                         .prefix("logs/")
+ *                         .prefix("logs/")
  *                         .build())
- *                     .id("logs")
+ *                     .id("logs")
  *                     .build(),
  *                 BucketLifecycleConfigurationRuleArgs.builder()
  *                     .expiration(BucketLifecycleConfigurationRuleExpirationArgs.builder()
  *                         .days(7)
  *                         .build())
  *                     .filter(BucketLifecycleConfigurationRuleFilterArgs.builder()
- *                         .prefix("temp/")
+ *                         .prefix("temp/")
  *                         .build())
- *                     .id("temp")
+ *                     .id("temp")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketPolicy.java index 2b76a3d332d..084c2781ffd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/BucketPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,27 +44,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketPolicy("example", BucketPolicyArgs.builder()        
+ *         var example = new BucketPolicy("example", BucketPolicyArgs.builder()        
  *             .bucket(exampleAwsS3controlBucket.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Id", "testBucketPolicy"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "s3-outposts:PutBucketLifecycleConfiguration"),
- *                         jsonProperty("Effect", "Deny"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", "*")
+ *                     jsonProperty("Id", "testBucketPolicy"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "s3-outposts:PutBucketLifecycleConfiguration"),
+ *                         jsonProperty("Effect", "Deny"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", "*")
  *                         )),
- *                         jsonProperty("Resource", exampleAwsS3controlBucket.arn()),
- *                         jsonProperty("Sid", "statement1")
+ *                         jsonProperty("Resource", exampleAwsS3controlBucket.arn()),
+ *                         jsonProperty("Sid", "statement1")
  *                     ))),
- *                     jsonProperty("Version", "2012-10-17")
+ *                     jsonProperty("Version", "2012-10-17")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/MultiRegionAccessPoint.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/MultiRegionAccessPoint.java index 4deccbb0664..6d13ae90559 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/MultiRegionAccessPoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/MultiRegionAccessPoint.java @@ -24,7 +24,8 @@ * ### Multiple AWS Buckets in Different Regions * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,17 +49,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fooBucket = new BucketV2("fooBucket", BucketV2Args.builder()        
- *             .bucket("example-bucket-foo")
+ *         var fooBucket = new BucketV2("fooBucket", BucketV2Args.builder()        
+ *             .bucket("example-bucket-foo")
  *             .build());
  * 
- *         var barBucket = new BucketV2("barBucket", BucketV2Args.builder()        
- *             .bucket("example-bucket-bar")
+ *         var barBucket = new BucketV2("barBucket", BucketV2Args.builder()        
+ *             .bucket("example-bucket-bar")
  *             .build());
  * 
- *         var example = new MultiRegionAccessPoint("example", MultiRegionAccessPointArgs.builder()        
+ *         var example = new MultiRegionAccessPoint("example", MultiRegionAccessPointArgs.builder()        
  *             .details(MultiRegionAccessPointDetailsArgs.builder()
- *                 .name("example")
+ *                 .name("example")
  *                 .regions(                
  *                     MultiRegionAccessPointDetailsRegionArgs.builder()
  *                         .bucket(fooBucket.id())
@@ -71,7 +72,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPoint.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPoint.java index 223089e668d..63e287c7a13 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPoint.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
+ *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
  *             .bucket(example.id())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleObjectLambdaAccessPoint = new ObjectLambdaAccessPoint("exampleObjectLambdaAccessPoint", ObjectLambdaAccessPointArgs.builder()        
- *             .name("example")
+ *         var exampleObjectLambdaAccessPoint = new ObjectLambdaAccessPoint("exampleObjectLambdaAccessPoint", ObjectLambdaAccessPointArgs.builder()        
+ *             .name("example")
  *             .configuration(ObjectLambdaAccessPointConfigurationArgs.builder()
  *                 .supportingAccessPoint(exampleAccessPoint.arn())
  *                 .transformationConfigurations(ObjectLambdaAccessPointConfigurationTransformationConfigurationArgs.builder()
- *                     .actions("GetObject")
+ *                     .actions("GetObject")
  *                     .contentTransformation(ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformationArgs.builder()
  *                         .awsLambda(ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformationAwsLambdaArgs.builder()
  *                             .functionArn(exampleAwsLambdaFunction.arn())
@@ -73,7 +74,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPointPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPointPolicy.java index 32718eb7af3..cf765980904 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPointPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/ObjectLambdaAccessPointPolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,21 +50,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example")
  *             .build());
  * 
- *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
+ *         var exampleAccessPoint = new AccessPoint("exampleAccessPoint", AccessPointArgs.builder()        
  *             .bucket(example.id())
- *             .name("example")
+ *             .name("example")
  *             .build());
  * 
- *         var exampleObjectLambdaAccessPoint = new ObjectLambdaAccessPoint("exampleObjectLambdaAccessPoint", ObjectLambdaAccessPointArgs.builder()        
- *             .name("example")
+ *         var exampleObjectLambdaAccessPoint = new ObjectLambdaAccessPoint("exampleObjectLambdaAccessPoint", ObjectLambdaAccessPointArgs.builder()        
+ *             .name("example")
  *             .configuration(ObjectLambdaAccessPointConfigurationArgs.builder()
  *                 .supportingAccessPoint(exampleAccessPoint.arn())
  *                 .transformationConfigurations(ObjectLambdaAccessPointConfigurationTransformationConfigurationArgs.builder()
- *                     .actions("GetObject")
+ *                     .actions("GetObject")
  *                     .contentTransformation(ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformationArgs.builder()
  *                         .awsLambda(ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformationAwsLambdaArgs.builder()
  *                             .functionArn(exampleAwsLambdaFunction.arn())
@@ -73,25 +74,26 @@
  *                 .build())
  *             .build());
  * 
- *         var exampleObjectLambdaAccessPointPolicy = new ObjectLambdaAccessPointPolicy("exampleObjectLambdaAccessPointPolicy", ObjectLambdaAccessPointPolicyArgs.builder()        
+ *         var exampleObjectLambdaAccessPointPolicy = new ObjectLambdaAccessPointPolicy("exampleObjectLambdaAccessPointPolicy", ObjectLambdaAccessPointPolicyArgs.builder()        
  *             .name(exampleObjectLambdaAccessPoint.name())
- *             .policy(exampleObjectLambdaAccessPoint.arn().applyValue(arn -> serializeJson(
+ *             .policy(exampleObjectLambdaAccessPoint.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2008-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Action", "s3-object-lambda:GetObject"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", current.accountId())
+ *                     jsonProperty("Version", "2008-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Action", "s3-object-lambda:GetObject"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", current.accountId())
  *                         )),
- *                         jsonProperty("Resource", arn)
+ *                         jsonProperty("Resource", arn)
  *                     )))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/S3controlFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/S3controlFunctions.java index 866afbbc0fd..78726f8056f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/S3controlFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/S3controlFunctions.java @@ -20,7 +20,8 @@ public final class S3controlFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -42,12 +43,13 @@ public final class S3controlFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3controlFunctions.getMultiRegionAccessPoint(GetMultiRegionAccessPointArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -60,7 +62,8 @@ public static Output getMultiRegionAccessPoint( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -82,12 +85,13 @@ public static Output getMultiRegionAccessPoint(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3controlFunctions.getMultiRegionAccessPoint(GetMultiRegionAccessPointArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -100,7 +104,8 @@ public static CompletableFuture getMultiRegionA * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -122,12 +127,13 @@ public static CompletableFuture getMultiRegionA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3controlFunctions.getMultiRegionAccessPoint(GetMultiRegionAccessPointArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -140,7 +146,8 @@ public static Output getMultiRegionAccessPoint( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,12 +169,13 @@ public static Output getMultiRegionAccessPoint(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = S3controlFunctions.getMultiRegionAccessPoint(GetMultiRegionAccessPointArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3control/StorageLensConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/s3control/StorageLensConfiguration.java index 116ce291d34..22cf42cf7ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3control/StorageLensConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3control/StorageLensConfiguration.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,8 +58,8 @@
  *     public static void stack(Context ctx) {
  *         final var current = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new StorageLensConfiguration("example", StorageLensConfigurationArgs.builder()        
- *             .configId("example-1")
+ *         var example = new StorageLensConfiguration("example", StorageLensConfigurationArgs.builder()        
+ *             .configId("example-1")
  *             .storageLensConfiguration(StorageLensConfigurationStorageLensConfigurationArgs.builder()
  *                 .enabled(true)
  *                 .accountLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs.builder()
@@ -76,10 +77,10 @@
  *                         .enabled(true)
  *                         .build())
  *                     .s3BucketDestination(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs.builder()
- *                         .accountId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
+ *                         .accountId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
  *                         .arn(target.arn())
- *                         .format("CSV")
- *                         .outputSchemaVersion("V_1")
+ *                         .format("CSV")
+ *                         .outputSchemaVersion("V_1")
  *                         .encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
  *                             .sseS3s()
  *                             .build())
@@ -89,14 +90,15 @@
  *                     .buckets(                    
  *                         b1.arn(),
  *                         b2.arn())
- *                     .regions("us-east-2")
+ *                     .regions("us-east-2")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3outposts/Endpoint.java b/sdk/java/src/main/java/com/pulumi/aws/s3outposts/Endpoint.java index 3438139d659..01475095cdb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/s3outposts/Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/s3outposts/Endpoint.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,7 +44,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Endpoint("example", EndpointArgs.builder()        
+ *         var example = new Endpoint("example", EndpointArgs.builder()        
  *             .outpostId(exampleAwsOutpostsOutpost.id())
  *             .securityGroupId(exampleAwsSecurityGroup.id())
  *             .subnetId(exampleAwsSubnet.id())
@@ -51,7 +52,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/App.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/App.java index 9a65acb45d1..5d1c74af88b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/App.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/App.java @@ -24,7 +24,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,16 +46,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new App("example", AppArgs.builder()        
+ *         var example = new App("example", AppArgs.builder()        
  *             .domainId(exampleAwsSagemakerDomain.id())
  *             .userProfileName(exampleAwsSagemakerUserProfile.userProfileName())
- *             .appName("example")
- *             .appType("JupyterServer")
+ *             .appName("example")
+ *             .appType("JupyterServer")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/AppImageConfig.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/AppImageConfig.java index bab3ebe2ebc..15fb1f7bfbb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/AppImageConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/AppImageConfig.java @@ -26,7 +26,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,8 +49,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AppImageConfig("test", AppImageConfigArgs.builder()        
- *             .appImageConfigName("example")
+ *         var test = new AppImageConfig("test", AppImageConfigArgs.builder()        
+ *             .appImageConfigName("example")
  *             .kernelGatewayImageConfig(AppImageConfigKernelGatewayImageConfigArgs.builder()
  *                 .kernelSpecs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *                 .build())
@@ -57,13 +58,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Default File System Config * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,8 +89,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AppImageConfig("test", AppImageConfigArgs.builder()        
- *             .appImageConfigName("example")
+ *         var test = new AppImageConfig("test", AppImageConfigArgs.builder()        
+ *             .appImageConfigName("example")
  *             .kernelGatewayImageConfig(AppImageConfigKernelGatewayImageConfigArgs.builder()
  *                 .kernelSpecs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *                 .fileSystemConfig()
@@ -96,7 +99,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/CodeRepository.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/CodeRepository.java index 963d461844e..71ce4e117f4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/CodeRepository.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/CodeRepository.java @@ -24,7 +24,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,22 +47,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CodeRepository("example", CodeRepositoryArgs.builder()        
- *             .codeRepositoryName("example")
+ *         var example = new CodeRepository("example", CodeRepositoryArgs.builder()        
+ *             .codeRepositoryName("example")
  *             .gitConfig(CodeRepositoryGitConfigArgs.builder()
- *                 .repositoryUrl("https://github.com/github/docs.git")
+ *                 .repositoryUrl("https://github.com/github/docs.git")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Example with Secret * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,23 +92,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Secret("example", SecretArgs.builder()        
- *             .name("example")
+ *         var example = new Secret("example", SecretArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleSecretVersion = new SecretVersion("exampleSecretVersion", SecretVersionArgs.builder()        
+ *         var exampleSecretVersion = new SecretVersion("exampleSecretVersion", SecretVersionArgs.builder()        
  *             .secretId(example.id())
  *             .secretString(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("username", "example"),
- *                     jsonProperty("password", "example")
+ *                     jsonProperty("username", "example"),
+ *                     jsonProperty("password", "example")
  *                 )))
  *             .build());
  * 
- *         var exampleCodeRepository = new CodeRepository("exampleCodeRepository", CodeRepositoryArgs.builder()        
- *             .codeRepositoryName("example")
+ *         var exampleCodeRepository = new CodeRepository("exampleCodeRepository", CodeRepositoryArgs.builder()        
+ *             .codeRepositoryName("example")
  *             .gitConfig(CodeRepositoryGitConfigArgs.builder()
- *                 .repositoryUrl("https://github.com/github/docs.git")
+ *                 .repositoryUrl("https://github.com/github/docs.git")
  *                 .secretArn(example.arn())
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
@@ -114,7 +117,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DataQualityJobDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DataQualityJobDefinition.java index 8cda62cae8b..61d31c4e84e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DataQualityJobDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DataQualityJobDefinition.java @@ -30,7 +30,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,8 +60,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new DataQualityJobDefinition("test", DataQualityJobDefinitionArgs.builder()        
- *             .name("my-data-quality-job-definition")
+ *         var test = new DataQualityJobDefinition("test", DataQualityJobDefinitionArgs.builder()        
+ *             .name("my-data-quality-job-definition")
  *             .dataQualityAppSpecification(DataQualityJobDefinitionDataQualityAppSpecificationArgs.builder()
  *                 .imageUri(monitor.registryPath())
  *                 .build())
@@ -72,14 +73,14 @@
  *             .dataQualityJobOutputConfig(DataQualityJobDefinitionDataQualityJobOutputConfigArgs.builder()
  *                 .monitoringOutputs(DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsArgs.builder()
  *                     .s3Output(DataQualityJobDefinitionDataQualityJobOutputConfigMonitoringOutputsS3OutputArgs.builder()
- *                         .s3Uri(String.format("https://%s/output", myBucket.bucketRegionalDomainName()))
+ *                         .s3Uri(String.format("https://%s/output", myBucket.bucketRegionalDomainName()))
  *                         .build())
  *                     .build())
  *                 .build())
  *             .jobResources(DataQualityJobDefinitionJobResourcesArgs.builder()
  *                 .clusterConfig(DataQualityJobDefinitionJobResourcesClusterConfigArgs.builder()
  *                     .instanceCount(1)
- *                     .instanceType("ml.t3.medium")
+ *                     .instanceType("ml.t3.medium")
  *                     .volumeSizeInGb(20)
  *                     .build())
  *                 .build())
@@ -88,7 +89,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Device.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Device.java index 88315b0fa10..cd99a449053 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Device.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Device.java @@ -22,7 +22,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Device("example", DeviceArgs.builder()        
+ *         var example = new Device("example", DeviceArgs.builder()        
  *             .deviceFleetName(exampleAwsSagemakerDeviceFleet.deviceFleetName())
  *             .device(DeviceDeviceArgs.builder()
- *                 .deviceName("example")
+ *                 .deviceName("example")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DeviceFleet.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DeviceFleet.java index 10eaf506fab..2de160fbb3b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DeviceFleet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/DeviceFleet.java @@ -25,7 +25,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,17 +48,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DeviceFleet("example", DeviceFleetArgs.builder()        
- *             .deviceFleetName("example")
+ *         var example = new DeviceFleet("example", DeviceFleetArgs.builder()        
+ *             .deviceFleetName("example")
  *             .roleArn(test.arn())
  *             .outputConfig(DeviceFleetOutputConfigArgs.builder()
- *                 .s3OutputLocation(String.format("s3://%s/prefix/", exampleAwsS3Bucket.bucket()))
+ *                 .s3OutputLocation(String.format("s3://%s/prefix/", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Domain.java index fe959327b43..91b0bc021f1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Domain.java @@ -28,7 +28,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,23 +57,23 @@
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("sagemaker.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("sagemaker.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
- *             .path("/")
- *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .path("/")
+ *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .domainName("example")
- *             .authMode("IAM")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .domainName("example")
+ *             .authMode("IAM")
  *             .vpcId(exampleAwsVpc.id())
  *             .subnetIds(exampleAwsSubnet.id())
  *             .defaultUserSettings(DomainDefaultUserSettingsArgs.builder()
@@ -82,13 +83,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using Custom Images * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -118,26 +121,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Image("example", ImageArgs.builder()        
- *             .imageName("example")
+ *         var example = new Image("example", ImageArgs.builder()        
+ *             .imageName("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .build());
  * 
- *         var exampleAppImageConfig = new AppImageConfig("exampleAppImageConfig", AppImageConfigArgs.builder()        
- *             .appImageConfigName("example")
+ *         var exampleAppImageConfig = new AppImageConfig("exampleAppImageConfig", AppImageConfigArgs.builder()        
+ *             .appImageConfigName("example")
  *             .kernelGatewayImageConfig(AppImageConfigKernelGatewayImageConfigArgs.builder()
  *                 .kernelSpecs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *                 .build())
  *             .build());
  * 
- *         var exampleImageVersion = new ImageVersion("exampleImageVersion", ImageVersionArgs.builder()        
+ *         var exampleImageVersion = new ImageVersion("exampleImageVersion", ImageVersionArgs.builder()        
  *             .imageName(example.id())
- *             .baseImage("base-image")
+ *             .baseImage("base-image")
  *             .build());
  * 
- *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
- *             .domainName("example")
- *             .authMode("IAM")
+ *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()        
+ *             .domainName("example")
+ *             .authMode("IAM")
  *             .vpcId(exampleAwsVpc.id())
  *             .subnetIds(exampleAwsSubnet.id())
  *             .defaultUserSettings(DomainDefaultUserSettingsArgs.builder()
@@ -153,7 +156,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Endpoint.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Endpoint.java index 6ba52248b20..a65b30321dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Endpoint.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,15 +46,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var e = new Endpoint("e", EndpointArgs.builder()        
- *             .name("my-endpoint")
+ *         var e = new Endpoint("e", EndpointArgs.builder()        
+ *             .name("my-endpoint")
  *             .endpointConfigName(ec.name())
- *             .tags(Map.of("Name", "foo"))
+ *             .tags(Map.of("Name", "foo"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/EndpointConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/EndpointConfiguration.java index 6d4e1e5668a..cf847cc593f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/EndpointConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/EndpointConfiguration.java @@ -28,7 +28,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,20 +51,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ec = new EndpointConfiguration("ec", EndpointConfigurationArgs.builder()        
- *             .name("my-endpoint-config")
+ *         var ec = new EndpointConfiguration("ec", EndpointConfigurationArgs.builder()        
+ *             .name("my-endpoint-config")
  *             .productionVariants(EndpointConfigurationProductionVariantArgs.builder()
- *                 .variantName("variant-1")
+ *                 .variantName("variant-1")
  *                 .modelName(m.name())
  *                 .initialInstanceCount(1)
- *                 .instanceType("ml.t2.medium")
+ *                 .instanceType("ml.t2.medium")
  *                 .build())
- *             .tags(Map.of("Name", "foo"))
+ *             .tags(Map.of("Name", "foo"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FeatureGroup.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FeatureGroup.java index 5506260640c..97e98d594df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FeatureGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FeatureGroup.java @@ -27,7 +27,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,14 +51,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FeatureGroup("example", FeatureGroupArgs.builder()        
- *             .featureGroupName("example")
- *             .recordIdentifierFeatureName("example")
- *             .eventTimeFeatureName("example")
+ *         var example = new FeatureGroup("example", FeatureGroupArgs.builder()        
+ *             .featureGroupName("example")
+ *             .recordIdentifierFeatureName("example")
+ *             .eventTimeFeatureName("example")
  *             .roleArn(test.arn())
  *             .featureDefinitions(FeatureGroupFeatureDefinitionArgs.builder()
- *                 .featureName("example")
- *                 .featureType("String")
+ *                 .featureName("example")
+ *                 .featureType("String")
  *                 .build())
  *             .onlineStoreConfig(FeatureGroupOnlineStoreConfigArgs.builder()
  *                 .enableOnlineStore(true)
@@ -66,7 +67,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FlowDefinition.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FlowDefinition.java index 7c38976ca1c..6a3e9b4edc7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FlowDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/FlowDefinition.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,31 +51,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FlowDefinition("example", FlowDefinitionArgs.builder()        
- *             .flowDefinitionName("example")
+ *         var example = new FlowDefinition("example", FlowDefinitionArgs.builder()        
+ *             .flowDefinitionName("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .humanLoopConfig(FlowDefinitionHumanLoopConfigArgs.builder()
  *                 .humanTaskUiArn(exampleAwsSagemakerHumanTaskUi.arn())
  *                 .taskAvailabilityLifetimeInSeconds(1)
  *                 .taskCount(1)
- *                 .taskDescription("example")
- *                 .taskTitle("example")
+ *                 .taskDescription("example")
+ *                 .taskTitle("example")
  *                 .workteamArn(exampleAwsSagemakerWorkteam.arn())
  *                 .build())
  *             .outputConfig(FlowDefinitionOutputConfigArgs.builder()
- *                 .s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
+ *                 .s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Public Workteam Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -99,16 +102,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FlowDefinition("example", FlowDefinitionArgs.builder()        
- *             .flowDefinitionName("example")
+ *         var example = new FlowDefinition("example", FlowDefinitionArgs.builder()        
+ *             .flowDefinitionName("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .humanLoopConfig(FlowDefinitionHumanLoopConfigArgs.builder()
  *                 .humanTaskUiArn(exampleAwsSagemakerHumanTaskUi.arn())
  *                 .taskAvailabilityLifetimeInSeconds(1)
  *                 .taskCount(1)
- *                 .taskDescription("example")
- *                 .taskTitle("example")
- *                 .workteamArn(String.format("arn:aws:sagemaker:%s:394669845002:workteam/public-crowd/default", current.name()))
+ *                 .taskDescription("example")
+ *                 .taskTitle("example")
+ *                 .workteamArn(String.format("arn:aws:sagemaker:%s:394669845002:workteam/public-crowd/default", current.name()))
  *                 .publicWorkforceTaskPrice(FlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceArgs.builder()
  *                     .amountInUsd(FlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsdArgs.builder()
  *                         .cents(1)
@@ -117,19 +120,21 @@
  *                     .build())
  *                 .build())
  *             .outputConfig(FlowDefinitionOutputConfigArgs.builder()
- *                 .s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
+ *                 .s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Human Loop Activation Config Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -155,44 +160,45 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FlowDefinition("example", FlowDefinitionArgs.builder()        
- *             .flowDefinitionName("example")
+ *         var example = new FlowDefinition("example", FlowDefinitionArgs.builder()        
+ *             .flowDefinitionName("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .humanLoopConfig(FlowDefinitionHumanLoopConfigArgs.builder()
  *                 .humanTaskUiArn(exampleAwsSagemakerHumanTaskUi.arn())
  *                 .taskAvailabilityLifetimeInSeconds(1)
  *                 .taskCount(1)
- *                 .taskDescription("example")
- *                 .taskTitle("example")
+ *                 .taskDescription("example")
+ *                 .taskTitle("example")
  *                 .workteamArn(exampleAwsSagemakerWorkteam.arn())
  *                 .build())
  *             .humanLoopRequestSource(FlowDefinitionHumanLoopRequestSourceArgs.builder()
- *                 .awsManagedHumanLoopRequestSource("AWS/Textract/AnalyzeDocument/Forms/V1")
+ *                 .awsManagedHumanLoopRequestSource("AWS/Textract/AnalyzeDocument/Forms/V1")
  *                 .build())
  *             .humanLoopActivationConfig(FlowDefinitionHumanLoopActivationConfigArgs.builder()
  *                 .humanLoopActivationConditionsConfig(FlowDefinitionHumanLoopActivationConfigHumanLoopActivationConditionsConfigArgs.builder()
- *                     .humanLoopActivationConditions("""
+ *                     .humanLoopActivationConditions("""
  *         {
- * 			"Conditions": [
+ * 			"Conditions": [
  * 			  {
- * 				"ConditionType": "Sampling",
- * 				"ConditionParameters": {
- * 				  "RandomSamplingPercentage": 5
+ * 				"ConditionType": "Sampling",
+ * 				"ConditionParameters": {
+ * 				  "RandomSamplingPercentage": 5
  * 				}
  * 			  }
  * 			]
  * 		}
- *                     """)
+ *                     """)
  *                     .build())
  *                 .build())
  *             .outputConfig(FlowDefinitionOutputConfigArgs.builder()
- *                 .s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
+ *                 .s3OutputPath(String.format("s3://%s/", exampleAwsS3Bucket.bucket()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/HumanTaskUI.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/HumanTaskUI.java index 5f61c1e2ef1..5779e5b266b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/HumanTaskUI.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/HumanTaskUI.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HumanTaskUI("example", HumanTaskUIArgs.builder()        
- *             .humanTaskUiName("example")
+ *         var example = new HumanTaskUI("example", HumanTaskUIArgs.builder()        
+ *             .humanTaskUiName("example")
  *             .uiTemplate(HumanTaskUIUiTemplateArgs.builder()
  *                 .content(StdFunctions.file(FileArgs.builder()
- *                     .input("sagemaker-human-task-ui-template.html")
+ *                     .input("sagemaker-human-task-ui-template.html")
  *                     .build()).result())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Image.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Image.java index f682848c64e..d3fd54c2392 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Image.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Image.java @@ -23,7 +23,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Image("example", ImageArgs.builder()        
- *             .imageName("example")
+ *         var example = new Image("example", ImageArgs.builder()        
+ *             .imageName("example")
  *             .roleArn(test.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ImageVersion.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ImageVersion.java index 6a83aa15128..ecf5451c0d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ImageVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ImageVersion.java @@ -22,7 +22,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ImageVersion("test", ImageVersionArgs.builder()        
+ *         var test = new ImageVersion("test", ImageVersionArgs.builder()        
  *             .imageName(testAwsSagemakerImage.id())
- *             .baseImage("012345678912.dkr.ecr.us-west-2.amazonaws.com/image:latest")
+ *             .baseImage("012345678912.dkr.ecr.us-west-2.amazonaws.com/image:latest")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Model.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Model.java index 7f4abd54fb3..54008c4d624 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Model.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Model.java @@ -29,7 +29,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -59,33 +60,34 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("sagemaker.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("sagemaker.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var test = SagemakerFunctions.getPrebuiltEcrImage(GetPrebuiltEcrImageArgs.builder()
- *             .repositoryName("kmeans")
+ *             .repositoryName("kmeans")
  *             .build());
  * 
- *         var example = new Model("example", ModelArgs.builder()        
- *             .name("my-model")
+ *         var example = new Model("example", ModelArgs.builder()        
+ *             .name("my-model")
  *             .executionRoleArn(exampleRole.arn())
  *             .primaryContainer(ModelPrimaryContainerArgs.builder()
- *                 .image(test.applyValue(getPrebuiltEcrImageResult -> getPrebuiltEcrImageResult.registryPath()))
+ *                 .image(test.applyValue(getPrebuiltEcrImageResult -> getPrebuiltEcrImageResult.registryPath()))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Inference Execution Config diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ModelPackageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ModelPackageGroup.java index 1964ec8f336..0fd0253283a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ModelPackageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ModelPackageGroup.java @@ -23,7 +23,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ModelPackageGroup("example", ModelPackageGroupArgs.builder()        
- *             .modelPackageGroupName("example")
+ *         var example = new ModelPackageGroup("example", ModelPackageGroupArgs.builder()        
+ *             .modelPackageGroupName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/MonitoringSchedule.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/MonitoringSchedule.java index 1f284ef6f71..c9cca83e405 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/MonitoringSchedule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/MonitoringSchedule.java @@ -24,7 +24,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,17 +47,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new MonitoringSchedule("test", MonitoringScheduleArgs.builder()        
- *             .name("my-monitoring-schedule")
+ *         var test = new MonitoringSchedule("test", MonitoringScheduleArgs.builder()        
+ *             .name("my-monitoring-schedule")
  *             .monitoringScheduleConfig(MonitoringScheduleMonitoringScheduleConfigArgs.builder()
  *                 .monitoringJobDefinitionName(testAwsSagemakerDataQualityJobDefinition.name())
- *                 .monitoringType("DataQuality")
+ *                 .monitoringType("DataQuality")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstance.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstance.java index 43a42b59cbe..7c1cd46727f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstance.java @@ -26,7 +26,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,22 +48,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ni = new NotebookInstance("ni", NotebookInstanceArgs.builder()        
- *             .name("my-notebook-instance")
+ *         var ni = new NotebookInstance("ni", NotebookInstanceArgs.builder()        
+ *             .name("my-notebook-instance")
  *             .roleArn(role.arn())
- *             .instanceType("ml.t2.medium")
- *             .tags(Map.of("Name", "foo"))
+ *             .instanceType("ml.t2.medium")
+ *             .tags(Map.of("Name", "foo"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Code repository usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,24 +89,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CodeRepository("example", CodeRepositoryArgs.builder()        
- *             .codeRepositoryName("my-notebook-instance-code-repo")
+ *         var example = new CodeRepository("example", CodeRepositoryArgs.builder()        
+ *             .codeRepositoryName("my-notebook-instance-code-repo")
  *             .gitConfig(CodeRepositoryGitConfigArgs.builder()
- *                 .repositoryUrl("https://github.com/github/docs.git")
+ *                 .repositoryUrl("https://github.com/github/docs.git")
  *                 .build())
  *             .build());
  * 
- *         var ni = new NotebookInstance("ni", NotebookInstanceArgs.builder()        
- *             .name("my-notebook-instance")
+ *         var ni = new NotebookInstance("ni", NotebookInstanceArgs.builder()        
+ *             .name("my-notebook-instance")
  *             .roleArn(role.arn())
- *             .instanceType("ml.t2.medium")
+ *             .instanceType("ml.t2.medium")
  *             .defaultCodeRepository(example.codeRepositoryName())
- *             .tags(Map.of("Name", "foo"))
+ *             .tags(Map.of("Name", "foo"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstanceLifecycleConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstanceLifecycleConfiguration.java index d36a7f365a5..5fb90f6a6e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstanceLifecycleConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/NotebookInstanceLifecycleConfiguration.java @@ -22,7 +22,8 @@ * Usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,19 +44,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var lc = new NotebookInstanceLifecycleConfiguration("lc", NotebookInstanceLifecycleConfigurationArgs.builder()        
- *             .name("foo")
+ *         var lc = new NotebookInstanceLifecycleConfiguration("lc", NotebookInstanceLifecycleConfigurationArgs.builder()        
+ *             .name("foo")
  *             .onCreate(StdFunctions.base64encode(Base64encodeArgs.builder()
- *                 .input("echo foo")
+ *                 .input("echo foo")
  *                 .build()).result())
  *             .onStart(StdFunctions.base64encode(Base64encodeArgs.builder()
- *                 .input("echo bar")
+ *                 .input("echo bar")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Pipeline.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Pipeline.java index 976865673db..509c20dd25c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Pipeline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Pipeline.java @@ -25,7 +25,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Pipeline("example", PipelineArgs.builder()        
- *             .pipelineName("example")
- *             .pipelineDisplayName("example")
+ *         var example = new Pipeline("example", PipelineArgs.builder()        
+ *             .pipelineName("example")
+ *             .pipelineDisplayName("example")
  *             .roleArn(exampleAwsIamRole.arn())
  *             .pipelineDefinition(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2020-12-01"),
- *                     jsonProperty("Steps", jsonArray(jsonObject(
- *                         jsonProperty("Name", "Test"),
- *                         jsonProperty("Type", "Fail"),
- *                         jsonProperty("Arguments", jsonObject(
- *                             jsonProperty("ErrorMessage", "test")
+ *                     jsonProperty("Version", "2020-12-01"),
+ *                     jsonProperty("Steps", jsonArray(jsonObject(
+ *                         jsonProperty("Name", "Test"),
+ *                         jsonProperty("Type", "Fail"),
+ *                         jsonProperty("Arguments", jsonObject(
+ *                             jsonProperty("ErrorMessage", "test")
  *                         ))
  *                     )))
  *                 )))
@@ -66,7 +67,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Project.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Project.java index 6e8aeea93cd..7e9ced3fa09 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Project.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Project.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,8 +47,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Project("example", ProjectArgs.builder()        
- *             .projectName("example")
+ *         var example = new Project("example", ProjectArgs.builder()        
+ *             .projectName("example")
  *             .serviceCatalogProvisioningDetails(ProjectServiceCatalogProvisioningDetailsArgs.builder()
  *                 .productId(exampleAwsServicecatalogProduct.id())
  *                 .build())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/SagemakerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/SagemakerFunctions.java index a66d1310096..0caa0facd83 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/SagemakerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/SagemakerFunctions.java @@ -24,7 +24,8 @@ public final class SagemakerFunctions { * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -46,13 +47,14 @@ public final class SagemakerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SagemakerFunctions.getPrebuiltEcrImage(GetPrebuiltEcrImageArgs.builder()
-     *             .repositoryName("sagemaker-scikit-learn")
-     *             .imageTag("2.2-1.0.11.0")
+     *             .repositoryName("sagemaker-scikit-learn")
+     *             .imageTag("2.2-1.0.11.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getPrebuiltEcrImage(GetPrebuiltE * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,13 +94,14 @@ public static Output getPrebuiltEcrImage(GetPrebuiltE
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SagemakerFunctions.getPrebuiltEcrImage(GetPrebuiltEcrImageArgs.builder()
-     *             .repositoryName("sagemaker-scikit-learn")
-     *             .imageTag("2.2-1.0.11.0")
+     *             .repositoryName("sagemaker-scikit-learn")
+     *             .imageTag("2.2-1.0.11.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -114,7 +118,8 @@ public static CompletableFuture getPrebuiltEcrImagePl * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -136,13 +141,14 @@ public static CompletableFuture getPrebuiltEcrImagePl
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SagemakerFunctions.getPrebuiltEcrImage(GetPrebuiltEcrImageArgs.builder()
-     *             .repositoryName("sagemaker-scikit-learn")
-     *             .imageTag("2.2-1.0.11.0")
+     *             .repositoryName("sagemaker-scikit-learn")
+     *             .imageTag("2.2-1.0.11.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -159,7 +165,8 @@ public static Output getPrebuiltEcrImage(GetPrebuiltE * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -181,13 +188,14 @@ public static Output getPrebuiltEcrImage(GetPrebuiltE
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SagemakerFunctions.getPrebuiltEcrImage(GetPrebuiltEcrImageArgs.builder()
-     *             .repositoryName("sagemaker-scikit-learn")
-     *             .imageTag("2.2-1.0.11.0")
+     *             .repositoryName("sagemaker-scikit-learn")
+     *             .imageTag("2.2-1.0.11.0")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ServicecatalogPortfolioStatus.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ServicecatalogPortfolioStatus.java index 8888555216e..fc7b31077bd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ServicecatalogPortfolioStatus.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/ServicecatalogPortfolioStatus.java @@ -21,7 +21,8 @@ * Usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServicecatalogPortfolioStatus("example", ServicecatalogPortfolioStatusArgs.builder()        
- *             .status("Enabled")
+ *         var example = new ServicecatalogPortfolioStatus("example", ServicecatalogPortfolioStatusArgs.builder()        
+ *             .status("Enabled")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Space.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Space.java index 28a16cfa3e4..b64026fec9b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Space.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Space.java @@ -26,7 +26,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,14 +48,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Space("example", SpaceArgs.builder()        
+ *         var example = new Space("example", SpaceArgs.builder()        
  *             .domainId(test.id())
- *             .spaceName("example")
+ *             .spaceName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/StudioLifecycleConfig.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/StudioLifecycleConfig.java index feb9c9de57d..5718333b81e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/StudioLifecycleConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/StudioLifecycleConfig.java @@ -23,7 +23,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,17 +45,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new StudioLifecycleConfig("example", StudioLifecycleConfigArgs.builder()        
- *             .studioLifecycleConfigName("example")
- *             .studioLifecycleConfigAppType("JupyterServer")
+ *         var example = new StudioLifecycleConfig("example", StudioLifecycleConfigArgs.builder()        
+ *             .studioLifecycleConfigName("example")
+ *             .studioLifecycleConfigAppType("JupyterServer")
  *             .studioLifecycleConfigContent(StdFunctions.base64encode(Base64encodeArgs.builder()
- *                 .input("echo Hello")
+ *                 .input("echo Hello")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/UserProfile.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/UserProfile.java index 85d34fffab6..6209ecd0e0e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/UserProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/UserProfile.java @@ -24,7 +24,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,14 +46,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new UserProfile("example", UserProfileArgs.builder()        
+ *         var example = new UserProfile("example", UserProfileArgs.builder()        
  *             .domainId(test.id())
- *             .userProfileName("example")
+ *             .userProfileName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workforce.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workforce.java index 7c33d4c754b..6bc4e099ffb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workforce.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workforce.java @@ -26,7 +26,8 @@ * ### Cognito Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,23 +55,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleUserPool = new UserPool("exampleUserPool", UserPoolArgs.builder()        
- *             .name("example")
+ *         var exampleUserPool = new UserPool("exampleUserPool", UserPoolArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleUserPoolClient = new UserPoolClient("exampleUserPoolClient", UserPoolClientArgs.builder()        
- *             .name("example")
+ *         var exampleUserPoolClient = new UserPoolClient("exampleUserPoolClient", UserPoolClientArgs.builder()        
+ *             .name("example")
  *             .generateSecret(true)
  *             .userPoolId(exampleUserPool.id())
  *             .build());
  * 
- *         var exampleUserPoolDomain = new UserPoolDomain("exampleUserPoolDomain", UserPoolDomainArgs.builder()        
- *             .domain("example")
+ *         var exampleUserPoolDomain = new UserPoolDomain("exampleUserPoolDomain", UserPoolDomainArgs.builder()        
+ *             .domain("example")
  *             .userPoolId(exampleUserPool.id())
  *             .build());
  * 
- *         var example = new Workforce("example", WorkforceArgs.builder()        
- *             .workforceName("example")
+ *         var example = new Workforce("example", WorkforceArgs.builder()        
+ *             .workforceName("example")
  *             .cognitoConfig(WorkforceCognitoConfigArgs.builder()
  *                 .clientId(exampleUserPoolClient.id())
  *                 .userPool(exampleUserPoolDomain.userPoolId())
@@ -79,13 +80,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Oidc Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,23 +110,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workforce("example", WorkforceArgs.builder()        
- *             .workforceName("example")
+ *         var example = new Workforce("example", WorkforceArgs.builder()        
+ *             .workforceName("example")
  *             .oidcConfig(WorkforceOidcConfigArgs.builder()
- *                 .authorizationEndpoint("https://example.com")
- *                 .clientId("example")
- *                 .clientSecret("example")
- *                 .issuer("https://example.com")
- *                 .jwksUri("https://example.com")
- *                 .logoutEndpoint("https://example.com")
- *                 .tokenEndpoint("https://example.com")
- *                 .userInfoEndpoint("https://example.com")
+ *                 .authorizationEndpoint("https://example.com")
+ *                 .clientId("example")
+ *                 .clientSecret("example")
+ *                 .issuer("https://example.com")
+ *                 .jwksUri("https://example.com")
+ *                 .logoutEndpoint("https://example.com")
+ *                 .tokenEndpoint("https://example.com")
+ *                 .userInfoEndpoint("https://example.com")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workteam.java b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workteam.java index 570da4c927c..c62e9e4332d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workteam.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sagemaker/Workteam.java @@ -26,7 +26,8 @@ * ### Cognito Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,10 +50,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workteam("example", WorkteamArgs.builder()        
- *             .workteamName("example")
+ *         var example = new Workteam("example", WorkteamArgs.builder()        
+ *             .workteamName("example")
  *             .workforceName(exampleAwsSagemakerWorkforce.id())
- *             .description("example")
+ *             .description("example")
  *             .memberDefinitions(WorkteamMemberDefinitionArgs.builder()
  *                 .cognitoMemberDefinition(WorkteamMemberDefinitionCognitoMemberDefinitionArgs.builder()
  *                     .clientId(exampleAwsCognitoUserPoolClient.id())
@@ -64,13 +65,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Oidc Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,20 +96,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workteam("example", WorkteamArgs.builder()        
- *             .workteamName("example")
+ *         var example = new Workteam("example", WorkteamArgs.builder()        
+ *             .workteamName("example")
  *             .workforceName(exampleAwsSagemakerWorkforce.id())
- *             .description("example")
+ *             .description("example")
  *             .memberDefinitions(WorkteamMemberDefinitionArgs.builder()
  *                 .oidcMemberDefinition(WorkteamMemberDefinitionOidcMemberDefinitionArgs.builder()
- *                     .groups("example")
+ *                     .groups("example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/scheduler/Schedule.java b/sdk/java/src/main/java/com/pulumi/aws/scheduler/Schedule.java index 56b9438f025..bceaa3c5c20 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/scheduler/Schedule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/scheduler/Schedule.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,13 +52,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Schedule("example", ScheduleArgs.builder()        
- *             .name("my-schedule")
- *             .groupName("default")
+ *         var example = new Schedule("example", ScheduleArgs.builder()        
+ *             .name("my-schedule")
+ *             .groupName("default")
  *             .flexibleTimeWindow(ScheduleFlexibleTimeWindowArgs.builder()
- *                 .mode("OFF")
+ *                 .mode("OFF")
  *                 .build())
- *             .scheduleExpression("rate(1 hours)")
+ *             .scheduleExpression("rate(1 hours)")
  *             .target(ScheduleTargetArgs.builder()
  *                 .arn(exampleAwsSqsQueue.arn())
  *                 .roleArn(exampleAwsIamRole.arn())
@@ -66,13 +67,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Universal Target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -97,28 +100,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Queue("example");
+ *         var example = new Queue("example");
  * 
- *         var exampleSchedule = new Schedule("exampleSchedule", ScheduleArgs.builder()        
- *             .name("my-schedule")
+ *         var exampleSchedule = new Schedule("exampleSchedule", ScheduleArgs.builder()        
+ *             .name("my-schedule")
  *             .flexibleTimeWindow(ScheduleFlexibleTimeWindowArgs.builder()
- *                 .mode("OFF")
+ *                 .mode("OFF")
  *                 .build())
- *             .scheduleExpression("rate(1 hours)")
+ *             .scheduleExpression("rate(1 hours)")
  *             .target(ScheduleTargetArgs.builder()
- *                 .arn("arn:aws:scheduler:::aws-sdk:sqs:sendMessage")
+ *                 .arn("arn:aws:scheduler:::aws-sdk:sqs:sendMessage")
  *                 .roleArn(exampleAwsIamRole.arn())
- *                 .input(example.url().applyValue(url -> serializeJson(
+ *                 .input(example.url().applyValue(url -> serializeJson(
  *                     jsonObject(
- *                         jsonProperty("MessageBody", "Greetings, programs!"),
- *                         jsonProperty("QueueUrl", url)
+ *                         jsonProperty("MessageBody", "Greetings, programs!"),
+ *                         jsonProperty("QueueUrl", url)
  *                     ))))
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/scheduler/ScheduleGroup.java b/sdk/java/src/main/java/com/pulumi/aws/scheduler/ScheduleGroup.java index 2564f9d0010..806c624b3c1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/scheduler/ScheduleGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/scheduler/ScheduleGroup.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,13 +47,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ScheduleGroup("example", ScheduleGroupArgs.builder()        
- *             .name("my-schedule-group")
+ *         var example = new ScheduleGroup("example", ScheduleGroupArgs.builder()        
+ *             .name("my-schedule-group")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/Discoverer.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/Discoverer.java index baba663750a..5b27c3e6898 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/Discoverer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/Discoverer.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var messenger = new EventBus("messenger", EventBusArgs.builder()        
- *             .name("chat-messages")
+ *         var messenger = new EventBus("messenger", EventBusArgs.builder()        
+ *             .name("chat-messages")
  *             .build());
  * 
- *         var test = new Discoverer("test", DiscovererArgs.builder()        
+ *         var test = new Discoverer("test", DiscovererArgs.builder()        
  *             .sourceArn(messenger.arn())
- *             .description("Auto discover event schemas")
+ *             .description("Auto discover event schemas")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/Registry.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/Registry.java index b08a5afdcc7..bb767fc4cc8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/Registry.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/Registry.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Registry("test", RegistryArgs.builder()        
- *             .name("my_own_registry")
- *             .description("A custom schema registry")
+ *         var test = new Registry("test", RegistryArgs.builder()        
+ *             .name("my_own_registry")
+ *             .description("A custom schema registry")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/RegistryPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/RegistryPolicy.java index 44521d67211..edcbdaf2856 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/RegistryPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/RegistryPolicy.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,27 +47,28 @@
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("example")
- *                 .effect("Allow")
+ *                 .sid("example")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("109876543210")
+ *                     .type("AWS")
+ *                     .identifiers("109876543210")
  *                     .build())
- *                 .actions("schemas:*")
+ *                 .actions("schemas:*")
  *                 .resources(                
- *                     "arn:aws:schemas:us-east-1:012345678901:registry/example",
- *                     "arn:aws:schemas:us-east-1:012345678901:schema/example*")
+ *                     "arn:aws:schemas:us-east-1:012345678901:registry/example",
+ *                     "arn:aws:schemas:us-east-1:012345678901:schema/example*")
  *                 .build())
  *             .build());
  * 
- *         var exampleRegistryPolicy = new RegistryPolicy("exampleRegistryPolicy", RegistryPolicyArgs.builder()        
- *             .registryName("example")
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRegistryPolicy = new RegistryPolicy("exampleRegistryPolicy", RegistryPolicyArgs.builder()        
+ *             .registryName("example")
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java index b9bf366696b..249901a878c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/Schema.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,32 +48,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Registry("test", RegistryArgs.builder()        
- *             .name("my_own_registry")
+ *         var test = new Registry("test", RegistryArgs.builder()        
+ *             .name("my_own_registry")
  *             .build());
  * 
- *         var testSchema = new Schema("testSchema", SchemaArgs.builder()        
- *             .name("my_schema")
+ *         var testSchema = new Schema("testSchema", SchemaArgs.builder()        
+ *             .name("my_schema")
  *             .registryName(test.name())
- *             .type("OpenApi3")
- *             .description("The schema definition for my event")
+ *             .type("OpenApi3")
+ *             .description("The schema definition for my event")
  *             .content(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("openapi", "3.0.0"),
- *                     jsonProperty("info", jsonObject(
- *                         jsonProperty("version", "1.0.0"),
- *                         jsonProperty("title", "Event")
+ *                     jsonProperty("openapi", "3.0.0"),
+ *                     jsonProperty("info", jsonObject(
+ *                         jsonProperty("version", "1.0.0"),
+ *                         jsonProperty("title", "Event")
  *                     )),
- *                     jsonProperty("paths", jsonObject(
+ *                     jsonProperty("paths", jsonObject(
  * 
  *                     )),
- *                     jsonProperty("components", jsonObject(
- *                         jsonProperty("schemas", jsonObject(
- *                             jsonProperty("Event", jsonObject(
- *                                 jsonProperty("type", "object"),
- *                                 jsonProperty("properties", jsonObject(
- *                                     jsonProperty("name", jsonObject(
- *                                         jsonProperty("type", "string")
+ *                     jsonProperty("components", jsonObject(
+ *                         jsonProperty("schemas", jsonObject(
+ *                             jsonProperty("Event", jsonObject(
+ *                                 jsonProperty("type", "object"),
+ *                                 jsonProperty("properties", jsonObject(
+ *                                     jsonProperty("name", jsonObject(
+ *                                         jsonProperty("type", "string")
  *                                     ))
  *                                 ))
  *                             ))
@@ -83,7 +84,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -154,14 +156,14 @@ public Output lastModified() { return this.lastModified; } /** - * The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @return The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java index a4e13383dd1..1163691925d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/SchemaArgs.java @@ -48,14 +48,14 @@ public Optional> description() { } /** - * The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @return The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * */ public Optional> name() { @@ -179,7 +179,7 @@ public Builder description(String description) { } /** - * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * * @return builder * @@ -190,7 +190,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java b/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java index b76800f112e..985ca73af41 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/schemas/inputs/SchemaState.java @@ -77,14 +77,14 @@ public Optional> lastModified() { } /** - * The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @return The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * */ public Optional> name() { @@ -308,7 +308,7 @@ public Builder lastModified(String lastModified) { } /** - * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * * @return builder * @@ -319,7 +319,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @. + * @param name The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _,{@literal @}. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/Secret.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/Secret.java index c8aa8812338..d8b5ca3c208 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/Secret.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/Secret.java @@ -27,7 +27,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,13 +49,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Secret("example", SecretArgs.builder()        
- *             .name("example")
+ *         var example = new Secret("example", SecretArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -125,14 +127,14 @@ public Output> kmsKeyId() { return Codegen.optional(this.kmsKeyId); } /** - * Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @return Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretArgs.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretArgs.java index 974c39475c0..a6a6323bffc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretArgs.java @@ -66,14 +66,14 @@ public Optional> kmsKeyId() { } /** - * Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * */ @Import(name="name") private @Nullable Output name; /** - * @return Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @return Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * */ public Optional> name() { @@ -251,7 +251,7 @@ public Builder kmsKeyId(String kmsKeyId) { } /** - * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * * @return builder * @@ -262,7 +262,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretPolicy.java index 78b2911b0f9..791a5df3b6e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretPolicy.java @@ -23,7 +23,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,31 +49,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleSecret = new Secret("exampleSecret", SecretArgs.builder()        
- *             .name("example")
+ *         var exampleSecret = new Secret("exampleSecret", SecretArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("EnableAnotherAWSAccountToReadTheSecret")
- *                 .effect("Allow")
+ *                 .sid("EnableAnotherAWSAccountToReadTheSecret")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("arn:aws:iam::123456789012:root")
+ *                     .type("AWS")
+ *                     .identifiers("arn:aws:iam::123456789012:root")
  *                     .build())
- *                 .actions("secretsmanager:GetSecretValue")
- *                 .resources("*")
+ *                 .actions("secretsmanager:GetSecretValue")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var exampleSecretPolicy = new SecretPolicy("exampleSecretPolicy", SecretPolicyArgs.builder()        
+ *         var exampleSecretPolicy = new SecretPolicy("exampleSecretPolicy", SecretPolicyArgs.builder()        
  *             .secretArn(exampleSecret.arn())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretRotation.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretRotation.java index 5dc1d618f36..e148202477f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretRotation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretRotation.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,7 +47,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecretRotation("example", SecretRotationArgs.builder()        
+ *         var example = new SecretRotation("example", SecretRotationArgs.builder()        
  *             .secretId(exampleAwsSecretsmanagerSecret.id())
  *             .rotationLambdaArn(exampleAwsLambdaFunction.arn())
  *             .rotationRules(SecretRotationRotationRulesArgs.builder()
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Rotation Configuration diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretVersion.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretVersion.java index 771b8d9b5d3..99c13dcf8b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretVersion.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretVersion.java @@ -25,7 +25,8 @@ * ### Simple String Value * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecretVersion("example", SecretVersionArgs.builder()        
+ *         var example = new SecretVersion("example", SecretVersionArgs.builder()        
  *             .secretId(exampleAwsSecretsmanagerSecret.id())
- *             .secretString("example-string-to-protect")
+ *             .secretString("example-string-to-protect")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Key-Value Pairs @@ -61,7 +63,8 @@ * Secrets Manager also accepts key-value pairs in JSON. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -84,8 +87,8 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var example = config.get("example").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
- *         var exampleSecretVersion = new SecretVersion("exampleSecretVersion", SecretVersionArgs.builder()        
+ *         final var example = config.get("example").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+ *         var exampleSecretVersion = new SecretVersion("exampleSecretVersion", SecretVersionArgs.builder()        
  *             .secretId(exampleAwsSecretsmanagerSecret.id())
  *             .secretString(serializeJson(
  *                 example))
@@ -93,7 +96,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Reading key-value pairs from JSON back into a native map diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretsmanagerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretsmanagerFunctions.java index d4bee9f39bd..c86163914b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretsmanagerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/SecretsmanagerFunctions.java @@ -32,7 +32,8 @@ public final class SecretsmanagerFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -60,7 +61,8 @@ public final class SecretsmanagerFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -73,7 +75,8 @@ public static Output getRandomPassword() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -101,7 +104,8 @@ public static Output getRandomPassword() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -114,7 +118,8 @@ public static CompletableFuture getRandomPasswordPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,7 +147,8 @@ public static CompletableFuture getRandomPasswordPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -155,7 +161,8 @@ public static Output getRandomPassword(GetRandomPasswor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -183,7 +190,8 @@ public static Output getRandomPassword(GetRandomPasswor
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -196,7 +204,8 @@ public static CompletableFuture getRandomPasswordPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -224,7 +233,8 @@ public static CompletableFuture getRandomPasswordPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -237,7 +247,8 @@ public static Output getRandomPassword(GetRandomPasswor * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -265,7 +276,8 @@ public static Output getRandomPassword(GetRandomPasswor
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -280,7 +292,8 @@ public static CompletableFuture getRandomPasswordPlain( * ### ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -302,18 +315,20 @@ public static CompletableFuture getRandomPasswordPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var by-arn = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
+     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -335,12 +350,13 @@ public static CompletableFuture getRandomPasswordPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var by-name = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -355,7 +371,8 @@ public static Output getSecret() { * ### ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -377,18 +394,20 @@ public static Output getSecret() {
      * 
      *     public static void stack(Context ctx) {
      *         final var by-arn = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
+     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -410,12 +429,13 @@ public static Output getSecret() {
      * 
      *     public static void stack(Context ctx) {
      *         final var by-name = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -430,7 +450,8 @@ public static CompletableFuture getSecretPlain() { * ### ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -452,18 +473,20 @@ public static CompletableFuture getSecretPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var by-arn = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
+     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -485,12 +508,13 @@ public static CompletableFuture getSecretPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var by-name = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -505,7 +529,8 @@ public static Output getSecret(GetSecretArgs args) { * ### ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -527,18 +552,20 @@ public static Output getSecret(GetSecretArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var by-arn = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
+     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -560,12 +587,13 @@ public static Output getSecret(GetSecretArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var by-name = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -580,7 +608,8 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr * ### ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -602,18 +631,20 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var by-arn = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
+     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -635,12 +666,13 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var by-name = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -655,7 +687,8 @@ public static Output getSecret(GetSecretArgs args, InvokeOption * ### ARN * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -677,18 +710,20 @@ public static Output getSecret(GetSecretArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var by-arn = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
+     *             .arn("arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -710,12 +745,13 @@ public static Output getSecret(GetSecretArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var by-name = SecretsmanagerFunctions.getSecret(GetSecretArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -730,7 +766,8 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr * ### Retrieve Secret Rotation Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -757,7 +794,8 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -772,7 +810,8 @@ public static Output getSecretRotation(GetSecretRotatio * ### Retrieve Secret Rotation Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -799,7 +838,8 @@ public static Output getSecretRotation(GetSecretRotatio
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -814,7 +854,8 @@ public static CompletableFuture getSecretRotationPlain( * ### Retrieve Secret Rotation Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -841,7 +882,8 @@ public static CompletableFuture getSecretRotationPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -856,7 +898,8 @@ public static Output getSecretRotation(GetSecretRotatio * ### Retrieve Secret Rotation Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -883,7 +926,8 @@ public static Output getSecretRotation(GetSecretRotatio
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -900,7 +944,8 @@ public static CompletableFuture getSecretRotationPlain( * By default, this data sources retrieves information based on the `AWSCURRENT` staging label. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -927,13 +972,15 @@ public static CompletableFuture getSecretRotationPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieve Specific Secret Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -956,12 +1003,13 @@ public static CompletableFuture getSecretRotationPlain(
      *     public static void stack(Context ctx) {
      *         final var by-version-stage = SecretsmanagerFunctions.getSecretVersion(GetSecretVersionArgs.builder()
      *             .secretId(example.id())
-     *             .versionStage("example")
+     *             .versionStage("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -978,7 +1026,8 @@ public static Output getSecretVersion(GetSecretVersionAr * By default, this data sources retrieves information based on the `AWSCURRENT` staging label. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1005,13 +1054,15 @@ public static Output getSecretVersion(GetSecretVersionAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieve Specific Secret Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1034,12 +1085,13 @@ public static Output getSecretVersion(GetSecretVersionAr
      *     public static void stack(Context ctx) {
      *         final var by-version-stage = SecretsmanagerFunctions.getSecretVersion(GetSecretVersionArgs.builder()
      *             .secretId(example.id())
-     *             .versionStage("example")
+     *             .versionStage("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1056,7 +1108,8 @@ public static CompletableFuture getSecretVersionPlain(Ge * By default, this data sources retrieves information based on the `AWSCURRENT` staging label. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1083,13 +1136,15 @@ public static CompletableFuture getSecretVersionPlain(Ge
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieve Specific Secret Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1112,12 +1167,13 @@ public static CompletableFuture getSecretVersionPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var by-version-stage = SecretsmanagerFunctions.getSecretVersion(GetSecretVersionArgs.builder()
      *             .secretId(example.id())
-     *             .versionStage("example")
+     *             .versionStage("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1134,7 +1190,8 @@ public static Output getSecretVersion(GetSecretVersionAr * By default, this data sources retrieves information based on the `AWSCURRENT` staging label. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1161,13 +1218,15 @@ public static Output getSecretVersion(GetSecretVersionAr
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Retrieve Specific Secret Version * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1190,12 +1249,13 @@ public static Output getSecretVersion(GetSecretVersionAr
      *     public static void stack(Context ctx) {
      *         final var by-version-stage = SecretsmanagerFunctions.getSecretVersion(GetSecretVersionArgs.builder()
      *             .secretId(example.id())
-     *             .versionStage("example")
+     *             .versionStage("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1208,7 +1268,8 @@ public static CompletableFuture getSecretVersionPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1231,14 +1292,15 @@ public static CompletableFuture getSecretVersionPlain(Ge
      *     public static void stack(Context ctx) {
      *         final var example = SecretsmanagerFunctions.getSecrets(GetSecretsArgs.builder()
      *             .filters(GetSecretsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1251,7 +1313,8 @@ public static Output getSecrets() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1274,14 +1337,15 @@ public static Output getSecrets() {
      *     public static void stack(Context ctx) {
      *         final var example = SecretsmanagerFunctions.getSecrets(GetSecretsArgs.builder()
      *             .filters(GetSecretsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1294,7 +1358,8 @@ public static CompletableFuture getSecretsPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1317,14 +1382,15 @@ public static CompletableFuture getSecretsPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = SecretsmanagerFunctions.getSecrets(GetSecretsArgs.builder()
      *             .filters(GetSecretsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1337,7 +1403,8 @@ public static Output getSecrets(GetSecretsArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1360,14 +1427,15 @@ public static Output getSecrets(GetSecretsArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = SecretsmanagerFunctions.getSecrets(GetSecretsArgs.builder()
      *             .filters(GetSecretsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1380,7 +1448,8 @@ public static CompletableFuture getSecretsPlain(GetSecretsPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1403,14 +1472,15 @@ public static CompletableFuture getSecretsPlain(GetSecretsPlai
      *     public static void stack(Context ctx) {
      *         final var example = SecretsmanagerFunctions.getSecrets(GetSecretsArgs.builder()
      *             .filters(GetSecretsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1423,7 +1493,8 @@ public static Output getSecrets(GetSecretsArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1446,14 +1517,15 @@ public static Output getSecrets(GetSecretsArgs args, InvokeOpt
      *     public static void stack(Context ctx) {
      *         final var example = SecretsmanagerFunctions.getSecrets(GetSecretsArgs.builder()
      *             .filters(GetSecretsFilterArgs.builder()
-     *                 .name("name")
-     *                 .values("example")
+     *                 .name("name")
+     *                 .values("example")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordArgs.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordArgs.java index b1e301ae2ec..4d246a5430e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordArgs.java @@ -63,14 +63,14 @@ public Optional> excludeNumbers() { } /** - * Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * */ @Import(name="excludePunctuation") private @Nullable Output excludePunctuation; /** - * @return Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * @return Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * */ public Optional> excludePunctuation() { @@ -232,7 +232,7 @@ public Builder excludeNumbers(Boolean excludeNumbers) { } /** - * @param excludePunctuation Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * @param excludePunctuation Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * * @return builder * @@ -243,7 +243,7 @@ public Builder excludePunctuation(@Nullable Output excludePunctuation) } /** - * @param excludePunctuation Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * @param excludePunctuation Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordPlainArgs.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordPlainArgs.java index 5cb32649be1..de53121eaa5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/GetRandomPasswordPlainArgs.java @@ -62,14 +62,14 @@ public Optional excludeNumbers() { } /** - * Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * */ @Import(name="excludePunctuation") private @Nullable Boolean excludePunctuation; /** - * @return Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * @return Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * */ public Optional excludePunctuation() { @@ -201,7 +201,7 @@ public Builder excludeNumbers(@Nullable Boolean excludeNumbers) { } /** - * @param excludePunctuation Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ .`` + * @param excludePunctuation Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ?{@literal @} [ \ ] ^ _ ` { | } ~ .`` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/SecretState.java b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/SecretState.java index 95be44e53eb..a1ece966865 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/SecretState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/secretsmanager/inputs/SecretState.java @@ -81,14 +81,14 @@ public Optional> kmsKeyId() { } /** - * Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * */ @Import(name="name") private @Nullable Output name; /** - * @return Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @return Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * */ public Optional> name() { @@ -312,7 +312,7 @@ public Builder kmsKeyId(String kmsKeyId) { } /** - * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * * @return builder * @@ -323,7 +323,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `name_prefix`. + * @param name Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.{@literal @}-` Conflicts with `name_prefix`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/Account.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/Account.java index 9f40988be19..12875d59757 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/Account.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/Account.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,11 +44,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ActionTarget.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ActionTarget.java index e284694a2ab..69a2f6119ff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ActionTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ActionTarget.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,19 +43,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleActionTarget = new ActionTarget("exampleActionTarget", ActionTargetArgs.builder()        
- *             .name("Send notification to chat")
- *             .identifier("SendToChat")
- *             .description("This is custom action sends selected findings to chat")
+ *         var exampleActionTarget = new ActionTarget("exampleActionTarget", ActionTargetArgs.builder()        
+ *             .name("Send notification to chat")
+ *             .identifier("SendToChat")
+ *             .description("This is custom action sends selected findings to chat")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/AutomationRule.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/AutomationRule.java index b67feeba5b7..8b37a71a958 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/AutomationRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/AutomationRule.java @@ -28,7 +28,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,36 +55,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AutomationRule("example", AutomationRuleArgs.builder()        
- *             .description("Elevate finding severity to CRITICAL when specific resources such as an S3 bucket is at risk")
- *             .ruleName("Elevate severity of findings that relate to important resources")
+ *         var example = new AutomationRule("example", AutomationRuleArgs.builder()        
+ *             .description("Elevate finding severity to CRITICAL when specific resources such as an S3 bucket is at risk")
+ *             .ruleName("Elevate severity of findings that relate to important resources")
  *             .ruleOrder(1)
  *             .actions(AutomationRuleActionArgs.builder()
  *                 .findingFieldsUpdate(AutomationRuleActionFindingFieldsUpdateArgs.builder()
  *                     .severity(AutomationRuleActionFindingFieldsUpdateSeverityArgs.builder()
- *                         .label("CRITICAL")
- *                         .product("0.0")
+ *                         .label("CRITICAL")
+ *                         .product("0.0")
  *                         .build())
  *                     .note(AutomationRuleActionFindingFieldsUpdateNoteArgs.builder()
- *                         .text("This is a critical resource. Please review ASAP.")
- *                         .updatedBy("sechub-automation")
+ *                         .text("This is a critical resource. Please review ASAP.")
+ *                         .updatedBy("sechub-automation")
  *                         .build())
- *                     .types("Software and Configuration Checks/Industry and Regulatory Standards")
- *                     .userDefinedFields(Map.of("key", "value"))
+ *                     .types("Software and Configuration Checks/Industry and Regulatory Standards")
+ *                     .userDefinedFields(Map.of("key", "value"))
  *                     .build())
- *                 .type("FINDING_FIELDS_UPDATE")
+ *                 .type("FINDING_FIELDS_UPDATE")
  *                 .build())
  *             .criteria(AutomationRuleCriteriaArgs.builder()
  *                 .resourceIds(AutomationRuleCriteriaResourceIdArgs.builder()
- *                     .comparison("EQUALS")
- *                     .value("arn:aws:s3:::examplebucket/*")
+ *                     .comparison("EQUALS")
+ *                     .value("arn:aws:s3:::examplebucket/*")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicy.java index 0d8332f5733..9efe0b7948e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicy.java @@ -25,7 +25,8 @@ * ### Default standards enabled * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,28 +55,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FindingAggregator("example", FindingAggregatorArgs.builder()        
- *             .linkingMode("ALL_REGIONS")
+ *         var example = new FindingAggregator("example", FindingAggregatorArgs.builder()        
+ *             .linkingMode("ALL_REGIONS")
  *             .build());
  * 
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(false)
- *             .autoEnableStandards("NONE")
+ *             .autoEnableStandards("NONE")
  *             .organizationConfiguration(OrganizationConfigurationOrganizationConfigurationArgs.builder()
- *                 .configurationType("CENTRAL")
+ *                 .configurationType("CENTRAL")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var exampleConfigurationPolicy = new ConfigurationPolicy("exampleConfigurationPolicy", ConfigurationPolicyArgs.builder()        
- *             .name("Example")
- *             .description("This is an example configuration policy")
+ *         var exampleConfigurationPolicy = new ConfigurationPolicy("exampleConfigurationPolicy", ConfigurationPolicyArgs.builder()        
+ *             .name("Example")
+ *             .description("This is an example configuration policy")
  *             .configurationPolicy(ConfigurationPolicyConfigurationPolicyArgs.builder()
  *                 .serviceEnabled(true)
  *                 .enabledStandardArns(                
- *                     "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
- *                     "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
+ *                     "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
+ *                     "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
  *                 .securityControlsConfiguration(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationArgs.builder()
  *                     .disabledControlIdentifiers()
  *                     .build())
@@ -86,13 +87,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Disabled Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -115,9 +118,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var disabled = new ConfigurationPolicy("disabled", ConfigurationPolicyArgs.builder()        
- *             .name("Disabled")
- *             .description("This is an example of disabled configuration policy")
+ *         var disabled = new ConfigurationPolicy("disabled", ConfigurationPolicyArgs.builder()        
+ *             .name("Disabled")
+ *             .description("This is an example of disabled configuration policy")
  *             .configurationPolicy(ConfigurationPolicyConfigurationPolicyArgs.builder()
  *                 .serviceEnabled(false)
  *                 .build())
@@ -127,13 +130,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Custom Control Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -157,42 +162,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var disabled = new ConfigurationPolicy("disabled", ConfigurationPolicyArgs.builder()        
- *             .name("Custom Controls")
- *             .description("This is an example of configuration policy with custom control settings")
+ *         var disabled = new ConfigurationPolicy("disabled", ConfigurationPolicyArgs.builder()        
+ *             .name("Custom Controls")
+ *             .description("This is an example of configuration policy with custom control settings")
  *             .configurationPolicy(ConfigurationPolicyConfigurationPolicyArgs.builder()
  *                 .serviceEnabled(true)
  *                 .enabledStandardArns(                
- *                     "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
- *                     "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
+ *                     "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
+ *                     "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
  *                 .securityControlsConfiguration(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationArgs.builder()
  *                     .enabledControlIdentifiers(                    
- *                         "APIGateway.1",
- *                         "IAM.7")
+ *                         "APIGateway.1",
+ *                         "IAM.7")
  *                     .securityControlCustomParameters(                    
  *                         ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterArgs.builder()
- *                             .securityControlId("APIGateway.1")
+ *                             .securityControlId("APIGateway.1")
  *                             .parameters(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterParameterArgs.builder()
- *                                 .name("loggingLevel")
- *                                 .valueType("CUSTOM")
+ *                                 .name("loggingLevel")
+ *                                 .valueType("CUSTOM")
  *                                 .enum_(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterParameterEnumArgs.builder()
- *                                     .value("INFO")
+ *                                     .value("INFO")
  *                                     .build())
  *                                 .build())
  *                             .build(),
  *                         ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterArgs.builder()
- *                             .securityControlId("IAM.7")
+ *                             .securityControlId("IAM.7")
  *                             .parameters(                            
  *                                 ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterParameterArgs.builder()
- *                                     .name("RequireLowercaseCharacters")
- *                                     .valueType("CUSTOM")
+ *                                     .name("RequireLowercaseCharacters")
+ *                                     .valueType("CUSTOM")
  *                                     .bool(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterParameterBoolArgs.builder()
  *                                         .value(false)
  *                                         .build())
  *                                     .build(),
  *                                 ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterParameterArgs.builder()
- *                                     .name("MaxPasswordAge")
- *                                     .valueType("CUSTOM")
+ *                                     .name("MaxPasswordAge")
+ *                                     .valueType("CUSTOM")
  *                                     .int_(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationSecurityControlCustomParameterParameterIntArgs.builder()
  *                                         .value(60)
  *                                         .build())
@@ -206,7 +211,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicyAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicyAssociation.java index 457ad7b0aa8..2aade7194ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicyAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ConfigurationPolicyAssociation.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,28 +53,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FindingAggregator("example", FindingAggregatorArgs.builder()        
- *             .linkingMode("ALL_REGIONS")
+ *         var example = new FindingAggregator("example", FindingAggregatorArgs.builder()        
+ *             .linkingMode("ALL_REGIONS")
  *             .build());
  * 
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(false)
- *             .autoEnableStandards("NONE")
+ *             .autoEnableStandards("NONE")
  *             .organizationConfiguration(OrganizationConfigurationOrganizationConfigurationArgs.builder()
- *                 .configurationType("CENTRAL")
+ *                 .configurationType("CENTRAL")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var exampleConfigurationPolicy = new ConfigurationPolicy("exampleConfigurationPolicy", ConfigurationPolicyArgs.builder()        
- *             .name("Example")
- *             .description("This is an example configuration policy")
+ *         var exampleConfigurationPolicy = new ConfigurationPolicy("exampleConfigurationPolicy", ConfigurationPolicyArgs.builder()        
+ *             .name("Example")
+ *             .description("This is an example configuration policy")
  *             .configurationPolicy(ConfigurationPolicyConfigurationPolicyArgs.builder()
  *                 .serviceEnabled(true)
  *                 .enabledStandardArns(                
- *                     "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
- *                     "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
+ *                     "arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0",
+ *                     "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
  *                 .securityControlsConfiguration(ConfigurationPolicyConfigurationPolicySecurityControlsConfigurationArgs.builder()
  *                     .disabledControlIdentifiers()
  *                     .build())
@@ -82,24 +83,25 @@
  *                 .dependsOn(exampleOrganizationConfiguration)
  *                 .build());
  * 
- *         var accountExample = new ConfigurationPolicyAssociation("accountExample", ConfigurationPolicyAssociationArgs.builder()        
- *             .targetId("123456789012")
+ *         var accountExample = new ConfigurationPolicyAssociation("accountExample", ConfigurationPolicyAssociationArgs.builder()        
+ *             .targetId("123456789012")
  *             .policyId(exampleConfigurationPolicy.id())
  *             .build());
  * 
- *         var rootExample = new ConfigurationPolicyAssociation("rootExample", ConfigurationPolicyAssociationArgs.builder()        
- *             .targetId("r-abcd")
+ *         var rootExample = new ConfigurationPolicyAssociation("rootExample", ConfigurationPolicyAssociationArgs.builder()        
+ *             .targetId("r-abcd")
  *             .policyId(exampleConfigurationPolicy.id())
  *             .build());
  * 
- *         var ouExample = new ConfigurationPolicyAssociation("ouExample", ConfigurationPolicyAssociationArgs.builder()        
- *             .targetId("ou-abcd-12345678")
+ *         var ouExample = new ConfigurationPolicyAssociation("ouExample", ConfigurationPolicyAssociationArgs.builder()        
+ *             .targetId("ou-abcd-12345678")
  *             .policyId(exampleConfigurationPolicy.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/FindingAggregator.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/FindingAggregator.java index d5c7205b6f4..af122764745 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/FindingAggregator.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/FindingAggregator.java @@ -25,7 +25,8 @@ * The following example will enable the aggregator for every region. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,17 +49,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
- *             .linkingMode("ALL_REGIONS")
+ *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
+ *             .linkingMode("ALL_REGIONS")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### All Regions Except Specified Regions Usage @@ -66,7 +68,8 @@ * The following example will enable the aggregator for every region except those specified in `specified_regions`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,20 +92,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
- *             .linkingMode("ALL_REGIONS_EXCEPT_SPECIFIED")
+ *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
+ *             .linkingMode("ALL_REGIONS_EXCEPT_SPECIFIED")
  *             .specifiedRegions(            
- *                 "eu-west-1",
- *                 "eu-west-2")
+ *                 "eu-west-1",
+ *                 "eu-west-2")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Specified Regions Usage @@ -110,7 +114,8 @@ * The following example will enable the aggregator for every region specified in `specified_regions`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -133,20 +138,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
- *             .linkingMode("SPECIFIED_REGIONS")
+ *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
+ *             .linkingMode("SPECIFIED_REGIONS")
  *             .specifiedRegions(            
- *                 "eu-west-1",
- *                 "eu-west-2")
+ *                 "eu-west-1",
+ *                 "eu-west-2")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/Insight.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/Insight.java index 92082e3728e..cc6a34c4bbe 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/Insight.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/Insight.java @@ -22,7 +22,8 @@ * ### Filter by AWS account ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,35 +47,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
+ *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
  *             .filters(InsightFiltersArgs.builder()
  *                 .awsAccountIds(                
  *                     InsightFiltersAwsAccountIdArgs.builder()
- *                         .comparison("EQUALS")
- *                         .value("1234567890")
+ *                         .comparison("EQUALS")
+ *                         .value("1234567890")
  *                         .build(),
  *                     InsightFiltersAwsAccountIdArgs.builder()
- *                         .comparison("EQUALS")
- *                         .value("09876543210")
+ *                         .comparison("EQUALS")
+ *                         .value("09876543210")
  *                         .build())
  *                 .build())
- *             .groupByAttribute("AwsAccountId")
- *             .name("example-insight")
+ *             .groupByAttribute("AwsAccountId")
+ *             .name("example-insight")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Filter by date range * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,32 +101,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
+ *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
  *             .filters(InsightFiltersArgs.builder()
  *                 .createdAts(InsightFiltersCreatedAtArgs.builder()
  *                     .dateRange(InsightFiltersCreatedAtDateRangeArgs.builder()
- *                         .unit("DAYS")
+ *                         .unit("DAYS")
  *                         .value(5)
  *                         .build())
  *                     .build())
  *                 .build())
- *             .groupByAttribute("CreatedAt")
- *             .name("example-insight")
+ *             .groupByAttribute("CreatedAt")
+ *             .name("example-insight")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Filter by destination IPv4 address * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -147,29 +152,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
+ *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
  *             .filters(InsightFiltersArgs.builder()
  *                 .networkDestinationIpv4s(InsightFiltersNetworkDestinationIpv4Args.builder()
- *                     .cidr("10.0.0.0/16")
+ *                     .cidr("10.0.0.0/16")
  *                     .build())
  *                 .build())
- *             .groupByAttribute("NetworkDestinationIpV4")
- *             .name("example-insight")
+ *             .groupByAttribute("NetworkDestinationIpV4")
+ *             .name("example-insight")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Filter by finding's confidence * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -193,29 +200,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
+ *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
  *             .filters(InsightFiltersArgs.builder()
  *                 .confidences(InsightFiltersConfidenceArgs.builder()
- *                     .gte("80")
+ *                     .gte("80")
  *                     .build())
  *                 .build())
- *             .groupByAttribute("Confidence")
- *             .name("example-insight")
+ *             .groupByAttribute("Confidence")
+ *             .name("example-insight")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Filter by resource tags * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -239,25 +248,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
+ *         var exampleInsight = new Insight("exampleInsight", InsightArgs.builder()        
  *             .filters(InsightFiltersArgs.builder()
  *                 .resourceTags(InsightFiltersResourceTagArgs.builder()
- *                     .comparison("EQUALS")
- *                     .key("Environment")
- *                     .value("Production")
+ *                     .comparison("EQUALS")
+ *                     .key("Environment")
+ *                     .value("Production")
  *                     .build())
  *                 .build())
- *             .groupByAttribute("ResourceTags")
- *             .name("example-insight")
+ *             .groupByAttribute("ResourceTags")
+ *             .name("example-insight")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/InviteAccepter.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/InviteAccepter.java index a515692183f..5576c03766d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/InviteAccepter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/InviteAccepter.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,17 +47,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
- *             .accountId("123456789012")
- *             .email("example@example.com")
+ *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
+ *             .accountId("123456789012")
+ *             .email("example{@literal @}example.com")
  *             .invite(true)
  *             .build());
  * 
- *         var invitee = new Account("invitee");
+ *         var invitee = new Account("invitee");
  * 
- *         var inviteeInviteAccepter = new InviteAccepter("inviteeInviteAccepter", InviteAccepterArgs.builder()        
+ *         var inviteeInviteAccepter = new InviteAccepter("inviteeInviteAccepter", InviteAccepterArgs.builder()        
  *             .masterId(exampleMember.masterId())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(invitee)
@@ -64,7 +65,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/Member.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/Member.java index d1cf34d5e64..bc5817ca03c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/Member.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/Member.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,11 +45,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
- *             .accountId("123456789012")
- *             .email("example@example.com")
+ *         var exampleMember = new Member("exampleMember", MemberArgs.builder()        
+ *             .accountId("123456789012")
+ *             .email("example{@literal @}example.com")
  *             .invite(true)
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
@@ -56,7 +57,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationAdminAccount.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationAdminAccount.java index 4b9ba5333bb..bb10b9a2be8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationAdminAccount.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationAdminAccount.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,27 +47,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Organization("example", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("securityhub.amazonaws.com")
- *             .featureSet("ALL")
+ *         var example = new Organization("example", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("securityhub.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleAccount = new Account("exampleAccount");
+ *         var exampleAccount = new Account("exampleAccount");
  * 
- *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
- *             .adminAccountId("123456789012")
+ *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
+ *             .adminAccountId("123456789012")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *         // Auto enable security hub in organization member accounts
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationConfiguration.java index 761a04cf708..e359dad1982 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/OrganizationConfiguration.java @@ -31,7 +31,8 @@ * ### Local Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,30 +58,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Organization("example", OrganizationArgs.builder()        
- *             .awsServiceAccessPrincipals("securityhub.amazonaws.com")
- *             .featureSet("ALL")
+ *         var example = new Organization("example", OrganizationArgs.builder()        
+ *             .awsServiceAccessPrincipals("securityhub.amazonaws.com")
+ *             .featureSet("ALL")
  *             .build());
  * 
- *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
- *             .adminAccountId("123456789012")
+ *         var exampleOrganizationAdminAccount = new OrganizationAdminAccount("exampleOrganizationAdminAccount", OrganizationAdminAccountArgs.builder()        
+ *             .adminAccountId("123456789012")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Central Configuration * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -107,23 +110,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OrganizationAdminAccount("example", OrganizationAdminAccountArgs.builder()        
- *             .adminAccountId("123456789012")
+ *         var example = new OrganizationAdminAccount("example", OrganizationAdminAccountArgs.builder()        
+ *             .adminAccountId("123456789012")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsOrganizationsOrganization)
  *                 .build());
  * 
- *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
- *             .linkingMode("ALL_REGIONS")
+ *         var exampleFindingAggregator = new FindingAggregator("exampleFindingAggregator", FindingAggregatorArgs.builder()        
+ *             .linkingMode("ALL_REGIONS")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
+ *         var exampleOrganizationConfiguration = new OrganizationConfiguration("exampleOrganizationConfiguration", OrganizationConfigurationArgs.builder()        
  *             .autoEnable(false)
- *             .autoEnableStandards("NONE")
+ *             .autoEnableStandards("NONE")
  *             .organizationConfiguration(OrganizationConfigurationOrganizationConfigurationArgs.builder()
- *                 .configurationType("CENTRAL")
+ *                 .configurationType("CENTRAL")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleFindingAggregator)
@@ -131,7 +134,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ProductSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ProductSubscription.java index 1a3135eefc3..17d7d08ce0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/ProductSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/ProductSubscription.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var exampleProductSubscription = new ProductSubscription("exampleProductSubscription", ProductSubscriptionArgs.builder()        
- *             .productArn(String.format("arn:aws:securityhub:%s:733251395267:product/alertlogic/althreatmanagement", current.applyValue(getRegionResult -> getRegionResult.name())))
+ *         var exampleProductSubscription = new ProductSubscription("exampleProductSubscription", ProductSubscriptionArgs.builder()        
+ *             .productArn(String.format("arn:aws:securityhub:%s:733251395267:product/alertlogic/althreatmanagement", current.applyValue(getRegionResult -> getRegionResult.name())))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsControl.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsControl.java index 702a1fef9b9..3e989c4443c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsControl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsControl.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,25 +50,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
- *         var cisAwsFoundationsBenchmark = new StandardsSubscription("cisAwsFoundationsBenchmark", StandardsSubscriptionArgs.builder()        
- *             .standardsArn("arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
+ *         var cisAwsFoundationsBenchmark = new StandardsSubscription("cisAwsFoundationsBenchmark", StandardsSubscriptionArgs.builder()        
+ *             .standardsArn("arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var ensureIamPasswordPolicyPreventsPasswordReuse = new StandardsControl("ensureIamPasswordPolicyPreventsPasswordReuse", StandardsControlArgs.builder()        
- *             .standardsControlArn("arn:aws:securityhub:us-east-1:111111111111:control/cis-aws-foundations-benchmark/v/1.2.0/1.10")
- *             .controlStatus("DISABLED")
- *             .disabledReason("We handle password policies within Okta")
+ *         var ensureIamPasswordPolicyPreventsPasswordReuse = new StandardsControl("ensureIamPasswordPolicyPreventsPasswordReuse", StandardsControlArgs.builder()        
+ *             .standardsControlArn("arn:aws:securityhub:us-east-1:111111111111:control/cis-aws-foundations-benchmark/v/1.2.0/1.10")
+ *             .controlStatus("DISABLED")
+ *             .disabledReason("We handle password policies within Okta")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(cisAwsFoundationsBenchmark)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsSubscription.java index a66ea3bf958..610bcdd749d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securityhub/StandardsSubscription.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,25 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Account("example");
+ *         var example = new Account("example");
  * 
  *         final var current = AwsFunctions.getRegion();
  * 
- *         var cis = new StandardsSubscription("cis", StandardsSubscriptionArgs.builder()        
- *             .standardsArn("arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
+ *         var cis = new StandardsSubscription("cis", StandardsSubscriptionArgs.builder()        
+ *             .standardsArn("arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
- *         var pci321 = new StandardsSubscription("pci321", StandardsSubscriptionArgs.builder()        
- *             .standardsArn(String.format("arn:aws:securityhub:%s::standards/pci-dss/v/3.2.1", current.applyValue(getRegionResult -> getRegionResult.name())))
+ *         var pci321 = new StandardsSubscription("pci321", StandardsSubscriptionArgs.builder()        
+ *             .standardsArn(String.format("arn:aws:securityhub:%s::standards/pci-dss/v/3.2.1", current.applyValue(getRegionResult -> getRegionResult.name())))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(example)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securitylake/AwsLogSource.java b/sdk/java/src/main/java/com/pulumi/aws/securitylake/AwsLogSource.java index 00760139896..4ed49108b59 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securitylake/AwsLogSource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securitylake/AwsLogSource.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,18 +45,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new AwsLogSource("test", AwsLogSourceArgs.builder()        
+ *         var test = new AwsLogSource("test", AwsLogSourceArgs.builder()        
  *             .source(AwsLogSourceSourceArgs.builder()
- *                 .accounts("123456789012")
- *                 .regions("eu-west-1")
- *                 .sourceName("ROUTE53")
- *                 .sourceVersion("1.0")
+ *                 .accounts("123456789012")
+ *                 .regions("eu-west-1")
+ *                 .sourceName("ROUTE53")
+ *                 .sourceVersion("1.0")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securitylake/CustomLogSource.java b/sdk/java/src/main/java/com/pulumi/aws/securitylake/CustomLogSource.java index 42be9bd63a1..e687ec60600 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securitylake/CustomLogSource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securitylake/CustomLogSource.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,24 +51,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CustomLogSource("example", CustomLogSourceArgs.builder()        
- *             .sourceName("example-name")
- *             .sourceVersion("1.0")
- *             .eventClasses("FILE_ACTIVITY")
+ *         var example = new CustomLogSource("example", CustomLogSourceArgs.builder()        
+ *             .sourceName("example-name")
+ *             .sourceVersion("1.0")
+ *             .eventClasses("FILE_ACTIVITY")
  *             .configuration(CustomLogSourceConfigurationArgs.builder()
  *                 .crawlerConfiguration(CustomLogSourceConfigurationCrawlerConfigurationArgs.builder()
  *                     .roleArn(customLog.arn())
  *                     .build())
  *                 .providerIdentity(CustomLogSourceConfigurationProviderIdentityArgs.builder()
- *                     .externalId("example-id")
- *                     .principal("123456789012")
+ *                     .externalId("example-id")
+ *                     .principal("123456789012")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securitylake/DataLake.java b/sdk/java/src/main/java/com/pulumi/aws/securitylake/DataLake.java index 8f651831db0..7e7a302c3e6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securitylake/DataLake.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securitylake/DataLake.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,22 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataLake("example", DataLakeArgs.builder()        
+ *         var example = new DataLake("example", DataLakeArgs.builder()        
  *             .metaStoreManagerRoleArn(metaStoreManager.arn())
  *             .configuration(DataLakeConfigurationArgs.builder()
- *                 .region("eu-west-1")
+ *                 .region("eu-west-1")
  *                 .encryptionConfigurations(DataLakeConfigurationEncryptionConfigurationArgs.builder()
- *                     .kmsKeyId("S3_MANAGED_KEY")
+ *                     .kmsKeyId("S3_MANAGED_KEY")
  *                     .build())
  *                 .lifecycleConfiguration(DataLakeConfigurationLifecycleConfigurationArgs.builder()
  *                     .transitions(                    
  *                         DataLakeConfigurationLifecycleConfigurationTransitionArgs.builder()
  *                             .days(31)
- *                             .storageClass("STANDARD_IA")
+ *                             .storageClass("STANDARD_IA")
  *                             .build(),
  *                         DataLakeConfigurationLifecycleConfigurationTransitionArgs.builder()
  *                             .days(80)
- *                             .storageClass("ONEZONE_IA")
+ *                             .storageClass("ONEZONE_IA")
  *                             .build())
  *                     .expiration(DataLakeConfigurationLifecycleConfigurationExpirationArgs.builder()
  *                         .days(300)
@@ -73,13 +74,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -101,19 +104,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DataLake("example", DataLakeArgs.builder()        
+ *         var example = new DataLake("example", DataLakeArgs.builder()        
  *             .metaStoreManagerRoleArn(metaStoreManager.arn())
  *             .configuration(DataLakeConfigurationArgs.builder()
- *                 .region("eu-west-1")
+ *                 .region("eu-west-1")
  *                 .encryptionConfigurations(DataLakeConfigurationEncryptionConfigurationArgs.builder()
- *                     .kmsKeyId("S3_MANAGED_KEY")
+ *                     .kmsKeyId("S3_MANAGED_KEY")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securitylake/Subscriber.java b/sdk/java/src/main/java/com/pulumi/aws/securitylake/Subscriber.java index 43f6f3cd848..93b55e2ec2d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securitylake/Subscriber.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securitylake/Subscriber.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,25 +49,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Subscriber("example", SubscriberArgs.builder()        
- *             .subscriberName("example-name")
- *             .sourceVersion("1.0")
- *             .accessType("S3")
+ *         var example = new Subscriber("example", SubscriberArgs.builder()        
+ *             .subscriberName("example-name")
+ *             .sourceVersion("1.0")
+ *             .accessType("S3")
  *             .source(SubscriberSourceArgs.builder()
  *                 .awsLogSourceResource(SubscriberSourceAwsLogSourceResourceArgs.builder()
- *                     .sourceName("ROUTE53")
- *                     .sourceVersion("1.0")
+ *                     .sourceName("ROUTE53")
+ *                     .sourceVersion("1.0")
  *                     .build())
  *                 .build())
  *             .subscriberIdentity(SubscriberSubscriberIdentityArgs.builder()
- *                 .externalId("example")
- *                 .principal("1234567890")
+ *                 .externalId("example")
+ *                 .principal("1234567890")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/securitylake/SubscriberNotification.java b/sdk/java/src/main/java/com/pulumi/aws/securitylake/SubscriberNotification.java index 3d0279512f3..857067db39f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/securitylake/SubscriberNotification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/securitylake/SubscriberNotification.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new SubscriberNotification("test", SubscriberNotificationArgs.builder()        
+ *         var test = new SubscriberNotification("test", SubscriberNotificationArgs.builder()        
  *             .subscriberId(testAwsSecuritylakeSubscriber.id())
  *             .configuration(SubscriberNotificationConfigurationArgs.builder()
  *                 .sqsNotificationConfiguration()
@@ -53,7 +54,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/CloudFormationStack.java b/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/CloudFormationStack.java index 87c9bd00cf7..8701e95ff84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/CloudFormationStack.java +++ b/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/CloudFormationStack.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,21 +51,22 @@
  * 
  *         final var currentGetRegion = AwsFunctions.getRegion();
  * 
- *         var postgres_rotator = new CloudFormationStack("postgres-rotator", CloudFormationStackArgs.builder()        
- *             .name("postgres-rotator")
- *             .applicationId("arn:aws:serverlessrepo:us-east-1:297356227824:applications/SecretsManagerRDSPostgreSQLRotationSingleUser")
+ *         var postgres_rotator = new CloudFormationStack("postgres-rotator", CloudFormationStackArgs.builder()        
+ *             .name("postgres-rotator")
+ *             .applicationId("arn:aws:serverlessrepo:us-east-1:297356227824:applications/SecretsManagerRDSPostgreSQLRotationSingleUser")
  *             .capabilities(            
- *                 "CAPABILITY_IAM",
- *                 "CAPABILITY_RESOURCE_POLICY")
+ *                 "CAPABILITY_IAM",
+ *                 "CAPABILITY_RESOURCE_POLICY")
  *             .parameters(Map.ofEntries(
- *                 Map.entry("functionName", "func-postgres-rotator"),
- *                 Map.entry("endpoint", String.format("secretsmanager.%s.%s", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix())))
+ *                 Map.entry("functionName", "func-postgres-rotator"),
+ *                 Map.entry("endpoint", String.format("secretsmanager.%s.%s", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix())))
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/ServerlessrepositoryFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/ServerlessrepositoryFunctions.java index 8caa49bf8a4..0621630d306 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/ServerlessrepositoryFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/serverlessrepository/ServerlessrepositoryFunctions.java @@ -20,7 +20,8 @@ public final class ServerlessrepositoryFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,19 +45,20 @@ public final class ServerlessrepositoryFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServerlessrepositoryFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
+     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
      *             .build());
      * 
-     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
-     *             .name("Example")
-     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
-     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
-     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
+     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
+     *             .name("Example")
+     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
+     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
+     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getApplication(GetApplicationArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -93,19 +96,20 @@ public static Output getApplication(GetApplicationArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServerlessrepositoryFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
+     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
      *             .build());
      * 
-     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
-     *             .name("Example")
-     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
-     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
-     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
+     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
+     *             .name("Example")
+     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
+     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
+     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -118,7 +122,8 @@ public static CompletableFuture getApplicationPlain(GetApp * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,19 +147,20 @@ public static CompletableFuture getApplicationPlain(GetApp
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServerlessrepositoryFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
+     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
      *             .build());
      * 
-     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
-     *             .name("Example")
-     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
-     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
-     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
+     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
+     *             .name("Example")
+     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
+     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
+     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -167,7 +173,8 @@ public static Output getApplication(GetApplicationArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -191,19 +198,20 @@ public static Output getApplication(GetApplicationArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServerlessrepositoryFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
+     *             .applicationId("arn:aws:serverlessrepo:us-east-1:123456789012:applications/ExampleApplication")
      *             .build());
      * 
-     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
-     *             .name("Example")
-     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
-     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
-     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
+     *         var exampleCloudFormationStack = new CloudFormationStack("exampleCloudFormationStack", CloudFormationStackArgs.builder()        
+     *             .name("Example")
+     *             .applicationId(example.applyValue(getApplicationResult -> getApplicationResult.applicationId()))
+     *             .semanticVersion(example.applyValue(getApplicationResult -> getApplicationResult.semanticVersion()))
+     *             .capabilities(example.applyValue(getApplicationResult -> getApplicationResult.requiredCapabilities()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/AppregistryApplication.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/AppregistryApplication.java index 774551da62d..f880ca0be56 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/AppregistryApplication.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/AppregistryApplication.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AppregistryApplication("example", AppregistryApplicationArgs.builder()        
- *             .name("example-app")
+ *         var example = new AppregistryApplication("example", AppregistryApplicationArgs.builder()        
+ *             .name("example-app")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Connecting Resources * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,18 +84,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AppregistryApplication("example", AppregistryApplicationArgs.builder()        
- *             .name("example-app")
+ *         var example = new AppregistryApplication("example", AppregistryApplicationArgs.builder()        
+ *             .name("example-app")
  *             .build());
  * 
- *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
- *             .bucket("example-bucket")
+ *         var bucket = new BucketV2("bucket", BucketV2Args.builder()        
+ *             .bucket("example-bucket")
  *             .tags(example.applicationTag())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/BudgetResourceAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/BudgetResourceAssociation.java index e5ea94ba44b..16058b75ee3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/BudgetResourceAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/BudgetResourceAssociation.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BudgetResourceAssociation("example", BudgetResourceAssociationArgs.builder()        
- *             .budgetName("budget-pjtvyakdlyo3m")
- *             .resourceId("prod-dnigbtea24ste")
+ *         var example = new BudgetResourceAssociation("example", BudgetResourceAssociationArgs.builder()        
+ *             .budgetName("budget-pjtvyakdlyo3m")
+ *             .resourceId("prod-dnigbtea24ste")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Constraint.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Constraint.java index 4ab06f96e20..e0a0248b848 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Constraint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Constraint.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,20 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Constraint("example", ConstraintArgs.builder()        
- *             .description("Back off, man. I'm a scientist.")
+ *         var example = new Constraint("example", ConstraintArgs.builder()        
+ *             .description("Back off, man. I'm a scientist.")
  *             .portfolioId(exampleAwsServicecatalogPortfolio.id())
  *             .productId(exampleAwsServicecatalogProduct.id())
- *             .type("LAUNCH")
+ *             .type("LAUNCH")
  *             .parameters(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("RoleArn", "arn:aws:iam::123456789012:role/LaunchRole")
+ *                     jsonProperty("RoleArn", "arn:aws:iam::123456789012:role/LaunchRole")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/OrganizationsAccess.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/OrganizationsAccess.java index 38c8df1510e..5a7267ddb90 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/OrganizationsAccess.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/OrganizationsAccess.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new OrganizationsAccess("example", OrganizationsAccessArgs.builder()        
- *             .enabled("true")
+ *         var example = new OrganizationsAccess("example", OrganizationsAccessArgs.builder()        
+ *             .enabled("true")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Portfolio.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Portfolio.java index f60b52f9fba..87df32981c2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Portfolio.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Portfolio.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,15 +43,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var portfolio = new Portfolio("portfolio", PortfolioArgs.builder()        
- *             .name("My App Portfolio")
- *             .description("List of my organizations apps")
- *             .providerName("Brett")
+ *         var portfolio = new Portfolio("portfolio", PortfolioArgs.builder()        
+ *             .name("My App Portfolio")
+ *             .description("List of my organizations apps")
+ *             .providerName("Brett")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PortfolioShare.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PortfolioShare.java index 1a5d466c9fa..a9fc9c8e042 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PortfolioShare.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PortfolioShare.java @@ -31,7 +31,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,15 +53,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PortfolioShare("example", PortfolioShareArgs.builder()        
- *             .principalId("012128675309")
+ *         var example = new PortfolioShare("example", PortfolioShareArgs.builder()        
+ *             .principalId("012128675309")
  *             .portfolioId(exampleAwsServicecatalogPortfolio.id())
- *             .type("ACCOUNT")
+ *             .type("ACCOUNT")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PrincipalPortfolioAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PrincipalPortfolioAssociation.java index ae01392b8ef..4b7498acc65 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PrincipalPortfolioAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/PrincipalPortfolioAssociation.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PrincipalPortfolioAssociation("example", PrincipalPortfolioAssociationArgs.builder()        
- *             .portfolioId("port-68656c6c6f")
- *             .principalArn("arn:aws:iam::123456789012:user/Eleanor")
+ *         var example = new PrincipalPortfolioAssociation("example", PrincipalPortfolioAssociationArgs.builder()        
+ *             .portfolioId("port-68656c6c6f")
+ *             .principalArn("arn:aws:iam::123456789012:user/Eleanor")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Product.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Product.java index 99f79e5f4eb..10cfe84c88d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Product.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/Product.java @@ -29,7 +29,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,19 +52,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Product("example", ProductArgs.builder()        
- *             .name("example")
- *             .owner("example-owner")
- *             .type("CLOUD_FORMATION_TEMPLATE")
+ *         var example = new Product("example", ProductArgs.builder()        
+ *             .name("example")
+ *             .owner("example-owner")
+ *             .type("CLOUD_FORMATION_TEMPLATE")
  *             .provisioningArtifactParameters(ProductProvisioningArtifactParametersArgs.builder()
- *                 .templateUrl("https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/temp1.json")
+ *                 .templateUrl("https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/temp1.json")
  *                 .build())
- *             .tags(Map.of("foo", "bar"))
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProductPortfolioAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProductPortfolioAssociation.java index 6c45f4dc420..091b937d27d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProductPortfolioAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProductPortfolioAssociation.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProductPortfolioAssociation("example", ProductPortfolioAssociationArgs.builder()        
- *             .portfolioId("port-68656c6c6f")
- *             .productId("prod-dnigbtea24ste")
+ *         var example = new ProductPortfolioAssociation("example", ProductPortfolioAssociationArgs.builder()        
+ *             .portfolioId("port-68656c6c6f")
+ *             .productId("prod-dnigbtea24ste")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisionedProduct.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisionedProduct.java index c14e57048d5..63f28fc5a80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisionedProduct.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisionedProduct.java @@ -36,7 +36,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,20 +59,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProvisionedProduct("example", ProvisionedProductArgs.builder()        
- *             .name("example")
- *             .productName("Example product")
- *             .provisioningArtifactName("Example version")
+ *         var example = new ProvisionedProduct("example", ProvisionedProductArgs.builder()        
+ *             .name("example")
+ *             .productName("Example product")
+ *             .provisioningArtifactName("Example version")
  *             .provisioningParameters(ProvisionedProductProvisioningParameterArgs.builder()
- *                 .key("foo")
- *                 .value("bar")
+ *                 .key("foo")
+ *                 .value("bar")
  *                 .build())
- *             .tags(Map.of("foo", "bar"))
+ *             .tags(Map.of("foo", "bar"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisioningArtifact.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisioningArtifact.java index 20e698154bc..558b4b3ec88 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisioningArtifact.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ProvisioningArtifact.java @@ -29,7 +29,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,16 +51,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProvisioningArtifact("example", ProvisioningArtifactArgs.builder()        
- *             .name("example")
+ *         var example = new ProvisioningArtifact("example", ProvisioningArtifactArgs.builder()        
+ *             .name("example")
  *             .productId(exampleAwsServicecatalogProduct.id())
- *             .type("CLOUD_FORMATION_TEMPLATE")
- *             .templateUrl(String.format("https://%s/%s", exampleAwsS3Bucket.bucketRegionalDomainName(),exampleAwsS3Object.key()))
+ *             .type("CLOUD_FORMATION_TEMPLATE")
+ *             .templateUrl(String.format("https://%s/%s", exampleAwsS3Bucket.bucketRegionalDomainName(),exampleAwsS3Object.key()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServiceAction.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServiceAction.java index a77ce7aa93e..df8ae4e756c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServiceAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServiceAction.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,17 +46,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServiceAction("example", ServiceActionArgs.builder()        
- *             .description("Motor generator unit")
- *             .name("MGU")
+ *         var example = new ServiceAction("example", ServiceActionArgs.builder()        
+ *             .description("Motor generator unit")
+ *             .name("MGU")
  *             .definition(ServiceActionDefinitionArgs.builder()
- *                 .name("AWS-RestartEC2Instance")
+ *                 .name("AWS-RestartEC2Instance")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServicecatalogFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServicecatalogFunctions.java index d479dde289d..7d586a3555b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServicecatalogFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/ServicecatalogFunctions.java @@ -40,7 +40,8 @@ public final class ServicecatalogFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -62,12 +63,13 @@ public final class ServicecatalogFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getAppregistryApplication(GetAppregistryApplicationArgs.builder()
-     *             .id("application-1234")
+     *             .id("application-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -82,7 +84,8 @@ public static Output getAppregistryApplication( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -104,12 +107,13 @@ public static Output getAppregistryApplication(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getAppregistryApplication(GetAppregistryApplicationArgs.builder()
-     *             .id("application-1234")
+     *             .id("application-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -124,7 +128,8 @@ public static CompletableFuture getAppregistryA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -146,12 +151,13 @@ public static CompletableFuture getAppregistryA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getAppregistryApplication(GetAppregistryApplicationArgs.builder()
-     *             .id("application-1234")
+     *             .id("application-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -166,7 +172,8 @@ public static Output getAppregistryApplication( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -188,12 +195,13 @@ public static Output getAppregistryApplication(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getAppregistryApplication(GetAppregistryApplicationArgs.builder()
-     *             .id("application-1234")
+     *             .id("application-1234")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -208,7 +216,8 @@ public static CompletableFuture getAppregistryA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -230,13 +239,14 @@ public static CompletableFuture getAppregistryA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getConstraint(GetConstraintArgs.builder()
-     *             .acceptLanguage("en")
-     *             .id("cons-hrvy0335")
+     *             .acceptLanguage("en")
+     *             .id("cons-hrvy0335")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -251,7 +261,8 @@ public static Output getConstraint(GetConstraintArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -273,13 +284,14 @@ public static Output getConstraint(GetConstraintArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getConstraint(GetConstraintArgs.builder()
-     *             .acceptLanguage("en")
-     *             .id("cons-hrvy0335")
+     *             .acceptLanguage("en")
+     *             .id("cons-hrvy0335")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -294,7 +306,8 @@ public static CompletableFuture getConstraintPlain(GetConst * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -316,13 +329,14 @@ public static CompletableFuture getConstraintPlain(GetConst
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getConstraint(GetConstraintArgs.builder()
-     *             .acceptLanguage("en")
-     *             .id("cons-hrvy0335")
+     *             .acceptLanguage("en")
+     *             .id("cons-hrvy0335")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -337,7 +351,8 @@ public static Output getConstraint(GetConstraintArgs args, * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -359,13 +374,14 @@ public static Output getConstraint(GetConstraintArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getConstraint(GetConstraintArgs.builder()
-     *             .acceptLanguage("en")
-     *             .id("cons-hrvy0335")
+     *             .acceptLanguage("en")
+     *             .id("cons-hrvy0335")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -380,7 +396,8 @@ public static CompletableFuture getConstraintPlain(GetConst * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -402,12 +419,13 @@ public static CompletableFuture getConstraintPlain(GetConst
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getLaunchPaths(GetLaunchPathsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -422,7 +440,8 @@ public static Output getLaunchPaths(GetLaunchPathsArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -444,12 +463,13 @@ public static Output getLaunchPaths(GetLaunchPathsArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getLaunchPaths(GetLaunchPathsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -464,7 +484,8 @@ public static CompletableFuture getLaunchPathsPlain(GetLau * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -486,12 +507,13 @@ public static CompletableFuture getLaunchPathsPlain(GetLau
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getLaunchPaths(GetLaunchPathsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -506,7 +528,8 @@ public static Output getLaunchPaths(GetLaunchPathsArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -528,12 +551,13 @@ public static Output getLaunchPaths(GetLaunchPathsArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getLaunchPaths(GetLaunchPathsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -546,7 +570,8 @@ public static CompletableFuture getLaunchPathsPlain(GetLau * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -568,12 +593,13 @@ public static CompletableFuture getLaunchPathsPlain(GetLau
      * 
      *     public static void stack(Context ctx) {
      *         final var portfolio = ServicecatalogFunctions.getPortfolio(GetPortfolioArgs.builder()
-     *             .id("port-07052002")
+     *             .id("port-07052002")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -586,7 +612,8 @@ public static Output getPortfolio(GetPortfolioArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -608,12 +635,13 @@ public static Output getPortfolio(GetPortfolioArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var portfolio = ServicecatalogFunctions.getPortfolio(GetPortfolioArgs.builder()
-     *             .id("port-07052002")
+     *             .id("port-07052002")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -626,7 +654,8 @@ public static CompletableFuture getPortfolioPlain(GetPortfol * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -648,12 +677,13 @@ public static CompletableFuture getPortfolioPlain(GetPortfol
      * 
      *     public static void stack(Context ctx) {
      *         final var portfolio = ServicecatalogFunctions.getPortfolio(GetPortfolioArgs.builder()
-     *             .id("port-07052002")
+     *             .id("port-07052002")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -666,7 +696,8 @@ public static Output getPortfolio(GetPortfolioArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -688,12 +719,13 @@ public static Output getPortfolio(GetPortfolioArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var portfolio = ServicecatalogFunctions.getPortfolio(GetPortfolioArgs.builder()
-     *             .id("port-07052002")
+     *             .id("port-07052002")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -708,7 +740,8 @@ public static CompletableFuture getPortfolioPlain(GetPortfol * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -730,12 +763,13 @@ public static CompletableFuture getPortfolioPlain(GetPortfol
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getPortfolioConstraints(GetPortfolioConstraintsArgs.builder()
-     *             .portfolioId("port-3lli3b3an")
+     *             .portfolioId("port-3lli3b3an")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -750,7 +784,8 @@ public static Output getPortfolioConstraints(GetP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -772,12 +807,13 @@ public static Output getPortfolioConstraints(GetP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getPortfolioConstraints(GetPortfolioConstraintsArgs.builder()
-     *             .portfolioId("port-3lli3b3an")
+     *             .portfolioId("port-3lli3b3an")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -792,7 +828,8 @@ public static CompletableFuture getPortfolioConst * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -814,12 +851,13 @@ public static CompletableFuture getPortfolioConst
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getPortfolioConstraints(GetPortfolioConstraintsArgs.builder()
-     *             .portfolioId("port-3lli3b3an")
+     *             .portfolioId("port-3lli3b3an")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -834,7 +872,8 @@ public static Output getPortfolioConstraints(GetP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -856,12 +895,13 @@ public static Output getPortfolioConstraints(GetP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getPortfolioConstraints(GetPortfolioConstraintsArgs.builder()
-     *             .portfolioId("port-3lli3b3an")
+     *             .portfolioId("port-3lli3b3an")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -878,7 +918,8 @@ public static CompletableFuture getPortfolioConst * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -900,12 +941,13 @@ public static CompletableFuture getPortfolioConst
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProduct(GetProductArgs.builder()
-     *             .id("prod-dnigbtea24ste")
+     *             .id("prod-dnigbtea24ste")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -922,7 +964,8 @@ public static Output getProduct(GetProductArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -944,12 +987,13 @@ public static Output getProduct(GetProductArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProduct(GetProductArgs.builder()
-     *             .id("prod-dnigbtea24ste")
+     *             .id("prod-dnigbtea24ste")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -966,7 +1010,8 @@ public static CompletableFuture getProductPlain(GetProductPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -988,12 +1033,13 @@ public static CompletableFuture getProductPlain(GetProductPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProduct(GetProductArgs.builder()
-     *             .id("prod-dnigbtea24ste")
+     *             .id("prod-dnigbtea24ste")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1010,7 +1056,8 @@ public static Output getProduct(GetProductArgs args, InvokeOpt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1032,12 +1079,13 @@ public static Output getProduct(GetProductArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProduct(GetProductArgs.builder()
-     *             .id("prod-dnigbtea24ste")
+     *             .id("prod-dnigbtea24ste")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1052,7 +1100,8 @@ public static CompletableFuture getProductPlain(GetProductPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1074,12 +1123,13 @@ public static CompletableFuture getProductPlain(GetProductPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProvisioningArtifacts(GetProvisioningArtifactsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1094,7 +1144,8 @@ public static Output getProvisioningArtifacts(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1116,12 +1167,13 @@ public static Output getProvisioningArtifacts(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProvisioningArtifacts(GetProvisioningArtifactsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1136,7 +1188,8 @@ public static CompletableFuture getProvisioningA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1158,12 +1211,13 @@ public static CompletableFuture getProvisioningA
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProvisioningArtifacts(GetProvisioningArtifactsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1178,7 +1232,8 @@ public static Output getProvisioningArtifacts(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1200,12 +1255,13 @@ public static Output getProvisioningArtifacts(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicecatalogFunctions.getProvisioningArtifacts(GetProvisioningArtifactsArgs.builder()
-     *             .productId("prod-yakog5pdriver")
+     *             .productId("prod-yakog5pdriver")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOption.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOption.java index 0cb4af14f4b..f58d641b63f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOption.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOption.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TagOption("example", TagOptionArgs.builder()        
- *             .key("nyckel")
- *             .value("värde")
+ *         var example = new TagOption("example", TagOptionArgs.builder()        
+ *             .key("nyckel")
+ *             .value("värde")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOptionResourceAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOptionResourceAssociation.java index 6b9c7577890..a6b8e68de33 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOptionResourceAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicecatalog/TagOptionResourceAssociation.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TagOptionResourceAssociation("example", TagOptionResourceAssociationArgs.builder()        
- *             .resourceId("prod-dnigbtea24ste")
- *             .tagOptionId("tag-pjtvyakdlyo3m")
+ *         var example = new TagOptionResourceAssociation("example", TagOptionResourceAssociationArgs.builder()        
+ *             .resourceId("prod-dnigbtea24ste")
+ *             .tagOptionId("tag-pjtvyakdlyo3m")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/HttpNamespace.java b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/HttpNamespace.java index e8446918546..86506ff9ce1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/HttpNamespace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/HttpNamespace.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HttpNamespace("example", HttpNamespaceArgs.builder()        
- *             .name("development")
- *             .description("example")
+ *         var example = new HttpNamespace("example", HttpNamespaceArgs.builder()        
+ *             .name("development")
+ *             .description("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Instance.java index 94381588765..a3247b9f91d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Instance.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,49 +50,51 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var examplePrivateDnsNamespace = new PrivateDnsNamespace("examplePrivateDnsNamespace", PrivateDnsNamespaceArgs.builder()        
- *             .name("example.domain.local")
- *             .description("example")
+ *         var examplePrivateDnsNamespace = new PrivateDnsNamespace("examplePrivateDnsNamespace", PrivateDnsNamespaceArgs.builder()        
+ *             .name("example.domain.local")
+ *             .description("example")
  *             .vpc(example.id())
  *             .build());
  * 
- *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
- *             .name("example")
+ *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
+ *             .name("example")
  *             .dnsConfig(ServiceDnsConfigArgs.builder()
  *                 .namespaceId(examplePrivateDnsNamespace.id())
  *                 .dnsRecords(ServiceDnsConfigDnsRecordArgs.builder()
  *                     .ttl(10)
- *                     .type("A")
+ *                     .type("A")
  *                     .build())
- *                 .routingPolicy("MULTIVALUE")
+ *                 .routingPolicy("MULTIVALUE")
  *                 .build())
  *             .healthCheckCustomConfig(ServiceHealthCheckCustomConfigArgs.builder()
  *                 .failureThreshold(1)
  *                 .build())
  *             .build());
  * 
- *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
- *             .instanceId("example-instance-id")
+ *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
+ *             .instanceId("example-instance-id")
  *             .serviceId(exampleService.id())
  *             .attributes(Map.ofEntries(
- *                 Map.entry("AWS_INSTANCE_IPV4", "172.18.0.1"),
- *                 Map.entry("custom_attribute", "custom")
+ *                 Map.entry("AWS_INSTANCE_IPV4", "172.18.0.1"),
+ *                 Map.entry("custom_attribute", "custom")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -116,25 +119,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new HttpNamespace("example", HttpNamespaceArgs.builder()        
- *             .name("example.domain.test")
- *             .description("example")
+ *         var example = new HttpNamespace("example", HttpNamespaceArgs.builder()        
+ *             .name("example.domain.test")
+ *             .description("example")
  *             .build());
  * 
- *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
- *             .name("example")
+ *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
+ *             .name("example")
  *             .namespaceId(example.id())
  *             .build());
  * 
- *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
- *             .instanceId("example-instance-id")
+ *         var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
+ *             .instanceId("example-instance-id")
  *             .serviceId(exampleService.id())
- *             .attributes(Map.of("AWS_EC2_INSTANCE_ID", "i-0abdg374kd892cj6dl"))
+ *             .attributes(Map.of("AWS_EC2_INSTANCE_ID", "i-0abdg374kd892cj6dl"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PrivateDnsNamespace.java b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PrivateDnsNamespace.java index 54536c5c5fd..3fa8c90f7cd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PrivateDnsNamespace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PrivateDnsNamespace.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var examplePrivateDnsNamespace = new PrivateDnsNamespace("examplePrivateDnsNamespace", PrivateDnsNamespaceArgs.builder()        
- *             .name("hoge.example.local")
- *             .description("example")
+ *         var examplePrivateDnsNamespace = new PrivateDnsNamespace("examplePrivateDnsNamespace", PrivateDnsNamespaceArgs.builder()        
+ *             .name("hoge.example.local")
+ *             .description("example")
  *             .vpc(example.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PublicDnsNamespace.java b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PublicDnsNamespace.java index ba4f80c969f..9c9bc63bb38 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PublicDnsNamespace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/PublicDnsNamespace.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PublicDnsNamespace("example", PublicDnsNamespaceArgs.builder()        
- *             .name("hoge.example.com")
- *             .description("example")
+ *         var example = new PublicDnsNamespace("example", PublicDnsNamespaceArgs.builder()        
+ *             .name("hoge.example.com")
+ *             .description("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Service.java b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Service.java index e37b551666c..847e6ecf933 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Service.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/Service.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,27 +53,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Vpc("example", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var example = new Vpc("example", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .enableDnsSupport(true)
  *             .enableDnsHostnames(true)
  *             .build());
  * 
- *         var examplePrivateDnsNamespace = new PrivateDnsNamespace("examplePrivateDnsNamespace", PrivateDnsNamespaceArgs.builder()        
- *             .name("example.mydomain.local")
- *             .description("example")
+ *         var examplePrivateDnsNamespace = new PrivateDnsNamespace("examplePrivateDnsNamespace", PrivateDnsNamespaceArgs.builder()        
+ *             .name("example.mydomain.local")
+ *             .description("example")
  *             .vpc(example.id())
  *             .build());
  * 
- *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
- *             .name("example")
+ *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
+ *             .name("example")
  *             .dnsConfig(ServiceDnsConfigArgs.builder()
  *                 .namespaceId(examplePrivateDnsNamespace.id())
  *                 .dnsRecords(ServiceDnsConfigDnsRecordArgs.builder()
  *                     .ttl(10)
- *                     .type("A")
+ *                     .type("A")
  *                     .build())
- *                 .routingPolicy("MULTIVALUE")
+ *                 .routingPolicy("MULTIVALUE")
  *                 .build())
  *             .healthCheckCustomConfig(ServiceHealthCheckCustomConfigArgs.builder()
  *                 .failureThreshold(1)
@@ -81,11 +82,13 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -110,30 +113,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PublicDnsNamespace("example", PublicDnsNamespaceArgs.builder()        
- *             .name("example.mydomain.com")
- *             .description("example")
+ *         var example = new PublicDnsNamespace("example", PublicDnsNamespaceArgs.builder()        
+ *             .name("example.mydomain.com")
+ *             .description("example")
  *             .build());
  * 
- *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
- *             .name("example")
+ *         var exampleService = new Service("exampleService", ServiceArgs.builder()        
+ *             .name("example")
  *             .dnsConfig(ServiceDnsConfigArgs.builder()
  *                 .namespaceId(example.id())
  *                 .dnsRecords(ServiceDnsConfigDnsRecordArgs.builder()
  *                     .ttl(10)
- *                     .type("A")
+ *                     .type("A")
  *                     .build())
  *                 .build())
  *             .healthCheckConfig(ServiceHealthCheckConfigArgs.builder()
  *                 .failureThreshold(10)
- *                 .resourcePath("path")
- *                 .type("HTTP")
+ *                 .resourcePath("path")
+ *                 .type("HTTP")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/ServicediscoveryFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/ServicediscoveryFunctions.java index 7c2b5a23f7e..aabc8580d78 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/ServicediscoveryFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicediscovery/ServicediscoveryFunctions.java @@ -26,7 +26,8 @@ public final class ServicediscoveryFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,13 +49,14 @@ public final class ServicediscoveryFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getDnsNamespace(GetDnsNamespaceArgs.builder()
-     *             .name("example.service.local")
-     *             .type("DNS_PRIVATE")
+     *             .name("example.service.local")
+     *             .type("DNS_PRIVATE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getDnsNamespace(GetDnsNamespaceArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,13 +92,14 @@ public static Output getDnsNamespace(GetDnsNamespaceArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getDnsNamespace(GetDnsNamespaceArgs.builder()
-     *             .name("example.service.local")
-     *             .type("DNS_PRIVATE")
+     *             .name("example.service.local")
+     *             .type("DNS_PRIVATE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -108,7 +112,8 @@ public static CompletableFuture getDnsNamespacePlain(GetD * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -130,13 +135,14 @@ public static CompletableFuture getDnsNamespacePlain(GetD
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getDnsNamespace(GetDnsNamespaceArgs.builder()
-     *             .name("example.service.local")
-     *             .type("DNS_PRIVATE")
+     *             .name("example.service.local")
+     *             .type("DNS_PRIVATE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +155,8 @@ public static Output getDnsNamespace(GetDnsNamespaceArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,13 +178,14 @@ public static Output getDnsNamespace(GetDnsNamespaceArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getDnsNamespace(GetDnsNamespaceArgs.builder()
-     *             .name("example.service.local")
-     *             .type("DNS_PRIVATE")
+     *             .name("example.service.local")
+     *             .type("DNS_PRIVATE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -188,7 +196,8 @@ public static CompletableFuture getDnsNamespacePlain(GetD * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -210,12 +219,13 @@ public static CompletableFuture getDnsNamespacePlain(GetD
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicediscoveryFunctions.getHttpNamespace(GetHttpNamespaceArgs.builder()
-     *             .name("development")
+     *             .name("development")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -226,7 +236,8 @@ public static Output getHttpNamespace(GetHttpNamespaceAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -248,12 +259,13 @@ public static Output getHttpNamespace(GetHttpNamespaceAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicediscoveryFunctions.getHttpNamespace(GetHttpNamespaceArgs.builder()
-     *             .name("development")
+     *             .name("development")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -264,7 +276,8 @@ public static CompletableFuture getHttpNamespacePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -286,12 +299,13 @@ public static CompletableFuture getHttpNamespacePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicediscoveryFunctions.getHttpNamespace(GetHttpNamespaceArgs.builder()
-     *             .name("development")
+     *             .name("development")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -302,7 +316,8 @@ public static Output getHttpNamespace(GetHttpNamespaceAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -324,12 +339,13 @@ public static Output getHttpNamespace(GetHttpNamespaceAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicediscoveryFunctions.getHttpNamespace(GetHttpNamespaceArgs.builder()
-     *             .name("development")
+     *             .name("development")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -342,7 +358,8 @@ public static CompletableFuture getHttpNamespacePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -364,13 +381,14 @@ public static CompletableFuture getHttpNamespacePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
-     *             .namespaceId("NAMESPACE_ID_VALUE")
+     *             .name("example")
+     *             .namespaceId("NAMESPACE_ID_VALUE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -383,7 +401,8 @@ public static Output getService(GetServiceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -405,13 +424,14 @@ public static Output getService(GetServiceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
-     *             .namespaceId("NAMESPACE_ID_VALUE")
+     *             .name("example")
+     *             .namespaceId("NAMESPACE_ID_VALUE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -424,7 +444,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -446,13 +467,14 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
-     *             .namespaceId("NAMESPACE_ID_VALUE")
+     *             .name("example")
+     *             .namespaceId("NAMESPACE_ID_VALUE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -465,7 +487,8 @@ public static Output getService(GetServiceArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -487,13 +510,14 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var test = ServicediscoveryFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
-     *             .namespaceId("NAMESPACE_ID_VALUE")
+     *             .name("example")
+     *             .namespaceId("NAMESPACE_ID_VALUE")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServiceQuota.java b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServiceQuota.java index f42c5811592..6d4f9461da6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServiceQuota.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServiceQuota.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,15 +47,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServiceQuota("example", ServiceQuotaArgs.builder()        
- *             .quotaCode("L-F678F1CE")
- *             .serviceCode("vpc")
+ *         var example = new ServiceQuota("example", ServiceQuotaArgs.builder()        
+ *             .quotaCode("L-F678F1CE")
+ *             .serviceCode("vpc")
  *             .value(75)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServicequotasFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServicequotasFunctions.java index f21636128db..68f9c306160 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServicequotasFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/ServicequotasFunctions.java @@ -28,7 +28,8 @@ public final class ServicequotasFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,12 +51,13 @@ public final class ServicequotasFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
+     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getService(GetServiceArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,12 +95,13 @@ public static Output getService(GetServiceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
+     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
+     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -154,7 +160,8 @@ public static Output getService(GetServiceArgs args, InvokeOpt * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -176,12 +183,13 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getService(GetServiceArgs.builder()
-     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
+     *             .serviceName("Amazon Virtual Private Cloud (Amazon VPC)")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -196,7 +204,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -218,18 +227,19 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var byQuotaCode = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaCode("L-F678F1CE")
-     *             .serviceCode("vpc")
+     *             .quotaCode("L-F678F1CE")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *         final var byQuotaName = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaName("VPCs per Region")
-     *             .serviceCode("vpc")
+     *             .quotaName("VPCs per Region")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -244,7 +254,8 @@ public static Output getServiceQuota(GetServiceQuotaArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -266,18 +277,19 @@ public static Output getServiceQuota(GetServiceQuotaArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var byQuotaCode = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaCode("L-F678F1CE")
-     *             .serviceCode("vpc")
+     *             .quotaCode("L-F678F1CE")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *         final var byQuotaName = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaName("VPCs per Region")
-     *             .serviceCode("vpc")
+     *             .quotaName("VPCs per Region")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -292,7 +304,8 @@ public static CompletableFuture getServiceQuotaPlain(GetS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -314,18 +327,19 @@ public static CompletableFuture getServiceQuotaPlain(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var byQuotaCode = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaCode("L-F678F1CE")
-     *             .serviceCode("vpc")
+     *             .quotaCode("L-F678F1CE")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *         final var byQuotaName = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaName("VPCs per Region")
-     *             .serviceCode("vpc")
+     *             .quotaName("VPCs per Region")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -340,7 +354,8 @@ public static Output getServiceQuota(GetServiceQuotaArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -362,18 +377,19 @@ public static Output getServiceQuota(GetServiceQuotaArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var byQuotaCode = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaCode("L-F678F1CE")
-     *             .serviceCode("vpc")
+     *             .quotaCode("L-F678F1CE")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *         final var byQuotaName = ServicequotasFunctions.getServiceQuota(GetServiceQuotaArgs.builder()
-     *             .quotaName("VPCs per Region")
-     *             .serviceCode("vpc")
+     *             .quotaName("VPCs per Region")
+     *             .serviceCode("vpc")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -388,7 +404,8 @@ public static CompletableFuture getServiceQuotaPlain(GetS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -410,12 +427,13 @@ public static CompletableFuture getServiceQuotaPlain(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getTemplates(GetTemplatesArgs.builder()
-     *             .region("us-east-1")
+     *             .region("us-east-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -430,7 +448,8 @@ public static Output getTemplates(GetTemplatesArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -452,12 +471,13 @@ public static Output getTemplates(GetTemplatesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getTemplates(GetTemplatesArgs.builder()
-     *             .region("us-east-1")
+     *             .region("us-east-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -472,7 +492,8 @@ public static CompletableFuture getTemplatesPlain(GetTemplat * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,12 +515,13 @@ public static CompletableFuture getTemplatesPlain(GetTemplat
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getTemplates(GetTemplatesArgs.builder()
-     *             .region("us-east-1")
+     *             .region("us-east-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -514,7 +536,8 @@ public static Output getTemplates(GetTemplatesArgs args, Inv * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -536,12 +559,13 @@ public static Output getTemplates(GetTemplatesArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = ServicequotasFunctions.getTemplates(GetTemplatesArgs.builder()
-     *             .region("us-east-1")
+     *             .region("us-east-1")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/Template.java b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/Template.java index d014104b928..8e5b5d28051 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/Template.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/Template.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,16 +47,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Template("example", TemplateArgs.builder()        
- *             .region("us-east-1")
- *             .quotaCode("L-2ACBD22F")
- *             .serviceCode("lambda")
- *             .value("80")
+ *         var example = new Template("example", TemplateArgs.builder()        
+ *             .region("us-east-1")
+ *             .quotaCode("L-2ACBD22F")
+ *             .serviceCode("lambda")
+ *             .value("80")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/TemplateAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/TemplateAssociation.java index be095c7aff0..214dfdbe862 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/servicequotas/TemplateAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/servicequotas/TemplateAssociation.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,11 +46,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TemplateAssociation("example");
+ *         var example = new TemplateAssociation("example");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/ActiveReceiptRuleSet.java b/sdk/java/src/main/java/com/pulumi/aws/ses/ActiveReceiptRuleSet.java index 53b6ee69582..2370b6002ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/ActiveReceiptRuleSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/ActiveReceiptRuleSet.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,13 +41,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new ActiveReceiptRuleSet("main", ActiveReceiptRuleSetArgs.builder()        
- *             .ruleSetName("primary-rules")
+ *         var main = new ActiveReceiptRuleSet("main", ActiveReceiptRuleSetArgs.builder()        
+ *             .ruleSetName("primary-rules")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/ConfigurationSet.java b/sdk/java/src/main/java/com/pulumi/aws/ses/ConfigurationSet.java index 39acb8dd3de..d95fff95609 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/ConfigurationSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/ConfigurationSet.java @@ -27,7 +27,8 @@ * ### Basic Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,19 +49,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()        
- *             .name("some-configuration-set-test")
+ *         var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()        
+ *             .name("some-configuration-set-test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Require TLS Connections * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,22 +85,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()        
- *             .name("some-configuration-set-test")
+ *         var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()        
+ *             .name("some-configuration-set-test")
  *             .deliveryOptions(ConfigurationSetDeliveryOptionsArgs.builder()
- *                 .tlsPolicy("Require")
+ *                 .tlsPolicy("Require")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Tracking Options * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -119,16 +124,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()        
- *             .name("some-configuration-set-test")
+ *         var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()        
+ *             .name("some-configuration-set-test")
  *             .trackingOptions(ConfigurationSetTrackingOptionsArgs.builder()
- *                 .customRedirectDomain("sub.example.com")
+ *                 .customRedirectDomain("sub.example.com")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/DomainDkim.java b/sdk/java/src/main/java/com/pulumi/aws/ses/DomainDkim.java index a9610b6f192..f4f05a819fa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/DomainDkim.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/DomainDkim.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,28 +49,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
- *         var exampleDomainDkim = new DomainDkim("exampleDomainDkim", DomainDkimArgs.builder()        
+ *         var exampleDomainDkim = new DomainDkim("exampleDomainDkim", DomainDkimArgs.builder()        
  *             .domain(example.domain())
  *             .build());
  * 
- *         for (var i = 0; i < 3; i++) {
- *             new Record("exampleAmazonsesDkimRecord-" + i, RecordArgs.builder()            
- *                 .zoneId("ABCDEFGHIJ123")
- *                 .name(exampleDomainDkim.dkimTokens().applyValue(dkimTokens -> String.format("%s._domainkey", dkimTokens[range.value()])))
- *                 .type("CNAME")
- *                 .ttl("600")
- *                 .records(exampleDomainDkim.dkimTokens().applyValue(dkimTokens -> String.format("%s.dkim.amazonses.com", dkimTokens[range.value()])))
+ *         for (var i = 0; i < 3; i++) {
+ *             new Record("exampleAmazonsesDkimRecord-" + i, RecordArgs.builder()            
+ *                 .zoneId("ABCDEFGHIJ123")
+ *                 .name(exampleDomainDkim.dkimTokens().applyValue(dkimTokens -> String.format("%s._domainkey", dkimTokens[range.value()])))
+ *                 .type("CNAME")
+ *                 .ttl("600")
+ *                 .records(exampleDomainDkim.dkimTokens().applyValue(dkimTokens -> String.format("%s.dkim.amazonses.com", dkimTokens[range.value()])))
  *                 .build());
  * 
  *         
  * }
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentity.java b/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentity.java index 41ce4aa1213..754d7cbac0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentity.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentity.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,19 +43,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Route53 Record * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,21 +80,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
- *         var exampleAmazonsesVerificationRecord = new Record("exampleAmazonsesVerificationRecord", RecordArgs.builder()        
- *             .zoneId("ABCDEFGHIJ123")
- *             .name("_amazonses.example.com")
- *             .type("TXT")
- *             .ttl("600")
+ *         var exampleAmazonsesVerificationRecord = new Record("exampleAmazonsesVerificationRecord", RecordArgs.builder()        
+ *             .zoneId("ABCDEFGHIJ123")
+ *             .name("_amazonses.example.com")
+ *             .type("TXT")
+ *             .ttl("600")
  *             .records(example.verificationToken())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentityVerification.java b/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentityVerification.java index 574e19cd65e..8da33e8201d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentityVerification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/DomainIdentityVerification.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,19 +52,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var example = new DomainIdentity("example", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
- *         var exampleAmazonsesVerificationRecord = new Record("exampleAmazonsesVerificationRecord", RecordArgs.builder()        
+ *         var exampleAmazonsesVerificationRecord = new Record("exampleAmazonsesVerificationRecord", RecordArgs.builder()        
  *             .zoneId(exampleAwsRoute53Zone.zoneId())
- *             .name(example.id().applyValue(id -> String.format("_amazonses.%s", id)))
- *             .type("TXT")
- *             .ttl("600")
+ *             .name(example.id().applyValue(id -> String.format("_amazonses.%s", id)))
+ *             .type("TXT")
+ *             .ttl("600")
  *             .records(example.verificationToken())
  *             .build());
  * 
- *         var exampleVerification = new DomainIdentityVerification("exampleVerification", DomainIdentityVerificationArgs.builder()        
+ *         var exampleVerification = new DomainIdentityVerification("exampleVerification", DomainIdentityVerificationArgs.builder()        
  *             .domain(example.id())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAmazonsesVerificationRecord)
@@ -71,7 +72,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/EmailIdentity.java b/sdk/java/src/main/java/com/pulumi/aws/ses/EmailIdentity.java index 1fa61333c56..6f667ac4a64 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/EmailIdentity.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/EmailIdentity.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,13 +41,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .email("email@example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .email("email{@literal @}example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -54,7 +56,7 @@ * Using `pulumi import`, import SES email identities using the email address. For example: * * ```sh - * $ pulumi import aws:ses/emailIdentity:EmailIdentity example email@example.com + * $ pulumi import aws:ses/emailIdentity:EmailIdentity example email{@literal @}example.com * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/EventDestination.java b/sdk/java/src/main/java/com/pulumi/aws/ses/EventDestination.java index b6e9184c98d..ed31a4f97be 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/EventDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/EventDestination.java @@ -27,7 +27,8 @@ * ### CloudWatch Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,29 +50,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var cloudwatch = new EventDestination("cloudwatch", EventDestinationArgs.builder()        
- *             .name("event-destination-cloudwatch")
+ *         var cloudwatch = new EventDestination("cloudwatch", EventDestinationArgs.builder()        
+ *             .name("event-destination-cloudwatch")
  *             .configurationSetName(example.name())
  *             .enabled(true)
  *             .matchingTypes(            
- *                 "bounce",
- *                 "send")
+ *                 "bounce",
+ *                 "send")
  *             .cloudwatchDestinations(EventDestinationCloudwatchDestinationArgs.builder()
- *                 .defaultValue("default")
- *                 .dimensionName("dimension")
- *                 .valueSource("emailHeader")
+ *                 .defaultValue("default")
+ *                 .dimensionName("dimension")
+ *                 .valueSource("emailHeader")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Kinesis Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,13 +96,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var kinesis = new EventDestination("kinesis", EventDestinationArgs.builder()        
- *             .name("event-destination-kinesis")
+ *         var kinesis = new EventDestination("kinesis", EventDestinationArgs.builder()        
+ *             .name("event-destination-kinesis")
  *             .configurationSetName(exampleAwsSesConfigurationSet.name())
  *             .enabled(true)
  *             .matchingTypes(            
- *                 "bounce",
- *                 "send")
+ *                 "bounce",
+ *                 "send")
  *             .kinesisDestination(EventDestinationKinesisDestinationArgs.builder()
  *                 .streamArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *                 .roleArn(example.arn())
@@ -108,13 +111,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SNS Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -136,13 +141,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sns = new EventDestination("sns", EventDestinationArgs.builder()        
- *             .name("event-destination-sns")
+ *         var sns = new EventDestination("sns", EventDestinationArgs.builder()        
+ *             .name("event-destination-sns")
  *             .configurationSetName(exampleAwsSesConfigurationSet.name())
  *             .enabled(true)
  *             .matchingTypes(            
- *                 "bounce",
- *                 "send")
+ *                 "bounce",
+ *                 "send")
  *             .snsDestination(EventDestinationSnsDestinationArgs.builder()
  *                 .topicArn(example.arn())
  *                 .build())
@@ -150,7 +155,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityNotificationTopic.java b/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityNotificationTopic.java index 06ec72480ee..4c9afc8c674 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityNotificationTopic.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityNotificationTopic.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new IdentityNotificationTopic("test", IdentityNotificationTopicArgs.builder()        
+ *         var test = new IdentityNotificationTopic("test", IdentityNotificationTopicArgs.builder()        
  *             .topicArn(exampleAwsSnsTopic.arn())
- *             .notificationType("Bounce")
+ *             .notificationType("Bounce")
  *             .identity(example.domain())
  *             .includeOriginalHeaders(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityPolicy.java index bc1ddfa7d99..aa0979e69c7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/IdentityPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,32 +45,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleDomainIdentity = new DomainIdentity("exampleDomainIdentity", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var exampleDomainIdentity = new DomainIdentity("exampleDomainIdentity", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "SES:SendEmail",
- *                     "SES:SendRawEmail")
+ *                     "SES:SendEmail",
+ *                     "SES:SendRawEmail")
  *                 .resources(exampleDomainIdentity.arn())
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .identifiers("*")
- *                     .type("AWS")
+ *                     .identifiers("*")
+ *                     .type("AWS")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleIdentityPolicy = new IdentityPolicy("exampleIdentityPolicy", IdentityPolicyArgs.builder()        
+ *         var exampleIdentityPolicy = new IdentityPolicy("exampleIdentityPolicy", IdentityPolicyArgs.builder()        
  *             .identity(exampleDomainIdentity.arn())
- *             .name("example")
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .name("example")
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/MailFrom.java b/sdk/java/src/main/java/com/pulumi/aws/ses/MailFrom.java index 13e2e6942a6..fca84e73a90 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/MailFrom.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/MailFrom.java @@ -24,7 +24,8 @@ * ### Domain Identity MAIL FROM * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,42 +51,44 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Example SES Domain Identity
- *         var exampleDomainIdentity = new DomainIdentity("exampleDomainIdentity", DomainIdentityArgs.builder()        
- *             .domain("example.com")
+ *         var exampleDomainIdentity = new DomainIdentity("exampleDomainIdentity", DomainIdentityArgs.builder()        
+ *             .domain("example.com")
  *             .build());
  * 
- *         var example = new MailFrom("example", MailFromArgs.builder()        
+ *         var example = new MailFrom("example", MailFromArgs.builder()        
  *             .domain(exampleDomainIdentity.domain())
- *             .mailFromDomain(exampleDomainIdentity.domain().applyValue(domain -> String.format("bounce.%s", domain)))
+ *             .mailFromDomain(exampleDomainIdentity.domain().applyValue(domain -> String.format("bounce.%s", domain)))
  *             .build());
  * 
  *         // Example Route53 MX record
- *         var exampleSesDomainMailFromMx = new Record("exampleSesDomainMailFromMx", RecordArgs.builder()        
+ *         var exampleSesDomainMailFromMx = new Record("exampleSesDomainMailFromMx", RecordArgs.builder()        
  *             .zoneId(exampleAwsRoute53Zone.id())
  *             .name(example.mailFromDomain())
- *             .type("MX")
- *             .ttl("600")
- *             .records("10 feedback-smtp.us-east-1.amazonses.com")
+ *             .type("MX")
+ *             .ttl("600")
+ *             .records("10 feedback-smtp.us-east-1.amazonses.com")
  *             .build());
  * 
  *         // Example Route53 TXT record for SPF
- *         var exampleSesDomainMailFromTxt = new Record("exampleSesDomainMailFromTxt", RecordArgs.builder()        
+ *         var exampleSesDomainMailFromTxt = new Record("exampleSesDomainMailFromTxt", RecordArgs.builder()        
  *             .zoneId(exampleAwsRoute53Zone.id())
  *             .name(example.mailFromDomain())
- *             .type("TXT")
- *             .ttl("600")
- *             .records("v=spf1 include:amazonses.com -all")
+ *             .type("TXT")
+ *             .ttl("600")
+ *             .records("v=spf1 include:amazonses.com -all")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Email Identity MAIL FROM * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -109,18 +112,19 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Example SES Email Identity
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .email("user@example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .email("user{@literal @}example.com")
  *             .build());
  * 
- *         var exampleMailFrom = new MailFrom("exampleMailFrom", MailFromArgs.builder()        
+ *         var exampleMailFrom = new MailFrom("exampleMailFrom", MailFromArgs.builder()        
  *             .domain(example.email())
- *             .mailFromDomain("mail.example.com")
+ *             .mailFromDomain("mail.example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptFilter.java b/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptFilter.java index e03f886b745..832b0128d71 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptFilter.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,15 +41,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var filter = new ReceiptFilter("filter", ReceiptFilterArgs.builder()        
- *             .name("block-spammer")
- *             .cidr("10.10.10.10")
- *             .policy("Block")
+ *         var filter = new ReceiptFilter("filter", ReceiptFilterArgs.builder()        
+ *             .name("block-spammer")
+ *             .cidr("10.10.10.10")
+ *             .policy("Block")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRule.java b/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRule.java index d22d7d6fddd..08bf35dec0d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRule.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,26 +54,27 @@
  * 
  *     public static void stack(Context ctx) {
  *         // Add a header to the email and store it in S3
- *         var store = new ReceiptRule("store", ReceiptRuleArgs.builder()        
- *             .name("store")
- *             .ruleSetName("default-rule-set")
- *             .recipients("karen@example.com")
+ *         var store = new ReceiptRule("store", ReceiptRuleArgs.builder()        
+ *             .name("store")
+ *             .ruleSetName("default-rule-set")
+ *             .recipients("karen{@literal @}example.com")
  *             .enabled(true)
  *             .scanEnabled(true)
  *             .addHeaderActions(ReceiptRuleAddHeaderActionArgs.builder()
- *                 .headerName("Custom-Header")
- *                 .headerValue("Added by SES")
+ *                 .headerName("Custom-Header")
+ *                 .headerValue("Added by SES")
  *                 .position(1)
  *                 .build())
  *             .s3Actions(ReceiptRuleS3ActionArgs.builder()
- *                 .bucketName("emails")
+ *                 .bucketName("emails")
  *                 .position(2)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRuleSet.java b/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRuleSet.java index 40251524115..3be6bdfa6fc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRuleSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/ReceiptRuleSet.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,13 +41,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var main = new ReceiptRuleSet("main", ReceiptRuleSetArgs.builder()        
- *             .ruleSetName("primary-rules")
+ *         var main = new ReceiptRuleSet("main", ReceiptRuleSetArgs.builder()        
+ *             .ruleSetName("primary-rules")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/SesFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ses/SesFunctions.java index a43ae7aacd3..977cab51582 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/SesFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/SesFunctions.java @@ -25,7 +25,8 @@ public final class SesFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -49,7 +50,8 @@ public final class SesFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -62,7 +64,8 @@ public static Output getActiveReceiptRuleSet() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,7 +89,8 @@ public static Output getActiveReceiptRuleSet() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -99,7 +103,8 @@ public static CompletableFuture getActiveReceiptR * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -123,7 +128,8 @@ public static CompletableFuture getActiveReceiptR
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -136,7 +142,8 @@ public static Output getActiveReceiptRuleSet(Invo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -160,7 +167,8 @@ public static Output getActiveReceiptRuleSet(Invo
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -173,7 +181,8 @@ public static CompletableFuture getActiveReceiptR * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -197,7 +206,8 @@ public static CompletableFuture getActiveReceiptR
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -210,7 +220,8 @@ public static Output getActiveReceiptRuleSet(Invo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -234,7 +245,8 @@ public static Output getActiveReceiptRuleSet(Invo
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -247,7 +259,8 @@ public static CompletableFuture getActiveReceiptR * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -269,12 +282,13 @@ public static CompletableFuture getActiveReceiptR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getDomainIdentity(GetDomainIdentityArgs.builder()
-     *             .domain("example.com")
+     *             .domain("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -287,7 +301,8 @@ public static Output getDomainIdentity(GetDomainIdentit * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -309,12 +324,13 @@ public static Output getDomainIdentity(GetDomainIdentit
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getDomainIdentity(GetDomainIdentityArgs.builder()
-     *             .domain("example.com")
+     *             .domain("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -327,7 +343,8 @@ public static CompletableFuture getDomainIdentityPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -349,12 +366,13 @@ public static CompletableFuture getDomainIdentityPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getDomainIdentity(GetDomainIdentityArgs.builder()
-     *             .domain("example.com")
+     *             .domain("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -367,7 +385,8 @@ public static Output getDomainIdentity(GetDomainIdentit * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -389,12 +408,13 @@ public static Output getDomainIdentity(GetDomainIdentit
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getDomainIdentity(GetDomainIdentityArgs.builder()
-     *             .domain("example.com")
+     *             .domain("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -407,7 +427,8 @@ public static CompletableFuture getDomainIdentityPlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -429,12 +450,13 @@ public static CompletableFuture getDomainIdentityPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .email("awesome@example.com")
+     *             .email("awesome{@literal @}example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -447,7 +469,8 @@ public static Output getEmailIdentity(GetEmailIdentityAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -469,12 +492,13 @@ public static Output getEmailIdentity(GetEmailIdentityAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .email("awesome@example.com")
+     *             .email("awesome{@literal @}example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -487,7 +511,8 @@ public static CompletableFuture getEmailIdentityPlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -509,12 +534,13 @@ public static CompletableFuture getEmailIdentityPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .email("awesome@example.com")
+     *             .email("awesome{@literal @}example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -527,7 +553,8 @@ public static Output getEmailIdentity(GetEmailIdentityAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -549,12 +576,13 @@ public static Output getEmailIdentity(GetEmailIdentityAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SesFunctions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .email("awesome@example.com")
+     *             .email("awesome{@literal @}example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ses/Template.java b/sdk/java/src/main/java/com/pulumi/aws/ses/Template.java index 8b33e1b2c79..89f94bd5765 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ses/Template.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ses/Template.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,18 +42,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var myTemplate = new Template("myTemplate", TemplateArgs.builder()        
- *             .name("MyTemplate")
- *             .subject("Greetings, {{name}}!")
- *             .html("<h1>Hello {{name}},</h1><p>Your favorite animal is {{favoriteanimal}}.</p>")
- *             .text("""
+ *         var myTemplate = new Template("myTemplate", TemplateArgs.builder()        
+ *             .name("MyTemplate")
+ *             .subject("Greetings, {{name}}!")
+ *             .html("

Hello {{name}},

Your favorite animal is {{favoriteanimal}}.

") + * .text(""" * Hello {{name}}, - * Your favorite animal is {{favoriteanimal}}. """) + * Your favorite animal is {{favoriteanimal}}. """) * .build()); * * } * } - * ``` + * } + *
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/AccountVdmAttributes.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/AccountVdmAttributes.java index e983b05682d..9e85cbe07bc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/AccountVdmAttributes.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/AccountVdmAttributes.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccountVdmAttributes("example", AccountVdmAttributesArgs.builder()        
- *             .vdmEnabled("ENABLED")
+ *         var example = new AccountVdmAttributes("example", AccountVdmAttributesArgs.builder()        
+ *             .vdmEnabled("ENABLED")
  *             .dashboardAttributes(AccountVdmAttributesDashboardAttributesArgs.builder()
- *                 .engagementMetrics("ENABLED")
+ *                 .engagementMetrics("ENABLED")
  *                 .build())
  *             .guardianAttributes(AccountVdmAttributesGuardianAttributesArgs.builder()
- *                 .optimizedSharedDelivery("ENABLED")
+ *                 .optimizedSharedDelivery("ENABLED")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSet.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSet.java index 7eec0a509c5..cb6b1ff7b0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSet.java @@ -29,7 +29,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,10 +56,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
- *             .configurationSetName("example")
+ *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
+ *             .configurationSetName("example")
  *             .deliveryOptions(ConfigurationSetDeliveryOptionsArgs.builder()
- *                 .tlsPolicy("REQUIRE")
+ *                 .tlsPolicy("REQUIRE")
  *                 .build())
  *             .reputationOptions(ConfigurationSetReputationOptionsArgs.builder()
  *                 .reputationMetricsEnabled(false)
@@ -68,17 +69,18 @@
  *                 .build())
  *             .suppressionOptions(ConfigurationSetSuppressionOptionsArgs.builder()
  *                 .suppressedReasons(                
- *                     "BOUNCE",
- *                     "COMPLAINT")
+ *                     "BOUNCE",
+ *                     "COMPLAINT")
  *                 .build())
  *             .trackingOptions(ConfigurationSetTrackingOptionsArgs.builder()
- *                 .customRedirectDomain("example.com")
+ *                 .customRedirectDomain("example.com")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSetEventDestination.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSetEventDestination.java index eaacbf7731a..eeb6edfed84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSetEventDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/ConfigurationSetEventDestination.java @@ -22,7 +22,8 @@ * ### Cloud Watch Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,35 +48,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
- *             .configurationSetName("example")
+ *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
+ *             .configurationSetName("example")
  *             .build());
  * 
- *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
+ *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
  *             .configurationSetName(example.configurationSetName())
- *             .eventDestinationName("example")
+ *             .eventDestinationName("example")
  *             .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
  *                 .cloudWatchDestination(ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationArgs.builder()
  *                     .dimensionConfigurations(ConfigurationSetEventDestinationEventDestinationCloudWatchDestinationDimensionConfigurationArgs.builder()
- *                         .defaultDimensionValue("example")
- *                         .dimensionName("example")
- *                         .dimensionValueSource("MESSAGE_TAG")
+ *                         .defaultDimensionValue("example")
+ *                         .dimensionName("example")
+ *                         .dimensionValueSource("MESSAGE_TAG")
  *                         .build())
  *                     .build())
  *                 .enabled(true)
- *                 .matchingEventTypes("SEND")
+ *                 .matchingEventTypes("SEND")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Kinesis Firehose Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,32 +103,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
- *             .configurationSetName("example")
+ *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
+ *             .configurationSetName("example")
  *             .build());
  * 
- *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
+ *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
  *             .configurationSetName(example.configurationSetName())
- *             .eventDestinationName("example")
+ *             .eventDestinationName("example")
  *             .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
  *                 .kinesisFirehoseDestination(ConfigurationSetEventDestinationEventDestinationKinesisFirehoseDestinationArgs.builder()
  *                     .deliveryStreamArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *                     .iamRoleArn(exampleAwsIamRole.arn())
  *                     .build())
  *                 .enabled(true)
- *                 .matchingEventTypes("SEND")
+ *                 .matchingEventTypes("SEND")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Pinpoint Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -150,31 +155,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
- *             .configurationSetName("example")
+ *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
+ *             .configurationSetName("example")
  *             .build());
  * 
- *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
+ *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
  *             .configurationSetName(example.configurationSetName())
- *             .eventDestinationName("example")
+ *             .eventDestinationName("example")
  *             .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
  *                 .pinpointDestination(ConfigurationSetEventDestinationEventDestinationPinpointDestinationArgs.builder()
  *                     .applicationArn(exampleAwsPinpointApp.arn())
  *                     .build())
  *                 .enabled(true)
- *                 .matchingEventTypes("SEND")
+ *                 .matchingEventTypes("SEND")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SNS Destination * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -199,25 +206,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
- *             .configurationSetName("example")
+ *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
+ *             .configurationSetName("example")
  *             .build());
  * 
- *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
+ *         var exampleConfigurationSetEventDestination = new ConfigurationSetEventDestination("exampleConfigurationSetEventDestination", ConfigurationSetEventDestinationArgs.builder()        
  *             .configurationSetName(example.configurationSetName())
- *             .eventDestinationName("example")
+ *             .eventDestinationName("example")
  *             .eventDestination(ConfigurationSetEventDestinationEventDestinationArgs.builder()
  *                 .snsDestination(ConfigurationSetEventDestinationEventDestinationSnsDestinationArgs.builder()
  *                     .topicArn(exampleAwsSnsTopic.arn())
  *                     .build())
  *                 .enabled(true)
- *                 .matchingEventTypes("SEND")
+ *                 .matchingEventTypes("SEND")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/ContactList.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/ContactList.java index 1256416b3a2..f5a43a1b32c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/ContactList.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/ContactList.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,19 +47,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactList("example", ContactListArgs.builder()        
- *             .contactListName("example")
+ *         var example = new ContactList("example", ContactListArgs.builder()        
+ *             .contactListName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Extended Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,20 +83,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactList("example", ContactListArgs.builder()        
- *             .contactListName("example")
- *             .description("description")
+ *         var example = new ContactList("example", ContactListArgs.builder()        
+ *             .contactListName("example")
+ *             .description("description")
  *             .topics(ContactListTopicArgs.builder()
- *                 .defaultSubscriptionStatus("OPT_IN")
- *                 .description("topic description")
- *                 .displayName("Example Topic")
- *                 .topicName("example-topic")
+ *                 .defaultSubscriptionStatus("OPT_IN")
+ *                 .description("topic description")
+ *                 .displayName("Example Topic")
+ *                 .topicName("example-topic")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpAssignment.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpAssignment.java index 6bced2556e1..9ae7566c40c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpAssignment.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DedicatedIpAssignment("example", DedicatedIpAssignmentArgs.builder()        
- *             .ip("0.0.0.0")
- *             .destinationPoolName("my-pool")
+ *         var example = new DedicatedIpAssignment("example", DedicatedIpAssignmentArgs.builder()        
+ *             .ip("0.0.0.0")
+ *             .destinationPoolName("my-pool")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpPool.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpPool.java index 067de4bd68c..797cf0eedc1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpPool.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/DedicatedIpPool.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DedicatedIpPool("example", DedicatedIpPoolArgs.builder()        
- *             .poolName("my-pool")
+ *         var example = new DedicatedIpPool("example", DedicatedIpPoolArgs.builder()        
+ *             .poolName("my-pool")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Managed Pool * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,14 +80,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new DedicatedIpPool("example", DedicatedIpPoolArgs.builder()        
- *             .poolName("my-managed-pool")
- *             .scalingMode("MANAGED")
+ *         var example = new DedicatedIpPool("example", DedicatedIpPoolArgs.builder()        
+ *             .poolName("my-managed-pool")
+ *             .scalingMode("MANAGED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentity.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentity.java index 044280f4b38..52355994b2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentity.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentity.java @@ -27,7 +27,8 @@ * ### Email Address Identity * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,19 +49,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .emailIdentity("testing@example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .emailIdentity("testing{@literal @}example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Domain Identity * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,19 +84,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .emailIdentity("example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .emailIdentity("example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Configuration Set * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -116,24 +121,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
- *             .configurationSetName("example")
+ *         var example = new ConfigurationSet("example", ConfigurationSetArgs.builder()        
+ *             .configurationSetName("example")
  *             .build());
  * 
- *         var exampleEmailIdentity = new EmailIdentity("exampleEmailIdentity", EmailIdentityArgs.builder()        
- *             .emailIdentity("example.com")
+ *         var exampleEmailIdentity = new EmailIdentity("exampleEmailIdentity", EmailIdentityArgs.builder()        
+ *             .emailIdentity("example.com")
  *             .configurationSetName(example.configurationSetName())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### DKIM Signing Attributes (BYODKIM) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -155,17 +162,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .emailIdentity("example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .emailIdentity("example.com")
  *             .dkimSigningAttributes(EmailIdentityDkimSigningAttributesArgs.builder()
- *                 .domainSigningPrivateKey("MIIJKAIBAAKCAgEA2Se7p8zvnI4yh+Gh9j2rG5e2aRXjg03Y8saiupLnadPH9xvM...")
- *                 .domainSigningSelector("example")
+ *                 .domainSigningPrivateKey("MIIJKAIBAAKCAgEA2Se7p8zvnI4yh+Gh9j2rG5e2aRXjg03Y8saiupLnadPH9xvM...")
+ *                 .domainSigningSelector("example")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityFeedbackAttributes.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityFeedbackAttributes.java index 69885d66ffa..dd8576322c4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityFeedbackAttributes.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityFeedbackAttributes.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .emailIdentity("example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .emailIdentity("example.com")
  *             .build());
  * 
- *         var exampleEmailIdentityFeedbackAttributes = new EmailIdentityFeedbackAttributes("exampleEmailIdentityFeedbackAttributes", EmailIdentityFeedbackAttributesArgs.builder()        
+ *         var exampleEmailIdentityFeedbackAttributes = new EmailIdentityFeedbackAttributes("exampleEmailIdentityFeedbackAttributes", EmailIdentityFeedbackAttributesArgs.builder()        
  *             .emailIdentity(example.emailIdentity())
  *             .emailForwardingEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityMailFromAttributes.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityMailFromAttributes.java index e9d7dd28df6..5655d22c02f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityMailFromAttributes.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityMailFromAttributes.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .emailIdentity("example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .emailIdentity("example.com")
  *             .build());
  * 
- *         var exampleEmailIdentityMailFromAttributes = new EmailIdentityMailFromAttributes("exampleEmailIdentityMailFromAttributes", EmailIdentityMailFromAttributesArgs.builder()        
+ *         var exampleEmailIdentityMailFromAttributes = new EmailIdentityMailFromAttributes("exampleEmailIdentityMailFromAttributes", EmailIdentityMailFromAttributesArgs.builder()        
  *             .emailIdentity(example.emailIdentity())
- *             .behaviorOnMxFailure("REJECT_MESSAGE")
- *             .mailFromDomain(example.emailIdentity().applyValue(emailIdentity -> String.format("subdomain.%s", emailIdentity)))
+ *             .behaviorOnMxFailure("REJECT_MESSAGE")
+ *             .mailFromDomain(example.emailIdentity().applyValue(emailIdentity -> String.format("subdomain.%s", emailIdentity)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityPolicy.java index a37c33b8424..07f2dccc4a2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/EmailIdentityPolicy.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,41 +45,42 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
- *             .emailIdentity("testing@example.com")
+ *         var example = new EmailIdentity("example", EmailIdentityArgs.builder()        
+ *             .emailIdentity("testing{@literal @}example.com")
  *             .build());
  * 
- *         var exampleEmailIdentityPolicy = new EmailIdentityPolicy("exampleEmailIdentityPolicy", EmailIdentityPolicyArgs.builder()        
+ *         var exampleEmailIdentityPolicy = new EmailIdentityPolicy("exampleEmailIdentityPolicy", EmailIdentityPolicyArgs.builder()        
  *             .emailIdentity(example.emailIdentity())
- *             .policyName("example")
- *             .policy(example.arn().applyValue(arn -> """
+ *             .policyName("example")
+ *             .policy(example.arn().applyValue(arn -> """
  * {
- *   "Id":"ExampleAuthorizationPolicy",
- *   "Version":"2012-10-17",
- *   "Statement":[
+ *   "Id":"ExampleAuthorizationPolicy",
+ *   "Version":"2012-10-17",
+ *   "Statement":[
  *     {
- *       "Sid":"AuthorizeIAMUser",
- *       "Effect":"Allow",
- *       "Resource":"%s",
- *       "Principal":{
- *         "AWS":[
- *           "arn:aws:iam::123456789012:user/John",
- *           "arn:aws:iam::123456789012:user/Jane"
+ *       "Sid":"AuthorizeIAMUser",
+ *       "Effect":"Allow",
+ *       "Resource":"%s",
+ *       "Principal":{
+ *         "AWS":[
+ *           "arn:aws:iam::123456789012:user/John",
+ *           "arn:aws:iam::123456789012:user/Jane"
  *         ]
  *       },
- *       "Action":[
- *         "ses:DeleteEmailIdentity",
- *         "ses:PutEmailIdentityDkimSigningAttributes"
+ *       "Action":[
+ *         "ses:DeleteEmailIdentity",
+ *         "ses:PutEmailIdentityDkimSigningAttributes"
  *       ]
  *     }
  *   ]
  * }
- * ", arn)))
+ * ", arn)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sesv2/Sesv2Functions.java b/sdk/java/src/main/java/com/pulumi/aws/sesv2/Sesv2Functions.java index 65b547704e3..6572d2e4aca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sesv2/Sesv2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sesv2/Sesv2Functions.java @@ -31,7 +31,8 @@ public final class Sesv2Functions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,12 +54,13 @@ public final class Sesv2Functions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getConfigurationSet(GetConfigurationSetArgs.builder()
-     *             .configurationSetName("example")
+     *             .configurationSetName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -73,7 +75,8 @@ public static Output getConfigurationSet(GetConfigura * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -95,12 +98,13 @@ public static Output getConfigurationSet(GetConfigura
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getConfigurationSet(GetConfigurationSetArgs.builder()
-     *             .configurationSetName("example")
+     *             .configurationSetName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -115,7 +119,8 @@ public static CompletableFuture getConfigurationSetPl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -137,12 +142,13 @@ public static CompletableFuture getConfigurationSetPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getConfigurationSet(GetConfigurationSetArgs.builder()
-     *             .configurationSetName("example")
+     *             .configurationSetName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -157,7 +163,8 @@ public static Output getConfigurationSet(GetConfigura * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -179,12 +186,13 @@ public static Output getConfigurationSet(GetConfigura
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getConfigurationSet(GetConfigurationSetArgs.builder()
-     *             .configurationSetName("example")
+     *             .configurationSetName("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -199,7 +207,8 @@ public static CompletableFuture getConfigurationSetPl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -221,12 +230,13 @@ public static CompletableFuture getConfigurationSetPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getDedicatedIpPool(GetDedicatedIpPoolArgs.builder()
-     *             .poolName("my-pool")
+     *             .poolName("my-pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -241,7 +251,8 @@ public static Output getDedicatedIpPool(GetDedicatedIp * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -263,12 +274,13 @@ public static Output getDedicatedIpPool(GetDedicatedIp
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getDedicatedIpPool(GetDedicatedIpPoolArgs.builder()
-     *             .poolName("my-pool")
+     *             .poolName("my-pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -283,7 +295,8 @@ public static CompletableFuture getDedicatedIpPoolPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -305,12 +318,13 @@ public static CompletableFuture getDedicatedIpPoolPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getDedicatedIpPool(GetDedicatedIpPoolArgs.builder()
-     *             .poolName("my-pool")
+     *             .poolName("my-pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -325,7 +339,8 @@ public static Output getDedicatedIpPool(GetDedicatedIp * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -347,12 +362,13 @@ public static Output getDedicatedIpPool(GetDedicatedIp
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getDedicatedIpPool(GetDedicatedIpPoolArgs.builder()
-     *             .poolName("my-pool")
+     *             .poolName("my-pool")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -367,7 +383,8 @@ public static CompletableFuture getDedicatedIpPoolPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -389,12 +406,13 @@ public static CompletableFuture getDedicatedIpPoolPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -409,7 +427,8 @@ public static Output getEmailIdentity(GetEmailIdentityAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -431,12 +450,13 @@ public static Output getEmailIdentity(GetEmailIdentityAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -451,7 +471,8 @@ public static CompletableFuture getEmailIdentityPlain(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -473,12 +494,13 @@ public static CompletableFuture getEmailIdentityPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -493,7 +515,8 @@ public static Output getEmailIdentity(GetEmailIdentityAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -515,12 +538,13 @@ public static Output getEmailIdentity(GetEmailIdentityAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -535,7 +559,8 @@ public static CompletableFuture getEmailIdentityPlain(Ge * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -558,16 +583,17 @@ public static CompletableFuture getEmailIdentityPlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *         final var exampleGetEmailIdentityMailFromAttributes = Sesv2Functions.getEmailIdentityMailFromAttributes(GetEmailIdentityMailFromAttributesArgs.builder()
-     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
+     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -582,7 +608,8 @@ public static Output getEmailIdentityM * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -605,16 +632,17 @@ public static Output getEmailIdentityM
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *         final var exampleGetEmailIdentityMailFromAttributes = Sesv2Functions.getEmailIdentityMailFromAttributes(GetEmailIdentityMailFromAttributesArgs.builder()
-     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
+     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -629,7 +657,8 @@ public static CompletableFuture getEma * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -652,16 +681,17 @@ public static CompletableFuture getEma
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *         final var exampleGetEmailIdentityMailFromAttributes = Sesv2Functions.getEmailIdentityMailFromAttributes(GetEmailIdentityMailFromAttributesArgs.builder()
-     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
+     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -676,7 +706,8 @@ public static Output getEmailIdentityM * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -699,16 +730,17 @@ public static Output getEmailIdentityM
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Sesv2Functions.getEmailIdentity(GetEmailIdentityArgs.builder()
-     *             .emailIdentity("example.com")
+     *             .emailIdentity("example.com")
      *             .build());
      * 
      *         final var exampleGetEmailIdentityMailFromAttributes = Sesv2Functions.getEmailIdentityMailFromAttributes(GetEmailIdentityMailFromAttributesArgs.builder()
-     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
+     *             .emailIdentity(example.applyValue(getEmailIdentityResult -> getEmailIdentityResult.emailIdentity()))
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/sfn/Activity.java b/sdk/java/src/main/java/com/pulumi/aws/sfn/Activity.java index 25de0f8718e..20b61e65eba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sfn/Activity.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sfn/Activity.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,13 +43,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sfnActivity = new Activity("sfnActivity", ActivityArgs.builder()        
- *             .name("my-activity")
+ *         var sfnActivity = new Activity("sfnActivity", ActivityArgs.builder()        
+ *             .name("my-activity")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sfn/Alias.java b/sdk/java/src/main/java/com/pulumi/aws/sfn/Alias.java index 2664c8e7e6b..db69b64e99b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sfn/Alias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sfn/Alias.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,30 +47,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sfnAlias = new Alias("sfnAlias", AliasArgs.builder()        
- *             .name("my_sfn_alias")
+ *         var sfnAlias = new Alias("sfnAlias", AliasArgs.builder()        
+ *             .name("my_sfn_alias")
  *             .routingConfigurations(AliasRoutingConfigurationArgs.builder()
  *                 .stateMachineVersionArn(sfnTest.stateMachineVersionArn())
  *                 .weight(100)
  *                 .build())
  *             .build());
  * 
- *         var mySfnAlias = new Alias("mySfnAlias", AliasArgs.builder()        
- *             .name("my_sfn_alias")
+ *         var mySfnAlias = new Alias("mySfnAlias", AliasArgs.builder()        
+ *             .name("my_sfn_alias")
  *             .routingConfigurations(            
  *                 AliasRoutingConfigurationArgs.builder()
- *                     .stateMachineVersionArn("arn:aws:states:us-east-1:12345:stateMachine:demo:3")
+ *                     .stateMachineVersionArn("arn:aws:states:us-east-1:12345:stateMachine:demo:3")
  *                     .weight(50)
  *                     .build(),
  *                 AliasRoutingConfigurationArgs.builder()
- *                     .stateMachineVersionArn("arn:aws:states:us-east-1:12345:stateMachine:demo:2")
+ *                     .stateMachineVersionArn("arn:aws:states:us-east-1:12345:stateMachine:demo:2")
  *                     .weight(50)
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sfn/SfnFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/sfn/SfnFunctions.java index 9fa4a2199b9..cfe967c3da3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sfn/SfnFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sfn/SfnFunctions.java @@ -29,7 +29,8 @@ public final class SfnFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,12 +52,13 @@ public final class SfnFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var sfnActivity = SfnFunctions.getActivity(GetActivityArgs.builder()
-     *             .name("my-activity")
+     *             .name("my-activity")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getActivity() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -91,12 +94,13 @@ public static Output getActivity() {
      * 
      *     public static void stack(Context ctx) {
      *         final var sfnActivity = SfnFunctions.getActivity(GetActivityArgs.builder()
-     *             .name("my-activity")
+     *             .name("my-activity")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getActivityPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getActivityPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var sfnActivity = SfnFunctions.getActivity(GetActivityArgs.builder()
-     *             .name("my-activity")
+     *             .name("my-activity")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -149,7 +155,8 @@ public static Output getActivity(GetActivityArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,12 +178,13 @@ public static Output getActivity(GetActivityArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var sfnActivity = SfnFunctions.getActivity(GetActivityArgs.builder()
-     *             .name("my-activity")
+     *             .name("my-activity")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -189,7 +197,8 @@ public static CompletableFuture getActivityPlain(GetActivityP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -211,12 +220,13 @@ public static CompletableFuture getActivityPlain(GetActivityP
      * 
      *     public static void stack(Context ctx) {
      *         final var sfnActivity = SfnFunctions.getActivity(GetActivityArgs.builder()
-     *             .name("my-activity")
+     *             .name("my-activity")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -229,7 +239,8 @@ public static Output getActivity(GetActivityArgs args, Invoke * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -251,12 +262,13 @@ public static Output getActivity(GetActivityArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var sfnActivity = SfnFunctions.getActivity(GetActivityArgs.builder()
-     *             .name("my-activity")
+     *             .name("my-activity")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -271,7 +283,8 @@ public static CompletableFuture getActivityPlain(GetActivityP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -293,13 +306,14 @@ public static CompletableFuture getActivityPlain(GetActivityP
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("my_sfn_alias")
+     *             .name("my_sfn_alias")
      *             .statemachineArn(sfnTest.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -314,7 +328,8 @@ public static Output getAlias(GetAliasArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -336,13 +351,14 @@ public static Output getAlias(GetAliasArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("my_sfn_alias")
+     *             .name("my_sfn_alias")
      *             .statemachineArn(sfnTest.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -357,7 +373,8 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -379,13 +396,14 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("my_sfn_alias")
+     *             .name("my_sfn_alias")
      *             .statemachineArn(sfnTest.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -400,7 +418,8 @@ public static Output getAlias(GetAliasArgs args, InvokeOptions o * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -422,13 +441,14 @@ public static Output getAlias(GetAliasArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getAlias(GetAliasArgs.builder()
-     *             .name("my_sfn_alias")
+     *             .name("my_sfn_alias")
      *             .statemachineArn(sfnTest.arn())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -443,7 +463,8 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -465,12 +486,13 @@ public static CompletableFuture getAliasPlain(GetAliasPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getStateMachine(GetStateMachineArgs.builder()
-     *             .name("an_example_sfn_name")
+     *             .name("an_example_sfn_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -485,7 +507,8 @@ public static Output getStateMachine(GetStateMachineArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -507,12 +530,13 @@ public static Output getStateMachine(GetStateMachineArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getStateMachine(GetStateMachineArgs.builder()
-     *             .name("an_example_sfn_name")
+     *             .name("an_example_sfn_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -527,7 +551,8 @@ public static CompletableFuture getStateMachinePlain(GetS * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -549,12 +574,13 @@ public static CompletableFuture getStateMachinePlain(GetS
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getStateMachine(GetStateMachineArgs.builder()
-     *             .name("an_example_sfn_name")
+     *             .name("an_example_sfn_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -569,7 +595,8 @@ public static Output getStateMachine(GetStateMachineArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -591,12 +618,13 @@ public static Output getStateMachine(GetStateMachineArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SfnFunctions.getStateMachine(GetStateMachineArgs.builder()
-     *             .name("an_example_sfn_name")
+     *             .name("an_example_sfn_name")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -611,7 +639,8 @@ public static CompletableFuture getStateMachinePlain(GetS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -638,7 +667,8 @@ public static CompletableFuture getStateMachinePlain(GetS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -653,7 +683,8 @@ public static Output getStateMachineVersions(GetS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -680,7 +711,8 @@ public static Output getStateMachineVersions(GetS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -695,7 +727,8 @@ public static CompletableFuture getStateMachineVe * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -722,7 +755,8 @@ public static CompletableFuture getStateMachineVe
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -737,7 +771,8 @@ public static Output getStateMachineVersions(GetS * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -764,7 +799,8 @@ public static Output getStateMachineVersions(GetS
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/sfn/StateMachine.java b/sdk/java/src/main/java/com/pulumi/aws/sfn/StateMachine.java index b3936431fea..7e68589ba76 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sfn/StateMachine.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sfn/StateMachine.java @@ -26,7 +26,8 @@ * ### Basic (Standard Workflow) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,33 +49,35 @@
  * 
  *     public static void stack(Context ctx) {
  *         // ...
- *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
- *             .name("my-state-machine")
+ *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
+ *             .name("my-state-machine")
  *             .roleArn(iamForSfn.arn())
- *             .definition("""
+ *             .definition("""
  * {
- *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
- *   "StartAt": "HelloWorld",
- *   "States": {
- *     "HelloWorld": {
- *       "Type": "Task",
- *       "Resource": "%s",
- *       "End": true
+ *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
+ *   "StartAt": "HelloWorld",
+ *   "States": {
+ *     "HelloWorld": {
+ *       "Type": "Task",
+ *       "Resource": "%s",
+ *       "End": true
  *     }
  *   }
  * }
- * ", lambda.arn()))
+ * ", lambda.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic (Express Workflow) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -96,34 +99,36 @@
  * 
  *     public static void stack(Context ctx) {
  *         // ...
- *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
- *             .name("my-state-machine")
+ *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
+ *             .name("my-state-machine")
  *             .roleArn(iamForSfn.arn())
- *             .type("EXPRESS")
- *             .definition("""
+ *             .type("EXPRESS")
+ *             .definition("""
  * {
- *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
- *   "StartAt": "HelloWorld",
- *   "States": {
- *     "HelloWorld": {
- *       "Type": "Task",
- *       "Resource": "%s",
- *       "End": true
+ *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
+ *   "StartAt": "HelloWorld",
+ *   "States": {
+ *     "HelloWorld": {
+ *       "Type": "Task",
+ *       "Resource": "%s",
+ *       "End": true
  *     }
  *   }
  * }
- * ", lambda.arn()))
+ * ", lambda.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Publish (Publish SFN version) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -145,29 +150,30 @@
  * 
  *     public static void stack(Context ctx) {
  *         // ...
- *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
- *             .name("my-state-machine")
+ *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
+ *             .name("my-state-machine")
  *             .roleArn(iamForSfn.arn())
  *             .publish(true)
- *             .type("EXPRESS")
- *             .definition("""
+ *             .type("EXPRESS")
+ *             .definition("""
  * {
- *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
- *   "StartAt": "HelloWorld",
- *   "States": {
- *     "HelloWorld": {
- *       "Type": "Task",
- *       "Resource": "%s",
- *       "End": true
+ *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
+ *   "StartAt": "HelloWorld",
+ *   "States": {
+ *     "HelloWorld": {
+ *       "Type": "Task",
+ *       "Resource": "%s",
+ *       "End": true
  *     }
  *   }
  * }
- * ", lambda.arn()))
+ * ", lambda.arn()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging @@ -175,7 +181,8 @@ * > *NOTE:* See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html) for more information about enabling Step Function logging. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -198,32 +205,33 @@
  * 
  *     public static void stack(Context ctx) {
  *         // ...
- *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
- *             .name("my-state-machine")
+ *         var sfnStateMachine = new StateMachine("sfnStateMachine", StateMachineArgs.builder()        
+ *             .name("my-state-machine")
  *             .roleArn(iamForSfn.arn())
- *             .definition("""
+ *             .definition("""
  * {
- *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
- *   "StartAt": "HelloWorld",
- *   "States": {
- *     "HelloWorld": {
- *       "Type": "Task",
- *       "Resource": "%s",
- *       "End": true
+ *   "Comment": "A Hello World example of the Amazon States Language using an AWS Lambda Function",
+ *   "StartAt": "HelloWorld",
+ *   "States": {
+ *     "HelloWorld": {
+ *       "Type": "Task",
+ *       "Resource": "%s",
+ *       "End": true
  *     }
  *   }
  * }
- * ", lambda.arn()))
+ * ", lambda.arn()))
  *             .loggingConfiguration(StateMachineLoggingConfigurationArgs.builder()
- *                 .logDestination(String.format("%s:*", logGroupForSfn.arn()))
+ *                 .logDestination(String.format("%s:*", logGroupForSfn.arn()))
  *                 .includeExecutionData(true)
- *                 .level("ERROR")
+ *                 .level("ERROR")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessLogBucketAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessLogBucketAssociation.java index f5c5c22673e..5a039ff866e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessLogBucketAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessLogBucketAssociation.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,18 +48,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new DrtAccessRoleArnAssociation("test", DrtAccessRoleArnAssociationArgs.builder()        
- *             .roleArn(String.format("arn:aws:iam:%s:%s:%s", current.name(),currentAwsCallerIdentity.accountId(),shieldDrtAccessRoleName))
+ *         var test = new DrtAccessRoleArnAssociation("test", DrtAccessRoleArnAssociationArgs.builder()        
+ *             .roleArn(String.format("arn:aws:iam:%s:%s:%s", current.name(),currentAwsCallerIdentity.accountId(),shieldDrtAccessRoleName))
  *             .build());
  * 
- *         var testDrtAccessLogBucketAssociation = new DrtAccessLogBucketAssociation("testDrtAccessLogBucketAssociation", DrtAccessLogBucketAssociationArgs.builder()        
+ *         var testDrtAccessLogBucketAssociation = new DrtAccessLogBucketAssociation("testDrtAccessLogBucketAssociation", DrtAccessLogBucketAssociationArgs.builder()        
  *             .logBucket(shieldDrtAccessLogBucket)
  *             .roleArnAssociationId(test.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessRoleArnAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessRoleArnAssociation.java index 13e3e2d817a..218c14f0557 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessRoleArnAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/DrtAccessRoleArnAssociation.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,34 +51,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Role("test", RoleArgs.builder()        
+ *         var test = new Role("test", RoleArgs.builder()        
  *             .name(awsShieldDrtAccessRoleArn)
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "drt.shield.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "drt.shield.amazonaws.com")
  *                         )),
- *                         jsonProperty("Action", "sts:AssumeRole")
+ *                         jsonProperty("Action", "sts:AssumeRole")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var testRolePolicyAttachment = new RolePolicyAttachment("testRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var testRolePolicyAttachment = new RolePolicyAttachment("testRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(test.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy")
  *             .build());
  * 
- *         var testDrtAccessRoleArnAssociation = new DrtAccessRoleArnAssociation("testDrtAccessRoleArnAssociation", DrtAccessRoleArnAssociationArgs.builder()        
+ *         var testDrtAccessRoleArnAssociation = new DrtAccessRoleArnAssociation("testDrtAccessRoleArnAssociation", DrtAccessRoleArnAssociationArgs.builder()        
  *             .roleArn(test.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/ProactiveEngagement.java b/sdk/java/src/main/java/com/pulumi/aws/shield/ProactiveEngagement.java index 4721919941d..abfdb3dd1f2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/shield/ProactiveEngagement.java +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/ProactiveEngagement.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,49 +58,49 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()        
+ *         var example = new Role("example", RoleArgs.builder()        
  *             .name(awsShieldDrtAccessRoleArn)
  *             .assumeRolePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", ""),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("Service", "drt.shield.amazonaws.com")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", ""),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("Service", "drt.shield.amazonaws.com")
  *                         )),
- *                         jsonProperty("Action", "sts:AssumeRole")
+ *                         jsonProperty("Action", "sts:AssumeRole")
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
+ *         var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()        
  *             .role(example.name())
- *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy")
+ *             .policyArn("arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy")
  *             .build());
  * 
- *         var exampleDrtAccessRoleArnAssociation = new DrtAccessRoleArnAssociation("exampleDrtAccessRoleArnAssociation", DrtAccessRoleArnAssociationArgs.builder()        
+ *         var exampleDrtAccessRoleArnAssociation = new DrtAccessRoleArnAssociation("exampleDrtAccessRoleArnAssociation", DrtAccessRoleArnAssociationArgs.builder()        
  *             .roleArn(example.arn())
  *             .build());
  * 
- *         var test = new ProtectionGroup("test", ProtectionGroupArgs.builder()        
- *             .protectionGroupId("example")
- *             .aggregation("MAX")
- *             .pattern("ALL")
+ *         var test = new ProtectionGroup("test", ProtectionGroupArgs.builder()        
+ *             .protectionGroupId("example")
+ *             .aggregation("MAX")
+ *             .pattern("ALL")
  *             .build());
  * 
- *         var testProactiveEngagement = new ProactiveEngagement("testProactiveEngagement", ProactiveEngagementArgs.builder()        
+ *         var testProactiveEngagement = new ProactiveEngagement("testProactiveEngagement", ProactiveEngagementArgs.builder()        
  *             .enabled(true)
  *             .emergencyContacts(            
  *                 ProactiveEngagementEmergencyContactArgs.builder()
- *                     .contactNotes("Notes")
- *                     .emailAddress("test@company.com")
- *                     .phoneNumber("+12358132134")
+ *                     .contactNotes("Notes")
+ *                     .emailAddress("test{@literal @}company.com")
+ *                     .phoneNumber("+12358132134")
  *                     .build(),
  *                 ProactiveEngagementEmergencyContactArgs.builder()
- *                     .contactNotes("Notes 2")
- *                     .emailAddress("test2@company.com")
- *                     .phoneNumber("+12358132134")
+ *                     .contactNotes("Notes 2")
+ *                     .emailAddress("test2{@literal @}company.com")
+ *                     .phoneNumber("+12358132134")
  *                     .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(testAwsShieldDrtAccessRoleArnAssociation)
@@ -107,7 +108,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/Protection.java b/sdk/java/src/main/java/com/pulumi/aws/shield/Protection.java index ccb3706becc..2c503ee3819 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/shield/Protection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/Protection.java @@ -24,7 +24,8 @@ * ### Create protection * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,19 +58,20 @@
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Eip("example", EipArgs.builder()        
- *             .domain("vpc")
+ *         var example = new Eip("example", EipArgs.builder()        
+ *             .domain("vpc")
  *             .build());
  * 
- *         var exampleProtection = new Protection("exampleProtection", ProtectionArgs.builder()        
- *             .name("example")
- *             .resourceArn(example.id().applyValue(id -> String.format("arn:aws:ec2:%s:%s:eip-allocation/%s", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
- *             .tags(Map.of("Environment", "Dev"))
+ *         var exampleProtection = new Protection("exampleProtection", ProtectionArgs.builder()        
+ *             .name("example")
+ *             .resourceArn(example.id().applyValue(id -> String.format("arn:aws:ec2:%s:%s:eip-allocation/%s", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
+ *             .tags(Map.of("Environment", "Dev"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionGroup.java b/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionGroup.java index 3b3c9f412e4..6a85bee1a1d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionGroup.java @@ -26,7 +26,8 @@ * ### Create protection group for all resources * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,21 +48,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProtectionGroup("example", ProtectionGroupArgs.builder()        
- *             .protectionGroupId("example")
- *             .aggregation("MAX")
- *             .pattern("ALL")
+ *         var example = new ProtectionGroup("example", ProtectionGroupArgs.builder()        
+ *             .protectionGroupId("example")
+ *             .aggregation("MAX")
+ *             .pattern("ALL")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create protection group for arbitrary number of resources * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,33 +97,35 @@
  * 
  *         final var currentGetCallerIdentity = AwsFunctions.getCallerIdentity();
  * 
- *         var example = new Eip("example", EipArgs.builder()        
- *             .domain("vpc")
+ *         var example = new Eip("example", EipArgs.builder()        
+ *             .domain("vpc")
  *             .build());
  * 
- *         var exampleProtection = new Protection("exampleProtection", ProtectionArgs.builder()        
- *             .name("example")
- *             .resourceArn(example.id().applyValue(id -> String.format("arn:aws:ec2:%s:%s:eip-allocation/%s", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
+ *         var exampleProtection = new Protection("exampleProtection", ProtectionArgs.builder()        
+ *             .name("example")
+ *             .resourceArn(example.id().applyValue(id -> String.format("arn:aws:ec2:%s:%s:eip-allocation/%s", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
  *             .build());
  * 
- *         var exampleProtectionGroup = new ProtectionGroup("exampleProtectionGroup", ProtectionGroupArgs.builder()        
- *             .protectionGroupId("example")
- *             .aggregation("MEAN")
- *             .pattern("ARBITRARY")
- *             .members(example.id().applyValue(id -> String.format("arn:aws:ec2:%s:%s:eip-allocation/%s", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
+ *         var exampleProtectionGroup = new ProtectionGroup("exampleProtectionGroup", ProtectionGroupArgs.builder()        
+ *             .protectionGroupId("example")
+ *             .aggregation("MEAN")
+ *             .pattern("ARBITRARY")
+ *             .members(example.id().applyValue(id -> String.format("arn:aws:ec2:%s:%s:eip-allocation/%s", current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleProtection)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create protection group for a type of resource * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -141,16 +146,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ProtectionGroup("example", ProtectionGroupArgs.builder()        
- *             .protectionGroupId("example")
- *             .aggregation("SUM")
- *             .pattern("BY_RESOURCE_TYPE")
- *             .resourceType("ELASTIC_IP_ALLOCATION")
+ *         var example = new ProtectionGroup("example", ProtectionGroupArgs.builder()        
+ *             .protectionGroupId("example")
+ *             .aggregation("SUM")
+ *             .pattern("BY_RESOURCE_TYPE")
+ *             .resourceType("ELASTIC_IP_ALLOCATION")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionHealthCheckAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionHealthCheckAssociation.java index b89b6eba1f9..89eff7b27d0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionHealthCheckAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/shield/ProtectionHealthCheckAssociation.java @@ -24,7 +24,8 @@ * ### Create an association between a protected EIP and a Route53 Health Check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -61,34 +62,35 @@
  * 
  *         final var currentGetPartition = AwsFunctions.getPartition();
  * 
- *         var example = new Eip("example", EipArgs.builder()        
- *             .domain("vpc")
- *             .tags(Map.of("Name", "example"))
+ *         var example = new Eip("example", EipArgs.builder()        
+ *             .domain("vpc")
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
- *         var exampleProtection = new Protection("exampleProtection", ProtectionArgs.builder()        
- *             .name("example-protection")
- *             .resourceArn(example.id().applyValue(id -> String.format("arn:%s:ec2:%s:%s:eip-allocation/%s", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
+ *         var exampleProtection = new Protection("exampleProtection", ProtectionArgs.builder()        
+ *             .name("example-protection")
+ *             .resourceArn(example.id().applyValue(id -> String.format("arn:%s:ec2:%s:%s:eip-allocation/%s", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getRegionResult -> getRegionResult.name()),currentGetCallerIdentity.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()),id)))
  *             .build());
  * 
- *         var exampleHealthCheck = new HealthCheck("exampleHealthCheck", HealthCheckArgs.builder()        
+ *         var exampleHealthCheck = new HealthCheck("exampleHealthCheck", HealthCheckArgs.builder()        
  *             .ipAddress(example.publicIp())
  *             .port(80)
- *             .type("HTTP")
- *             .resourcePath("/ready")
- *             .failureThreshold("3")
- *             .requestInterval("30")
- *             .tags(Map.of("Name", "tf-example-health-check"))
+ *             .type("HTTP")
+ *             .resourcePath("/ready")
+ *             .failureThreshold("3")
+ *             .requestInterval("30")
+ *             .tags(Map.of("Name", "tf-example-health-check"))
  *             .build());
  * 
- *         var exampleProtectionHealthCheckAssociation = new ProtectionHealthCheckAssociation("exampleProtectionHealthCheckAssociation", ProtectionHealthCheckAssociationArgs.builder()        
+ *         var exampleProtectionHealthCheckAssociation = new ProtectionHealthCheckAssociation("exampleProtectionHealthCheckAssociation", ProtectionHealthCheckAssociationArgs.builder()        
  *             .healthCheckArn(exampleHealthCheck.arn())
  *             .shieldProtectionId(exampleProtection.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/signer/SignerFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/signer/SignerFunctions.java index ec464ab1c34..95b6854c986 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/signer/SignerFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/signer/SignerFunctions.java @@ -23,7 +23,8 @@ public final class SignerFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -45,12 +46,13 @@ public final class SignerFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var buildSigningJob = SignerFunctions.getSigningJob(GetSigningJobArgs.builder()
-     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
+     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getSigningJob(GetSigningJobArgs args) * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -85,12 +88,13 @@ public static Output getSigningJob(GetSigningJobArgs args)
      * 
      *     public static void stack(Context ctx) {
      *         final var buildSigningJob = SignerFunctions.getSigningJob(GetSigningJobArgs.builder()
-     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
+     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getSigningJobPlain(GetSigni * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getSigningJobPlain(GetSigni
      * 
      *     public static void stack(Context ctx) {
      *         final var buildSigningJob = SignerFunctions.getSigningJob(GetSigningJobArgs.builder()
-     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
+     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getSigningJob(GetSigningJobArgs args, * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -165,12 +172,13 @@ public static Output getSigningJob(GetSigningJobArgs args,
      * 
      *     public static void stack(Context ctx) {
      *         final var buildSigningJob = SignerFunctions.getSigningJob(GetSigningJobArgs.builder()
-     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
+     *             .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getSigningJobPlain(GetSigni * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -205,12 +214,13 @@ public static CompletableFuture getSigningJobPlain(GetSigni
      * 
      *     public static void stack(Context ctx) {
      *         final var productionSigningProfile = SignerFunctions.getSigningProfile(GetSigningProfileArgs.builder()
-     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
+     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -223,7 +233,8 @@ public static Output getSigningProfile(GetSigningProfil * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -245,12 +256,13 @@ public static Output getSigningProfile(GetSigningProfil
      * 
      *     public static void stack(Context ctx) {
      *         final var productionSigningProfile = SignerFunctions.getSigningProfile(GetSigningProfileArgs.builder()
-     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
+     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -263,7 +275,8 @@ public static CompletableFuture getSigningProfilePlain( * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -285,12 +298,13 @@ public static CompletableFuture getSigningProfilePlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var productionSigningProfile = SignerFunctions.getSigningProfile(GetSigningProfileArgs.builder()
-     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
+     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -303,7 +317,8 @@ public static Output getSigningProfile(GetSigningProfil * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -325,12 +340,13 @@ public static Output getSigningProfile(GetSigningProfil
      * 
      *     public static void stack(Context ctx) {
      *         final var productionSigningProfile = SignerFunctions.getSigningProfile(GetSigningProfileArgs.builder()
-     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
+     *             .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/signer/SigningJob.java b/sdk/java/src/main/java/com/pulumi/aws/signer/SigningJob.java index 444b5399d46..fa72539f858 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/signer/SigningJob.java +++ b/sdk/java/src/main/java/com/pulumi/aws/signer/SigningJob.java @@ -26,7 +26,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,23 +54,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testSp = new SigningProfile("testSp", SigningProfileArgs.builder()        
- *             .platformId("AWSLambda-SHA384-ECDSA")
+ *         var testSp = new SigningProfile("testSp", SigningProfileArgs.builder()        
+ *             .platformId("AWSLambda-SHA384-ECDSA")
  *             .build());
  * 
- *         var buildSigningJob = new SigningJob("buildSigningJob", SigningJobArgs.builder()        
+ *         var buildSigningJob = new SigningJob("buildSigningJob", SigningJobArgs.builder()        
  *             .profileName(testSp.name())
  *             .source(SigningJobSourceArgs.builder()
  *                 .s3(SigningJobSourceS3Args.builder()
- *                     .bucket("s3-bucket-name")
- *                     .key("object-to-be-signed.zip")
- *                     .version("jADjFYYYEXAMPLETszPjOmCMFDzd9dN1")
+ *                     .bucket("s3-bucket-name")
+ *                     .key("object-to-be-signed.zip")
+ *                     .version("jADjFYYYEXAMPLETszPjOmCMFDzd9dN1")
  *                     .build())
  *                 .build())
  *             .destination(SigningJobDestinationArgs.builder()
  *                 .s3(SigningJobDestinationS3Args.builder()
- *                     .bucket("s3-bucket-name")
- *                     .prefix("signed/")
+ *                     .bucket("s3-bucket-name")
+ *                     .prefix("signed/")
  *                     .build())
  *                 .build())
  *             .ignoreSigningJobFailure(true)
@@ -77,7 +78,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfile.java b/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfile.java index 418f5779b9a..047134427e8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfile.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,26 +48,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testSp = new SigningProfile("testSp", SigningProfileArgs.builder()        
- *             .platformId("AWSLambda-SHA384-ECDSA")
+ *         var testSp = new SigningProfile("testSp", SigningProfileArgs.builder()        
+ *             .platformId("AWSLambda-SHA384-ECDSA")
  *             .build());
  * 
- *         var prodSp = new SigningProfile("prodSp", SigningProfileArgs.builder()        
- *             .platformId("AWSLambda-SHA384-ECDSA")
- *             .namePrefix("prod_sp_")
+ *         var prodSp = new SigningProfile("prodSp", SigningProfileArgs.builder()        
+ *             .platformId("AWSLambda-SHA384-ECDSA")
+ *             .namePrefix("prod_sp_")
  *             .signatureValidityPeriod(SigningProfileSignatureValidityPeriodArgs.builder()
  *                 .value(5)
- *                 .type("YEARS")
+ *                 .type("YEARS")
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("tag1", "value1"),
- *                 Map.entry("tag2", "value2")
+ *                 Map.entry("tag1", "value1"),
+ *                 Map.entry("tag2", "value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfilePermission.java b/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfilePermission.java index a1c197430b0..a01bd54c61b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfilePermission.java +++ b/sdk/java/src/main/java/com/pulumi/aws/signer/SigningProfilePermission.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,43 +44,44 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var prodSp = new SigningProfile("prodSp", SigningProfileArgs.builder()        
- *             .platformId("AWSLambda-SHA384-ECDSA")
- *             .namePrefix("prod_sp_")
+ *         var prodSp = new SigningProfile("prodSp", SigningProfileArgs.builder()        
+ *             .platformId("AWSLambda-SHA384-ECDSA")
+ *             .namePrefix("prod_sp_")
  *             .signatureValidityPeriod(SigningProfileSignatureValidityPeriodArgs.builder()
  *                 .value(5)
- *                 .type("YEARS")
+ *                 .type("YEARS")
  *                 .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("tag1", "value1"),
- *                 Map.entry("tag2", "value2")
+ *                 Map.entry("tag1", "value1"),
+ *                 Map.entry("tag2", "value2")
  *             ))
  *             .build());
  * 
- *         var spPermission1 = new SigningProfilePermission("spPermission1", SigningProfilePermissionArgs.builder()        
+ *         var spPermission1 = new SigningProfilePermission("spPermission1", SigningProfilePermissionArgs.builder()        
  *             .profileName(prodSp.name())
- *             .action("signer:StartSigningJob")
+ *             .action("signer:StartSigningJob")
  *             .principal(awsAccount)
  *             .build());
  * 
- *         var spPermission2 = new SigningProfilePermission("spPermission2", SigningProfilePermissionArgs.builder()        
+ *         var spPermission2 = new SigningProfilePermission("spPermission2", SigningProfilePermissionArgs.builder()        
  *             .profileName(prodSp.name())
- *             .action("signer:GetSigningProfile")
+ *             .action("signer:GetSigningProfile")
  *             .principal(awsTeamRoleArn)
- *             .statementId("ProdAccountStartSigningJob_StatementId")
+ *             .statementId("ProdAccountStartSigningJob_StatementId")
  *             .build());
  * 
- *         var spPermission3 = new SigningProfilePermission("spPermission3", SigningProfilePermissionArgs.builder()        
+ *         var spPermission3 = new SigningProfilePermission("spPermission3", SigningProfilePermissionArgs.builder()        
  *             .profileName(prodSp.name())
- *             .action("signer:RevokeSignature")
- *             .principal("123456789012")
+ *             .action("signer:RevokeSignature")
+ *             .principal("123456789012")
  *             .profileVersion(prodSp.version())
- *             .statementIdPrefix("version-permission-")
+ *             .statementIdPrefix("version-permission-")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/simpledb/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/simpledb/Domain.java index 8fe463b4c40..cb9d48c1254 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/simpledb/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/simpledb/Domain.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,13 +41,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var users = new Domain("users", DomainArgs.builder()        
- *             .name("users")
+ *         var users = new Domain("users", DomainArgs.builder()        
+ *             .name("users")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/DataProtectionPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/sns/DataProtectionPolicy.java index bedb6bf9522..be624adc616 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/DataProtectionPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/DataProtectionPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,34 +44,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Topic("example", TopicArgs.builder()        
- *             .name("example")
+ *         var example = new Topic("example", TopicArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleDataProtectionPolicy = new DataProtectionPolicy("exampleDataProtectionPolicy", DataProtectionPolicyArgs.builder()        
+ *         var exampleDataProtectionPolicy = new DataProtectionPolicy("exampleDataProtectionPolicy", DataProtectionPolicyArgs.builder()        
  *             .arn(example.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Description", "Example data protection policy"),
- *                     jsonProperty("Name", "__example_data_protection_policy"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("DataDirection", "Inbound"),
- *                         jsonProperty("DataIdentifier", jsonArray("arn:aws:dataprotection::aws:data-identifier/EmailAddress")),
- *                         jsonProperty("Operation", jsonObject(
- *                             jsonProperty("Deny", jsonObject(
+ *                     jsonProperty("Description", "Example data protection policy"),
+ *                     jsonProperty("Name", "__example_data_protection_policy"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("DataDirection", "Inbound"),
+ *                         jsonProperty("DataIdentifier", jsonArray("arn:aws:dataprotection::aws:data-identifier/EmailAddress")),
+ *                         jsonProperty("Operation", jsonObject(
+ *                             jsonProperty("Deny", jsonObject(
  * 
  *                             ))
  *                         )),
- *                         jsonProperty("Principal", jsonArray("*")),
- *                         jsonProperty("Sid", "__deny_statement_11ba9d96")
+ *                         jsonProperty("Principal", jsonArray("*")),
+ *                         jsonProperty("Sid", "__deny_statement_11ba9d96")
  *                     ))),
- *                     jsonProperty("Version", "2021-06-01")
+ *                     jsonProperty("Version", "2021-06-01")
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/PlatformApplication.java b/sdk/java/src/main/java/com/pulumi/aws/sns/PlatformApplication.java index 816ac94c58a..1bfa82d6882 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/PlatformApplication.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/PlatformApplication.java @@ -23,7 +23,8 @@ * ### Apple Push Notification Service (APNS) using certificate-based authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var apnsApplication = new PlatformApplication("apnsApplication", PlatformApplicationArgs.builder()        
- *             .name("apns_application")
- *             .platform("APNS")
- *             .platformCredential("<APNS PRIVATE KEY>")
- *             .platformPrincipal("<APNS CERTIFICATE>")
+ *         var apnsApplication = new PlatformApplication("apnsApplication", PlatformApplicationArgs.builder()        
+ *             .name("apns_application")
+ *             .platform("APNS")
+ *             .platformCredential("")
+ *             .platformPrincipal("")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Apple Push Notification Service (APNS) using token-based authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,24 +83,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var apnsApplication = new PlatformApplication("apnsApplication", PlatformApplicationArgs.builder()        
- *             .name("apns_application")
- *             .platform("APNS")
- *             .platformCredential("<APNS SIGNING KEY>")
- *             .platformPrincipal("<APNS SIGNING KEY ID>")
- *             .applePlatformTeamId("<APPLE TEAM ID>")
- *             .applePlatformBundleId("<APPLE BUNDLE ID>")
+ *         var apnsApplication = new PlatformApplication("apnsApplication", PlatformApplicationArgs.builder()        
+ *             .name("apns_application")
+ *             .platform("APNS")
+ *             .platformCredential("")
+ *             .platformPrincipal("")
+ *             .applePlatformTeamId("")
+ *             .applePlatformBundleId("")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Google Cloud Messaging (GCM) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -118,15 +123,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var gcmApplication = new PlatformApplication("gcmApplication", PlatformApplicationArgs.builder()        
- *             .name("gcm_application")
- *             .platform("GCM")
- *             .platformCredential("<GCM API KEY>")
+ *         var gcmApplication = new PlatformApplication("gcmApplication", PlatformApplicationArgs.builder()        
+ *             .name("gcm_application")
+ *             .platform("GCM")
+ *             .platformCredential("")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/SmsPreferences.java b/sdk/java/src/main/java/com/pulumi/aws/sns/SmsPreferences.java index 928d87d7366..d2dbbaf706c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/SmsPreferences.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/SmsPreferences.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,11 +42,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var updateSmsPrefs = new SmsPreferences("updateSmsPrefs");
+ *         var updateSmsPrefs = new SmsPreferences("updateSmsPrefs");
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/SnsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/sns/SnsFunctions.java index f6c1bc9cc51..40d73d4f0ef 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/SnsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/SnsFunctions.java @@ -22,7 +22,8 @@ public final class SnsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,12 +45,13 @@ public final class SnsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SnsFunctions.getTopic(GetTopicArgs.builder()
-     *             .name("an_example_topic")
+     *             .name("an_example_topic")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getTopic(GetTopicArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,12 +89,13 @@ public static Output getTopic(GetTopicArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SnsFunctions.getTopic(GetTopicArgs.builder()
-     *             .name("an_example_topic")
+     *             .name("an_example_topic")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getTopicPlain(GetTopicPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getTopicPlain(GetTopicPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SnsFunctions.getTopic(GetTopicArgs.builder()
-     *             .name("an_example_topic")
+     *             .name("an_example_topic")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getTopic(GetTopicArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,12 +177,13 @@ public static Output getTopic(GetTopicArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SnsFunctions.getTopic(GetTopicArgs.builder()
-     *             .name("an_example_topic")
+     *             .name("an_example_topic")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/Topic.java b/sdk/java/src/main/java/com/pulumi/aws/sns/Topic.java index 2f0614c6ecd..eb9e7d35306 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/Topic.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/Topic.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
- *             .name("user-updates-topic")
+ *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
+ *             .name("user-updates-topic")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example with Delivery Policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,38 +80,40 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
- *             .name("user-updates-topic")
- *             .deliveryPolicy("""
+ *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
+ *             .name("user-updates-topic")
+ *             .deliveryPolicy("""
  * {
- *   "http": {
- *     "defaultHealthyRetryPolicy": {
- *       "minDelayTarget": 20,
- *       "maxDelayTarget": 20,
- *       "numRetries": 3,
- *       "numMaxDelayRetries": 0,
- *       "numNoDelayRetries": 0,
- *       "numMinDelayRetries": 0,
- *       "backoffFunction": "linear"
+ *   "http": {
+ *     "defaultHealthyRetryPolicy": {
+ *       "minDelayTarget": 20,
+ *       "maxDelayTarget": 20,
+ *       "numRetries": 3,
+ *       "numMaxDelayRetries": 0,
+ *       "numNoDelayRetries": 0,
+ *       "numMinDelayRetries": 0,
+ *       "backoffFunction": "linear"
  *     },
- *     "disableSubscriptionOverrides": false,
- *     "defaultThrottlePolicy": {
- *       "maxReceivesPerSecond": 1
+ *     "disableSubscriptionOverrides": false,
+ *     "defaultThrottlePolicy": {
+ *       "maxReceivesPerSecond": 1
  *     }
  *   }
  * }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example with Server-side encryption (SSE) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -129,20 +134,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
- *             .name("user-updates-topic")
- *             .kmsMasterKeyId("alias/aws/sns")
+ *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
+ *             .name("user-updates-topic")
+ *             .kmsMasterKeyId("alias/aws/sns")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Example with First-In-First-Out (FIFO) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -163,15 +170,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
- *             .name("user-updates-topic.fifo")
+ *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
+ *             .name("user-updates-topic.fifo")
  *             .fifoTopic(true)
  *             .contentBasedDeduplication(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Message Delivery Status Arguments diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/TopicPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/sns/TopicPolicy.java index 57d8460ab93..a65d8a61909 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/TopicPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/TopicPolicy.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,46 +47,47 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Topic("test", TopicArgs.builder()        
- *             .name("my-topic-with-policy")
+ *         var test = new Topic("test", TopicArgs.builder()        
+ *             .name("my-topic-with-policy")
  *             .build());
  * 
  *         final var snsTopicPolicy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .policyId("__default_policy_ID")
+ *             .policyId("__default_policy_ID")
  *             .statements(GetPolicyDocumentStatementArgs.builder()
  *                 .actions(                
- *                     "SNS:Subscribe",
- *                     "SNS:SetTopicAttributes",
- *                     "SNS:RemovePermission",
- *                     "SNS:Receive",
- *                     "SNS:Publish",
- *                     "SNS:ListSubscriptionsByTopic",
- *                     "SNS:GetTopicAttributes",
- *                     "SNS:DeleteTopic",
- *                     "SNS:AddPermission")
+ *                     "SNS:Subscribe",
+ *                     "SNS:SetTopicAttributes",
+ *                     "SNS:RemovePermission",
+ *                     "SNS:Receive",
+ *                     "SNS:Publish",
+ *                     "SNS:ListSubscriptionsByTopic",
+ *                     "SNS:GetTopicAttributes",
+ *                     "SNS:DeleteTopic",
+ *                     "SNS:AddPermission")
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("StringEquals")
- *                     .variable("AWS:SourceOwner")
+ *                     .test("StringEquals")
+ *                     .variable("AWS:SourceOwner")
  *                     .values(account_id)
  *                     .build())
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("*")
+ *                     .type("AWS")
+ *                     .identifiers("*")
  *                     .build())
  *                 .resources(test.arn())
- *                 .sid("__default_statement_ID")
+ *                 .sid("__default_statement_ID")
  *                 .build())
  *             .build());
  * 
- *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
+ *         var default_ = new TopicPolicy("default", TopicPolicyArgs.builder()        
  *             .arn(test.arn())
- *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(snsTopicPolicy -> snsTopicPolicy.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sns/TopicSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/sns/TopicSubscription.java index 07e30d1beb5..8905cf3ce4f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sns/TopicSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sns/TopicSubscription.java @@ -34,7 +34,8 @@ * You can directly supply a topic and ARN by hand in the `topic_arn` property along with the queue ARN: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,21 +56,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var userUpdatesSqsTarget = new TopicSubscription("userUpdatesSqsTarget", TopicSubscriptionArgs.builder()        
- *             .topic("arn:aws:sns:us-west-2:432981146916:user-updates-topic")
- *             .protocol("sqs")
- *             .endpoint("arn:aws:sqs:us-west-2:432981146916:queue-too")
+ *         var userUpdatesSqsTarget = new TopicSubscription("userUpdatesSqsTarget", TopicSubscriptionArgs.builder()        
+ *             .topic("arn:aws:sns:us-west-2:432981146916:user-updates-topic")
+ *             .protocol("sqs")
+ *             .endpoint("arn:aws:sqs:us-west-2:432981146916:queue-too")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Alternatively you can use the ARN properties of a managed SNS topic and SQS queue: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,29 +97,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
- *             .name("user-updates-topic")
+ *         var userUpdates = new Topic("userUpdates", TopicArgs.builder()        
+ *             .name("user-updates-topic")
  *             .build());
  * 
- *         var userUpdatesQueue = new Queue("userUpdatesQueue", QueueArgs.builder()        
- *             .name("user-updates-queue")
+ *         var userUpdatesQueue = new Queue("userUpdatesQueue", QueueArgs.builder()        
+ *             .name("user-updates-queue")
  *             .build());
  * 
- *         var userUpdatesSqsTarget = new TopicSubscription("userUpdatesSqsTarget", TopicSubscriptionArgs.builder()        
+ *         var userUpdatesSqsTarget = new TopicSubscription("userUpdatesSqsTarget", TopicSubscriptionArgs.builder()        
  *             .topic(userUpdates.arn())
- *             .protocol("sqs")
+ *             .protocol("sqs")
  *             .endpoint(userUpdatesQueue.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * You can subscribe SNS topics to SQS queues in different Amazon accounts and regions: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -144,92 +149,93 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var config = ctx.config();
- *         final var sns = config.get("sns").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
- *         final var sqs = config.get("sqs").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+ *         final var sns = config.get("sns").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
+ *         final var sqs = config.get("sqs").orElse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
  *         final var sns-topic-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .policyId("__default_policy_ID")
+ *             .policyId("__default_policy_ID")
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
  *                     .actions(                    
- *                         "SNS:Subscribe",
- *                         "SNS:SetTopicAttributes",
- *                         "SNS:RemovePermission",
- *                         "SNS:Publish",
- *                         "SNS:ListSubscriptionsByTopic",
- *                         "SNS:GetTopicAttributes",
- *                         "SNS:DeleteTopic",
- *                         "SNS:AddPermission")
+ *                         "SNS:Subscribe",
+ *                         "SNS:SetTopicAttributes",
+ *                         "SNS:RemovePermission",
+ *                         "SNS:Publish",
+ *                         "SNS:ListSubscriptionsByTopic",
+ *                         "SNS:GetTopicAttributes",
+ *                         "SNS:DeleteTopic",
+ *                         "SNS:AddPermission")
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("AWS:SourceOwner")
+ *                         .test("StringEquals")
+ *                         .variable("AWS:SourceOwner")
  *                         .values(sns.account-id())
  *                         .build())
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
- *                         .identifiers("*")
+ *                         .type("AWS")
+ *                         .identifiers("*")
  *                         .build())
- *                     .resources(String.format("arn:aws:sns:%s:%s:%s", sns.region(),sns.account-id(),sns.name()))
- *                     .sid("__default_statement_ID")
+ *                     .resources(String.format("arn:aws:sns:%s:%s:%s", sns.region(),sns.account-id(),sns.name()))
+ *                     .sid("__default_statement_ID")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
  *                     .actions(                    
- *                         "SNS:Subscribe",
- *                         "SNS:Receive")
+ *                         "SNS:Subscribe",
+ *                         "SNS:Receive")
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringLike")
- *                         .variable("SNS:Endpoint")
- *                         .values(String.format("arn:aws:sqs:%s:%s:%s", sqs.region(),sqs.account-id(),sqs.name()))
+ *                         .test("StringLike")
+ *                         .variable("SNS:Endpoint")
+ *                         .values(String.format("arn:aws:sqs:%s:%s:%s", sqs.region(),sqs.account-id(),sqs.name()))
  *                         .build())
- *                     .effect("Allow")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("AWS")
- *                         .identifiers("*")
+ *                         .type("AWS")
+ *                         .identifiers("*")
  *                         .build())
- *                     .resources(String.format("arn:aws:sns:%s:%s:%s", sns.region(),sns.account-id(),sns.name()))
- *                     .sid("__console_sub_0")
+ *                     .resources(String.format("arn:aws:sns:%s:%s:%s", sns.region(),sns.account-id(),sns.name()))
+ *                     .sid("__console_sub_0")
  *                     .build())
  *             .build());
  * 
  *         final var sqs-queue-policy = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
- *             .policyId(String.format("arn:aws:sqs:%s:%s:%s/SQSDefaultPolicy", sqs.region(),sqs.account-id(),sqs.name()))
+ *             .policyId(String.format("arn:aws:sqs:%s:%s:%s/SQSDefaultPolicy", sqs.region(),sqs.account-id(),sqs.name()))
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("example-sns-topic")
- *                 .effect("Allow")
+ *                 .sid("example-sns-topic")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers("*")
+ *                     .type("AWS")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("SQS:SendMessage")
- *                 .resources(String.format("arn:aws:sqs:%s:%s:%s", sqs.region(),sqs.account-id(),sqs.name()))
+ *                 .actions("SQS:SendMessage")
+ *                 .resources(String.format("arn:aws:sqs:%s:%s:%s", sqs.region(),sqs.account-id(),sqs.name()))
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("ArnEquals")
- *                     .variable("aws:SourceArn")
- *                     .values(String.format("arn:aws:sns:%s:%s:%s", sns.region(),sns.account-id(),sns.name()))
+ *                     .test("ArnEquals")
+ *                     .variable("aws:SourceArn")
+ *                     .values(String.format("arn:aws:sns:%s:%s:%s", sns.region(),sns.account-id(),sns.name()))
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var sns_topic = new Topic("sns-topic", TopicArgs.builder()        
+ *         var sns_topic = new Topic("sns-topic", TopicArgs.builder()        
  *             .name(sns.name())
  *             .displayName(sns.display_name())
  *             .policy(sns_topic_policy.json())
  *             .build());
  * 
- *         var sqs_queue = new Queue("sqs-queue", QueueArgs.builder()        
+ *         var sqs_queue = new Queue("sqs-queue", QueueArgs.builder()        
  *             .name(sqs.name())
  *             .policy(sqs_queue_policy.json())
  *             .build());
  * 
- *         var sns_topicTopicSubscription = new TopicSubscription("sns-topicTopicSubscription", TopicSubscriptionArgs.builder()        
+ *         var sns_topicTopicSubscription = new TopicSubscription("sns-topicTopicSubscription", TopicSubscriptionArgs.builder()        
  *             .topic(sns_topic.arn())
- *             .protocol("sqs")
+ *             .protocol("sqs")
  *             .endpoint(sqs_queue.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sqs/Queue.java b/sdk/java/src/main/java/com/pulumi/aws/sqs/Queue.java index f433c96b970..b49ec1df164 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sqs/Queue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sqs/Queue.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,29 +44,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var queue = new Queue("queue", QueueArgs.builder()        
- *             .name("example-queue")
+ *         var queue = new Queue("queue", QueueArgs.builder()        
+ *             .name("example-queue")
  *             .delaySeconds(90)
  *             .maxMessageSize(2048)
  *             .messageRetentionSeconds(86400)
  *             .receiveWaitTimeSeconds(10)
  *             .redrivePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("deadLetterTargetArn", queueDeadletter.arn()),
- *                     jsonProperty("maxReceiveCount", 4)
+ *                     jsonProperty("deadLetterTargetArn", queueDeadletter.arn()),
+ *                     jsonProperty("maxReceiveCount", 4)
  *                 )))
- *             .tags(Map.of("Environment", "production"))
+ *             .tags(Map.of("Environment", "production"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## FIFO queue * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,21 +89,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var queue = new Queue("queue", QueueArgs.builder()        
- *             .name("example-queue.fifo")
+ *         var queue = new Queue("queue", QueueArgs.builder()        
+ *             .name("example-queue.fifo")
  *             .fifoQueue(true)
  *             .contentBasedDeduplication(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## High-throughput FIFO queue * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -121,22 +126,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var queue = new Queue("queue", QueueArgs.builder()        
- *             .name("pulumi-example-queue.fifo")
+ *         var queue = new Queue("queue", QueueArgs.builder()        
+ *             .name("pulumi-example-queue.fifo")
  *             .fifoQueue(true)
- *             .deduplicationScope("messageGroup")
- *             .fifoThroughputLimit("perMessageGroupId")
+ *             .deduplicationScope("messageGroup")
+ *             .fifoThroughputLimit("perMessageGroupId")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Dead-letter queue * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -160,31 +167,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var queue = new Queue("queue", QueueArgs.builder()        
- *             .name("pulumi-example-queue")
+ *         var queue = new Queue("queue", QueueArgs.builder()        
+ *             .name("pulumi-example-queue")
  *             .redrivePolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("deadLetterTargetArn", queueDeadletter.arn()),
- *                     jsonProperty("maxReceiveCount", 4)
+ *                     jsonProperty("deadLetterTargetArn", queueDeadletter.arn()),
+ *                     jsonProperty("maxReceiveCount", 4)
  *                 )))
  *             .build());
  * 
- *         var exampleQueueDeadletter = new Queue("exampleQueueDeadletter", QueueArgs.builder()        
- *             .name("pulumi-example-deadletter-queue")
+ *         var exampleQueueDeadletter = new Queue("exampleQueueDeadletter", QueueArgs.builder()        
+ *             .name("pulumi-example-deadletter-queue")
  *             .build());
  * 
- *         var exampleQueueRedriveAllowPolicy = new RedriveAllowPolicy("exampleQueueRedriveAllowPolicy", RedriveAllowPolicyArgs.builder()        
+ *         var exampleQueueRedriveAllowPolicy = new RedriveAllowPolicy("exampleQueueRedriveAllowPolicy", RedriveAllowPolicyArgs.builder()        
  *             .queueUrl(exampleQueueDeadletter.id())
  *             .redriveAllowPolicy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("redrivePermission", "byQueue"),
- *                     jsonProperty("sourceQueueArns", jsonArray(exampleQueue.arn()))
+ *                     jsonProperty("redrivePermission", "byQueue"),
+ *                     jsonProperty("sourceQueueArns", jsonArray(exampleQueue.arn()))
  *                 )))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Server-side encryption (SSE) @@ -192,7 +200,8 @@ * Using [SSE-SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html): * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -213,20 +222,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var queue = new Queue("queue", QueueArgs.builder()        
- *             .name("pulumi-example-queue")
+ *         var queue = new Queue("queue", QueueArgs.builder()        
+ *             .name("pulumi-example-queue")
  *             .sqsManagedSseEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Using [SSE-KMS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html): * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -247,15 +258,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var queue = new Queue("queue", QueueArgs.builder()        
- *             .name("example-queue")
- *             .kmsMasterKeyId("alias/aws/sqs")
+ *         var queue = new Queue("queue", QueueArgs.builder()        
+ *             .name("example-queue")
+ *             .kmsMasterKeyId("alias/aws/sqs")
  *             .kmsDataKeyReusePeriodSeconds(300)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sqs/QueuePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/sqs/QueuePolicy.java index 9732bf107fe..590e28d29f3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sqs/QueuePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sqs/QueuePolicy.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,36 +46,37 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var q = new Queue("q", QueueArgs.builder()        
- *             .name("examplequeue")
+ *         var q = new Queue("q", QueueArgs.builder()        
+ *             .name("examplequeue")
  *             .build());
  * 
  *         final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("First")
- *                 .effect("Allow")
+ *                 .sid("First")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("*")
- *                     .identifiers("*")
+ *                     .type("*")
+ *                     .identifiers("*")
  *                     .build())
- *                 .actions("sqs:SendMessage")
+ *                 .actions("sqs:SendMessage")
  *                 .resources(q.arn())
  *                 .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                     .test("ArnEquals")
- *                     .variable("aws:SourceArn")
+ *                     .test("ArnEquals")
+ *                     .variable("aws:SourceArn")
  *                     .values(example.arn())
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var testQueuePolicy = new QueuePolicy("testQueuePolicy", QueuePolicyArgs.builder()        
+ *         var testQueuePolicy = new QueuePolicy("testQueuePolicy", QueuePolicyArgs.builder()        
  *             .queueUrl(q.id())
- *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
+ *             .policy(test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(test -> test.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sqs/RedriveAllowPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/sqs/RedriveAllowPolicy.java index 0d6a913eded..30ce472014f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sqs/RedriveAllowPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sqs/RedriveAllowPolicy.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,31 +44,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Queue("example", QueueArgs.builder()        
- *             .name("examplequeue")
+ *         var example = new Queue("example", QueueArgs.builder()        
+ *             .name("examplequeue")
  *             .build());
  * 
- *         var src = new Queue("src", QueueArgs.builder()        
- *             .name("srcqueue")
- *             .redrivePolicy(example.arn().applyValue(arn -> serializeJson(
+ *         var src = new Queue("src", QueueArgs.builder()        
+ *             .name("srcqueue")
+ *             .redrivePolicy(example.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("deadLetterTargetArn", arn),
- *                     jsonProperty("maxReceiveCount", 4)
+ *                     jsonProperty("deadLetterTargetArn", arn),
+ *                     jsonProperty("maxReceiveCount", 4)
  *                 ))))
  *             .build());
  * 
- *         var exampleRedriveAllowPolicy = new RedriveAllowPolicy("exampleRedriveAllowPolicy", RedriveAllowPolicyArgs.builder()        
+ *         var exampleRedriveAllowPolicy = new RedriveAllowPolicy("exampleRedriveAllowPolicy", RedriveAllowPolicyArgs.builder()        
  *             .queueUrl(example.id())
- *             .redriveAllowPolicy(src.arn().applyValue(arn -> serializeJson(
+ *             .redriveAllowPolicy(src.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("redrivePermission", "byQueue"),
- *                     jsonProperty("sourceQueueArns", jsonArray(arn))
+ *                     jsonProperty("redrivePermission", "byQueue"),
+ *                     jsonProperty("sourceQueueArns", jsonArray(arn))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sqs/RedrivePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/sqs/RedrivePolicy.java index 848407bdc5b..8779a211ae7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sqs/RedrivePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sqs/RedrivePolicy.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,31 +49,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var q = new Queue("q", QueueArgs.builder()        
- *             .name("examplequeue")
+ *         var q = new Queue("q", QueueArgs.builder()        
+ *             .name("examplequeue")
  *             .build());
  * 
- *         var ddl = new Queue("ddl", QueueArgs.builder()        
- *             .name("examplequeue-ddl")
- *             .redriveAllowPolicy(q.arn().applyValue(arn -> serializeJson(
+ *         var ddl = new Queue("ddl", QueueArgs.builder()        
+ *             .name("examplequeue-ddl")
+ *             .redriveAllowPolicy(q.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("redrivePermission", "byQueue"),
- *                     jsonProperty("sourceQueueArns", jsonArray(arn))
+ *                     jsonProperty("redrivePermission", "byQueue"),
+ *                     jsonProperty("sourceQueueArns", jsonArray(arn))
  *                 ))))
  *             .build());
  * 
- *         var qRedrivePolicy = new RedrivePolicy("qRedrivePolicy", RedrivePolicyArgs.builder()        
+ *         var qRedrivePolicy = new RedrivePolicy("qRedrivePolicy", RedrivePolicyArgs.builder()        
  *             .queueUrl(q.id())
- *             .redrivePolicy(ddl.arn().applyValue(arn -> serializeJson(
+ *             .redrivePolicy(ddl.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("deadLetterTargetArn", arn),
- *                     jsonProperty("maxReceiveCount", 4)
+ *                     jsonProperty("deadLetterTargetArn", arn),
+ *                     jsonProperty("maxReceiveCount", 4)
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/sqs/SqsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/sqs/SqsFunctions.java index 779a142889c..47d47e7ba17 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/sqs/SqsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/sqs/SqsFunctions.java @@ -25,7 +25,8 @@ public final class SqsFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -47,12 +48,13 @@ public final class SqsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueue(GetQueueArgs.builder()
-     *             .name("queue")
+     *             .name("queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -67,7 +69,8 @@ public static Output getQueue(GetQueueArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,12 +92,13 @@ public static Output getQueue(GetQueueArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueue(GetQueueArgs.builder()
-     *             .name("queue")
+     *             .name("queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -109,7 +113,8 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -131,12 +136,13 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueue(GetQueueArgs.builder()
-     *             .name("queue")
+     *             .name("queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -151,7 +157,8 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -173,12 +180,13 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueue(GetQueueArgs.builder()
-     *             .name("queue")
+     *             .name("queue")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -215,12 +224,13 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueues(GetQueuesArgs.builder()
-     *             .queueNamePrefix("example")
+     *             .queueNamePrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -235,7 +245,8 @@ public static Output getQueues() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -257,12 +268,13 @@ public static Output getQueues() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueues(GetQueuesArgs.builder()
-     *             .queueNamePrefix("example")
+     *             .queueNamePrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -277,7 +289,8 @@ public static CompletableFuture getQueuesPlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -299,12 +312,13 @@ public static CompletableFuture getQueuesPlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueues(GetQueuesArgs.builder()
-     *             .queueNamePrefix("example")
+     *             .queueNamePrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -319,7 +333,8 @@ public static Output getQueues(GetQueuesArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -341,12 +356,13 @@ public static Output getQueues(GetQueuesArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueues(GetQueuesArgs.builder()
-     *             .queueNamePrefix("example")
+     *             .queueNamePrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -361,7 +377,8 @@ public static CompletableFuture getQueuesPlain(GetQueuesPlainAr * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -383,12 +400,13 @@ public static CompletableFuture getQueuesPlain(GetQueuesPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueues(GetQueuesArgs.builder()
-     *             .queueNamePrefix("example")
+     *             .queueNamePrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -403,7 +421,8 @@ public static Output getQueues(GetQueuesArgs args, InvokeOption * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -425,12 +444,13 @@ public static Output getQueues(GetQueuesArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SqsFunctions.getQueues(GetQueuesArgs.builder()
-     *             .queueNamePrefix("example")
+     *             .queueNamePrefix("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/Activation.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/Activation.java index a54eae4fee3..6641d78e61e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/Activation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/Activation.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,37 +54,38 @@
  *     public static void stack(Context ctx) {
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("ssm.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("ssm.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var testRole = new Role("testRole", RoleArgs.builder()        
- *             .name("test_role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var testRole = new Role("testRole", RoleArgs.builder()        
+ *             .name("test_role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testAttach = new RolePolicyAttachment("testAttach", RolePolicyAttachmentArgs.builder()        
+ *         var testAttach = new RolePolicyAttachment("testAttach", RolePolicyAttachmentArgs.builder()        
  *             .role(testRole.name())
- *             .policyArn("arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore")
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore")
  *             .build());
  * 
- *         var foo = new Activation("foo", ActivationArgs.builder()        
- *             .name("test_ssm_activation")
- *             .description("Test")
+ *         var foo = new Activation("foo", ActivationArgs.builder()        
+ *             .name("test_ssm_activation")
+ *             .description("Test")
  *             .iamRole(testRole.id())
- *             .registrationLimit("5")
+ *             .registrationLimit("5")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(testAttach)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/Association.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/Association.java index fbbf2bf2c58..005ac2174f3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/Association.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/Association.java @@ -28,7 +28,8 @@ * ### Create an association for a specific instance * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,17 +51,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Association("example", AssociationArgs.builder()        
+ *         var example = new Association("example", AssociationArgs.builder()        
  *             .name(exampleAwsSsmDocument.name())
  *             .targets(AssociationTargetArgs.builder()
- *                 .key("InstanceIds")
+ *                 .key("InstanceIds")
  *                 .values(exampleAwsInstance.id())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create an association for all managed instances in an AWS account @@ -68,7 +70,8 @@ * To target all managed instances in an AWS account, set the `key` as `"InstanceIds"` with `values` set as `["*"]`. This example also illustrates how to use an Amazon owned SSM document named `AmazonCloudWatch-ManageAgent`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,17 +93,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Association("example", AssociationArgs.builder()        
- *             .name("AmazonCloudWatch-ManageAgent")
+ *         var example = new Association("example", AssociationArgs.builder()        
+ *             .name("AmazonCloudWatch-ManageAgent")
  *             .targets(AssociationTargetArgs.builder()
- *                 .key("InstanceIds")
- *                 .values("*")
+ *                 .key("InstanceIds")
+ *                 .values("*")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create an association for a specific tag @@ -108,7 +112,8 @@ * This example shows how to target all managed instances that are assigned a tag key of `Environment` and value of `Development`. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -130,17 +135,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Association("example", AssociationArgs.builder()        
- *             .name("AmazonCloudWatch-ManageAgent")
+ *         var example = new Association("example", AssociationArgs.builder()        
+ *             .name("AmazonCloudWatch-ManageAgent")
  *             .targets(AssociationTargetArgs.builder()
- *                 .key("tag:Environment")
- *                 .values("Development")
+ *                 .key("tag:Environment")
+ *                 .values("Development")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create an association with a specific schedule @@ -148,7 +154,8 @@ * This example shows how to schedule an association in various ways. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -170,18 +177,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Association("example", AssociationArgs.builder()        
+ *         var example = new Association("example", AssociationArgs.builder()        
  *             .name(exampleAwsSsmDocument.name())
- *             .scheduleExpression("cron(0 2 ? * SUN *)")
+ *             .scheduleExpression("cron(0 2 ? * SUN *)")
  *             .targets(AssociationTargetArgs.builder()
- *                 .key("InstanceIds")
+ *                 .key("InstanceIds")
  *                 .values(exampleAwsInstance.id())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/ContactsRotation.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/ContactsRotation.java index 32791a67262..ba9554c3fb1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/ContactsRotation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/ContactsRotation.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,9 +47,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactsRotation("example", ContactsRotationArgs.builder()        
+ *         var example = new ContactsRotation("example", ContactsRotationArgs.builder()        
  *             .contactIds(exampleAwsSsmcontactsContact.arn())
- *             .name("rotation")
+ *             .name("rotation")
  *             .recurrence(ContactsRotationRecurrenceArgs.builder()
  *                 .numberOfOnCalls(1)
  *                 .recurrenceMultiplier(1)
@@ -57,20 +58,22 @@
  *                     .minuteOfHour(0)
  *                     .build())
  *                 .build())
- *             .timeZoneId("Australia/Sydney")
+ *             .timeZoneId("Australia/Sydney")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with Weekly Settings and Shift Coverages Fields * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -93,29 +96,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactsRotation("example", ContactsRotationArgs.builder()        
+ *         var example = new ContactsRotation("example", ContactsRotationArgs.builder()        
  *             .contactIds(exampleAwsSsmcontactsContact.arn())
- *             .name("rotation")
+ *             .name("rotation")
  *             .recurrence(ContactsRotationRecurrenceArgs.builder()
  *                 .numberOfOnCalls(1)
  *                 .recurrenceMultiplier(1)
  *                 .weeklySettings(                
  *                     ContactsRotationRecurrenceWeeklySettingArgs.builder()
- *                         .dayOfWeek("WED")
+ *                         .dayOfWeek("WED")
  *                         .handOffTime(ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.builder()
  *                             .hourOfDay(4)
  *                             .minuteOfHour(25)
  *                             .build())
  *                         .build(),
  *                     ContactsRotationRecurrenceWeeklySettingArgs.builder()
- *                         .dayOfWeek("FRI")
+ *                         .dayOfWeek("FRI")
  *                         .handOffTime(ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.builder()
  *                             .hourOfDay(15)
  *                             .minuteOfHour(57)
  *                             .build())
  *                         .build())
  *                 .shiftCoverages(ContactsRotationRecurrenceShiftCoverageArgs.builder()
- *                     .mapBlockKey("MON")
+ *                     .mapBlockKey("MON")
  *                     .coverageTimes(ContactsRotationRecurrenceShiftCoverageCoverageTimeArgs.builder()
  *                         .start(ContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs.builder()
  *                             .hourOfDay(1)
@@ -128,11 +131,11 @@
  *                         .build())
  *                     .build())
  *                 .build())
- *             .startTime("2023-07-20T02:21:49+00:00")
- *             .timeZoneId("Australia/Sydney")
+ *             .startTime("2023-07-20T02:21:49+00:00")
+ *             .timeZoneId("Australia/Sydney")
  *             .tags(Map.ofEntries(
- *                 Map.entry("key1", "tag1"),
- *                 Map.entry("key2", "tag2")
+ *                 Map.entry("key1", "tag1"),
+ *                 Map.entry("key2", "tag2")
  *             ))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
@@ -140,13 +143,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with Monthly Settings Fields * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -169,9 +174,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactsRotation("example", ContactsRotationArgs.builder()        
+ *         var example = new ContactsRotation("example", ContactsRotationArgs.builder()        
  *             .contactIds(exampleAwsSsmcontactsContact.arn())
- *             .name("rotation")
+ *             .name("rotation")
  *             .recurrence(ContactsRotationRecurrenceArgs.builder()
  *                 .numberOfOnCalls(1)
  *                 .recurrenceMultiplier(1)
@@ -191,14 +196,15 @@
  *                             .build())
  *                         .build())
  *                 .build())
- *             .timeZoneId("Australia/Sydney")
+ *             .timeZoneId("Australia/Sydney")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/DefaultPatchBaseline.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/DefaultPatchBaseline.java index fb09187dd7d..2953713083e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/DefaultPatchBaseline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/DefaultPatchBaseline.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplePatchBaseline = new PatchBaseline("examplePatchBaseline", PatchBaselineArgs.builder()        
- *             .name("example")
- *             .approvedPatches("KB123456")
+ *         var examplePatchBaseline = new PatchBaseline("examplePatchBaseline", PatchBaselineArgs.builder()        
+ *             .name("example")
+ *             .approvedPatches("KB123456")
  *             .build());
  * 
- *         var example = new DefaultPatchBaseline("example", DefaultPatchBaselineArgs.builder()        
+ *         var example = new DefaultPatchBaseline("example", DefaultPatchBaselineArgs.builder()        
  *             .baselineId(examplePatchBaseline.id())
  *             .operatingSystem(examplePatchBaseline.operatingSystem())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/Document.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/Document.java index 381517a0a04..cc86d7edeb5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/Document.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/Document.java @@ -29,7 +29,8 @@ * ### Create an ssm document in JSON format * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,39 +51,41 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Document("foo", DocumentArgs.builder()        
- *             .name("test_document")
- *             .documentType("Command")
- *             .content("""
+ *         var foo = new Document("foo", DocumentArgs.builder()        
+ *             .name("test_document")
+ *             .documentType("Command")
+ *             .content("""
  *   {
- *     "schemaVersion": "1.2",
- *     "description": "Check ip configuration of a Linux instance.",
- *     "parameters": {
+ *     "schemaVersion": "1.2",
+ *     "description": "Check ip configuration of a Linux instance.",
+ *     "parameters": {
  * 
  *     },
- *     "runtimeConfig": {
- *       "aws:runShellScript": {
- *         "properties": [
+ *     "runtimeConfig": {
+ *       "aws:runShellScript": {
+ *         "properties": [
  *           {
- *             "id": "0.aws:runShellScript",
- *             "runCommand": ["ifconfig"]
+ *             "id": "0.aws:runShellScript",
+ *             "runCommand": ["ifconfig"]
  *           }
  *         ]
  *       }
  *     }
  *   }
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create an ssm document in YAML format * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -103,26 +106,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Document("foo", DocumentArgs.builder()        
- *             .name("test_document")
- *             .documentFormat("YAML")
- *             .documentType("Command")
- *             .content("""
- * schemaVersion: '1.2'
+ *         var foo = new Document("foo", DocumentArgs.builder()        
+ *             .name("test_document")
+ *             .documentFormat("YAML")
+ *             .documentType("Command")
+ *             .content("""
+ * schemaVersion: '1.2'
  * description: Check ip configuration of a Linux instance.
  * parameters: {}
  * runtimeConfig:
- *   'aws:runShellScript':
+ *   'aws:runShellScript':
  *     properties:
- *       - id: '0.aws:runShellScript'
+ *       - id: '0.aws:runShellScript'
  *         runCommand:
  *           - ifconfig
- *             """)
+ *             """)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindow.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindow.java index 592f2db1f53..705c4cbcee4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindow.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindow.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var production = new MaintenanceWindow("production", MaintenanceWindowArgs.builder()        
- *             .name("maintenance-window-application")
- *             .schedule("cron(0 16 ? * TUE *)")
+ *         var production = new MaintenanceWindow("production", MaintenanceWindowArgs.builder()        
+ *             .name("maintenance-window-application")
+ *             .schedule("cron(0 16 ? * TUE *)")
  *             .duration(3)
  *             .cutoff(1)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTarget.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTarget.java index 7a2c19b24d3..8a82366e32b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTarget.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTarget.java @@ -24,7 +24,8 @@ * ### Instance Target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,33 +49,35 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var window = new MaintenanceWindow("window", MaintenanceWindowArgs.builder()        
- *             .name("maintenance-window-webapp")
- *             .schedule("cron(0 16 ? * TUE *)")
+ *         var window = new MaintenanceWindow("window", MaintenanceWindowArgs.builder()        
+ *             .name("maintenance-window-webapp")
+ *             .schedule("cron(0 16 ? * TUE *)")
  *             .duration(3)
  *             .cutoff(1)
  *             .build());
  * 
- *         var target1 = new MaintenanceWindowTarget("target1", MaintenanceWindowTargetArgs.builder()        
+ *         var target1 = new MaintenanceWindowTarget("target1", MaintenanceWindowTargetArgs.builder()        
  *             .windowId(window.id())
- *             .name("maintenance-window-target")
- *             .description("This is a maintenance window target")
- *             .resourceType("INSTANCE")
+ *             .name("maintenance-window-target")
+ *             .description("This is a maintenance window target")
+ *             .resourceType("INSTANCE")
  *             .targets(MaintenanceWindowTargetTargetArgs.builder()
- *                 .key("tag:Name")
- *                 .values("acceptance_test")
+ *                 .key("tag:Name")
+ *                 .values("acceptance_test")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Resource Group Target * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -98,27 +101,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var window = new MaintenanceWindow("window", MaintenanceWindowArgs.builder()        
- *             .name("maintenance-window-webapp")
- *             .schedule("cron(0 16 ? * TUE *)")
+ *         var window = new MaintenanceWindow("window", MaintenanceWindowArgs.builder()        
+ *             .name("maintenance-window-webapp")
+ *             .schedule("cron(0 16 ? * TUE *)")
  *             .duration(3)
  *             .cutoff(1)
  *             .build());
  * 
- *         var target1 = new MaintenanceWindowTarget("target1", MaintenanceWindowTargetArgs.builder()        
+ *         var target1 = new MaintenanceWindowTarget("target1", MaintenanceWindowTargetArgs.builder()        
  *             .windowId(window.id())
- *             .name("maintenance-window-target")
- *             .description("This is a maintenance window target")
- *             .resourceType("RESOURCE_GROUP")
+ *             .name("maintenance-window-target")
+ *             .description("This is a maintenance window target")
+ *             .resourceType("RESOURCE_GROUP")
  *             .targets(MaintenanceWindowTargetTargetArgs.builder()
- *                 .key("resource-groups:ResourceTypeFilters")
- *                 .values("AWS::EC2::Instance")
+ *                 .key("resource-groups:ResourceTypeFilters")
+ *                 .values("AWS::EC2::Instance")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTask.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTask.java index 82f41057b60..f4340aec088 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTask.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/MaintenanceWindowTask.java @@ -26,7 +26,8 @@ * ### Automation Tasks * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,22 +51,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
+ *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
  *             .maxConcurrency(2)
  *             .maxErrors(1)
  *             .priority(1)
- *             .taskArn("AWS-RestartEC2Instance")
- *             .taskType("AUTOMATION")
+ *             .taskArn("AWS-RestartEC2Instance")
+ *             .taskType("AUTOMATION")
  *             .windowId(exampleAwsSsmMaintenanceWindow.id())
  *             .targets(MaintenanceWindowTaskTargetArgs.builder()
- *                 .key("InstanceIds")
+ *                 .key("InstanceIds")
  *                 .values(exampleAwsInstance.id())
  *                 .build())
  *             .taskInvocationParameters(MaintenanceWindowTaskTaskInvocationParametersArgs.builder()
  *                 .automationParameters(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs.builder()
- *                     .documentVersion("$LATEST")
+ *                     .documentVersion("$LATEST")
  *                     .parameters(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs.builder()
- *                         .name("InstanceId")
+ *                         .name("InstanceId")
  *                         .values(exampleAwsInstance.id())
  *                         .build())
  *                     .build())
@@ -74,13 +75,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda Tasks * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -104,36 +107,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
+ *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
  *             .maxConcurrency(2)
  *             .maxErrors(1)
  *             .priority(1)
  *             .taskArn(exampleAwsLambdaFunction.arn())
- *             .taskType("LAMBDA")
+ *             .taskType("LAMBDA")
  *             .windowId(exampleAwsSsmMaintenanceWindow.id())
  *             .targets(MaintenanceWindowTaskTargetArgs.builder()
- *                 .key("InstanceIds")
+ *                 .key("InstanceIds")
  *                 .values(exampleAwsInstance.id())
  *                 .build())
  *             .taskInvocationParameters(MaintenanceWindowTaskTaskInvocationParametersArgs.builder()
  *                 .lambdaParameters(MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs.builder()
  *                     .clientContext(StdFunctions.base64encode(Base64encodeArgs.builder()
- *                         .input("{\"key1\":\"value1\"}")
+ *                         .input("{\"key1\":\"value1\"}")
  *                         .build()).result())
- *                     .payload("{\"key1\":\"value1\"}")
+ *                     .payload("{\"key1\":\"value1\"}")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Run Command Tasks * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -158,31 +163,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
+ *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
  *             .maxConcurrency(2)
  *             .maxErrors(1)
  *             .priority(1)
- *             .taskArn("AWS-RunShellScript")
- *             .taskType("RUN_COMMAND")
+ *             .taskArn("AWS-RunShellScript")
+ *             .taskType("RUN_COMMAND")
  *             .windowId(exampleAwsSsmMaintenanceWindow.id())
  *             .targets(MaintenanceWindowTaskTargetArgs.builder()
- *                 .key("InstanceIds")
+ *                 .key("InstanceIds")
  *                 .values(exampleAwsInstance.id())
  *                 .build())
  *             .taskInvocationParameters(MaintenanceWindowTaskTaskInvocationParametersArgs.builder()
  *                 .runCommandParameters(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs.builder()
  *                     .outputS3Bucket(exampleAwsS3Bucket.id())
- *                     .outputS3KeyPrefix("output")
+ *                     .outputS3KeyPrefix("output")
  *                     .serviceRoleArn(exampleAwsIamRole.arn())
  *                     .timeoutSeconds(600)
  *                     .notificationConfig(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs.builder()
  *                         .notificationArn(exampleAwsSnsTopic.arn())
- *                         .notificationEvents("All")
- *                         .notificationType("Command")
+ *                         .notificationEvents("All")
+ *                         .notificationType("Command")
  *                         .build())
  *                     .parameters(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs.builder()
- *                         .name("commands")
- *                         .values("date")
+ *                         .name("commands")
+ *                         .values("date")
  *                         .build())
  *                     .build())
  *                 .build())
@@ -190,13 +195,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Step Function Tasks * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -220,28 +227,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
+ *         var example = new MaintenanceWindowTask("example", MaintenanceWindowTaskArgs.builder()        
  *             .maxConcurrency(2)
  *             .maxErrors(1)
  *             .priority(1)
  *             .taskArn(exampleAwsSfnActivity.id())
- *             .taskType("STEP_FUNCTIONS")
+ *             .taskType("STEP_FUNCTIONS")
  *             .windowId(exampleAwsSsmMaintenanceWindow.id())
  *             .targets(MaintenanceWindowTaskTargetArgs.builder()
- *                 .key("InstanceIds")
+ *                 .key("InstanceIds")
  *                 .values(exampleAwsInstance.id())
  *                 .build())
  *             .taskInvocationParameters(MaintenanceWindowTaskTaskInvocationParametersArgs.builder()
  *                 .stepFunctionsParameters(MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs.builder()
- *                     .input("{\"key1\":\"value1\"}")
- *                     .name("example")
+ *                     .input("{\"key1\":\"value1\"}")
+ *                     .name("example")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/Parameter.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/Parameter.java index 6ef37249e06..f603286d226 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/Parameter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/Parameter.java @@ -28,7 +28,8 @@ * ### Basic example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,21 +50,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Parameter("foo", ParameterArgs.builder()        
- *             .name("foo")
- *             .type("String")
- *             .value("bar")
+ *         var foo = new Parameter("foo", ParameterArgs.builder()        
+ *             .name("foo")
+ *             .type("String")
+ *             .value("bar")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Encrypted string using default SSM KMS key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,30 +89,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var default_ = new Instance("default", InstanceArgs.builder()        
+ *         var default_ = new Instance("default", InstanceArgs.builder()        
  *             .allocatedStorage(10)
- *             .storageType("gp2")
- *             .engine("mysql")
- *             .engineVersion("5.7.16")
- *             .instanceClass("db.t2.micro")
- *             .dbName("mydb")
- *             .username("foo")
+ *             .storageType("gp2")
+ *             .engine("mysql")
+ *             .engineVersion("5.7.16")
+ *             .instanceClass("db.t2.micro")
+ *             .dbName("mydb")
+ *             .username("foo")
  *             .password(databaseMasterPassword)
- *             .dbSubnetGroupName("my_database_subnet_group")
- *             .parameterGroupName("default.mysql5.7")
+ *             .dbSubnetGroupName("my_database_subnet_group")
+ *             .parameterGroupName("default.mysql5.7")
  *             .build());
  * 
- *         var secret = new Parameter("secret", ParameterArgs.builder()        
- *             .name("/production/database/password/master")
- *             .description("The parameter description")
- *             .type("SecureString")
+ *         var secret = new Parameter("secret", ParameterArgs.builder()        
+ *             .name("/production/database/password/master")
+ *             .description("The parameter description")
+ *             .type("SecureString")
  *             .value(databaseMasterPassword)
- *             .tags(Map.of("environment", "production"))
+ *             .tags(Map.of("environment", "production"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchBaseline.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchBaseline.java index 9cb99449a7f..ff037fe637c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchBaseline.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchBaseline.java @@ -34,7 +34,8 @@ * Using `approved_patches` only. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -55,20 +56,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var production = new PatchBaseline("production", PatchBaselineArgs.builder()        
- *             .name("patch-baseline")
- *             .approvedPatches("KB123456")
+ *         var production = new PatchBaseline("production", PatchBaselineArgs.builder()        
+ *             .name("patch-baseline")
+ *             .approvedPatches("KB123456")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Advanced Usage, specifying patch filters * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,68 +94,70 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var production = new PatchBaseline("production", PatchBaselineArgs.builder()        
- *             .name("patch-baseline")
- *             .description("Patch Baseline Description")
+ *         var production = new PatchBaseline("production", PatchBaselineArgs.builder()        
+ *             .name("patch-baseline")
+ *             .description("Patch Baseline Description")
  *             .approvedPatches(            
- *                 "KB123456",
- *                 "KB456789")
- *             .rejectedPatches("KB987654")
+ *                 "KB123456",
+ *                 "KB456789")
+ *             .rejectedPatches("KB987654")
  *             .globalFilters(            
  *                 PatchBaselineGlobalFilterArgs.builder()
- *                     .key("PRODUCT")
- *                     .values("WindowsServer2008")
+ *                     .key("PRODUCT")
+ *                     .values("WindowsServer2008")
  *                     .build(),
  *                 PatchBaselineGlobalFilterArgs.builder()
- *                     .key("CLASSIFICATION")
- *                     .values("ServicePacks")
+ *                     .key("CLASSIFICATION")
+ *                     .values("ServicePacks")
  *                     .build(),
  *                 PatchBaselineGlobalFilterArgs.builder()
- *                     .key("MSRC_SEVERITY")
- *                     .values("Low")
+ *                     .key("MSRC_SEVERITY")
+ *                     .values("Low")
  *                     .build())
  *             .approvalRules(            
  *                 PatchBaselineApprovalRuleArgs.builder()
  *                     .approveAfterDays(7)
- *                     .complianceLevel("HIGH")
+ *                     .complianceLevel("HIGH")
  *                     .patchFilters(                    
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("PRODUCT")
- *                             .values("WindowsServer2016")
+ *                             .key("PRODUCT")
+ *                             .values("WindowsServer2016")
  *                             .build(),
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("CLASSIFICATION")
+ *                             .key("CLASSIFICATION")
  *                             .values(                            
- *                                 "CriticalUpdates",
- *                                 "SecurityUpdates",
- *                                 "Updates")
+ *                                 "CriticalUpdates",
+ *                                 "SecurityUpdates",
+ *                                 "Updates")
  *                             .build(),
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("MSRC_SEVERITY")
+ *                             .key("MSRC_SEVERITY")
  *                             .values(                            
- *                                 "Critical",
- *                                 "Important",
- *                                 "Moderate")
+ *                                 "Critical",
+ *                                 "Important",
+ *                                 "Moderate")
  *                             .build())
  *                     .build(),
  *                 PatchBaselineApprovalRuleArgs.builder()
  *                     .approveAfterDays(7)
  *                     .patchFilters(PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                         .key("PRODUCT")
- *                         .values("WindowsServer2012")
+ *                         .key("PRODUCT")
+ *                         .values("WindowsServer2012")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Advanced usage, specifying Microsoft application and Windows patch rules * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -174,52 +179,54 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var windowsOsApps = new PatchBaseline("windowsOsApps", PatchBaselineArgs.builder()        
- *             .name("WindowsOSAndMicrosoftApps")
- *             .description("Patch both Windows and Microsoft apps")
- *             .operatingSystem("WINDOWS")
+ *         var windowsOsApps = new PatchBaseline("windowsOsApps", PatchBaselineArgs.builder()        
+ *             .name("WindowsOSAndMicrosoftApps")
+ *             .description("Patch both Windows and Microsoft apps")
+ *             .operatingSystem("WINDOWS")
  *             .approvalRules(            
  *                 PatchBaselineApprovalRuleArgs.builder()
  *                     .approveAfterDays(7)
  *                     .patchFilters(                    
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("CLASSIFICATION")
+ *                             .key("CLASSIFICATION")
  *                             .values(                            
- *                                 "CriticalUpdates",
- *                                 "SecurityUpdates")
+ *                                 "CriticalUpdates",
+ *                                 "SecurityUpdates")
  *                             .build(),
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("MSRC_SEVERITY")
+ *                             .key("MSRC_SEVERITY")
  *                             .values(                            
- *                                 "Critical",
- *                                 "Important")
+ *                                 "Critical",
+ *                                 "Important")
  *                             .build())
  *                     .build(),
  *                 PatchBaselineApprovalRuleArgs.builder()
  *                     .approveAfterDays(7)
  *                     .patchFilters(                    
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("PATCH_SET")
- *                             .values("APPLICATION")
+ *                             .key("PATCH_SET")
+ *                             .values("APPLICATION")
  *                             .build(),
  *                         PatchBaselineApprovalRulePatchFilterArgs.builder()
- *                             .key("PRODUCT")
+ *                             .key("PRODUCT")
  *                             .values(                            
- *                                 "Office 2013",
- *                                 "Office 2016")
+ *                                 "Office 2013",
+ *                                 "Office 2016")
  *                             .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Advanced usage, specifying alternate patch source repository * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -242,15 +249,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var al201709 = new PatchBaseline("al201709", PatchBaselineArgs.builder()        
+ *         var al201709 = new PatchBaseline("al201709", PatchBaselineArgs.builder()        
  *             .approvalRules()
- *             .name("Amazon-Linux-2017.09")
- *             .description("My patch repository for Amazon Linux 2017.09")
- *             .operatingSystem("AMAZON_LINUX")
+ *             .name("Amazon-Linux-2017.09")
+ *             .description("My patch repository for Amazon Linux 2017.09")
+ *             .operatingSystem("AMAZON_LINUX")
  *             .sources(PatchBaselineSourceArgs.builder()
- *                 .name("My-AL2017.09")
- *                 .products("AmazonLinux2017.09")
- *                 .configuration("""
+ *                 .name("My-AL2017.09")
+ *                 .products("AmazonLinux2017.09")
+ *                 .configuration("""
  * [amzn-main]
  * name=amzn-main-Base
  * mirrorlist=http://repo./$awsregion./$awsdomain//$releasever/main/mirror.list
@@ -265,13 +272,14 @@
  * retries=3
  * timeout=5
  * report_instanceid=yes
- *                 """)
+ *                 """)
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchGroup.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchGroup.java index 400ffdf9559..42c6757b3b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/PatchGroup.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,19 +43,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var production = new PatchBaseline("production", PatchBaselineArgs.builder()        
- *             .name("patch-baseline")
- *             .approvedPatches("KB123456")
+ *         var production = new PatchBaseline("production", PatchBaselineArgs.builder()        
+ *             .name("patch-baseline")
+ *             .approvedPatches("KB123456")
  *             .build());
  * 
- *         var patchgroup = new PatchGroup("patchgroup", PatchGroupArgs.builder()        
+ *         var patchgroup = new PatchGroup("patchgroup", PatchGroupArgs.builder()        
  *             .baselineId(production.id())
- *             .patchGroup("patch-group-name")
+ *             .patchGroup("patch-group-name")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/ResourceDataSync.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/ResourceDataSync.java index fa98fb5c7a0..c7f7c931c94 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/ResourceDataSync.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/ResourceDataSync.java @@ -20,7 +20,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,46 +49,46 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var hogeBucketV2 = new BucketV2("hogeBucketV2", BucketV2Args.builder()        
- *             .bucket("tf-test-bucket-1234")
+ *         var hogeBucketV2 = new BucketV2("hogeBucketV2", BucketV2Args.builder()        
+ *             .bucket("tf-test-bucket-1234")
  *             .build());
  * 
  *         final var hoge = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(            
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("SSMBucketPermissionsCheck")
- *                     .effect("Allow")
+ *                     .sid("SSMBucketPermissionsCheck")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("ssm.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("ssm.amazonaws.com")
  *                         .build())
- *                     .actions("s3:GetBucketAcl")
- *                     .resources("arn:aws:s3:::tf-test-bucket-1234")
+ *                     .actions("s3:GetBucketAcl")
+ *                     .resources("arn:aws:s3:::tf-test-bucket-1234")
  *                     .build(),
  *                 GetPolicyDocumentStatementArgs.builder()
- *                     .sid("SSMBucketDelivery")
- *                     .effect("Allow")
+ *                     .sid("SSMBucketDelivery")
+ *                     .effect("Allow")
  *                     .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                         .type("Service")
- *                         .identifiers("ssm.amazonaws.com")
+ *                         .type("Service")
+ *                         .identifiers("ssm.amazonaws.com")
  *                         .build())
- *                     .actions("s3:PutObject")
- *                     .resources("arn:aws:s3:::tf-test-bucket-1234/*")
+ *                     .actions("s3:PutObject")
+ *                     .resources("arn:aws:s3:::tf-test-bucket-1234/*")
  *                     .conditions(GetPolicyDocumentStatementConditionArgs.builder()
- *                         .test("StringEquals")
- *                         .variable("s3:x-amz-acl")
- *                         .values("bucket-owner-full-control")
+ *                         .test("StringEquals")
+ *                         .variable("s3:x-amz-acl")
+ *                         .values("bucket-owner-full-control")
  *                         .build())
  *                     .build())
  *             .build());
  * 
- *         var hogeBucketPolicy = new BucketPolicy("hogeBucketPolicy", BucketPolicyArgs.builder()        
+ *         var hogeBucketPolicy = new BucketPolicy("hogeBucketPolicy", BucketPolicyArgs.builder()        
  *             .bucket(hogeBucketV2.id())
- *             .policy(hoge.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(hoge.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var foo = new ResourceDataSync("foo", ResourceDataSyncArgs.builder()        
- *             .name("foo")
+ *         var foo = new ResourceDataSync("foo", ResourceDataSyncArgs.builder()        
+ *             .name("foo")
  *             .s3Destination(ResourceDataSyncS3DestinationArgs.builder()
  *                 .bucketName(hogeBucketV2.bucket())
  *                 .region(hogeBucketV2.region())
@@ -96,7 +97,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/ServiceSetting.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/ServiceSetting.java index 8629867bbb3..d4c25e0e540 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/ServiceSetting.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/ServiceSetting.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -40,14 +41,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testSetting = new ServiceSetting("testSetting", ServiceSettingArgs.builder()        
- *             .settingId("arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled")
- *             .settingValue("true")
+ *         var testSetting = new ServiceSetting("testSetting", ServiceSettingArgs.builder()        
+ *             .settingId("arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled")
+ *             .settingValue("true")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/SsmFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/SsmFunctions.java index 1c50ddb6fe8..aa56a5b76f1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/SsmFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/SsmFunctions.java @@ -38,7 +38,8 @@ public final class SsmFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -60,12 +61,13 @@ public final class SsmFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
+     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -78,7 +80,8 @@ public static Output getContactsRotation(GetContactsR * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,12 +103,13 @@ public static Output getContactsRotation(GetContactsR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
+     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -118,7 +122,8 @@ public static CompletableFuture getContactsRotationPl * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -140,12 +145,13 @@ public static CompletableFuture getContactsRotationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
+     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -158,7 +164,8 @@ public static Output getContactsRotation(GetContactsR * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -180,12 +187,13 @@ public static Output getContactsRotation(GetContactsR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getContactsRotation(GetContactsRotationArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
+     *             .arn("arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -200,7 +208,8 @@ public static CompletableFuture getContactsRotationPl * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -222,20 +231,22 @@ public static CompletableFuture getContactsRotationPl
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getDocument(GetDocumentArgs.builder()
-     *             .name("AWS-GatherSoftwareInventory")
-     *             .documentFormat("YAML")
+     *             .name("AWS-GatherSoftwareInventory")
+     *             .documentFormat("YAML")
      *             .build());
      * 
-     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
+     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -258,12 +269,13 @@ public static CompletableFuture getContactsRotationPl
      *     public static void stack(Context ctx) {
      *         final var test = SsmFunctions.getDocument(GetDocumentArgs.builder()
      *             .name(testAwsSsmDocument.name())
-     *             .documentFormat("JSON")
+     *             .documentFormat("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -278,7 +290,8 @@ public static Output getDocument(GetDocumentArgs args) { * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -300,20 +313,22 @@ public static Output getDocument(GetDocumentArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getDocument(GetDocumentArgs.builder()
-     *             .name("AWS-GatherSoftwareInventory")
-     *             .documentFormat("YAML")
+     *             .name("AWS-GatherSoftwareInventory")
+     *             .documentFormat("YAML")
      *             .build());
      * 
-     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
+     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -336,12 +351,13 @@ public static Output getDocument(GetDocumentArgs args) {
      *     public static void stack(Context ctx) {
      *         final var test = SsmFunctions.getDocument(GetDocumentArgs.builder()
      *             .name(testAwsSsmDocument.name())
-     *             .documentFormat("JSON")
+     *             .documentFormat("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -356,7 +372,8 @@ public static CompletableFuture getDocumentPlain(GetDocumentP * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -378,20 +395,22 @@ public static CompletableFuture getDocumentPlain(GetDocumentP
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getDocument(GetDocumentArgs.builder()
-     *             .name("AWS-GatherSoftwareInventory")
-     *             .documentFormat("YAML")
+     *             .name("AWS-GatherSoftwareInventory")
+     *             .documentFormat("YAML")
      *             .build());
      * 
-     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
+     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,12 +433,13 @@ public static CompletableFuture getDocumentPlain(GetDocumentP
      *     public static void stack(Context ctx) {
      *         final var test = SsmFunctions.getDocument(GetDocumentArgs.builder()
      *             .name(testAwsSsmDocument.name())
-     *             .documentFormat("JSON")
+     *             .documentFormat("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -434,7 +454,8 @@ public static Output getDocument(GetDocumentArgs args, Invoke * To get the contents of the document owned by AWS. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -456,20 +477,22 @@ public static Output getDocument(GetDocumentArgs args, Invoke
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getDocument(GetDocumentArgs.builder()
-     *             .name("AWS-GatherSoftwareInventory")
-     *             .documentFormat("YAML")
+     *             .name("AWS-GatherSoftwareInventory")
+     *             .documentFormat("YAML")
      *             .build());
      * 
-     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
+     *         ctx.export("content", foo.applyValue(getDocumentResult -> getDocumentResult.content()));
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To get the contents of the custom document. * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -492,12 +515,13 @@ public static Output getDocument(GetDocumentArgs args, Invoke
      *     public static void stack(Context ctx) {
      *         final var test = SsmFunctions.getDocument(GetDocumentArgs.builder()
      *             .name(testAwsSsmDocument.name())
-     *             .documentFormat("JSON")
+     *             .documentFormat("JSON")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -510,7 +534,8 @@ public static CompletableFuture getDocumentPlain(GetDocumentP * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -533,14 +558,15 @@ public static CompletableFuture getDocumentPlain(GetDocumentP
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("PlatformTypes")
-     *                 .values("Linux")
+     *                 .name("PlatformTypes")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -553,7 +579,8 @@ public static Output getInstances() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -576,14 +603,15 @@ public static Output getInstances() {
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("PlatformTypes")
-     *                 .values("Linux")
+     *                 .name("PlatformTypes")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -596,7 +624,8 @@ public static CompletableFuture getInstancesPlain() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -619,14 +648,15 @@ public static CompletableFuture getInstancesPlain() {
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("PlatformTypes")
-     *                 .values("Linux")
+     *                 .name("PlatformTypes")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -639,7 +669,8 @@ public static Output getInstances(GetInstancesArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -662,14 +693,15 @@ public static Output getInstances(GetInstancesArgs args) {
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("PlatformTypes")
-     *                 .values("Linux")
+     *                 .name("PlatformTypes")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -682,7 +714,8 @@ public static CompletableFuture getInstancesPlain(GetInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -705,14 +738,15 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("PlatformTypes")
-     *                 .values("Linux")
+     *                 .name("PlatformTypes")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -725,7 +759,8 @@ public static Output getInstances(GetInstancesArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -748,14 +783,15 @@ public static Output getInstances(GetInstancesArgs args, Inv
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getInstances(GetInstancesArgs.builder()
      *             .filters(GetInstancesFilterArgs.builder()
-     *                 .name("PlatformTypes")
-     *                 .values("Linux")
+     *                 .name("PlatformTypes")
+     *                 .values("Linux")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -768,7 +804,8 @@ public static CompletableFuture getInstancesPlain(GetInstanc * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -791,14 +828,15 @@ public static CompletableFuture getInstancesPlain(GetInstanc
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
      *             .filters(GetMaintenanceWindowsFilterArgs.builder()
-     *                 .name("Enabled")
-     *                 .values("true")
+     *                 .name("Enabled")
+     *                 .values("true")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -811,7 +849,8 @@ public static Output getMaintenanceWindows() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -834,14 +873,15 @@ public static Output getMaintenanceWindows() {
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
      *             .filters(GetMaintenanceWindowsFilterArgs.builder()
-     *                 .name("Enabled")
-     *                 .values("true")
+     *                 .name("Enabled")
+     *                 .values("true")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -854,7 +894,8 @@ public static CompletableFuture getMaintenanceWindo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -877,14 +918,15 @@ public static CompletableFuture getMaintenanceWindo
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
      *             .filters(GetMaintenanceWindowsFilterArgs.builder()
-     *                 .name("Enabled")
-     *                 .values("true")
+     *                 .name("Enabled")
+     *                 .values("true")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -897,7 +939,8 @@ public static Output getMaintenanceWindows(GetMaint * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -920,14 +963,15 @@ public static Output getMaintenanceWindows(GetMaint
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
      *             .filters(GetMaintenanceWindowsFilterArgs.builder()
-     *                 .name("Enabled")
-     *                 .values("true")
+     *                 .name("Enabled")
+     *                 .values("true")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -940,7 +984,8 @@ public static CompletableFuture getMaintenanceWindo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -963,14 +1008,15 @@ public static CompletableFuture getMaintenanceWindo
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
      *             .filters(GetMaintenanceWindowsFilterArgs.builder()
-     *                 .name("Enabled")
-     *                 .values("true")
+     *                 .name("Enabled")
+     *                 .values("true")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -983,7 +1029,8 @@ public static Output getMaintenanceWindows(GetMaint * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1006,14 +1053,15 @@ public static Output getMaintenanceWindows(GetMaint
      *     public static void stack(Context ctx) {
      *         final var example = SsmFunctions.getMaintenanceWindows(GetMaintenanceWindowsArgs.builder()
      *             .filters(GetMaintenanceWindowsFilterArgs.builder()
-     *                 .name("Enabled")
-     *                 .values("true")
+     *                 .name("Enabled")
+     *                 .values("true")
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1026,7 +1074,8 @@ public static CompletableFuture getMaintenanceWindo * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1048,12 +1097,13 @@ public static CompletableFuture getMaintenanceWindo
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getParameter(GetParameterArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. @@ -1068,7 +1118,8 @@ public static Output getParameter(GetParameterArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1090,12 +1141,13 @@ public static Output getParameter(GetParameterArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getParameter(GetParameterArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. @@ -1110,7 +1162,8 @@ public static CompletableFuture getParameterPlain(GetParamet * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1132,12 +1185,13 @@ public static CompletableFuture getParameterPlain(GetParamet
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getParameter(GetParameterArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. @@ -1152,7 +1206,8 @@ public static Output getParameter(GetParameterArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1174,12 +1229,13 @@ public static Output getParameter(GetParameterArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var foo = SsmFunctions.getParameter(GetParameterArgs.builder()
-     *             .name("foo")
+     *             .name("foo")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * > **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. @@ -1208,7 +1264,8 @@ public static CompletableFuture getParametersByPathPl * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1230,20 +1287,22 @@ public static CompletableFuture getParametersByPathPl
      * 
      *     public static void stack(Context ctx) {
      *         final var centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("AWS")
-     *             .namePrefix("AWS-")
-     *             .operatingSystem("CENTOS")
+     *             .owner("AWS")
+     *             .namePrefix("AWS-")
+     *             .operatingSystem("CENTOS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1265,15 +1324,16 @@ public static CompletableFuture getParametersByPathPl
      * 
      *     public static void stack(Context ctx) {
      *         final var defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("Self")
-     *             .namePrefix("MyCustomBaseline")
+     *             .owner("Self")
+     *             .namePrefix("MyCustomBaseline")
      *             .defaultBaseline(true)
-     *             .operatingSystem("WINDOWS")
+     *             .operatingSystem("WINDOWS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1288,7 +1348,8 @@ public static Output getPatchBaseline(GetPatchBaselineAr * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1310,20 +1371,22 @@ public static Output getPatchBaseline(GetPatchBaselineAr
      * 
      *     public static void stack(Context ctx) {
      *         final var centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("AWS")
-     *             .namePrefix("AWS-")
-     *             .operatingSystem("CENTOS")
+     *             .owner("AWS")
+     *             .namePrefix("AWS-")
+     *             .operatingSystem("CENTOS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1345,15 +1408,16 @@ public static Output getPatchBaseline(GetPatchBaselineAr
      * 
      *     public static void stack(Context ctx) {
      *         final var defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("Self")
-     *             .namePrefix("MyCustomBaseline")
+     *             .owner("Self")
+     *             .namePrefix("MyCustomBaseline")
      *             .defaultBaseline(true)
-     *             .operatingSystem("WINDOWS")
+     *             .operatingSystem("WINDOWS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1368,7 +1432,8 @@ public static CompletableFuture getPatchBaselinePlain(Ge * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1390,20 +1455,22 @@ public static CompletableFuture getPatchBaselinePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("AWS")
-     *             .namePrefix("AWS-")
-     *             .operatingSystem("CENTOS")
+     *             .owner("AWS")
+     *             .namePrefix("AWS-")
+     *             .operatingSystem("CENTOS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1425,15 +1492,16 @@ public static CompletableFuture getPatchBaselinePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("Self")
-     *             .namePrefix("MyCustomBaseline")
+     *             .owner("Self")
+     *             .namePrefix("MyCustomBaseline")
      *             .defaultBaseline(true)
-     *             .operatingSystem("WINDOWS")
+     *             .operatingSystem("WINDOWS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1448,7 +1516,8 @@ public static Output getPatchBaseline(GetPatchBaselineAr * To retrieve a baseline provided by AWS: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1470,20 +1539,22 @@ public static Output getPatchBaseline(GetPatchBaselineAr
      * 
      *     public static void stack(Context ctx) {
      *         final var centos = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("AWS")
-     *             .namePrefix("AWS-")
-     *             .operatingSystem("CENTOS")
+     *             .owner("AWS")
+     *             .namePrefix("AWS-")
+     *             .operatingSystem("CENTOS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * To retrieve a baseline on your account: * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1505,15 +1576,16 @@ public static Output getPatchBaseline(GetPatchBaselineAr
      * 
      *     public static void stack(Context ctx) {
      *         final var defaultCustom = SsmFunctions.getPatchBaseline(GetPatchBaselineArgs.builder()
-     *             .owner("Self")
-     *             .namePrefix("MyCustomBaseline")
+     *             .owner("Self")
+     *             .namePrefix("MyCustomBaseline")
      *             .defaultBaseline(true)
-     *             .operatingSystem("WINDOWS")
+     *             .operatingSystem("WINDOWS")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Contact.java b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Contact.java index 6038ff7fc0d..23067406d23 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Contact.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Contact.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Contact("example", ContactArgs.builder()        
- *             .alias("alias")
- *             .type("PERSONAL")
+ *         var example = new Contact("example", ContactArgs.builder()        
+ *             .alias("alias")
+ *             .type("PERSONAL")
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage With All Fields * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,18 +85,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Contact("example", ContactArgs.builder()        
- *             .alias("alias")
- *             .displayName("displayName")
- *             .type("ESCALATION")
- *             .tags(Map.of("key", "value"))
+ *         var example = new Contact("example", ContactArgs.builder()        
+ *             .alias("alias")
+ *             .displayName("displayName")
+ *             .type("ESCALATION")
+ *             .tags(Map.of("key", "value"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/ContactChannel.java b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/ContactChannel.java index bf28e418e1b..5e3dd2db47d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/ContactChannel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/ContactChannel.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,24 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ContactChannel("example", ContactChannelArgs.builder()        
- *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+ *         var example = new ContactChannel("example", ContactChannelArgs.builder()        
+ *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
  *             .deliveryAddress(ContactChannelDeliveryAddressArgs.builder()
- *                 .simpleAddress("email@example.com")
+ *                 .simpleAddress("email{@literal @}example.com")
  *                 .build())
- *             .name("Example contact channel")
- *             .type("EMAIL")
+ *             .name("Example contact channel")
+ *             .type("EMAIL")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with SSM Contact * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,23 +88,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleContact = new Contact("exampleContact", ContactArgs.builder()        
- *             .alias("example_contact")
- *             .type("PERSONAL")
+ *         var exampleContact = new Contact("exampleContact", ContactArgs.builder()        
+ *             .alias("example_contact")
+ *             .type("PERSONAL")
  *             .build());
  * 
- *         var example = new ContactChannel("example", ContactChannelArgs.builder()        
+ *         var example = new ContactChannel("example", ContactChannelArgs.builder()        
  *             .contactId(exampleContact.arn())
  *             .deliveryAddress(ContactChannelDeliveryAddressArgs.builder()
- *                 .simpleAddress("email@example.com")
+ *                 .simpleAddress("email{@literal @}example.com")
  *                 .build())
- *             .name("Example contact channel")
- *             .type("EMAIL")
+ *             .name("Example contact channel")
+ *             .type("EMAIL")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Plan.java b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Plan.java index b09c6278275..0b03c53d01d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Plan.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/Plan.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,8 +46,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Plan("example", PlanArgs.builder()        
- *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+ *         var example = new Plan("example", PlanArgs.builder()        
+ *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
  *             .stages(PlanStageArgs.builder()
  *                 .durationInMinutes(1)
  *                 .build())
@@ -54,13 +55,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with SSM Contact * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -84,12 +87,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var contact = new Contact("contact", ContactArgs.builder()        
- *             .alias("alias")
- *             .type("PERSONAL")
+ *         var contact = new Contact("contact", ContactArgs.builder()        
+ *             .alias("alias")
+ *             .type("PERSONAL")
  *             .build());
  * 
- *         var plan = new Plan("plan", PlanArgs.builder()        
+ *         var plan = new Plan("plan", PlanArgs.builder()        
  *             .contactId(contact.arn())
  *             .stages(PlanStageArgs.builder()
  *                 .durationInMinutes(1)
@@ -98,13 +101,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage With All Fields * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -128,22 +133,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var escalationPlan = new Contact("escalationPlan", ContactArgs.builder()        
- *             .alias("escalation-plan-alias")
- *             .type("ESCALATION")
+ *         var escalationPlan = new Contact("escalationPlan", ContactArgs.builder()        
+ *             .alias("escalation-plan-alias")
+ *             .type("ESCALATION")
  *             .build());
  * 
- *         var contactOne = new Contact("contactOne", ContactArgs.builder()        
- *             .alias("alias")
- *             .type("PERSONAL")
+ *         var contactOne = new Contact("contactOne", ContactArgs.builder()        
+ *             .alias("alias")
+ *             .type("PERSONAL")
  *             .build());
  * 
- *         var contactTwo = new Contact("contactTwo", ContactArgs.builder()        
- *             .alias("alias")
- *             .type("PERSONAL")
+ *         var contactTwo = new Contact("contactTwo", ContactArgs.builder()        
+ *             .alias("alias")
+ *             .type("PERSONAL")
  *             .build());
  * 
- *         var test = new Plan("test", PlanArgs.builder()        
+ *         var test = new Plan("test", PlanArgs.builder()        
  *             .contactId(escalationPlan.arn())
  *             .stages(PlanStageArgs.builder()
  *                 .durationInMinutes(0)
@@ -171,7 +176,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/SsmcontactsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/SsmcontactsFunctions.java index bd23f653a78..2cdc7ba270c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/SsmcontactsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmcontacts/SsmcontactsFunctions.java @@ -28,7 +28,8 @@ public final class SsmcontactsFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,12 +51,13 @@ public final class SsmcontactsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContact(GetContactArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getContact(GetContactArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,12 +95,13 @@ public static Output getContact(GetContactArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContact(GetContactArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getContactPlain(GetContactPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getContactPlain(GetContactPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContact(GetContactArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -154,7 +160,8 @@ public static Output getContact(GetContactArgs args, InvokeOpt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -176,12 +183,13 @@ public static Output getContact(GetContactArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContact(GetContactArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -196,7 +204,8 @@ public static CompletableFuture getContactPlain(GetContactPlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -218,12 +227,13 @@ public static CompletableFuture getContactPlain(GetContactPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContactChannel(GetContactChannelArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -238,7 +248,8 @@ public static Output getContactChannel(GetContactChanne * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -260,12 +271,13 @@ public static Output getContactChannel(GetContactChanne
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContactChannel(GetContactChannelArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -280,7 +292,8 @@ public static CompletableFuture getContactChannelPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -302,12 +315,13 @@ public static CompletableFuture getContactChannelPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContactChannel(GetContactChannelArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -322,7 +336,8 @@ public static Output getContactChannel(GetContactChanne * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -344,12 +359,13 @@ public static Output getContactChannel(GetContactChanne
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsmcontactsFunctions.getContactChannel(GetContactChannelArgs.builder()
-     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
+     *             .arn("arn:aws:ssm-contacts:us-west-2:123456789012:contact-channel/example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -364,7 +380,8 @@ public static CompletableFuture getContactChannelPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -386,12 +403,13 @@ public static CompletableFuture getContactChannelPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SsmcontactsFunctions.getPlan(GetPlanArgs.builder()
-     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -406,7 +424,8 @@ public static Output getPlan(GetPlanArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -428,12 +447,13 @@ public static Output getPlan(GetPlanArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SsmcontactsFunctions.getPlan(GetPlanArgs.builder()
-     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -448,7 +468,8 @@ public static CompletableFuture getPlanPlain(GetPlanPlainArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -470,12 +491,13 @@ public static CompletableFuture getPlanPlain(GetPlanPlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SsmcontactsFunctions.getPlan(GetPlanArgs.builder()
-     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -490,7 +512,8 @@ public static Output getPlan(GetPlanArgs args, InvokeOptions opti * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -512,12 +535,13 @@ public static Output getPlan(GetPlanArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var test = SsmcontactsFunctions.getPlan(GetPlanArgs.builder()
-     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
+     *             .contactId("arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ReplicationSet.java b/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ReplicationSet.java index 07bbb2c0dbc..e03e009e985 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ReplicationSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ReplicationSet.java @@ -30,7 +30,8 @@ * Create a replication set. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,22 +53,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
+ *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
  *             .regions(ReplicationSetRegionArgs.builder()
- *                 .name("us-west-2")
+ *                 .name("us-west-2")
  *                 .build())
- *             .tags(Map.of("exampleTag", "exampleValue"))
+ *             .tags(Map.of("exampleTag", "exampleValue"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Add a Region to a replication set. (You can add only one Region at a time.) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -89,25 +92,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
+ *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
  *             .regions(            
  *                 ReplicationSetRegionArgs.builder()
- *                     .name("us-west-2")
+ *                     .name("us-west-2")
  *                     .build(),
  *                 ReplicationSetRegionArgs.builder()
- *                     .name("ap-southeast-2")
+ *                     .name("ap-southeast-2")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Delete a Region from a replication set. (You can delete only one Region at a time.) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -129,15 +134,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
+ *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
  *             .regions(ReplicationSetRegionArgs.builder()
- *                 .name("us-west-2")
+ *                 .name("us-west-2")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Basic Usage with an AWS Customer Managed Key @@ -145,7 +151,8 @@ * Create a replication set with an AWS Key Management Service (AWS KMS) customer manager key: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -168,19 +175,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleKey = new Key("exampleKey");
+ *         var exampleKey = new Key("exampleKey");
  * 
- *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
+ *         var replicationSetName = new ReplicationSet("replicationSetName", ReplicationSetArgs.builder()        
  *             .regions(ReplicationSetRegionArgs.builder()
- *                 .name("us-west-2")
+ *                 .name("us-west-2")
  *                 .kmsKeyArn(exampleKey.arn())
  *                 .build())
- *             .tags(Map.of("exampleTag", "exampleValue"))
+ *             .tags(Map.of("exampleTag", "exampleValue"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ResponsePlan.java b/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ResponsePlan.java index 6ca667c5858..cc809ee694d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ResponsePlan.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/ResponsePlan.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,26 +51,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
- *             .name("name")
+ *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
+ *             .name("name")
  *             .incidentTemplate(ResponsePlanIncidentTemplateArgs.builder()
- *                 .title("title")
- *                 .impact("3")
+ *                 .title("title")
+ *                 .impact("3")
  *                 .build())
- *             .tags(Map.of("key", "value"))
+ *             .tags(Map.of("key", "value"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage With All Fields * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -94,13 +97,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
- *             .name("name")
+ *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
+ *             .name("name")
  *             .incidentTemplate(ResponsePlanIncidentTemplateArgs.builder()
- *                 .title("title")
- *                 .impact("3")
- *                 .dedupeString("dedupe")
- *                 .incidentTags(Map.of("key", "value"))
+ *                 .title("title")
+ *                 .impact("3")
+ *                 .dedupeString("dedupe")
+ *                 .incidentTags(Map.of("key", "value"))
  *                 .notificationTargets(                
  *                     ResponsePlanIncidentTemplateNotificationTargetArgs.builder()
  *                         .snsTopicArn(example1.arn())
@@ -108,49 +111,50 @@
  *                     ResponsePlanIncidentTemplateNotificationTargetArgs.builder()
  *                         .snsTopicArn(example2.arn())
  *                         .build())
- *                 .summary("summary")
+ *                 .summary("summary")
  *                 .build())
- *             .displayName("display name")
+ *             .displayName("display name")
  *             .chatChannels(topic.arn())
- *             .engagements("arn:aws:ssm-contacts:us-east-2:111122223333:contact/test1")
+ *             .engagements("arn:aws:ssm-contacts:us-east-2:111122223333:contact/test1")
  *             .action(ResponsePlanActionArgs.builder()
  *                 .ssmAutomations(ResponsePlanActionSsmAutomationArgs.builder()
  *                     .documentName(document1.name())
  *                     .roleArn(role1.arn())
- *                     .documentVersion("version1")
- *                     .targetAccount("RESPONSE_PLAN_OWNER_ACCOUNT")
+ *                     .documentVersion("version1")
+ *                     .targetAccount("RESPONSE_PLAN_OWNER_ACCOUNT")
  *                     .parameters(                    
  *                         ResponsePlanActionSsmAutomationParameterArgs.builder()
- *                             .name("key")
+ *                             .name("key")
  *                             .values(                            
- *                                 "value1",
- *                                 "value2")
+ *                                 "value1",
+ *                                 "value2")
  *                             .build(),
  *                         ResponsePlanActionSsmAutomationParameterArgs.builder()
- *                             .name("foo")
- *                             .values("bar")
+ *                             .name("foo")
+ *                             .values("bar")
  *                             .build())
  *                     .dynamicParameters(Map.ofEntries(
- *                         Map.entry("someKey", "INVOLVED_RESOURCES"),
- *                         Map.entry("anotherKey", "INCIDENT_RECORD_ARN")
+ *                         Map.entry("someKey", "INVOLVED_RESOURCES"),
+ *                         Map.entry("anotherKey", "INCIDENT_RECORD_ARN")
  *                     ))
  *                     .build())
  *                 .build())
  *             .integration(ResponsePlanIntegrationArgs.builder()
  *                 .pagerduties(ResponsePlanIntegrationPagerdutyArgs.builder()
- *                     .name("pagerdutyIntergration")
- *                     .serviceId("example")
- *                     .secretId("example")
+ *                     .name("pagerdutyIntergration")
+ *                     .serviceId("example")
+ *                     .secretId("example")
  *                     .build())
  *                 .build())
- *             .tags(Map.of("key", "value"))
+ *             .tags(Map.of("key", "value"))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(exampleAwsSsmincidentsReplicationSet)
  *                 .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/SsmincidentsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/SsmincidentsFunctions.java index e6ceff08319..e8a2ab79733 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/SsmincidentsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssmincidents/SsmincidentsFunctions.java @@ -27,7 +27,8 @@ public final class SsmincidentsFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -52,7 +53,8 @@ public final class SsmincidentsFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -69,7 +71,8 @@ public static Output getReplicationSet() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -94,7 +97,8 @@ public static Output getReplicationSet() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getReplicationSetPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -136,7 +141,8 @@ public static CompletableFuture getReplicationSetPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -153,7 +159,8 @@ public static Output getReplicationSet(GetReplicationSe * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -178,7 +185,8 @@ public static Output getReplicationSet(GetReplicationSe
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -195,7 +203,8 @@ public static CompletableFuture getReplicationSetPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -220,7 +229,8 @@ public static CompletableFuture getReplicationSetPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -237,7 +247,8 @@ public static Output getReplicationSet(GetReplicationSe * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -262,7 +273,8 @@ public static Output getReplicationSet(GetReplicationSe
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -277,7 +289,8 @@ public static CompletableFuture getReplicationSetPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -298,13 +311,14 @@ public static CompletableFuture getReplicationSetPlain(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
-     *             .arn("exampleARN")
+     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
+     *             .arn("exampleARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -319,7 +333,8 @@ public static Output getResponsePlan(GetResponsePlanArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -340,13 +355,14 @@ public static Output getResponsePlan(GetResponsePlanArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
-     *             .arn("exampleARN")
+     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
+     *             .arn("exampleARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -361,7 +377,8 @@ public static CompletableFuture getResponsePlanPlain(GetR * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -382,13 +399,14 @@ public static CompletableFuture getResponsePlanPlain(GetR
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
-     *             .arn("exampleARN")
+     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
+     *             .arn("exampleARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -403,7 +421,8 @@ public static Output getResponsePlan(GetResponsePlanArgs * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -424,13 +443,14 @@ public static Output getResponsePlan(GetResponsePlanArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
-     *             .arn("exampleARN")
+     *         var example = new ResponsePlan("example", ResponsePlanArgs.builder()        
+     *             .arn("exampleARN")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignment.java b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignment.java index 7c28f422747..ab042615f5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignment.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,21 +43,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApplicationAssignment("example", ApplicationAssignmentArgs.builder()        
+ *         var example = new ApplicationAssignment("example", ApplicationAssignmentArgs.builder()        
  *             .applicationArn(exampleAwsSsoadminApplication.applicationArn())
  *             .principalId(exampleAwsIdentitystoreUser.userId())
- *             .principalType("USER")
+ *             .principalType("USER")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Group Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -77,15 +80,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApplicationAssignment("example", ApplicationAssignmentArgs.builder()        
+ *         var example = new ApplicationAssignment("example", ApplicationAssignmentArgs.builder()        
  *             .applicationArn(exampleAwsSsoadminApplication.applicationArn())
  *             .principalId(exampleAwsIdentitystoreGroup.groupId())
- *             .principalType("GROUP")
+ *             .principalType("GROUP")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignmentConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignmentConfiguration.java index 0efc3890866..e1ac911017a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignmentConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/ApplicationAssignmentConfiguration.java @@ -27,7 +27,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,14 +49,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ApplicationAssignmentConfiguration("example", ApplicationAssignmentConfigurationArgs.builder()        
+ *         var example = new ApplicationAssignmentConfiguration("example", ApplicationAssignmentConfigurationArgs.builder()        
  *             .applicationArn(exampleAwsSsoadminApplication.applicationArn())
  *             .assignmentRequired(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/PermissionsBoundaryAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/PermissionsBoundaryAttachment.java index 47c7b546658..a454ada9407 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/PermissionsBoundaryAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/PermissionsBoundaryAttachment.java @@ -24,7 +24,8 @@ * ### Attaching an AWS-managed policy * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,17 +47,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PermissionsBoundaryAttachment("example", PermissionsBoundaryAttachmentArgs.builder()        
+ *         var example = new PermissionsBoundaryAttachment("example", PermissionsBoundaryAttachmentArgs.builder()        
  *             .instanceArn(exampleAwsSsoadminPermissionSet.instanceArn())
  *             .permissionSetArn(exampleAwsSsoadminPermissionSet.arn())
  *             .permissionsBoundary(PermissionsBoundaryAttachmentPermissionsBoundaryArgs.builder()
- *                 .managedPolicyArn("arn:aws:iam::aws:policy/ReadOnlyAccess")
+ *                 .managedPolicyArn("arn:aws:iam::aws:policy/ReadOnlyAccess")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/SsoadminFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/SsoadminFunctions.java index f68b541ca39..cf6f1f7315a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/SsoadminFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssoadmin/SsoadminFunctions.java @@ -36,7 +36,8 @@ public final class SsoadminFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -58,12 +59,13 @@ public final class SsoadminFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsoadminFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
+     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -78,7 +80,8 @@ public static Output getApplication(GetApplicationArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -100,12 +103,13 @@ public static Output getApplication(GetApplicationArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsoadminFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
+     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -120,7 +124,8 @@ public static CompletableFuture getApplicationPlain(GetApp * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -142,12 +147,13 @@ public static CompletableFuture getApplicationPlain(GetApp
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsoadminFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
+     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -162,7 +168,8 @@ public static Output getApplication(GetApplicationArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -184,12 +191,13 @@ public static Output getApplication(GetApplicationArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = SsoadminFunctions.getApplication(GetApplicationArgs.builder()
-     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
+     *             .applicationArn("arn:aws:sso::012345678901:application/ssoins-1234/apl-5678")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -204,7 +212,8 @@ public static CompletableFuture getApplicationPlain(GetApp * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -231,7 +240,8 @@ public static CompletableFuture getApplicationPlain(GetApp
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -246,7 +256,8 @@ public static Output getApplicationAssignments( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -273,7 +284,8 @@ public static Output getApplicationAssignments(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -288,7 +300,8 @@ public static CompletableFuture getApplicationA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -315,7 +328,8 @@ public static CompletableFuture getApplicationA
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -330,7 +344,8 @@ public static Output getApplicationAssignments( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -357,7 +372,8 @@ public static Output getApplicationAssignments(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -372,7 +388,8 @@ public static CompletableFuture getApplicationA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -397,7 +414,8 @@ public static CompletableFuture getApplicationA
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -412,7 +430,8 @@ public static Output getApplicationProviders() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -437,7 +456,8 @@ public static Output getApplicationProviders() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -452,7 +472,8 @@ public static CompletableFuture getApplicationPro * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -477,7 +498,8 @@ public static CompletableFuture getApplicationPro
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -492,7 +514,8 @@ public static Output getApplicationProviders(GetA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -517,7 +540,8 @@ public static Output getApplicationProviders(GetA
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -532,7 +556,8 @@ public static CompletableFuture getApplicationPro * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -557,7 +582,8 @@ public static CompletableFuture getApplicationPro
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -572,7 +598,8 @@ public static Output getApplicationProviders(GetA * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -597,7 +624,8 @@ public static Output getApplicationProviders(GetA
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Cache.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Cache.java index 741c2227654..2619b37610f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Cache.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Cache.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Cache("example", CacheArgs.builder()        
+ *         var example = new Cache("example", CacheArgs.builder()        
  *             .diskId(exampleAwsStoragegatewayLocalDisk.id())
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/CachesIscsiVolume.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/CachesIscsiVolume.java index 9d5fcadcad5..df4b08d15a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/CachesIscsiVolume.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/CachesIscsiVolume.java @@ -31,7 +31,8 @@ * ### Create Empty Cached iSCSI Volume * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,22 +53,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CachesIscsiVolume("example", CachesIscsiVolumeArgs.builder()        
+ *         var example = new CachesIscsiVolume("example", CachesIscsiVolumeArgs.builder()        
  *             .gatewayArn(exampleAwsStoragegatewayCache.gatewayArn())
  *             .networkInterfaceId(exampleAwsInstance.privateIp())
- *             .targetName("example")
+ *             .targetName("example")
  *             .volumeSizeInBytes(5368709120)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create Cached iSCSI Volume From Snapshot * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,23 +91,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CachesIscsiVolume("example", CachesIscsiVolumeArgs.builder()        
+ *         var example = new CachesIscsiVolume("example", CachesIscsiVolumeArgs.builder()        
  *             .gatewayArn(exampleAwsStoragegatewayCache.gatewayArn())
  *             .networkInterfaceId(exampleAwsInstance.privateIp())
  *             .snapshotId(exampleAwsEbsSnapshot.id())
- *             .targetName("example")
+ *             .targetName("example")
  *             .volumeSizeInBytes(exampleAwsEbsSnapshot.volumeSize() * 1024 * 1024 * 1024)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create Cached iSCSI Volume From Source Volume * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -125,17 +130,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new CachesIscsiVolume("example", CachesIscsiVolumeArgs.builder()        
+ *         var example = new CachesIscsiVolume("example", CachesIscsiVolumeArgs.builder()        
  *             .gatewayArn(exampleAwsStoragegatewayCache.gatewayArn())
  *             .networkInterfaceId(exampleAwsInstance.privateIp())
  *             .sourceVolumeArn(existing.arn())
- *             .targetName("example")
+ *             .targetName("example")
  *             .volumeSizeInBytes(existing.volumeSizeInBytes())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/FileSystemAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/FileSystemAssociation.java index 275941c8d6e..4c7ea87a30a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/FileSystemAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/FileSystemAssociation.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,23 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new FileSystemAssociation("example", FileSystemAssociationArgs.builder()        
+ *         var example = new FileSystemAssociation("example", FileSystemAssociationArgs.builder()        
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .locationArn(exampleAwsFsxWindowsFileSystem.arn())
- *             .username("Admin")
- *             .password("avoid-plaintext-passwords")
+ *             .username("Admin")
+ *             .password("avoid-plaintext-passwords")
  *             .auditDestinationArn(exampleAwsS3Bucket.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Required Services Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -95,11 +98,11 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var awsServiceStoragegatewayAmiFILES3Latest = SsmFunctions.getParameter(GetParameterArgs.builder()
- *             .name("/aws/service/storagegateway/ami/FILE_S3/latest")
+ *             .name("/aws/service/storagegateway/ami/FILE_S3/latest")
  *             .build());
  * 
- *         var test = new Instance("test", InstanceArgs.builder()        
- *             .ami(awsServiceStoragegatewayAmiFILES3Latest.applyValue(getParameterResult -> getParameterResult.value()))
+ *         var test = new Instance("test", InstanceArgs.builder()        
+ *             .ami(awsServiceStoragegatewayAmiFILES3Latest.applyValue(getParameterResult -> getParameterResult.value()))
  *             .associatePublicIpAddress(true)
  *             .instanceType(available.instanceType())
  *             .vpcSecurityGroupIds(testAwsSecurityGroup.id())
@@ -110,19 +113,19 @@
  *                     testAwsVpcDhcpOptionsAssociation)
  *                 .build());
  * 
- *         var testGateway = new Gateway("testGateway", GatewayArgs.builder()        
+ *         var testGateway = new Gateway("testGateway", GatewayArgs.builder()        
  *             .gatewayIpAddress(test.publicIp())
- *             .gatewayName("test-sgw")
- *             .gatewayTimezone("GMT")
- *             .gatewayType("FILE_FSX_SMB")
+ *             .gatewayName("test-sgw")
+ *             .gatewayTimezone("GMT")
+ *             .gatewayType("FILE_FSX_SMB")
  *             .smbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs.builder()
  *                 .domainName(testAwsDirectoryServiceDirectory.name())
  *                 .password(testAwsDirectoryServiceDirectory.password())
- *                 .username("Admin")
+ *                 .username("Admin")
  *                 .build())
  *             .build());
  * 
- *         var testWindowsFileSystem = new WindowsFileSystem("testWindowsFileSystem", WindowsFileSystemArgs.builder()        
+ *         var testWindowsFileSystem = new WindowsFileSystem("testWindowsFileSystem", WindowsFileSystemArgs.builder()        
  *             .activeDirectoryId(testAwsDirectoryServiceDirectory.id())
  *             .securityGroupIds(testAwsSecurityGroup.id())
  *             .skipFinalBackup(true)
@@ -131,10 +134,10 @@
  *             .throughputCapacity(8)
  *             .build());
  * 
- *         var fsx = new FileSystemAssociation("fsx", FileSystemAssociationArgs.builder()        
+ *         var fsx = new FileSystemAssociation("fsx", FileSystemAssociationArgs.builder()        
  *             .gatewayArn(testGateway.arn())
  *             .locationArn(testWindowsFileSystem.arn())
- *             .username("Admin")
+ *             .username("Admin")
  *             .password(testAwsDirectoryServiceDirectory.password())
  *             .cacheAttributes(FileSystemAssociationCacheAttributesArgs.builder()
  *                 .cacheStaleTimeoutInSeconds(400)
@@ -144,7 +147,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Gateway.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Gateway.java index 12e1f9c393d..fb97e858233 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Gateway.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/Gateway.java @@ -31,7 +31,8 @@ * ### Local Cache * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -56,8 +57,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testVolumeAttachment = new VolumeAttachment("testVolumeAttachment", VolumeAttachmentArgs.builder()        
- *             .deviceName("/dev/xvdb")
+ *         var testVolumeAttachment = new VolumeAttachment("testVolumeAttachment", VolumeAttachmentArgs.builder()        
+ *             .deviceName("/dev/xvdb")
  *             .volumeId(testAwsEbsVolume.id())
  *             .instanceId(testAwsInstance.id())
  *             .build());
@@ -67,20 +68,22 @@
  *             .gatewayArn(testAwsStoragegatewayGateway.arn())
  *             .build());
  * 
- *         var testCache = new Cache("testCache", CacheArgs.builder()        
- *             .diskId(test.applyValue(getLocalDiskResult -> getLocalDiskResult.diskId()))
+ *         var testCache = new Cache("testCache", CacheArgs.builder()        
+ *             .diskId(test.applyValue(getLocalDiskResult -> getLocalDiskResult.diskId()))
  *             .gatewayArn(testAwsStoragegatewayGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### FSx File Gateway * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -102,27 +105,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .gatewayIpAddress("1.2.3.4")
- *             .gatewayName("example")
- *             .gatewayTimezone("GMT")
- *             .gatewayType("FILE_FSX_SMB")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .gatewayIpAddress("1.2.3.4")
+ *             .gatewayName("example")
+ *             .gatewayTimezone("GMT")
+ *             .gatewayType("FILE_FSX_SMB")
  *             .smbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs.builder()
- *                 .domainName("corp.example.com")
- *                 .password("avoid-plaintext-passwords")
- *                 .username("Admin")
+ *                 .domainName("corp.example.com")
+ *                 .password("avoid-plaintext-passwords")
+ *                 .username("Admin")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### S3 File Gateway * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -143,22 +148,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .gatewayIpAddress("1.2.3.4")
- *             .gatewayName("example")
- *             .gatewayTimezone("GMT")
- *             .gatewayType("FILE_S3")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .gatewayIpAddress("1.2.3.4")
+ *             .gatewayName("example")
+ *             .gatewayTimezone("GMT")
+ *             .gatewayType("FILE_S3")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Tape Gateway * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -179,24 +186,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .gatewayIpAddress("1.2.3.4")
- *             .gatewayName("example")
- *             .gatewayTimezone("GMT")
- *             .gatewayType("VTL")
- *             .mediumChangerType("AWS-Gateway-VTL")
- *             .tapeDriveType("IBM-ULT3580-TD5")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .gatewayIpAddress("1.2.3.4")
+ *             .gatewayName("example")
+ *             .gatewayTimezone("GMT")
+ *             .gatewayType("VTL")
+ *             .mediumChangerType("AWS-Gateway-VTL")
+ *             .tapeDriveType("IBM-ULT3580-TD5")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Volume Gateway (Cached) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -217,22 +226,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .gatewayIpAddress("1.2.3.4")
- *             .gatewayName("example")
- *             .gatewayTimezone("GMT")
- *             .gatewayType("CACHED")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .gatewayIpAddress("1.2.3.4")
+ *             .gatewayName("example")
+ *             .gatewayTimezone("GMT")
+ *             .gatewayType("CACHED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Volume Gateway (Stored) * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -253,16 +264,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Gateway("example", GatewayArgs.builder()        
- *             .gatewayIpAddress("1.2.3.4")
- *             .gatewayName("example")
- *             .gatewayTimezone("GMT")
- *             .gatewayType("STORED")
+ *         var example = new Gateway("example", GatewayArgs.builder()        
+ *             .gatewayIpAddress("1.2.3.4")
+ *             .gatewayName("example")
+ *             .gatewayTimezone("GMT")
+ *             .gatewayType("STORED")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/NfsFileShare.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/NfsFileShare.java index f2e40feb464..23117c3afdc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/NfsFileShare.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/NfsFileShare.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,8 +47,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new NfsFileShare("example", NfsFileShareArgs.builder()        
- *             .clientLists("0.0.0.0/0")
+ *         var example = new NfsFileShare("example", NfsFileShareArgs.builder()        
+ *             .clientLists("0.0.0.0/0")
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .locationArn(exampleAwsS3Bucket.arn())
  *             .roleArn(exampleAwsIamRole.arn())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShare.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShare.java index a1315e66a50..846667eef81 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShare.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShare.java @@ -28,7 +28,8 @@ * > **NOTE:** The gateway must have already joined the Active Directory domain prior to SMB file share creationE.g., via "SMB Settings" in the AWS Storage Gateway console or `smb_active_directory_settings` in the `aws.storagegateway.Gateway` resource. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,8 +50,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SmbFileShare("example", SmbFileShareArgs.builder()        
- *             .authentication("ActiveDirectory")
+ *         var example = new SmbFileShare("example", SmbFileShareArgs.builder()        
+ *             .authentication("ActiveDirectory")
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .locationArn(exampleAwsS3Bucket.arn())
  *             .roleArn(exampleAwsIamRole.arn())
@@ -58,7 +59,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Guest Authentication @@ -66,7 +68,8 @@ * > **NOTE:** The gateway must have already had the SMB guest password set prior to SMB file share creationE.g., via "SMB Settings" in the AWS Storage Gateway console or `smb_guest_password` in the `aws.storagegateway.Gateway` resource. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,8 +90,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SmbFileShare("example", SmbFileShareArgs.builder()        
- *             .authentication("GuestAccess")
+ *         var example = new SmbFileShare("example", SmbFileShareArgs.builder()        
+ *             .authentication("GuestAccess")
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .locationArn(exampleAwsS3Bucket.arn())
  *             .roleArn(exampleAwsIamRole.arn())
@@ -96,7 +99,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -493,14 +497,14 @@ public Output> tagsAll() { return this.tagsAll; } /** - * A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * */ @Export(name="validUserLists", refs={List.class,String.class}, tree="[0,1]") private Output> validUserLists; /** - * @return A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @return A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * */ public Output>> validUserLists() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShareArgs.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShareArgs.java index 328156ba5ad..606eddbebe5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShareArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/SmbFileShareArgs.java @@ -366,14 +366,14 @@ public Optional>> tags() { } /** - * A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * */ @Import(name="validUserLists") private @Nullable Output> validUserLists; /** - * @return A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @return A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * */ public Optional>> validUserLists() { @@ -947,7 +947,7 @@ public Builder tags(Map tags) { } /** - * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * * @return builder * @@ -958,7 +958,7 @@ public Builder validUserLists(@Nullable Output> validUserLists) { } /** - * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * * @return builder * @@ -968,7 +968,7 @@ public Builder validUserLists(List validUserLists) { } /** - * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoragegatewayFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoragegatewayFunctions.java index 2ded660b857..d184d3539a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoragegatewayFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoragegatewayFunctions.java @@ -20,7 +20,8 @@ public final class StoragegatewayFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -48,7 +49,8 @@ public final class StoragegatewayFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -61,7 +63,8 @@ public static Output getLocalDisk(GetLocalDiskArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -89,7 +92,8 @@ public static Output getLocalDisk(GetLocalDiskArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -102,7 +106,8 @@ public static CompletableFuture getLocalDiskPlain(GetLocalDi * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -130,7 +135,8 @@ public static CompletableFuture getLocalDiskPlain(GetLocalDi
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getLocalDisk(GetLocalDiskArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -171,7 +178,8 @@ public static Output getLocalDisk(GetLocalDiskArgs args, Inv
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoredIscsiVolume.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoredIscsiVolume.java index 035468b4298..eca0820c89c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoredIscsiVolume.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/StoredIscsiVolume.java @@ -27,7 +27,8 @@ * ### Create Empty Stored iSCSI Volume * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,23 +49,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new StoredIscsiVolume("example", StoredIscsiVolumeArgs.builder()        
+ *         var example = new StoredIscsiVolume("example", StoredIscsiVolumeArgs.builder()        
  *             .gatewayArn(exampleAwsStoragegatewayCache.gatewayArn())
  *             .networkInterfaceId(exampleAwsInstance.privateIp())
- *             .targetName("example")
+ *             .targetName("example")
  *             .preserveExistingData(false)
  *             .diskId(test.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Create Stored iSCSI Volume From Snapshot * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,18 +88,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new StoredIscsiVolume("example", StoredIscsiVolumeArgs.builder()        
+ *         var example = new StoredIscsiVolume("example", StoredIscsiVolumeArgs.builder()        
  *             .gatewayArn(exampleAwsStoragegatewayCache.gatewayArn())
  *             .networkInterfaceId(exampleAwsInstance.privateIp())
  *             .snapshotId(exampleAwsEbsSnapshot.id())
- *             .targetName("example")
+ *             .targetName("example")
  *             .preserveExistingData(false)
  *             .diskId(test.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/TapePool.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/TapePool.java index d09ea907306..72d9078d9e0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/TapePool.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/TapePool.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TapePool("example", TapePoolArgs.builder()        
- *             .poolName("example")
- *             .storageClass("GLACIER")
+ *         var example = new TapePool("example", TapePoolArgs.builder()        
+ *             .poolName("example")
+ *             .storageClass("GLACIER")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/UploadBuffer.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/UploadBuffer.java index 8f0ab43ec03..fe732597785 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/UploadBuffer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/UploadBuffer.java @@ -23,7 +23,8 @@ * ### Cached and VTL Gateway Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,20 +52,22 @@
  *             .gatewayArn(testAwsStoragegatewayGateway.arn())
  *             .build());
  * 
- *         var testUploadBuffer = new UploadBuffer("testUploadBuffer", UploadBufferArgs.builder()        
- *             .diskPath(test.applyValue(getLocalDiskResult -> getLocalDiskResult.diskPath()))
+ *         var testUploadBuffer = new UploadBuffer("testUploadBuffer", UploadBufferArgs.builder()        
+ *             .diskPath(test.applyValue(getLocalDiskResult -> getLocalDiskResult.diskPath()))
  *             .gatewayArn(testAwsStoragegatewayGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Stored Gateway Type * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,14 +95,15 @@
  *             .gatewayArn(testAwsStoragegatewayGateway.arn())
  *             .build());
  * 
- *         var example = new UploadBuffer("example", UploadBufferArgs.builder()        
+ *         var example = new UploadBuffer("example", UploadBufferArgs.builder()        
  *             .diskId(exampleAwsStoragegatewayLocalDisk.id())
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/WorkingStorage.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/WorkingStorage.java index 17412c03472..c07b4dabb9c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/WorkingStorage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/WorkingStorage.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WorkingStorage("example", WorkingStorageArgs.builder()        
+ *         var example = new WorkingStorage("example", WorkingStorageArgs.builder()        
  *             .diskId(exampleAwsStoragegatewayLocalDisk.id())
  *             .gatewayArn(exampleAwsStoragegatewayGateway.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/inputs/SmbFileShareState.java b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/inputs/SmbFileShareState.java index 5e84fbd97bb..5a0b56e12c5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/storagegateway/inputs/SmbFileShareState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/storagegateway/inputs/SmbFileShareState.java @@ -433,14 +433,14 @@ public Optional>> tagsAll() { } /** - * A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * */ @Import(name="validUserLists") private @Nullable Output> validUserLists; /** - * @return A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @return A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * */ public Optional>> validUserLists() { @@ -1110,7 +1110,7 @@ public Builder tagsAll(Map tagsAll) { } /** - * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * * @return builder * @@ -1121,7 +1121,7 @@ public Builder validUserLists(@Nullable Output> validUserLists) { } /** - * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * * @return builder * @@ -1131,7 +1131,7 @@ public Builder validUserLists(List validUserLists) { } /** - * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. + * @param validUserLists A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '{@literal @}' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/swf/Domain.java b/sdk/java/src/main/java/com/pulumi/aws/swf/Domain.java index d544a0804fb..bcc88f54be2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/swf/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/aws/swf/Domain.java @@ -23,7 +23,8 @@ * To register a basic SWF domain: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var foo = new Domain("foo", DomainArgs.builder()        
- *             .name("foo")
- *             .description("SWF Domain")
+ *         var foo = new Domain("foo", DomainArgs.builder()        
+ *             .name("foo")
+ *             .description("SWF Domain")
  *             .workflowExecutionRetentionPeriodInDays(30)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/synthetics/Canary.java b/sdk/java/src/main/java/com/pulumi/aws/synthetics/Canary.java index 2978f8134ba..a96c20e0747 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/synthetics/Canary.java +++ b/sdk/java/src/main/java/com/pulumi/aws/synthetics/Canary.java @@ -31,7 +31,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -53,21 +54,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var some = new Canary("some", CanaryArgs.builder()        
- *             .name("some-canary")
- *             .artifactS3Location("s3://some-bucket/")
- *             .executionRoleArn("some-role")
- *             .handler("exports.handler")
- *             .zipFile("test-fixtures/lambdatest.zip")
- *             .runtimeVersion("syn-1.0")
+ *         var some = new Canary("some", CanaryArgs.builder()        
+ *             .name("some-canary")
+ *             .artifactS3Location("s3://some-bucket/")
+ *             .executionRoleArn("some-role")
+ *             .handler("exports.handler")
+ *             .zipFile("test-fixtures/lambdatest.zip")
+ *             .runtimeVersion("syn-1.0")
  *             .schedule(CanaryScheduleArgs.builder()
- *                 .expression("rate(0 minute)")
+ *                 .expression("rate(0 minute)")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/synthetics/Group.java b/sdk/java/src/main/java/com/pulumi/aws/synthetics/Group.java index b8d5a0266dd..0bc33fa5661 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/synthetics/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/synthetics/Group.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,13 +45,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Group("example", GroupArgs.builder()        
- *             .name("example")
+ *         var example = new Group("example", GroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/synthetics/GroupAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/synthetics/GroupAssociation.java index 63f97fdb2ef..0913ce12944 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/synthetics/GroupAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/synthetics/GroupAssociation.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,14 +43,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new GroupAssociation("example", GroupAssociationArgs.builder()        
+ *         var example = new GroupAssociation("example", GroupAssociationArgs.builder()        
  *             .groupName(exampleAwsSyntheticsGroup.name())
  *             .canaryArn(exampleAwsSyntheticsCanary.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Database.java b/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Database.java index d6cf9ee0f0a..aa31c30ebf1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Database.java +++ b/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Database.java @@ -24,7 +24,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Database("example", DatabaseArgs.builder()        
- *             .databaseName("database-example")
+ *         var example = new Database("example", DatabaseArgs.builder()        
+ *             .databaseName("database-example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Full usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,15 +81,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Database("example", DatabaseArgs.builder()        
- *             .databaseName("database-example")
+ *         var example = new Database("example", DatabaseArgs.builder()        
+ *             .databaseName("database-example")
  *             .kmsKeyId(exampleAwsKmsKey.arn())
- *             .tags(Map.of("Name", "value"))
+ *             .tags(Map.of("Name", "value"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Table.java b/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Table.java index c58a9a3b614..68c029d3a33 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Table.java +++ b/sdk/java/src/main/java/com/pulumi/aws/timestreamwrite/Table.java @@ -26,7 +26,8 @@ * ### Basic usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
+ *         var example = new Table("example", TableArgs.builder()        
  *             .databaseName(exampleAwsTimestreamwriteDatabase.databaseName())
- *             .tableName("example")
+ *             .tableName("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Full usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -82,25 +85,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
+ *         var example = new Table("example", TableArgs.builder()        
  *             .databaseName(exampleAwsTimestreamwriteDatabase.databaseName())
- *             .tableName("example")
+ *             .tableName("example")
  *             .retentionProperties(TableRetentionPropertiesArgs.builder()
  *                 .magneticStoreRetentionPeriodInDays(30)
  *                 .memoryStoreRetentionPeriodInHours(8)
  *                 .build())
- *             .tags(Map.of("Name", "example-timestream-table"))
+ *             .tags(Map.of("Name", "example-timestream-table"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Customer-defined Partition Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,21 +128,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Table("example", TableArgs.builder()        
+ *         var example = new Table("example", TableArgs.builder()        
  *             .databaseName(exampleAwsTimestreamwriteDatabase.databaseName())
- *             .tableName("example")
+ *             .tableName("example")
  *             .schema(TableSchemaArgs.builder()
  *                 .compositePartitionKey(TableSchemaCompositePartitionKeyArgs.builder()
- *                     .enforcementInRecord("REQUIRED")
- *                     .name("attr1")
- *                     .type("DIMENSION")
+ *                     .enforcementInRecord("REQUIRED")
+ *                     .name("attr1")
+ *                     .type("DIMENSION")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transcribe/LanguageModel.java b/sdk/java/src/main/java/com/pulumi/aws/transcribe/LanguageModel.java index 00896291b28..c4438f88479 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transcribe/LanguageModel.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transcribe/LanguageModel.java @@ -26,7 +26,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -62,61 +63,62 @@
  *     public static void stack(Context ctx) {
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("transcribe.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("transcribe.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("example")
- *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("example")
+ *             .assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var testPolicy = new RolePolicy("testPolicy", RolePolicyArgs.builder()        
- *             .name("example")
+ *         var testPolicy = new RolePolicy("testPolicy", RolePolicyArgs.builder()        
+ *             .name("example")
  *             .role(exampleRole.id())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", jsonArray(
- *                             "s3:GetObject", 
- *                             "s3:ListBucket"
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", jsonArray(
+ *                             "s3:GetObject", 
+ *                             "s3:ListBucket"
  *                         )),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Resource", jsonArray("*"))
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Resource", jsonArray("*"))
  *                     )))
  *                 )))
  *             .build());
  * 
- *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
- *             .bucket("example-transcribe")
+ *         var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()        
+ *             .bucket("example-transcribe")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
+ *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
  *             .bucket(exampleBucketV2.id())
- *             .key("transcribe/test1.txt")
- *             .source(new FileAsset("test1.txt"))
+ *             .key("transcribe/test1.txt")
+ *             .source(new FileAsset("test1.txt"))
  *             .build());
  * 
- *         var exampleLanguageModel = new LanguageModel("exampleLanguageModel", LanguageModelArgs.builder()        
- *             .modelName("example")
- *             .baseModelName("NarrowBand")
+ *         var exampleLanguageModel = new LanguageModel("exampleLanguageModel", LanguageModelArgs.builder()        
+ *             .modelName("example")
+ *             .baseModelName("NarrowBand")
  *             .inputDataConfig(LanguageModelInputDataConfigArgs.builder()
  *                 .dataAccessRoleArn(exampleRole.arn())
- *                 .s3Uri(exampleBucketV2.id().applyValue(id -> String.format("s3://%s/transcribe/", id)))
+ *                 .s3Uri(exampleBucketV2.id().applyValue(id -> String.format("s3://%s/transcribe/", id)))
  *                 .build())
- *             .languageCode("en-US")
- *             .tags(Map.of("ENVIRONMENT", "development"))
+ *             .languageCode("en-US")
+ *             .tags(Map.of("ENVIRONMENT", "development"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transcribe/MedicalVocabulary.java b/sdk/java/src/main/java/com/pulumi/aws/transcribe/MedicalVocabulary.java index 55cf074ce79..36e534f9841 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transcribe/MedicalVocabulary.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transcribe/MedicalVocabulary.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,28 +51,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example-medical-vocab-123")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example-medical-vocab-123")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
+ *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
  *             .bucket(example.id())
- *             .key("transcribe/test1.txt")
- *             .source(new FileAsset("test.txt"))
+ *             .key("transcribe/test1.txt")
+ *             .source(new FileAsset("test.txt"))
  *             .build());
  * 
- *         var exampleMedicalVocabulary = new MedicalVocabulary("exampleMedicalVocabulary", MedicalVocabularyArgs.builder()        
- *             .vocabularyName("example")
- *             .languageCode("en-US")
- *             .vocabularyFileUri(Output.tuple(example.id(), object.key()).applyValue(values -> {
+ *         var exampleMedicalVocabulary = new MedicalVocabulary("exampleMedicalVocabulary", MedicalVocabularyArgs.builder()        
+ *             .vocabularyName("example")
+ *             .languageCode("en-US")
+ *             .vocabularyFileUri(Output.tuple(example.id(), object.key()).applyValue(values -> {
  *                 var id = values.t1;
  *                 var key = values.t2;
- *                 return String.format("s3://%s/%s", id,key);
+ *                 return String.format("s3://%s/%s", id,key);
  *             }))
  *             .tags(Map.ofEntries(
- *                 Map.entry("tag1", "value1"),
- *                 Map.entry("tag2", "value3")
+ *                 Map.entry("tag1", "value1"),
+ *                 Map.entry("tag2", "value3")
  *             ))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(object)
@@ -79,7 +80,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transcribe/Vocabulary.java b/sdk/java/src/main/java/com/pulumi/aws/transcribe/Vocabulary.java index 724374b485c..9040665642f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transcribe/Vocabulary.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transcribe/Vocabulary.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,28 +52,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new BucketV2("example", BucketV2Args.builder()        
- *             .bucket("example-vocab-123")
+ *         var example = new BucketV2("example", BucketV2Args.builder()        
+ *             .bucket("example-vocab-123")
  *             .forceDestroy(true)
  *             .build());
  * 
- *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
+ *         var object = new BucketObjectv2("object", BucketObjectv2Args.builder()        
  *             .bucket(example.id())
- *             .key("transcribe/test1.txt")
- *             .source(new FileAsset("test.txt"))
+ *             .key("transcribe/test1.txt")
+ *             .source(new FileAsset("test.txt"))
  *             .build());
  * 
- *         var exampleVocabulary = new Vocabulary("exampleVocabulary", VocabularyArgs.builder()        
- *             .vocabularyName("example")
- *             .languageCode("en-US")
- *             .vocabularyFileUri(Output.tuple(example.id(), object.key()).applyValue(values -> {
+ *         var exampleVocabulary = new Vocabulary("exampleVocabulary", VocabularyArgs.builder()        
+ *             .vocabularyName("example")
+ *             .languageCode("en-US")
+ *             .vocabularyFileUri(Output.tuple(example.id(), object.key()).applyValue(values -> {
  *                 var id = values.t1;
  *                 var key = values.t2;
- *                 return String.format("s3://%s/%s", id,key);
+ *                 return String.format("s3://%s/%s", id,key);
  *             }))
  *             .tags(Map.ofEntries(
- *                 Map.entry("tag1", "value1"),
- *                 Map.entry("tag2", "value3")
+ *                 Map.entry("tag1", "value1"),
+ *                 Map.entry("tag2", "value3")
  *             ))
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(object)
@@ -80,7 +81,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transcribe/VocabularyFilter.java b/sdk/java/src/main/java/com/pulumi/aws/transcribe/VocabularyFilter.java index 909bb9e0693..11204368ad6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transcribe/VocabularyFilter.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transcribe/VocabularyFilter.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new VocabularyFilter("example", VocabularyFilterArgs.builder()        
- *             .vocabularyFilterName("example")
- *             .languageCode("en-US")
+ *         var example = new VocabularyFilter("example", VocabularyFilterArgs.builder()        
+ *             .vocabularyFilterName("example")
+ *             .languageCode("en-US")
  *             .words(            
- *                 "cars",
- *                 "bucket")
+ *                 "cars",
+ *                 "bucket")
  *             .tags(Map.ofEntries(
- *                 Map.entry("tag1", "value1"),
- *                 Map.entry("tag2", "value3")
+ *                 Map.entry("tag1", "value1"),
+ *                 Map.entry("tag2", "value3")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Access.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Access.java index a6d703deb35..38d101005d2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Access.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Access.java @@ -27,7 +27,8 @@ * ### Basic S3 * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,22 +49,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Access("example", AccessArgs.builder()        
- *             .externalId("S-1-1-12-1234567890-123456789-1234567890-1234")
+ *         var example = new Access("example", AccessArgs.builder()        
+ *             .externalId("S-1-1-12-1234567890-123456789-1234567890-1234")
  *             .serverId(exampleAwsTransferServer.id())
  *             .role(exampleAwsIamRole.arn())
- *             .homeDirectory(String.format("/%s/", exampleAwsS3Bucket.id()))
+ *             .homeDirectory(String.format("/%s/", exampleAwsS3Bucket.id()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic EFS * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -85,11 +88,11 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Access("test", AccessArgs.builder()        
- *             .externalId("S-1-1-12-1234567890-123456789-1234567890-1234")
+ *         var test = new Access("test", AccessArgs.builder()        
+ *             .externalId("S-1-1-12-1234567890-123456789-1234567890-1234")
  *             .serverId(testAwsTransferServer.id())
  *             .role(testAwsIamRole.arn())
- *             .homeDirectory(String.format("/%s/", testAwsEfsFileSystem.id()))
+ *             .homeDirectory(String.format("/%s/", testAwsEfsFileSystem.id()))
  *             .posixProfile(AccessPosixProfileArgs.builder()
  *                 .gid(1000)
  *                 .uid(1000)
@@ -98,7 +101,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Agreement.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Agreement.java index d8b1a97f080..9ef48078268 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Agreement.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Agreement.java @@ -23,7 +23,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,10 +45,10 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Agreement("example", AgreementArgs.builder()        
+ *         var example = new Agreement("example", AgreementArgs.builder()        
  *             .accessRole(test.arn())
- *             .baseDirectory("/DOC-EXAMPLE-BUCKET/home/mydirectory")
- *             .description("example")
+ *             .baseDirectory("/DOC-EXAMPLE-BUCKET/home/mydirectory")
+ *             .description("example")
  *             .localProfileId(local.profileId())
  *             .partnerProfileId(partner.profileId())
  *             .serverId(testAwsTransferServer.id())
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java index 87a5b4a8986..5924d61d3de 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Connector.java @@ -25,7 +25,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,30 +48,32 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connector("example", ConnectorArgs.builder()        
+ *         var example = new Connector("example", ConnectorArgs.builder()        
  *             .accessRole(test.arn())
  *             .as2Config(ConnectorAs2ConfigArgs.builder()
- *                 .compression("DISABLED")
- *                 .encryptionAlgorithm("AWS128_CBC")
- *                 .messageSubject("For Connector")
+ *                 .compression("DISABLED")
+ *                 .encryptionAlgorithm("AWS128_CBC")
+ *                 .messageSubject("For Connector")
  *                 .localProfileId(local.profileId())
- *                 .mdnResponse("NONE")
- *                 .mdnSigningAlgorithm("NONE")
+ *                 .mdnResponse("NONE")
+ *                 .mdnSigningAlgorithm("NONE")
  *                 .partnerProfileId(partner.profileId())
- *                 .signingAlgorithm("NONE")
+ *                 .signingAlgorithm("NONE")
  *                 .build())
- *             .url("http://www.test.com")
+ *             .url("http://www.test.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### SFTP Connector * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -92,18 +95,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Connector("example", ConnectorArgs.builder()        
+ *         var example = new Connector("example", ConnectorArgs.builder()        
  *             .accessRole(test.arn())
  *             .sftpConfig(ConnectorSftpConfigArgs.builder()
- *                 .trustedHostKeys("ssh-rsa AAAAB3NYourKeysHere")
+ *                 .trustedHostKeys("ssh-rsa AAAAB3NYourKeysHere")
  *                 .userSecretId(exampleAwsSecretsmanagerSecret.id())
  *                 .build())
- *             .url("sftp://test.com")
+ *             .url("sftp://test.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Profile.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Profile.java index 6b625ad2228..0a2de8fa542 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Profile.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Profile.java @@ -24,7 +24,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,15 +46,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Profile("example", ProfileArgs.builder()        
- *             .as2Id("example")
+ *         var example = new Profile("example", ProfileArgs.builder()        
+ *             .as2Id("example")
  *             .certificateIds(exampleAwsTransferCertificate.certificateId())
- *             .usage("LOCAL")
+ *             .usage("LOCAL")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Server.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Server.java index 6fad6311f36..691f4204367 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Server.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Server.java @@ -33,7 +33,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,19 +55,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .tags(Map.of("Name", "Example"))
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .tags(Map.of("Name", "Example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Security Policy Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -87,19 +90,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .securityPolicyName("TransferSecurityPolicy-2020-06")
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .securityPolicyName("TransferSecurityPolicy-2020-06")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### VPC Endpoint * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -121,8 +126,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .endpointType("VPC")
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .endpointType("VPC")
  *             .endpointDetails(ServerEndpointDetailsArgs.builder()
  *                 .addressAllocationIds(exampleAwsEip.id())
  *                 .subnetIds(exampleAwsSubnet.id())
@@ -132,13 +137,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS Directory authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -159,20 +166,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .identityProviderType("AWS_DIRECTORY_SERVICE")
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .identityProviderType("AWS_DIRECTORY_SERVICE")
  *             .directoryId(exampleAwsDirectoryServiceDirectory.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### AWS Lambda authentication * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -193,20 +202,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .identityProviderType("AWS_LAMBDA")
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .identityProviderType("AWS_LAMBDA")
  *             .function(exampleAwsLambdaIdentityProvider.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Protocols * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -228,29 +239,31 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .endpointType("VPC")
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .endpointType("VPC")
  *             .endpointDetails(ServerEndpointDetailsArgs.builder()
  *                 .subnetIds(exampleAwsSubnet.id())
  *                 .vpcId(exampleAwsVpc.id())
  *                 .build())
  *             .protocols(            
- *                 "FTP",
- *                 "FTPS")
+ *                 "FTP",
+ *                 "FTPS")
  *             .certificate(exampleAwsAcmCertificate.arn())
- *             .identityProviderType("API_GATEWAY")
- *             .url(String.format("%s%s", exampleAwsApiGatewayDeployment.invokeUrl(),exampleAwsApiGatewayResource.path()))
+ *             .identityProviderType("API_GATEWAY")
+ *             .url(String.format("%s%s", exampleAwsApiGatewayDeployment.invokeUrl(),exampleAwsApiGatewayResource.path()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Using Structured Logging Destinations * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -277,37 +290,38 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var transfer = new LogGroup("transfer", LogGroupArgs.builder()        
- *             .namePrefix("transfer_test_")
+ *         var transfer = new LogGroup("transfer", LogGroupArgs.builder()        
+ *             .namePrefix("transfer_test_")
  *             .build());
  * 
  *         final var transferAssumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("transfer.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("transfer.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var iamForTransfer = new Role("iamForTransfer", RoleArgs.builder()        
- *             .namePrefix("iam_for_transfer_")
- *             .assumeRolePolicy(transferAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
- *             .managedPolicyArns("arn:aws:iam::aws:policy/service-role/AWSTransferLoggingAccess")
+ *         var iamForTransfer = new Role("iamForTransfer", RoleArgs.builder()        
+ *             .namePrefix("iam_for_transfer_")
+ *             .assumeRolePolicy(transferAssumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .managedPolicyArns("arn:aws:iam::aws:policy/service-role/AWSTransferLoggingAccess")
  *             .build());
  * 
- *         var transferServer = new Server("transferServer", ServerArgs.builder()        
- *             .endpointType("PUBLIC")
+ *         var transferServer = new Server("transferServer", ServerArgs.builder()        
+ *             .endpointType("PUBLIC")
  *             .loggingRole(iamForTransfer.arn())
- *             .protocols("SFTP")
- *             .structuredLogDestinations(transfer.arn().applyValue(arn -> String.format("%s:*", arn)))
+ *             .protocols("SFTP")
+ *             .structuredLogDestinations(transfer.arn().applyValue(arn -> String.format("%s:*", arn)))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/SshKey.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/SshKey.java index 55f0d3b4c50..15d64cc1f79 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/SshKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/SshKey.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,63 +53,64 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var examplePrivateKey = new PrivateKey("examplePrivateKey", PrivateKeyArgs.builder()        
- *             .algorithm("RSA")
+ *         var examplePrivateKey = new PrivateKey("examplePrivateKey", PrivateKeyArgs.builder()        
+ *             .algorithm("RSA")
  *             .rsaBits(4096)
  *             .build());
  * 
- *         var exampleServer = new Server("exampleServer", ServerArgs.builder()        
- *             .identityProviderType("SERVICE_MANAGED")
- *             .tags(Map.of("NAME", "tf-acc-test-transfer-server"))
+ *         var exampleServer = new Server("exampleServer", ServerArgs.builder()        
+ *             .identityProviderType("SERVICE_MANAGED")
+ *             .tags(Map.of("NAME", "tf-acc-test-transfer-server"))
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("transfer.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("transfer.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
- *             .name("tf-test-transfer-user-iam-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var exampleRole = new Role("exampleRole", RoleArgs.builder()        
+ *             .name("tf-test-transfer-user-iam-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleUser = new User("exampleUser", UserArgs.builder()        
+ *         var exampleUser = new User("exampleUser", UserArgs.builder()        
  *             .serverId(exampleServer.id())
- *             .userName("tftestuser")
+ *             .userName("tftestuser")
  *             .role(exampleRole.arn())
- *             .tags(Map.of("NAME", "tftestuser"))
+ *             .tags(Map.of("NAME", "tftestuser"))
  *             .build());
  * 
- *         var exampleSshKey = new SshKey("exampleSshKey", SshKeyArgs.builder()        
+ *         var exampleSshKey = new SshKey("exampleSshKey", SshKeyArgs.builder()        
  *             .serverId(exampleServer.id())
  *             .userName(exampleUser.userName())
- *             .body(StdFunctions.trimspace().applyValue(invoke -> invoke.result()))
+ *             .body(StdFunctions.trimspace().applyValue(invoke -> invoke.result()))
  *             .build());
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("AllowFullAccesstoS3")
- *                 .effect("Allow")
- *                 .actions("s3:*")
- *                 .resources("*")
+ *                 .sid("AllowFullAccesstoS3")
+ *                 .effect("Allow")
+ *                 .actions("s3:*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
- *             .name("tf-test-transfer-user-iam-policy")
+ *         var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
+ *             .name("tf-test-transfer-user-iam-policy")
  *             .role(exampleRole.id())
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Tag.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Tag.java index dc3f4353824..f147f69c5e4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Tag.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Tag.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,25 +47,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Server("example", ServerArgs.builder()        
- *             .identityProviderType("SERVICE_MANAGED")
+ *         var example = new Server("example", ServerArgs.builder()        
+ *             .identityProviderType("SERVICE_MANAGED")
  *             .build());
  * 
- *         var zoneId = new Tag("zoneId", TagArgs.builder()        
+ *         var zoneId = new Tag("zoneId", TagArgs.builder()        
  *             .resourceArn(example.arn())
- *             .key("aws:transfer:route53HostedZoneId")
- *             .value("/hostedzone/MyHostedZoneId")
+ *             .key("aws:transfer:route53HostedZoneId")
+ *             .value("/hostedzone/MyHostedZoneId")
  *             .build());
  * 
- *         var hostname = new Tag("hostname", TagArgs.builder()        
+ *         var hostname = new Tag("hostname", TagArgs.builder()        
  *             .resourceArn(example.arn())
- *             .key("aws:transfer:customHostname")
- *             .value("example.com")
+ *             .key("aws:transfer:customHostname")
+ *             .value("example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/TransferFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/TransferFunctions.java index 121203f1fdd..3f0dcc34e0c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/TransferFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/TransferFunctions.java @@ -21,7 +21,8 @@ public final class TransferFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -43,12 +44,13 @@ public final class TransferFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = TransferFunctions.getServer(GetServerArgs.builder()
-     *             .serverId("s-1234567")
+     *             .serverId("s-1234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -62,7 +64,8 @@ public static Output getServer(GetServerArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -84,12 +87,13 @@ public static Output getServer(GetServerArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = TransferFunctions.getServer(GetServerArgs.builder()
-     *             .serverId("s-1234567")
+     *             .serverId("s-1234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getServerPlain(GetServerPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -125,12 +130,13 @@ public static CompletableFuture getServerPlain(GetServerPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = TransferFunctions.getServer(GetServerArgs.builder()
-     *             .serverId("s-1234567")
+     *             .serverId("s-1234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -144,7 +150,8 @@ public static Output getServer(GetServerArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -166,12 +173,13 @@ public static Output getServer(GetServerArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = TransferFunctions.getServer(GetServerArgs.builder()
-     *             .serverId("s-1234567")
+     *             .serverId("s-1234567")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/User.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/User.java index 9e65faebd83..4ec3d7242b2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/User.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/User.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,56 +53,57 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var fooServer = new Server("fooServer", ServerArgs.builder()        
- *             .identityProviderType("SERVICE_MANAGED")
- *             .tags(Map.of("NAME", "tf-acc-test-transfer-server"))
+ *         var fooServer = new Server("fooServer", ServerArgs.builder()        
+ *             .identityProviderType("SERVICE_MANAGED")
+ *             .tags(Map.of("NAME", "tf-acc-test-transfer-server"))
  *             .build());
  * 
  *         final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .effect("Allow")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("transfer.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("transfer.amazonaws.com")
  *                     .build())
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .build())
  *             .build());
  * 
- *         var fooRole = new Role("fooRole", RoleArgs.builder()        
- *             .name("tf-test-transfer-user-iam-role")
- *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var fooRole = new Role("fooRole", RoleArgs.builder()        
+ *             .name("tf-test-transfer-user-iam-role")
+ *             .assumeRolePolicy(assumeRole.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
  *         final var foo = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("AllowFullAccesstoS3")
- *                 .effect("Allow")
- *                 .actions("s3:*")
- *                 .resources("*")
+ *                 .sid("AllowFullAccesstoS3")
+ *                 .effect("Allow")
+ *                 .actions("s3:*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var fooRolePolicy = new RolePolicy("fooRolePolicy", RolePolicyArgs.builder()        
- *             .name("tf-test-transfer-user-iam-policy")
+ *         var fooRolePolicy = new RolePolicy("fooRolePolicy", RolePolicyArgs.builder()        
+ *             .name("tf-test-transfer-user-iam-policy")
  *             .role(fooRole.id())
- *             .policy(foo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(foo.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var fooUser = new User("fooUser", UserArgs.builder()        
+ *         var fooUser = new User("fooUser", UserArgs.builder()        
  *             .serverId(fooServer.id())
- *             .userName("tftestuser")
+ *             .userName("tftestuser")
  *             .role(fooRole.arn())
- *             .homeDirectoryType("LOGICAL")
+ *             .homeDirectoryType("LOGICAL")
  *             .homeDirectoryMappings(UserHomeDirectoryMappingArgs.builder()
- *                 .entry("/test.pdf")
- *                 .target("/bucket3/test-path/tftestuser.pdf")
+ *                 .entry("/test.pdf")
+ *                 .target("/bucket3/test-path/tftestuser.pdf")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/transfer/Workflow.java b/sdk/java/src/main/java/com/pulumi/aws/transfer/Workflow.java index 07a4a904c73..8170a08bbd4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/transfer/Workflow.java +++ b/sdk/java/src/main/java/com/pulumi/aws/transfer/Workflow.java @@ -26,7 +26,8 @@ * ### Basic single step example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,25 +50,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workflow("example", WorkflowArgs.builder()        
+ *         var example = new Workflow("example", WorkflowArgs.builder()        
  *             .steps(WorkflowStepArgs.builder()
  *                 .deleteStepDetails(WorkflowStepDeleteStepDetailsArgs.builder()
- *                     .name("example")
- *                     .sourceFileLocation("${original.file}")
+ *                     .name("example")
+ *                     .sourceFileLocation("${original.file}")
  *                     .build())
- *                 .type("DELETE")
+ *                 .type("DELETE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Multistep example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -91,33 +94,34 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Workflow("example", WorkflowArgs.builder()        
+ *         var example = new Workflow("example", WorkflowArgs.builder()        
  *             .steps(            
  *                 WorkflowStepArgs.builder()
  *                     .customStepDetails(WorkflowStepCustomStepDetailsArgs.builder()
- *                         .name("example")
- *                         .sourceFileLocation("${original.file}")
+ *                         .name("example")
+ *                         .sourceFileLocation("${original.file}")
  *                         .target(exampleAwsLambdaFunction.arn())
  *                         .timeoutSeconds(60)
  *                         .build())
- *                     .type("CUSTOM")
+ *                     .type("CUSTOM")
  *                     .build(),
  *                 WorkflowStepArgs.builder()
  *                     .tagStepDetails(WorkflowStepTagStepDetailsArgs.builder()
- *                         .name("example")
- *                         .sourceFileLocation("${original.file}")
+ *                         .name("example")
+ *                         .sourceFileLocation("${original.file}")
  *                         .tags(WorkflowStepTagStepDetailsTagArgs.builder()
- *                             .key("Name")
- *                             .value("Hello World")
+ *                             .key("Name")
+ *                             .value("Hello World")
  *                             .build())
  *                         .build())
- *                     .type("TAG")
+ *                     .type("TAG")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Endpoint.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Endpoint.java index 00339ef6d08..b51daef9e29 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Endpoint.java @@ -32,7 +32,8 @@ * ### Network Interface Example * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -54,17 +55,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Endpoint("example", EndpointArgs.builder()        
- *             .applicationDomain("example.com")
- *             .attachmentType("vpc")
- *             .description("example")
+ *         var example = new Endpoint("example", EndpointArgs.builder()        
+ *             .applicationDomain("example.com")
+ *             .attachmentType("vpc")
+ *             .description("example")
  *             .domainCertificateArn(exampleAwsAcmCertificate.arn())
- *             .endpointDomainPrefix("example")
- *             .endpointType("network-interface")
+ *             .endpointDomainPrefix("example")
+ *             .endpointType("network-interface")
  *             .networkInterfaceOptions(EndpointNetworkInterfaceOptionsArgs.builder()
  *                 .networkInterfaceId(exampleAwsNetworkInterface.id())
  *                 .port(443)
- *                 .protocol("https")
+ *                 .protocol("https")
  *                 .build())
  *             .securityGroupIds(exampleAwsSecurityGroup.id())
  *             .verifiedAccessGroupId(exampleAwsVerifiedaccessGroup.id())
@@ -72,7 +73,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Group.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Group.java index 3e407ca24f0..b1ff146b325 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Group.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Group("example", GroupArgs.builder()        
+ *         var example = new Group("example", GroupArgs.builder()        
  *             .verifiedaccessInstanceId(exampleAwsVerifiedaccessInstance.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Usage with KMS Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -80,18 +83,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var testKey = new Key("testKey", KeyArgs.builder()        
- *             .description("KMS key for Verified Access Group test")
+ *         var testKey = new Key("testKey", KeyArgs.builder()        
+ *             .description("KMS key for Verified Access Group test")
  *             .build());
  * 
- *         var test = new Group("test", GroupArgs.builder()        
+ *         var test = new Group("test", GroupArgs.builder()        
  *             .verifiedaccessInstanceId(testAwsVerifiedaccessInstanceTrustProviderAttachment.verifiedaccessInstanceId())
  *             .serverSideEncryptionConfiguration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java index 7011bf41783..4231ea440b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/Instance.java @@ -26,7 +26,8 @@ * ### Basic * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,20 +48,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Instance("example", InstanceArgs.builder()        
- *             .description("example")
- *             .tags(Map.of("Name", "example"))
+ *         var example = new Instance("example", InstanceArgs.builder()        
+ *             .description("example")
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With `fips_enabled` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -81,13 +84,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Instance("example", InstanceArgs.builder()        
+ *         var example = new Instance("example", InstanceArgs.builder()        
  *             .fipsEnabled(true)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceLoggingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceLoggingConfiguration.java index cd8d0bea725..df266843089 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceLoggingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceLoggingConfiguration.java @@ -22,7 +22,8 @@ * ### With CloudWatch Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,7 +46,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
+ *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
  *             .accessLogs(InstanceLoggingConfigurationAccessLogsArgs.builder()
  *                 .cloudwatchLogs(InstanceLoggingConfigurationAccessLogsCloudwatchLogsArgs.builder()
  *                     .enabled(true)
@@ -57,13 +58,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Kinesis Data Firehose Logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,7 +89,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
+ *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
  *             .accessLogs(InstanceLoggingConfigurationAccessLogsArgs.builder()
  *                 .kinesisDataFirehose(InstanceLoggingConfigurationAccessLogsKinesisDataFirehoseArgs.builder()
  *                     .deliveryStream(exampleAwsKinesisFirehoseDeliveryStream.name())
@@ -98,13 +101,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With S3 logging * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -127,12 +132,12 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
+ *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
  *             .accessLogs(InstanceLoggingConfigurationAccessLogsArgs.builder()
  *                 .s3(InstanceLoggingConfigurationAccessLogsS3Args.builder()
  *                     .bucketName(exampleAwsS3Bucket.id())
  *                     .enabled(true)
- *                     .prefix("example")
+ *                     .prefix("example")
  *                     .build())
  *                 .build())
  *             .verifiedaccessInstanceId(exampleAwsVerifiedaccessInstance.id())
@@ -140,13 +145,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With all three logging options * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -171,7 +178,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
+ *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
  *             .accessLogs(InstanceLoggingConfigurationAccessLogsArgs.builder()
  *                 .cloudwatchLogs(InstanceLoggingConfigurationAccessLogsCloudwatchLogsArgs.builder()
  *                     .enabled(true)
@@ -191,13 +198,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With `include_trust_context` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -219,7 +228,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
+ *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
  *             .accessLogs(InstanceLoggingConfigurationAccessLogsArgs.builder()
  *                 .includeTrustContext(true)
  *                 .build())
@@ -228,13 +237,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With `log_version` * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -256,16 +267,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
+ *         var example = new InstanceLoggingConfiguration("example", InstanceLoggingConfigurationArgs.builder()        
  *             .accessLogs(InstanceLoggingConfigurationAccessLogsArgs.builder()
- *                 .logVersion("ocsf-1.0.0-rc.2")
+ *                 .logVersion("ocsf-1.0.0-rc.2")
  *                 .build())
  *             .verifiedaccessInstanceId(exampleAwsVerifiedaccessInstance.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceTrustProviderAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceTrustProviderAttachment.java index 7718e6a5e02..c425d94813e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceTrustProviderAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/InstanceTrustProviderAttachment.java @@ -19,7 +19,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,25 +45,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Instance("example");
+ *         var example = new Instance("example");
  * 
- *         var exampleTrustProvider = new TrustProvider("exampleTrustProvider", TrustProviderArgs.builder()        
- *             .deviceTrustProviderType("jamf")
- *             .policyReferenceName("example")
- *             .trustProviderType("device")
+ *         var exampleTrustProvider = new TrustProvider("exampleTrustProvider", TrustProviderArgs.builder()        
+ *             .deviceTrustProviderType("jamf")
+ *             .policyReferenceName("example")
+ *             .trustProviderType("device")
  *             .deviceOptions(TrustProviderDeviceOptionsArgs.builder()
- *                 .tenantId("example")
+ *                 .tenantId("example")
  *                 .build())
  *             .build());
  * 
- *         var exampleInstanceTrustProviderAttachment = new InstanceTrustProviderAttachment("exampleInstanceTrustProviderAttachment", InstanceTrustProviderAttachmentArgs.builder()        
+ *         var exampleInstanceTrustProviderAttachment = new InstanceTrustProviderAttachment("exampleInstanceTrustProviderAttachment", InstanceTrustProviderAttachmentArgs.builder()        
  *             .verifiedaccessInstanceId(example.id())
  *             .verifiedaccessTrustProviderId(exampleTrustProvider.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/TrustProvider.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/TrustProvider.java index 2b9d1614a1e..0dc67ebaf39 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/TrustProvider.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedaccess/TrustProvider.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,15 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TrustProvider("example", TrustProviderArgs.builder()        
- *             .policyReferenceName("example")
- *             .trustProviderType("user")
- *             .userTrustProviderType("iam-identity-center")
+ *         var example = new TrustProvider("example", TrustProviderArgs.builder()        
+ *             .policyReferenceName("example")
+ *             .trustProviderType("user")
+ *             .userTrustProviderType("iam-identity-center")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Policy.java index 47c8f3fe9b8..936607f3357 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Policy.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,18 +47,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Policy("test", PolicyArgs.builder()        
+ *         var test = new Policy("test", PolicyArgs.builder()        
  *             .policyStoreId(testAwsVerifiedpermissionsPolicyStore.id())
  *             .definition(PolicyDefinitionArgs.builder()
  *                 .static_(PolicyDefinitionStaticArgs.builder()
- *                     .statement("permit (principal, action == Action::\"view\", resource in Album:: \"test_album\");")
+ *                     .statement("permit (principal, action == Action::\"view\", resource in Album:: \"test_album\");")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyStore.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyStore.java index c38dd792bab..7e303aeb52b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyStore.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyStore.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,15 +44,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PolicyStore("example", PolicyStoreArgs.builder()        
+ *         var example = new PolicyStore("example", PolicyStoreArgs.builder()        
  *             .validationSettings(PolicyStoreValidationSettingsArgs.builder()
- *                 .mode("STRICT")
+ *                 .mode("STRICT")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyTemplate.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyTemplate.java index 902ec2d0c3a..23022dafdb1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/PolicyTemplate.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,14 +44,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new PolicyTemplate("example", PolicyTemplateArgs.builder()        
+ *         var example = new PolicyTemplate("example", PolicyTemplateArgs.builder()        
  *             .policyStoreId(exampleAwsVerifiedpermissionsPolicyStore.id())
- *             .statement("permit (principal in ?principal, action in PhotoFlash::Action::\"FullPhotoAccess\", resource == ?resource) unless { resource.IsPrivate };")
+ *             .statement("permit (principal in ?principal, action in PhotoFlash::Action::\"FullPhotoAccess\", resource == ?resource) unless { resource.IsPrivate };")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Schema.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Schema.java index 6a21b827049..8a729862879 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Schema.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/Schema.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,16 +45,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Schema("example", SchemaArgs.builder()        
+ *         var example = new Schema("example", SchemaArgs.builder()        
  *             .policyStoreId(exampleAwsVerifiedpermissionsPolicyStore.policyStoreId())
  *             .definition(SchemaDefinitionArgs.builder()
  *                 .value(serializeJson(
  *                     jsonObject(
- *                         jsonProperty("Namespace", jsonObject(
- *                             jsonProperty("entityTypes", jsonObject(
+ *                         jsonProperty("Namespace", jsonObject(
+ *                             jsonProperty("entityTypes", jsonObject(
  * 
  *                             )),
- *                             jsonProperty("actions", jsonObject(
+ *                             jsonProperty("actions", jsonObject(
  * 
  *                             ))
  *                         ))
@@ -63,7 +64,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/VerifiedpermissionsFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/VerifiedpermissionsFunctions.java index 52e64f12ef9..8c5f00b703e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/VerifiedpermissionsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/verifiedpermissions/VerifiedpermissionsFunctions.java @@ -22,7 +22,8 @@ public final class VerifiedpermissionsFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -44,12 +45,13 @@ public final class VerifiedpermissionsFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VerifiedpermissionsFunctions.getPolicyStore(GetPolicyStoreArgs.builder()
-     *             .id("example")
+     *             .id("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -64,7 +66,8 @@ public static Output getPolicyStore(GetPolicyStoreArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,12 +89,13 @@ public static Output getPolicyStore(GetPolicyStoreArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VerifiedpermissionsFunctions.getPolicyStore(GetPolicyStoreArgs.builder()
-     *             .id("example")
+     *             .id("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -106,7 +110,8 @@ public static CompletableFuture getPolicyStorePlain(GetPol * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -128,12 +133,13 @@ public static CompletableFuture getPolicyStorePlain(GetPol
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VerifiedpermissionsFunctions.getPolicyStore(GetPolicyStoreArgs.builder()
-     *             .id("example")
+     *             .id("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -148,7 +154,8 @@ public static Output getPolicyStore(GetPolicyStoreArgs arg * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,12 +177,13 @@ public static Output getPolicyStore(GetPolicyStoreArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VerifiedpermissionsFunctions.getPolicyStore(GetPolicyStoreArgs.builder()
-     *             .id("example")
+     *             .id("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupEgressRule.java b/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupEgressRule.java index 0203fed28c5..ad7d30c0beb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupEgressRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupEgressRule.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,17 +51,18 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityGroupEgressRule("example", SecurityGroupEgressRuleArgs.builder()        
+ *         var example = new SecurityGroupEgressRule("example", SecurityGroupEgressRuleArgs.builder()        
  *             .securityGroupId(exampleAwsSecurityGroup.id())
- *             .cidrIpv4("10.0.0.0/8")
+ *             .cidrIpv4("10.0.0.0/8")
  *             .fromPort(80)
- *             .ipProtocol("tcp")
+ *             .ipProtocol("tcp")
  *             .toPort(80)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupIngressRule.java b/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupIngressRule.java index cd97873a2af..0a59899e092 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupIngressRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpc/SecurityGroupIngressRule.java @@ -29,7 +29,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,24 +53,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
- *             .name("example")
- *             .description("example")
+ *         var example = new SecurityGroup("example", SecurityGroupArgs.builder()        
+ *             .name("example")
+ *             .description("example")
  *             .vpcId(main.id())
- *             .tags(Map.of("Name", "example"))
+ *             .tags(Map.of("Name", "example"))
  *             .build());
  * 
- *         var exampleSecurityGroupIngressRule = new SecurityGroupIngressRule("exampleSecurityGroupIngressRule", SecurityGroupIngressRuleArgs.builder()        
+ *         var exampleSecurityGroupIngressRule = new SecurityGroupIngressRule("exampleSecurityGroupIngressRule", SecurityGroupIngressRuleArgs.builder()        
  *             .securityGroupId(example.id())
- *             .cidrIpv4("10.0.0.0/8")
+ *             .cidrIpv4("10.0.0.0/8")
  *             .fromPort(80)
- *             .ipProtocol("tcp")
+ *             .ipProtocol("tcp")
  *             .toPort(80)
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpc/VpcFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/vpc/VpcFunctions.java index f05376c121b..00c0ae53947 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpc/VpcFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpc/VpcFunctions.java @@ -23,7 +23,8 @@ public final class VpcFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -50,7 +51,8 @@ public final class VpcFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -63,7 +65,8 @@ public static Output getSecurityGroupRule() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -90,7 +93,8 @@ public static Output getSecurityGroupRule() {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -103,7 +107,8 @@ public static CompletableFuture getSecurityGroupRule * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -130,7 +135,8 @@ public static CompletableFuture getSecurityGroupRule
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -143,7 +149,8 @@ public static Output getSecurityGroupRule(GetSecurit * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -170,7 +177,8 @@ public static Output getSecurityGroupRule(GetSecurit
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getSecurityGroupRule * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -210,7 +219,8 @@ public static CompletableFuture getSecurityGroupRule
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -223,7 +233,8 @@ public static Output getSecurityGroupRule(GetSecurit * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -250,7 +261,8 @@ public static Output getSecurityGroupRule(GetSecurit
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -263,7 +275,8 @@ public static CompletableFuture getSecurityGroupRule * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -286,14 +299,15 @@ public static CompletableFuture getSecurityGroupRule
      *     public static void stack(Context ctx) {
      *         final var example = VpcFunctions.getSecurityGroupRules(GetSecurityGroupRulesArgs.builder()
      *             .filters(GetSecurityGroupRulesFilterArgs.builder()
-     *                 .name("group-id")
+     *                 .name("group-id")
      *                 .values(securityGroupId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -306,7 +320,8 @@ public static Output getSecurityGroupRules() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -329,14 +344,15 @@ public static Output getSecurityGroupRules() {
      *     public static void stack(Context ctx) {
      *         final var example = VpcFunctions.getSecurityGroupRules(GetSecurityGroupRulesArgs.builder()
      *             .filters(GetSecurityGroupRulesFilterArgs.builder()
-     *                 .name("group-id")
+     *                 .name("group-id")
      *                 .values(securityGroupId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -349,7 +365,8 @@ public static CompletableFuture getSecurityGroupRul * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -372,14 +389,15 @@ public static CompletableFuture getSecurityGroupRul
      *     public static void stack(Context ctx) {
      *         final var example = VpcFunctions.getSecurityGroupRules(GetSecurityGroupRulesArgs.builder()
      *             .filters(GetSecurityGroupRulesFilterArgs.builder()
-     *                 .name("group-id")
+     *                 .name("group-id")
      *                 .values(securityGroupId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -392,7 +410,8 @@ public static Output getSecurityGroupRules(GetSecur * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -415,14 +434,15 @@ public static Output getSecurityGroupRules(GetSecur
      *     public static void stack(Context ctx) {
      *         final var example = VpcFunctions.getSecurityGroupRules(GetSecurityGroupRulesArgs.builder()
      *             .filters(GetSecurityGroupRulesFilterArgs.builder()
-     *                 .name("group-id")
+     *                 .name("group-id")
      *                 .values(securityGroupId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -435,7 +455,8 @@ public static CompletableFuture getSecurityGroupRul * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -458,14 +479,15 @@ public static CompletableFuture getSecurityGroupRul
      *     public static void stack(Context ctx) {
      *         final var example = VpcFunctions.getSecurityGroupRules(GetSecurityGroupRulesArgs.builder()
      *             .filters(GetSecurityGroupRulesFilterArgs.builder()
-     *                 .name("group-id")
+     *                 .name("group-id")
      *                 .values(securityGroupId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -478,7 +500,8 @@ public static Output getSecurityGroupRules(GetSecur * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -501,14 +524,15 @@ public static Output getSecurityGroupRules(GetSecur
      *     public static void stack(Context ctx) {
      *         final var example = VpcFunctions.getSecurityGroupRules(GetSecurityGroupRulesArgs.builder()
      *             .filters(GetSecurityGroupRulesFilterArgs.builder()
-     *                 .name("group-id")
+     *                 .name("group-id")
      *                 .values(securityGroupId)
      *                 .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AccessLogSubscription.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AccessLogSubscription.java index 4f7128a9f31..73714bdd3ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AccessLogSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AccessLogSubscription.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new AccessLogSubscription("example", AccessLogSubscriptionArgs.builder()        
+ *         var example = new AccessLogSubscription("example", AccessLogSubscriptionArgs.builder()        
  *             .resourceIdentifier(exampleAwsVpclatticeServiceNetwork.id())
  *             .destinationArn(bucket.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AuthPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AuthPolicy.java index 38c7db7db71..6f0ee873910 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AuthPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/AuthPolicy.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,25 +47,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example-vpclattice-service")
- *             .authType("AWS_IAM")
- *             .customDomainName("example.com")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example-vpclattice-service")
+ *             .authType("AWS_IAM")
+ *             .customDomainName("example.com")
  *             .build());
  * 
- *         var exampleAuthPolicy = new AuthPolicy("exampleAuthPolicy", AuthPolicyArgs.builder()        
+ *         var exampleAuthPolicy = new AuthPolicy("exampleAuthPolicy", AuthPolicyArgs.builder()        
  *             .resourceIdentifier(example.arn())
  *             .policy(serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Action", "*"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", "*"),
- *                         jsonProperty("Resource", "*"),
- *                         jsonProperty("Condition", jsonObject(
- *                             jsonProperty("StringNotEqualsIgnoreCase", jsonObject(
- *                                 jsonProperty("aws:PrincipalType", "anonymous")
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Action", "*"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", "*"),
+ *                         jsonProperty("Resource", "*"),
+ *                         jsonProperty("Condition", jsonObject(
+ *                             jsonProperty("StringNotEqualsIgnoreCase", jsonObject(
+ *                                 jsonProperty("aws:PrincipalType", "anonymous")
  *                             ))
  *                         ))
  *                     )))
@@ -73,7 +74,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Listener.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Listener.java index 11bf0c9c5cd..3c0c7a183ca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Listener.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Listener.java @@ -25,7 +25,8 @@ * ### Fixed response action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,13 +51,13 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
- *             .name("example")
- *             .protocol("HTTPS")
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *             .name("example")
+ *             .protocol("HTTPS")
  *             .serviceIdentifier(example.id())
  *             .defaultAction(ListenerDefaultActionArgs.builder()
  *                 .fixedResponse(ListenerDefaultActionFixedResponseArgs.builder()
@@ -67,13 +68,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Forward action * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -100,23 +103,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup", TargetGroupArgs.builder()        
- *             .name("example-target-group-1")
- *             .type("INSTANCE")
+ *         var exampleTargetGroup = new TargetGroup("exampleTargetGroup", TargetGroupArgs.builder()        
+ *             .name("example-target-group-1")
+ *             .type("INSTANCE")
  *             .config(TargetGroupConfigArgs.builder()
  *                 .port(80)
- *                 .protocol("HTTP")
+ *                 .protocol("HTTP")
  *                 .vpcIdentifier(exampleAwsVpc.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
- *             .name("example")
- *             .protocol("HTTP")
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *             .name("example")
+ *             .protocol("HTTP")
  *             .serviceIdentifier(example.id())
  *             .defaultAction(ListenerDefaultActionArgs.builder()
  *                 .forwards(ListenerDefaultActionForwardArgs.builder()
@@ -129,13 +132,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Forward action with weighted target groups * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -162,33 +167,33 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var example1 = new TargetGroup("example1", TargetGroupArgs.builder()        
- *             .name("example-target-group-1")
- *             .type("INSTANCE")
+ *         var example1 = new TargetGroup("example1", TargetGroupArgs.builder()        
+ *             .name("example-target-group-1")
+ *             .type("INSTANCE")
  *             .config(TargetGroupConfigArgs.builder()
  *                 .port(80)
- *                 .protocol("HTTP")
+ *                 .protocol("HTTP")
  *                 .vpcIdentifier(exampleAwsVpc.id())
  *                 .build())
  *             .build());
  * 
- *         var example2 = new TargetGroup("example2", TargetGroupArgs.builder()        
- *             .name("example-target-group-2")
- *             .type("INSTANCE")
+ *         var example2 = new TargetGroup("example2", TargetGroupArgs.builder()        
+ *             .name("example-target-group-2")
+ *             .type("INSTANCE")
  *             .config(TargetGroupConfigArgs.builder()
  *                 .port(8080)
- *                 .protocol("HTTP")
+ *                 .protocol("HTTP")
  *                 .vpcIdentifier(exampleAwsVpc.id())
  *                 .build())
  *             .build());
  * 
- *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
- *             .name("example")
- *             .protocol("HTTP")
+ *         var exampleListener = new Listener("exampleListener", ListenerArgs.builder()        
+ *             .name("example")
+ *             .protocol("HTTP")
  *             .serviceIdentifier(example.id())
  *             .defaultAction(ListenerDefaultActionArgs.builder()
  *                 .forwards(ListenerDefaultActionForwardArgs.builder()
@@ -207,7 +212,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ListenerRule.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ListenerRule.java index b1fa2db4e44..2c4ff840b46 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ListenerRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ListenerRule.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -51,24 +52,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ListenerRule("test", ListenerRuleArgs.builder()        
- *             .name("example")
+ *         var test = new ListenerRule("test", ListenerRuleArgs.builder()        
+ *             .name("example")
  *             .listenerIdentifier(exampleAwsVpclatticeListener.listenerId())
  *             .serviceIdentifier(exampleAwsVpclatticeService.id())
  *             .priority(20)
  *             .match(ListenerRuleMatchArgs.builder()
  *                 .httpMatch(ListenerRuleMatchHttpMatchArgs.builder()
  *                     .headerMatches(ListenerRuleMatchHttpMatchHeaderMatchArgs.builder()
- *                         .name("example-header")
+ *                         .name("example-header")
  *                         .caseSensitive(false)
  *                         .match(ListenerRuleMatchHttpMatchHeaderMatchMatchArgs.builder()
- *                             .exact("example-contains")
+ *                             .exact("example-contains")
  *                             .build())
  *                         .build())
  *                     .pathMatch(ListenerRuleMatchHttpMatchPathMatchArgs.builder()
  *                         .caseSensitive(true)
  *                         .match(ListenerRuleMatchHttpMatchPathMatchMatchArgs.builder()
- *                             .prefix("/example-path")
+ *                             .prefix("/example-path")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -90,13 +91,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,8 +126,8 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new ListenerRule("test", ListenerRuleArgs.builder()        
- *             .name("example")
+ *         var test = new ListenerRule("test", ListenerRuleArgs.builder()        
+ *             .name("example")
  *             .listenerIdentifier(example.listenerId())
  *             .serviceIdentifier(exampleAwsVpclatticeService.id())
  *             .priority(10)
@@ -133,7 +136,7 @@
  *                     .pathMatch(ListenerRuleMatchHttpMatchPathMatchArgs.builder()
  *                         .caseSensitive(false)
  *                         .match(ListenerRuleMatchHttpMatchPathMatchMatchArgs.builder()
- *                             .exact("/example-path")
+ *                             .exact("/example-path")
  *                             .build())
  *                         .build())
  *                     .build())
@@ -147,7 +150,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ResourcePolicy.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ResourcePolicy.java index ad26470e5b1..f2b37da477e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ResourcePolicy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ResourcePolicy.java @@ -21,7 +21,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,34 +53,35 @@
  * 
  *         final var currentGetPartition = AwsFunctions.getPartition();
  * 
- *         var example = new ServiceNetwork("example", ServiceNetworkArgs.builder()        
- *             .name("example-vpclattice-service-network")
+ *         var example = new ServiceNetwork("example", ServiceNetworkArgs.builder()        
+ *             .name("example-vpclattice-service-network")
  *             .build());
  * 
- *         var exampleResourcePolicy = new ResourcePolicy("exampleResourcePolicy", ResourcePolicyArgs.builder()        
+ *         var exampleResourcePolicy = new ResourcePolicy("exampleResourcePolicy", ResourcePolicyArgs.builder()        
  *             .resourceArn(example.arn())
- *             .policy(example.arn().applyValue(arn -> serializeJson(
+ *             .policy(example.arn().applyValue(arn -> serializeJson(
  *                 jsonObject(
- *                     jsonProperty("Version", "2012-10-17"),
- *                     jsonProperty("Statement", jsonArray(jsonObject(
- *                         jsonProperty("Sid", "test-pol-principals-6"),
- *                         jsonProperty("Effect", "Allow"),
- *                         jsonProperty("Principal", jsonObject(
- *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     jsonProperty("Version", "2012-10-17"),
+ *                     jsonProperty("Statement", jsonArray(jsonObject(
+ *                         jsonProperty("Sid", "test-pol-principals-6"),
+ *                         jsonProperty("Effect", "Allow"),
+ *                         jsonProperty("Principal", jsonObject(
+ *                             jsonProperty("AWS", String.format("arn:%s:iam::%s:root", currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.partition()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                         )),
- *                         jsonProperty("Action", jsonArray(
- *                             "vpc-lattice:CreateServiceNetworkVpcAssociation", 
- *                             "vpc-lattice:CreateServiceNetworkServiceAssociation", 
- *                             "vpc-lattice:GetServiceNetwork"
+ *                         jsonProperty("Action", jsonArray(
+ *                             "vpc-lattice:CreateServiceNetworkVpcAssociation", 
+ *                             "vpc-lattice:CreateServiceNetworkServiceAssociation", 
+ *                             "vpc-lattice:GetServiceNetwork"
  *                         )),
- *                         jsonProperty("Resource", arn)
+ *                         jsonProperty("Resource", arn)
  *                     )))
  *                 ))))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Service.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Service.java index cd383b043ed..596b904091c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Service.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/Service.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,15 +47,16 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Service("example", ServiceArgs.builder()        
- *             .name("example")
- *             .authType("AWS_IAM")
- *             .customDomainName("example.com")
+ *         var example = new Service("example", ServiceArgs.builder()        
+ *             .name("example")
+ *             .authType("AWS_IAM")
+ *             .customDomainName("example.com")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetwork.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetwork.java index 0d07fddd1a0..f4faf537dd0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetwork.java @@ -23,7 +23,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,14 +45,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServiceNetwork("example", ServiceNetworkArgs.builder()        
- *             .name("example")
- *             .authType("AWS_IAM")
+ *         var example = new ServiceNetwork("example", ServiceNetworkArgs.builder()        
+ *             .name("example")
+ *             .authType("AWS_IAM")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkServiceAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkServiceAssociation.java index 979577322f8..2d007952c4d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkServiceAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkServiceAssociation.java @@ -25,7 +25,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,14 +47,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServiceNetworkServiceAssociation("example", ServiceNetworkServiceAssociationArgs.builder()        
+ *         var example = new ServiceNetworkServiceAssociation("example", ServiceNetworkServiceAssociationArgs.builder()        
  *             .serviceIdentifier(exampleAwsVpclatticeService.id())
  *             .serviceNetworkIdentifier(exampleAwsVpclatticeServiceNetwork.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkVpcAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkVpcAssociation.java index 5a83fedf7a2..aa7135f52b4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkVpcAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/ServiceNetworkVpcAssociation.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,7 +46,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ServiceNetworkVpcAssociation("example", ServiceNetworkVpcAssociationArgs.builder()        
+ *         var example = new ServiceNetworkVpcAssociation("example", ServiceNetworkVpcAssociationArgs.builder()        
  *             .vpcIdentifier(exampleAwsVpc.id())
  *             .serviceNetworkIdentifier(exampleAwsVpclatticeServiceNetwork.id())
  *             .securityGroupIds(exampleAwsSecurityGroup.id())
@@ -53,7 +54,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroup.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroup.java index a82a6783b85..7164f6ab25a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroup.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -46,25 +47,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
- *             .name("example")
- *             .type("INSTANCE")
+ *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
+ *             .name("example")
+ *             .type("INSTANCE")
  *             .config(TargetGroupConfigArgs.builder()
  *                 .vpcIdentifier(exampleAwsVpc.id())
  *                 .port(443)
- *                 .protocol("HTTPS")
+ *                 .protocol("HTTPS")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Basic usage with Health check * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -88,15 +91,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
- *             .name("example")
- *             .type("IP")
+ *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
+ *             .name("example")
+ *             .type("IP")
  *             .config(TargetGroupConfigArgs.builder()
  *                 .vpcIdentifier(exampleAwsVpc.id())
- *                 .ipAddressType("IPV4")
+ *                 .ipAddressType("IPV4")
  *                 .port(443)
- *                 .protocol("HTTPS")
- *                 .protocolVersion("HTTP1")
+ *                 .protocol("HTTPS")
+ *                 .protocolVersion("HTTP1")
  *                 .healthCheck(TargetGroupConfigHealthCheckArgs.builder()
  *                     .enabled(true)
  *                     .healthCheckIntervalSeconds(20)
@@ -104,19 +107,20 @@
  *                     .healthyThresholdCount(7)
  *                     .unhealthyThresholdCount(3)
  *                     .matcher(TargetGroupConfigHealthCheckMatcherArgs.builder()
- *                         .value("200-299")
+ *                         .value("200-299")
  *                         .build())
- *                     .path("/instance")
+ *                     .path("/instance")
  *                     .port(80)
- *                     .protocol("HTTP")
- *                     .protocolVersion("HTTP1")
+ *                     .protocol("HTTP")
+ *                     .protocolVersion("HTTP1")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### ALB @@ -124,7 +128,8 @@ * If the type is ALB, `health_check` block is not supported. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -146,20 +151,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
- *             .name("example")
- *             .type("ALB")
+ *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
+ *             .name("example")
+ *             .type("ALB")
  *             .config(TargetGroupConfigArgs.builder()
  *                 .vpcIdentifier(exampleAwsVpc.id())
  *                 .port(443)
- *                 .protocol("HTTPS")
- *                 .protocolVersion("HTTP1")
+ *                 .protocol("HTTPS")
+ *                 .protocolVersion("HTTP1")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Lambda @@ -167,7 +173,8 @@ * If the type is Lambda, `config` block is not supported. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -188,14 +195,15 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
- *             .name("example")
- *             .type("LAMBDA")
+ *         var example = new TargetGroup("example", TargetGroupArgs.builder()        
+ *             .name("example")
+ *             .type("LAMBDA")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroupAttachment.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroupAttachment.java index ea51acd89d5..886c4c66d2c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroupAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/TargetGroupAttachment.java @@ -22,7 +22,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,7 +45,7 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new TargetGroupAttachment("example", TargetGroupAttachmentArgs.builder()        
+ *         var example = new TargetGroupAttachment("example", TargetGroupAttachmentArgs.builder()        
  *             .targetGroupIdentifier(exampleAwsVpclatticeTargetGroup.id())
  *             .target(TargetGroupAttachmentTargetArgs.builder()
  *                 .id(exampleAwsLb.arn())
@@ -54,7 +55,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/VpclatticeFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/VpclatticeFunctions.java index 96dd49dd752..763bd3fbfe0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/vpclattice/VpclatticeFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/vpclattice/VpclatticeFunctions.java @@ -34,7 +34,8 @@ public final class VpclatticeFunctions { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -61,7 +62,8 @@ public final class VpclatticeFunctions {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -76,7 +78,8 @@ public static Output getAuthPolicy(GetAuthPolicyArgs args) * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -103,7 +106,8 @@ public static Output getAuthPolicy(GetAuthPolicyArgs args)
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -118,7 +122,8 @@ public static CompletableFuture getAuthPolicyPlain(GetAuthP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -145,7 +150,8 @@ public static CompletableFuture getAuthPolicyPlain(GetAuthP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -160,7 +166,8 @@ public static Output getAuthPolicy(GetAuthPolicyArgs args, * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -187,7 +194,8 @@ public static Output getAuthPolicy(GetAuthPolicyArgs args,
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -202,7 +210,8 @@ public static CompletableFuture getAuthPolicyPlain(GetAuthP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -227,7 +236,8 @@ public static CompletableFuture getAuthPolicyPlain(GetAuthP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -242,7 +252,8 @@ public static Output getListener(GetListenerArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -267,7 +278,8 @@ public static Output getListener(GetListenerArgs args) {
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -282,7 +294,8 @@ public static CompletableFuture getListenerPlain(GetListenerP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -307,7 +320,8 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -322,7 +336,8 @@ public static Output getListener(GetListenerArgs args, Invoke * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -347,7 +362,8 @@ public static Output getListener(GetListenerArgs args, Invoke
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -362,7 +378,8 @@ public static CompletableFuture getListenerPlain(GetListenerP * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -389,7 +406,8 @@ public static CompletableFuture getListenerPlain(GetListenerP
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -404,7 +422,8 @@ public static Output getResourcePolicy(GetResourcePolic * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -431,7 +450,8 @@ public static Output getResourcePolicy(GetResourcePolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -446,7 +466,8 @@ public static CompletableFuture getResourcePolicyPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -473,7 +494,8 @@ public static CompletableFuture getResourcePolicyPlain(
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -488,7 +510,8 @@ public static Output getResourcePolicy(GetResourcePolic * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -515,7 +538,8 @@ public static Output getResourcePolicy(GetResourcePolic
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -530,7 +554,8 @@ public static CompletableFuture getResourcePolicyPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -552,12 +577,13 @@ public static CompletableFuture getResourcePolicyPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -572,7 +598,8 @@ public static Output getService() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -594,12 +621,13 @@ public static Output getService() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -614,7 +642,8 @@ public static CompletableFuture getServicePlain() { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -636,12 +665,13 @@ public static CompletableFuture getServicePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -656,7 +686,8 @@ public static Output getService(GetServiceArgs args) { * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -678,12 +709,13 @@ public static Output getService(GetServiceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -698,7 +730,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -720,12 +753,13 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -740,7 +774,8 @@ public static Output getService(GetServiceArgs args, InvokeOpt * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -762,12 +797,13 @@ public static Output getService(GetServiceArgs args, InvokeOpt
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getService(GetServiceArgs.builder()
-     *             .name("example")
+     *             .name("example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -782,7 +818,8 @@ public static CompletableFuture getServicePlain(GetServicePlai * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -804,12 +841,13 @@ public static CompletableFuture getServicePlain(GetServicePlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getServiceNetwork(GetServiceNetworkArgs.builder()
-     *             .serviceNetworkIdentifier("snsa-01112223334445556")
+     *             .serviceNetworkIdentifier("snsa-01112223334445556")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -824,7 +862,8 @@ public static Output getServiceNetwork(GetServiceNetwor * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -846,12 +885,13 @@ public static Output getServiceNetwork(GetServiceNetwor
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getServiceNetwork(GetServiceNetworkArgs.builder()
-     *             .serviceNetworkIdentifier("snsa-01112223334445556")
+     *             .serviceNetworkIdentifier("snsa-01112223334445556")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -866,7 +906,8 @@ public static CompletableFuture getServiceNetworkPlain( * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -888,12 +929,13 @@ public static CompletableFuture getServiceNetworkPlain(
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getServiceNetwork(GetServiceNetworkArgs.builder()
-     *             .serviceNetworkIdentifier("snsa-01112223334445556")
+     *             .serviceNetworkIdentifier("snsa-01112223334445556")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -908,7 +950,8 @@ public static Output getServiceNetwork(GetServiceNetwor * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -930,12 +973,13 @@ public static Output getServiceNetwork(GetServiceNetwor
      * 
      *     public static void stack(Context ctx) {
      *         final var example = VpclatticeFunctions.getServiceNetwork(GetServiceNetworkArgs.builder()
-     *             .serviceNetworkIdentifier("snsa-01112223334445556")
+     *             .serviceNetworkIdentifier("snsa-01112223334445556")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/ByteMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/ByteMatchSet.java index fe7af6596c4..f3ca4dfdbd3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/ByteMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/ByteMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var byteSet = new ByteMatchSet("byteSet", ByteMatchSetArgs.builder()        
- *             .name("my_waf_byte_match_set")
+ *         var byteSet = new ByteMatchSet("byteSet", ByteMatchSetArgs.builder()        
+ *             .name("my_waf_byte_match_set")
  *             .byteMatchTuples(ByteMatchSetByteMatchTupleArgs.builder()
- *                 .textTransformation("NONE")
- *                 .targetString("badrefer1")
- *                 .positionalConstraint("CONTAINS")
+ *                 .textTransformation("NONE")
+ *                 .targetString("badrefer1")
+ *                 .positionalConstraint("CONTAINS")
  *                 .fieldToMatch(ByteMatchSetByteMatchTupleFieldToMatchArgs.builder()
- *                     .type("HEADER")
- *                     .data("referer")
+ *                     .type("HEADER")
+ *                     .data("referer")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/GeoMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/GeoMatchSet.java index 7283dc9f51f..6ba96221fa8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/GeoMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/GeoMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var geoMatchSet = new GeoMatchSet("geoMatchSet", GeoMatchSetArgs.builder()        
- *             .name("geo_match_set")
+ *         var geoMatchSet = new GeoMatchSet("geoMatchSet", GeoMatchSetArgs.builder()        
+ *             .name("geo_match_set")
  *             .geoMatchConstraints(            
  *                 GeoMatchSetGeoMatchConstraintArgs.builder()
- *                     .type("Country")
- *                     .value("US")
+ *                     .type("Country")
+ *                     .value("US")
  *                     .build(),
  *                 GeoMatchSetGeoMatchConstraintArgs.builder()
- *                     .type("Country")
- *                     .value("CA")
+ *                     .type("Country")
+ *                     .value("CA")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/IpSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/IpSet.java index 83386340768..0be930347b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/IpSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/IpSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(            
  *                 IpSetIpSetDescriptorArgs.builder()
- *                     .type("IPV4")
- *                     .value("192.0.7.0/24")
+ *                     .type("IPV4")
+ *                     .value("192.0.7.0/24")
  *                     .build(),
  *                 IpSetIpSetDescriptorArgs.builder()
- *                     .type("IPV4")
- *                     .value("10.16.16.0/16")
+ *                     .type("IPV4")
+ *                     .value("10.16.16.0/16")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/RateBasedRule.java b/sdk/java/src/main/java/com/pulumi/aws/waf/RateBasedRule.java index 7eae517087c..c652d49f749 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/RateBasedRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/RateBasedRule.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,23 +51,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var wafrule = new RateBasedRule("wafrule", RateBasedRuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
- *             .rateKey("IP")
+ *         var wafrule = new RateBasedRule("wafrule", RateBasedRuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
+ *             .rateKey("IP")
  *             .rateLimit(100)
  *             .predicates(RateBasedRulePredicateArgs.builder()
  *                 .dataId(ipset.id())
  *                 .negated(false)
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(ipset)
@@ -74,7 +75,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/RegexMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/RegexMatchSet.java index 48fb41aac61..e5776459d44 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/RegexMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/RegexMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,28 +48,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRegexPatternSet = new RegexPatternSet("exampleRegexPatternSet", RegexPatternSetArgs.builder()        
- *             .name("example")
+ *         var exampleRegexPatternSet = new RegexPatternSet("exampleRegexPatternSet", RegexPatternSetArgs.builder()        
+ *             .name("example")
  *             .regexPatternStrings(            
- *                 "one",
- *                 "two")
+ *                 "one",
+ *                 "two")
  *             .build());
  * 
- *         var example = new RegexMatchSet("example", RegexMatchSetArgs.builder()        
- *             .name("example")
+ *         var example = new RegexMatchSet("example", RegexMatchSetArgs.builder()        
+ *             .name("example")
  *             .regexMatchTuples(RegexMatchSetRegexMatchTupleArgs.builder()
  *                 .fieldToMatch(RegexMatchSetRegexMatchTupleFieldToMatchArgs.builder()
- *                     .data("User-Agent")
- *                     .type("HEADER")
+ *                     .data("User-Agent")
+ *                     .type("HEADER")
  *                     .build())
  *                 .regexPatternSetId(exampleRegexPatternSet.id())
- *                 .textTransformation("NONE")
+ *                 .textTransformation("NONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSet.java index a38563fa690..7db1936be38 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSet.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()        
- *             .name("my_waf_regex_pattern_set")
+ *         var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()        
+ *             .name("my_waf_regex_pattern_set")
  *             .regexPatternStrings(            
- *                 "one",
- *                 "two")
+ *                 "one",
+ *                 "two")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -94,14 +96,14 @@ public Output name() { return this.name; } /** - * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ @Export(name="regexPatternStrings", refs={List.class,String.class}, tree="[0,1]") private Output> regexPatternStrings; /** - * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ public Output>> regexPatternStrings() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSetArgs.java b/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSetArgs.java index ec7117ec7b9..7b8053a55ed 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/RegexPatternSetArgs.java @@ -32,14 +32,14 @@ public Optional> name() { } /** - * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ @Import(name="regexPatternStrings") private @Nullable Output> regexPatternStrings; /** - * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ public Optional>> regexPatternStrings() { @@ -93,7 +93,7 @@ public Builder name(String name) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -104,7 +104,7 @@ public Builder regexPatternStrings(@Nullable Output> regexPatternSt } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -114,7 +114,7 @@ public Builder regexPatternStrings(List regexPatternStrings) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/Rule.java b/sdk/java/src/main/java/com/pulumi/aws/waf/Rule.java index b031b30e114..7be3becccfc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/Rule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/Rule.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -49,21 +50,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
+ *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
  *             .predicates(RulePredicateArgs.builder()
  *                 .dataId(ipset.id())
  *                 .negated(false)
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(ipset)
@@ -71,7 +72,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/RuleGroup.java b/sdk/java/src/main/java/com/pulumi/aws/waf/RuleGroup.java index 65b02d69815..9341418a3cf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/RuleGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/RuleGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,17 +49,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Rule("example", RuleArgs.builder()        
- *             .name("example")
- *             .metricName("example")
+ *         var example = new Rule("example", RuleArgs.builder()        
+ *             .name("example")
+ *             .metricName("example")
  *             .build());
  * 
- *         var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
- *             .name("example")
- *             .metricName("example")
+ *         var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
+ *             .name("example")
+ *             .metricName("example")
  *             .activatedRules(RuleGroupActivatedRuleArgs.builder()
  *                 .action(RuleGroupActivatedRuleActionArgs.builder()
- *                     .type("COUNT")
+ *                     .type("COUNT")
  *                     .build())
  *                 .priority(50)
  *                 .ruleId(example.id())
@@ -67,7 +68,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/SizeConstraintSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/SizeConstraintSet.java index 4022246fdc7..e7d966df1a4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/SizeConstraintSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/SizeConstraintSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sizeConstraintSet = new SizeConstraintSet("sizeConstraintSet", SizeConstraintSetArgs.builder()        
- *             .name("tfsize_constraints")
+ *         var sizeConstraintSet = new SizeConstraintSet("sizeConstraintSet", SizeConstraintSetArgs.builder()        
+ *             .name("tfsize_constraints")
  *             .sizeConstraints(SizeConstraintSetSizeConstraintArgs.builder()
- *                 .textTransformation("NONE")
- *                 .comparisonOperator("EQ")
- *                 .size("4096")
+ *                 .textTransformation("NONE")
+ *                 .comparisonOperator("EQ")
+ *                 .size("4096")
  *                 .fieldToMatch(SizeConstraintSetSizeConstraintFieldToMatchArgs.builder()
- *                     .type("BODY")
+ *                     .type("BODY")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/SqlInjectionMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/SqlInjectionMatchSet.java index fcab07929ca..e7cdb5a2d3b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/SqlInjectionMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/SqlInjectionMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sqlInjectionMatchSet = new SqlInjectionMatchSet("sqlInjectionMatchSet", SqlInjectionMatchSetArgs.builder()        
- *             .name("tf-sql_injection_match_set")
+ *         var sqlInjectionMatchSet = new SqlInjectionMatchSet("sqlInjectionMatchSet", SqlInjectionMatchSetArgs.builder()        
+ *             .name("tf-sql_injection_match_set")
  *             .sqlInjectionMatchTuples(SqlInjectionMatchSetSqlInjectionMatchTupleArgs.builder()
- *                 .textTransformation("URL_DECODE")
+ *                 .textTransformation("URL_DECODE")
  *                 .fieldToMatch(SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs.builder()
- *                     .type("QUERY_STRING")
+ *                     .type("QUERY_STRING")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/WafFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/waf/WafFunctions.java index 670deafbea8..55bc56f89d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/WafFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/WafFunctions.java @@ -32,7 +32,8 @@ public final class WafFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -54,12 +55,13 @@ public final class WafFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFIPSet")
+     *             .name("tfWAFIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -72,7 +74,8 @@ public static Output getIpset(GetIpsetArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -94,12 +97,13 @@ public static Output getIpset(GetIpsetArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFIPSet")
+     *             .name("tfWAFIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFIPSet")
+     *             .name("tfWAFIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getIpset(GetIpsetArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,12 +181,13 @@ public static Output getIpset(GetIpsetArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFIPSet")
+     *             .name("tfWAFIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -192,7 +200,8 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -214,12 +223,13 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRateBasedRule(GetRateBasedRuleArgs.builder()
-     *             .name("tfWAFRateBasedRule")
+     *             .name("tfWAFRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -232,7 +242,8 @@ public static Output getRateBasedRule(GetRateBasedRuleAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -254,12 +265,13 @@ public static Output getRateBasedRule(GetRateBasedRuleAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRateBasedRule(GetRateBasedRuleArgs.builder()
-     *             .name("tfWAFRateBasedRule")
+     *             .name("tfWAFRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -272,7 +284,8 @@ public static CompletableFuture getRateBasedRulePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -294,12 +307,13 @@ public static CompletableFuture getRateBasedRulePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRateBasedRule(GetRateBasedRuleArgs.builder()
-     *             .name("tfWAFRateBasedRule")
+     *             .name("tfWAFRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -312,7 +326,8 @@ public static Output getRateBasedRule(GetRateBasedRuleAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -334,12 +349,13 @@ public static Output getRateBasedRule(GetRateBasedRuleAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRateBasedRule(GetRateBasedRuleArgs.builder()
-     *             .name("tfWAFRateBasedRule")
+     *             .name("tfWAFRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -352,7 +368,8 @@ public static CompletableFuture getRateBasedRulePlain(Ge * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -374,12 +391,13 @@ public static CompletableFuture getRateBasedRulePlain(Ge
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRule")
+     *             .name("tfWAFRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -392,7 +410,8 @@ public static Output getRule(GetRuleArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,12 +433,13 @@ public static Output getRule(GetRuleArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRule")
+     *             .name("tfWAFRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -432,7 +452,8 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -454,12 +475,13 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRule")
+     *             .name("tfWAFRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -472,7 +494,8 @@ public static Output getRule(GetRuleArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,12 +517,13 @@ public static Output getRule(GetRuleArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRule")
+     *             .name("tfWAFRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -512,7 +536,8 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -537,30 +562,31 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -573,7 +599,8 @@ public static Output getSubscribedRuleGroup() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -598,30 +625,31 @@ public static Output getSubscribedRuleGroup() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -634,7 +662,8 @@ public static CompletableFuture getSubscribedRuleG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -659,30 +688,31 @@ public static CompletableFuture getSubscribedRuleG
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -695,7 +725,8 @@ public static Output getSubscribedRuleGroup(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -720,30 +751,31 @@ public static Output getSubscribedRuleGroup(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -756,7 +788,8 @@ public static CompletableFuture getSubscribedRuleG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -781,30 +814,31 @@ public static CompletableFuture getSubscribedRuleG
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -817,7 +851,8 @@ public static Output getSubscribedRuleGroup(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -842,30 +877,31 @@ public static Output getSubscribedRuleGroup(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -878,7 +914,8 @@ public static CompletableFuture getSubscribedRuleG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -900,12 +937,13 @@ public static CompletableFuture getSubscribedRuleG
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFWebACL")
+     *             .name("tfWAFWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -918,7 +956,8 @@ public static Output getWebAcl(GetWebAclArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -940,12 +979,13 @@ public static Output getWebAcl(GetWebAclArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFWebACL")
+     *             .name("tfWAFWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -958,7 +998,8 @@ public static CompletableFuture getWebAclPlain(GetWebAclPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -980,12 +1021,13 @@ public static CompletableFuture getWebAclPlain(GetWebAclPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFWebACL")
+     *             .name("tfWAFWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -998,7 +1040,8 @@ public static Output getWebAcl(GetWebAclArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1020,12 +1063,13 @@ public static Output getWebAcl(GetWebAclArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFWebACL")
+     *             .name("tfWAFWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/WebAcl.java b/sdk/java/src/main/java/com/pulumi/aws/waf/WebAcl.java index 4469a135d6a..1c8769e93b1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/WebAcl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/WebAcl.java @@ -27,7 +27,8 @@ * This example blocks requests coming from `192.0.7.0/24` and allows everything else. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -58,39 +59,39 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
+ *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
  *             .predicates(RulePredicateArgs.builder()
  *                 .dataId(ipset.id())
  *                 .negated(false)
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(ipset)
  *                 .build());
  * 
- *         var wafAcl = new WebAcl("wafAcl", WebAclArgs.builder()        
- *             .name("tfWebACL")
- *             .metricName("tfWebACL")
+ *         var wafAcl = new WebAcl("wafAcl", WebAclArgs.builder()        
+ *             .name("tfWebACL")
+ *             .metricName("tfWebACL")
  *             .defaultAction(WebAclDefaultActionArgs.builder()
- *                 .type("ALLOW")
+ *                 .type("ALLOW")
  *                 .build())
  *             .rules(WebAclRuleArgs.builder()
  *                 .action(WebAclRuleActionArgs.builder()
- *                     .type("BLOCK")
+ *                     .type("BLOCK")
  *                     .build())
  *                 .priority(1)
  *                 .ruleId(wafrule.id())
- *                 .type("REGULAR")
+ *                 .type("REGULAR")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(                
@@ -100,7 +101,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging @@ -108,7 +110,8 @@ * > *NOTE:* The Kinesis Firehose Delivery Stream name must begin with `aws-waf-logs-` and be located in `us-east-1` region. See the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) for more information about enabling WAF logging. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -131,17 +134,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WebAcl("example", WebAclArgs.builder()        
+ *         var example = new WebAcl("example", WebAclArgs.builder()        
  *             .loggingConfiguration(WebAclLoggingConfigurationArgs.builder()
  *                 .logDestination(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *                 .redactedFields(WebAclLoggingConfigurationRedactedFieldsArgs.builder()
  *                     .fieldToMatches(                    
  *                         WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs.builder()
- *                             .type("URI")
+ *                             .type("URI")
  *                             .build(),
  *                         WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs.builder()
- *                             .data("referer")
- *                             .type("HEADER")
+ *                             .data("referer")
+ *                             .type("HEADER")
  *                             .build())
  *                     .build())
  *                 .build())
@@ -149,7 +152,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/XssMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/waf/XssMatchSet.java index a99c3f79baf..1d8faaf8dc0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/XssMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/XssMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,26 +46,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var xssMatchSet = new XssMatchSet("xssMatchSet", XssMatchSetArgs.builder()        
- *             .name("xss_match_set")
+ *         var xssMatchSet = new XssMatchSet("xssMatchSet", XssMatchSetArgs.builder()        
+ *             .name("xss_match_set")
  *             .xssMatchTuples(            
  *                 XssMatchSetXssMatchTupleArgs.builder()
- *                     .textTransformation("NONE")
+ *                     .textTransformation("NONE")
  *                     .fieldToMatch(XssMatchSetXssMatchTupleFieldToMatchArgs.builder()
- *                         .type("URI")
+ *                         .type("URI")
  *                         .build())
  *                     .build(),
  *                 XssMatchSetXssMatchTupleArgs.builder()
- *                     .textTransformation("NONE")
+ *                     .textTransformation("NONE")
  *                     .fieldToMatch(XssMatchSetXssMatchTupleFieldToMatchArgs.builder()
- *                         .type("QUERY_STRING")
+ *                         .type("QUERY_STRING")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/waf/inputs/RegexPatternSetState.java b/sdk/java/src/main/java/com/pulumi/aws/waf/inputs/RegexPatternSetState.java index 87af48fa40a..c787d5a1ed4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/waf/inputs/RegexPatternSetState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/waf/inputs/RegexPatternSetState.java @@ -47,14 +47,14 @@ public Optional> name() { } /** - * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ @Import(name="regexPatternStrings") private @Nullable Output> regexPatternStrings; /** - * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ public Optional>> regexPatternStrings() { @@ -130,7 +130,7 @@ public Builder name(String name) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -141,7 +141,7 @@ public Builder regexPatternStrings(@Nullable Output> regexPatternSt } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -151,7 +151,7 @@ public Builder regexPatternStrings(List regexPatternStrings) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/ByteMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/ByteMatchSet.java index e8423840eae..8450c632a6f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/ByteMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/ByteMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,22 +46,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var byteSet = new ByteMatchSet("byteSet", ByteMatchSetArgs.builder()        
- *             .name("my_waf_byte_match_set")
+ *         var byteSet = new ByteMatchSet("byteSet", ByteMatchSetArgs.builder()        
+ *             .name("my_waf_byte_match_set")
  *             .byteMatchTuples(ByteMatchSetByteMatchTupleArgs.builder()
- *                 .textTransformation("NONE")
- *                 .targetString("badrefer1")
- *                 .positionalConstraint("CONTAINS")
+ *                 .textTransformation("NONE")
+ *                 .targetString("badrefer1")
+ *                 .positionalConstraint("CONTAINS")
  *                 .fieldToMatch(ByteMatchSetByteMatchTupleFieldToMatchArgs.builder()
- *                     .type("HEADER")
- *                     .data("referer")
+ *                     .type("HEADER")
+ *                     .data("referer")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/GeoMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/GeoMatchSet.java index 296299c1ebd..b18e60918b7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/GeoMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/GeoMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var geoMatchSet = new GeoMatchSet("geoMatchSet", GeoMatchSetArgs.builder()        
- *             .name("geo_match_set")
+ *         var geoMatchSet = new GeoMatchSet("geoMatchSet", GeoMatchSetArgs.builder()        
+ *             .name("geo_match_set")
  *             .geoMatchConstraints(            
  *                 GeoMatchSetGeoMatchConstraintArgs.builder()
- *                     .type("Country")
- *                     .value("US")
+ *                     .type("Country")
+ *                     .value("US")
  *                     .build(),
  *                 GeoMatchSetGeoMatchConstraintArgs.builder()
- *                     .type("Country")
- *                     .value("CA")
+ *                     .type("Country")
+ *                     .value("CA")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/IpSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/IpSet.java index 33dd3df9c8f..c7d9515ef23 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/IpSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/IpSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,22 +45,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(            
  *                 IpSetIpSetDescriptorArgs.builder()
- *                     .type("IPV4")
- *                     .value("192.0.7.0/24")
+ *                     .type("IPV4")
+ *                     .value("192.0.7.0/24")
  *                     .build(),
  *                 IpSetIpSetDescriptorArgs.builder()
- *                     .type("IPV4")
- *                     .value("10.16.16.0/16")
+ *                     .type("IPV4")
+ *                     .value("10.16.16.0/16")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RateBasedRule.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RateBasedRule.java index b9df145d17a..5a04354ed9a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RateBasedRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RateBasedRule.java @@ -24,7 +24,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,23 +51,23 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var wafrule = new RateBasedRule("wafrule", RateBasedRuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
- *             .rateKey("IP")
+ *         var wafrule = new RateBasedRule("wafrule", RateBasedRuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
+ *             .rateKey("IP")
  *             .rateLimit(100)
  *             .predicates(RateBasedRulePredicateArgs.builder()
  *                 .dataId(ipset.id())
  *                 .negated(false)
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .build())
  *             .build(), CustomResourceOptions.builder()
  *                 .dependsOn(ipset)
@@ -74,7 +75,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexMatchSet.java index a64b8258f7b..55a655a65a2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -47,28 +48,29 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleRegexPatternSet = new RegexPatternSet("exampleRegexPatternSet", RegexPatternSetArgs.builder()        
- *             .name("example")
+ *         var exampleRegexPatternSet = new RegexPatternSet("exampleRegexPatternSet", RegexPatternSetArgs.builder()        
+ *             .name("example")
  *             .regexPatternStrings(            
- *                 "one",
- *                 "two")
+ *                 "one",
+ *                 "two")
  *             .build());
  * 
- *         var example = new RegexMatchSet("example", RegexMatchSetArgs.builder()        
- *             .name("example")
+ *         var example = new RegexMatchSet("example", RegexMatchSetArgs.builder()        
+ *             .name("example")
  *             .regexMatchTuples(RegexMatchSetRegexMatchTupleArgs.builder()
  *                 .fieldToMatch(RegexMatchSetRegexMatchTupleFieldToMatchArgs.builder()
- *                     .data("User-Agent")
- *                     .type("HEADER")
+ *                     .data("User-Agent")
+ *                     .type("HEADER")
  *                     .build())
  *                 .regexPatternSetId(exampleRegexPatternSet.id())
- *                 .textTransformation("NONE")
+ *                 .textTransformation("NONE")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSet.java index 090bd8fc844..85b7d37153b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSet.java @@ -21,7 +21,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -42,16 +43,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()        
- *             .name("example")
+ *         var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()        
+ *             .name("example")
  *             .regexPatternStrings(            
- *                 "one",
- *                 "two")
+ *                 "one",
+ *                 "two")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -80,14 +82,14 @@ public Output name() { return this.name; } /** - * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ @Export(name="regexPatternStrings", refs={List.class,String.class}, tree="[0,1]") private Output> regexPatternStrings; /** - * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ public Output>> regexPatternStrings() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSetArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSetArgs.java index af65449215e..1949f46218d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RegexPatternSetArgs.java @@ -32,14 +32,14 @@ public Optional> name() { } /** - * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ @Import(name="regexPatternStrings") private @Nullable Output> regexPatternStrings; /** - * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ public Optional>> regexPatternStrings() { @@ -93,7 +93,7 @@ public Builder name(String name) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -104,7 +104,7 @@ public Builder regexPatternStrings(@Nullable Output> regexPatternSt } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -114,7 +114,7 @@ public Builder regexPatternStrings(List regexPatternStrings) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/Rule.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/Rule.java index e4ac669c4fd..cfbd753893c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/Rule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/Rule.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,19 +49,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
+ *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
  *             .predicates(RulePredicateArgs.builder()
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .dataId(ipset.id())
  *                 .negated(false)
  *                 .build())
@@ -68,7 +69,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Nested Fields diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RuleGroup.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RuleGroup.java index e8051b7ba3f..957391dd321 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/RuleGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/RuleGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -48,17 +49,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Rule("example", RuleArgs.builder()        
- *             .name("example")
- *             .metricName("example")
+ *         var example = new Rule("example", RuleArgs.builder()        
+ *             .name("example")
+ *             .metricName("example")
  *             .build());
  * 
- *         var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
- *             .name("example")
- *             .metricName("example")
+ *         var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
+ *             .name("example")
+ *             .metricName("example")
  *             .activatedRules(RuleGroupActivatedRuleArgs.builder()
  *                 .action(RuleGroupActivatedRuleActionArgs.builder()
- *                     .type("COUNT")
+ *                     .type("COUNT")
  *                     .build())
  *                 .priority(50)
  *                 .ruleId(example.id())
@@ -67,7 +68,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/SizeConstraintSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/SizeConstraintSet.java index 6cc3b592aa1..3c70ba971dd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/SizeConstraintSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/SizeConstraintSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,21 +46,22 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sizeConstraintSet = new SizeConstraintSet("sizeConstraintSet", SizeConstraintSetArgs.builder()        
- *             .name("tfsize_constraints")
+ *         var sizeConstraintSet = new SizeConstraintSet("sizeConstraintSet", SizeConstraintSetArgs.builder()        
+ *             .name("tfsize_constraints")
  *             .sizeConstraints(SizeConstraintSetSizeConstraintArgs.builder()
- *                 .textTransformation("NONE")
- *                 .comparisonOperator("EQ")
- *                 .size("4096")
+ *                 .textTransformation("NONE")
+ *                 .comparisonOperator("EQ")
+ *                 .size("4096")
  *                 .fieldToMatch(SizeConstraintSetSizeConstraintFieldToMatchArgs.builder()
- *                     .type("BODY")
+ *                     .type("BODY")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/SqlInjectionMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/SqlInjectionMatchSet.java index 58272a55e91..e78867f488b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/SqlInjectionMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/SqlInjectionMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,19 +46,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var sqlInjectionMatchSet = new SqlInjectionMatchSet("sqlInjectionMatchSet", SqlInjectionMatchSetArgs.builder()        
- *             .name("tf-sql_injection_match_set")
+ *         var sqlInjectionMatchSet = new SqlInjectionMatchSet("sqlInjectionMatchSet", SqlInjectionMatchSetArgs.builder()        
+ *             .name("tf-sql_injection_match_set")
  *             .sqlInjectionMatchTuples(SqlInjectionMatchSetSqlInjectionMatchTupleArgs.builder()
- *                 .textTransformation("URL_DECODE")
+ *                 .textTransformation("URL_DECODE")
  *                 .fieldToMatch(SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs.builder()
- *                     .type("QUERY_STRING")
+ *                     .type("QUERY_STRING")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/WafregionalFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/WafregionalFunctions.java index ef117e1556c..b8cf5cbff99 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/WafregionalFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/WafregionalFunctions.java @@ -32,7 +32,8 @@ public final class WafregionalFunctions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -54,12 +55,13 @@ public final class WafregionalFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFRegionalIPSet")
+     *             .name("tfWAFRegionalIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -72,7 +74,8 @@ public static Output getIpset(GetIpsetArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -94,12 +97,13 @@ public static Output getIpset(GetIpsetArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFRegionalIPSet")
+     *             .name("tfWAFRegionalIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -112,7 +116,8 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -134,12 +139,13 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFRegionalIPSet")
+     *             .name("tfWAFRegionalIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getIpset(GetIpsetArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,12 +181,13 @@ public static Output getIpset(GetIpsetArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getIpset(GetIpsetArgs.builder()
-     *             .name("tfWAFRegionalIPSet")
+     *             .name("tfWAFRegionalIPSet")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -192,7 +200,8 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -214,12 +223,13 @@ public static CompletableFuture getIpsetPlain(GetIpsetPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRateBasedMod(GetRateBasedModArgs.builder()
-     *             .name("tfWAFRegionalRateBasedRule")
+     *             .name("tfWAFRegionalRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -232,7 +242,8 @@ public static Output getRateBasedMod(GetRateBasedModArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -254,12 +265,13 @@ public static Output getRateBasedMod(GetRateBasedModArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRateBasedMod(GetRateBasedModArgs.builder()
-     *             .name("tfWAFRegionalRateBasedRule")
+     *             .name("tfWAFRegionalRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -272,7 +284,8 @@ public static CompletableFuture getRateBasedModPlain(GetR * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -294,12 +307,13 @@ public static CompletableFuture getRateBasedModPlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRateBasedMod(GetRateBasedModArgs.builder()
-     *             .name("tfWAFRegionalRateBasedRule")
+     *             .name("tfWAFRegionalRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -312,7 +326,8 @@ public static Output getRateBasedMod(GetRateBasedModArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -334,12 +349,13 @@ public static Output getRateBasedMod(GetRateBasedModArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRateBasedMod(GetRateBasedModArgs.builder()
-     *             .name("tfWAFRegionalRateBasedRule")
+     *             .name("tfWAFRegionalRateBasedRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -352,7 +368,8 @@ public static CompletableFuture getRateBasedModPlain(GetR * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -374,12 +391,13 @@ public static CompletableFuture getRateBasedModPlain(GetR
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRegionalRule")
+     *             .name("tfWAFRegionalRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -392,7 +410,8 @@ public static Output getRule(GetRuleArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -414,12 +433,13 @@ public static Output getRule(GetRuleArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRegionalRule")
+     *             .name("tfWAFRegionalRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -432,7 +452,8 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -454,12 +475,13 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRegionalRule")
+     *             .name("tfWAFRegionalRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -472,7 +494,8 @@ public static Output getRule(GetRuleArgs args, InvokeOptions opti * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -494,12 +517,13 @@ public static Output getRule(GetRuleArgs args, InvokeOptions opti
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getRule(GetRuleArgs.builder()
-     *             .name("tfWAFRegionalRule")
+     *             .name("tfWAFRegionalRule")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -512,7 +536,8 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -537,30 +562,31 @@ public static CompletableFuture getRulePlain(GetRulePlainArgs arg
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -573,7 +599,8 @@ public static Output getSubscribedRuleGroup() { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -598,30 +625,31 @@ public static Output getSubscribedRuleGroup() {
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -634,7 +662,8 @@ public static CompletableFuture getSubscribedRuleG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -659,30 +688,31 @@ public static CompletableFuture getSubscribedRuleG
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -695,7 +725,8 @@ public static Output getSubscribedRuleGroup(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -720,30 +751,31 @@ public static Output getSubscribedRuleGroup(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -756,7 +788,8 @@ public static CompletableFuture getSubscribedRuleG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -781,30 +814,31 @@ public static CompletableFuture getSubscribedRuleG
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -817,7 +851,8 @@ public static Output getSubscribedRuleGroup(GetSub * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -842,30 +877,31 @@ public static Output getSubscribedRuleGroup(GetSub
      * 
      *     public static void stack(Context ctx) {
      *         final var byName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .name("F5 Bot Detection Signatures For AWS WAF")
+     *             .name("F5 Bot Detection Signatures For AWS WAF")
      *             .build());
      * 
      *         final var byMetricName = WafregionalFunctions.getSubscribedRuleGroup(GetSubscribedRuleGroupArgs.builder()
-     *             .metricName("F5BotDetectionSignatures")
+     *             .metricName("F5BotDetectionSignatures")
      *             .build());
      * 
-     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
+     *         var acl = new WebAcl("acl", WebAclArgs.builder()        
      *             .rules(            
      *                 WebAclRuleArgs.builder()
      *                     .priority(1)
-     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build(),
      *                 WebAclRuleArgs.builder()
      *                     .priority(2)
-     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
-     *                     .type("GROUP")
+     *                     .ruleId(byMetricName.applyValue(getSubscribedRuleGroupResult -> getSubscribedRuleGroupResult.id()))
+     *                     .type("GROUP")
      *                     .build())
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -878,7 +914,8 @@ public static CompletableFuture getSubscribedRuleG * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -900,12 +937,13 @@ public static CompletableFuture getSubscribedRuleG
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFRegionalWebACL")
+     *             .name("tfWAFRegionalWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -918,7 +956,8 @@ public static Output getWebAcl(GetWebAclArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -940,12 +979,13 @@ public static Output getWebAcl(GetWebAclArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFRegionalWebACL")
+     *             .name("tfWAFRegionalWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -958,7 +998,8 @@ public static CompletableFuture getWebAclPlain(GetWebAclPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -980,12 +1021,13 @@ public static CompletableFuture getWebAclPlain(GetWebAclPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFRegionalWebACL")
+     *             .name("tfWAFRegionalWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -998,7 +1040,8 @@ public static Output getWebAcl(GetWebAclArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1020,12 +1063,13 @@ public static Output getWebAcl(GetWebAclArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WafregionalFunctions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("tfWAFRegionalWebACL")
+     *             .name("tfWAFRegionalWebACL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAcl.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAcl.java index 53fbe6918ba..062e53220da 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAcl.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAcl.java @@ -27,7 +27,8 @@ * ### Regular Rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -57,49 +58,51 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
+ *         var wafrule = new Rule("wafrule", RuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
  *             .predicates(RulePredicateArgs.builder()
  *                 .dataId(ipset.id())
  *                 .negated(false)
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .build())
  *             .build());
  * 
- *         var wafacl = new WebAcl("wafacl", WebAclArgs.builder()        
- *             .name("tfWebACL")
- *             .metricName("tfWebACL")
+ *         var wafacl = new WebAcl("wafacl", WebAclArgs.builder()        
+ *             .name("tfWebACL")
+ *             .metricName("tfWebACL")
  *             .defaultAction(WebAclDefaultActionArgs.builder()
- *                 .type("ALLOW")
+ *                 .type("ALLOW")
  *                 .build())
  *             .rules(WebAclRuleArgs.builder()
  *                 .action(WebAclRuleActionArgs.builder()
- *                     .type("BLOCK")
+ *                     .type("BLOCK")
  *                     .build())
  *                 .priority(1)
  *                 .ruleId(wafrule.id())
- *                 .type("REGULAR")
+ *                 .type("REGULAR")
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Group Rule * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -123,25 +126,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WebAcl("example", WebAclArgs.builder()        
- *             .name("example")
- *             .metricName("example")
+ *         var example = new WebAcl("example", WebAclArgs.builder()        
+ *             .name("example")
+ *             .metricName("example")
  *             .defaultAction(WebAclDefaultActionArgs.builder()
- *                 .type("ALLOW")
+ *                 .type("ALLOW")
  *                 .build())
  *             .rules(WebAclRuleArgs.builder()
  *                 .priority(1)
  *                 .ruleId(exampleAwsWafregionalRuleGroup.id())
- *                 .type("GROUP")
+ *                 .type("GROUP")
  *                 .overrideAction(WebAclRuleOverrideActionArgs.builder()
- *                     .type("NONE")
+ *                     .type("NONE")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### Logging @@ -149,7 +153,8 @@ * > *NOTE:* The Kinesis Firehose Delivery Stream name must begin with `aws-waf-logs-`. See the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) for more information about enabling WAF logging. * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -172,17 +177,17 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WebAcl("example", WebAclArgs.builder()        
+ *         var example = new WebAcl("example", WebAclArgs.builder()        
  *             .loggingConfiguration(WebAclLoggingConfigurationArgs.builder()
  *                 .logDestination(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *                 .redactedFields(WebAclLoggingConfigurationRedactedFieldsArgs.builder()
  *                     .fieldToMatches(                    
  *                         WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs.builder()
- *                             .type("URI")
+ *                             .type("URI")
  *                             .build(),
  *                         WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs.builder()
- *                             .data("referer")
- *                             .type("HEADER")
+ *                             .data("referer")
+ *                             .type("HEADER")
  *                             .build())
  *                     .build())
  *                 .build())
@@ -190,7 +195,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAclAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAclAssociation.java index 89cd952c5d1..14f07570033 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAclAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/WebAclAssociation.java @@ -23,7 +23,8 @@ * ### Application Load Balancer Association * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -63,72 +64,73 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
- *             .name("tfIPSet")
+ *         var ipset = new IpSet("ipset", IpSetArgs.builder()        
+ *             .name("tfIPSet")
  *             .ipSetDescriptors(IpSetIpSetDescriptorArgs.builder()
- *                 .type("IPV4")
- *                 .value("192.0.7.0/24")
+ *                 .type("IPV4")
+ *                 .value("192.0.7.0/24")
  *                 .build())
  *             .build());
  * 
- *         var foo = new Rule("foo", RuleArgs.builder()        
- *             .name("tfWAFRule")
- *             .metricName("tfWAFRule")
+ *         var foo = new Rule("foo", RuleArgs.builder()        
+ *             .name("tfWAFRule")
+ *             .metricName("tfWAFRule")
  *             .predicates(RulePredicateArgs.builder()
  *                 .dataId(ipset.id())
  *                 .negated(false)
- *                 .type("IPMatch")
+ *                 .type("IPMatch")
  *                 .build())
  *             .build());
  * 
- *         var fooWebAcl = new WebAcl("fooWebAcl", WebAclArgs.builder()        
- *             .name("foo")
- *             .metricName("foo")
+ *         var fooWebAcl = new WebAcl("fooWebAcl", WebAclArgs.builder()        
+ *             .name("foo")
+ *             .metricName("foo")
  *             .defaultAction(WebAclDefaultActionArgs.builder()
- *                 .type("ALLOW")
+ *                 .type("ALLOW")
  *                 .build())
  *             .rules(WebAclRuleArgs.builder()
  *                 .action(WebAclRuleActionArgs.builder()
- *                     .type("BLOCK")
+ *                     .type("BLOCK")
  *                     .build())
  *                 .priority(1)
  *                 .ruleId(foo.id())
  *                 .build())
  *             .build());
  * 
- *         var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
- *             .cidrBlock("10.1.0.0/16")
+ *         var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.1.0.0/16")
  *             .build());
  * 
  *         final var available = AwsFunctions.getAvailabilityZones();
  * 
- *         var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
+ *         var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
  *             .vpcId(fooVpc.id())
- *             .cidrBlock("10.1.1.0/24")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
+ *             .cidrBlock("10.1.1.0/24")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]))
  *             .build());
  * 
- *         var bar = new Subnet("bar", SubnetArgs.builder()        
+ *         var bar = new Subnet("bar", SubnetArgs.builder()        
  *             .vpcId(fooVpc.id())
- *             .cidrBlock("10.1.2.0/24")
- *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
+ *             .cidrBlock("10.1.2.0/24")
+ *             .availabilityZone(available.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
  *             .build());
  * 
- *         var fooLoadBalancer = new LoadBalancer("fooLoadBalancer", LoadBalancerArgs.builder()        
+ *         var fooLoadBalancer = new LoadBalancer("fooLoadBalancer", LoadBalancerArgs.builder()        
  *             .internal(true)
  *             .subnets(            
  *                 fooSubnet.id(),
  *                 bar.id())
  *             .build());
  * 
- *         var fooWebAclAssociation = new WebAclAssociation("fooWebAclAssociation", WebAclAssociationArgs.builder()        
+ *         var fooWebAclAssociation = new WebAclAssociation("fooWebAclAssociation", WebAclAssociationArgs.builder()        
  *             .resourceArn(fooLoadBalancer.arn())
  *             .webAclId(fooWebAcl.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/XssMatchSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/XssMatchSet.java index cf34718cf72..909b628e1b1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/XssMatchSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/XssMatchSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,26 +46,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var xssMatchSet = new XssMatchSet("xssMatchSet", XssMatchSetArgs.builder()        
- *             .name("xss_match_set")
+ *         var xssMatchSet = new XssMatchSet("xssMatchSet", XssMatchSetArgs.builder()        
+ *             .name("xss_match_set")
  *             .xssMatchTuples(            
  *                 XssMatchSetXssMatchTupleArgs.builder()
- *                     .textTransformation("NONE")
+ *                     .textTransformation("NONE")
  *                     .fieldToMatch(XssMatchSetXssMatchTupleFieldToMatchArgs.builder()
- *                         .type("URI")
+ *                         .type("URI")
  *                         .build())
  *                     .build(),
  *                 XssMatchSetXssMatchTupleArgs.builder()
- *                     .textTransformation("NONE")
+ *                     .textTransformation("NONE")
  *                     .fieldToMatch(XssMatchSetXssMatchTupleFieldToMatchArgs.builder()
- *                         .type("QUERY_STRING")
+ *                         .type("QUERY_STRING")
  *                         .build())
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafregional/inputs/RegexPatternSetState.java b/sdk/java/src/main/java/com/pulumi/aws/wafregional/inputs/RegexPatternSetState.java index 8272b46a46d..f48a42e1122 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafregional/inputs/RegexPatternSetState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafregional/inputs/RegexPatternSetState.java @@ -32,14 +32,14 @@ public Optional> name() { } /** - * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ @Import(name="regexPatternStrings") private @Nullable Output> regexPatternStrings; /** - * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @return A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * */ public Optional>> regexPatternStrings() { @@ -93,7 +93,7 @@ public Builder name(String name) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -104,7 +104,7 @@ public Builder regexPatternStrings(@Nullable Output> regexPatternSt } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * @@ -114,7 +114,7 @@ public Builder regexPatternStrings(List regexPatternStrings) { } /** - * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. + * @param regexPatternStrings A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/IpSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/IpSet.java index c8fbda2b41a..da6434300b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/IpSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/IpSet.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,23 +44,24 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new IpSet("example", IpSetArgs.builder()        
- *             .name("example")
- *             .description("Example IP set")
- *             .scope("REGIONAL")
- *             .ipAddressVersion("IPV4")
+ *         var example = new IpSet("example", IpSetArgs.builder()        
+ *             .name("example")
+ *             .description("Example IP set")
+ *             .scope("REGIONAL")
+ *             .ipAddressVersion("IPV4")
  *             .addresses(            
- *                 "1.2.3.4/32",
- *                 "5.6.7.8/32")
+ *                 "1.2.3.4/32",
+ *                 "5.6.7.8/32")
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSet.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSet.java index 71169669aea..13e823cbce9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSet.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,26 +46,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()        
- *             .name("example")
- *             .description("Example regex pattern set")
- *             .scope("REGIONAL")
+ *         var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()        
+ *             .name("example")
+ *             .description("Example regex pattern set")
+ *             .scope("REGIONAL")
  *             .regularExpressions(            
  *                 RegexPatternSetRegularExpressionArgs.builder()
- *                     .regexString("one")
+ *                     .regexString("one")
  *                     .build(),
  *                 RegexPatternSetRegularExpressionArgs.builder()
- *                     .regexString("two")
+ *                     .regexString("two")
  *                     .build())
  *             .tags(Map.ofEntries(
- *                 Map.entry("Tag1", "Value1"),
- *                 Map.entry("Tag2", "Value2")
+ *                 Map.entry("Tag1", "Value1"),
+ *                 Map.entry("Tag2", "Value2")
  *             ))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import @@ -127,14 +129,14 @@ public Output name() { return this.name; } /** - * One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * */ @Export(name="regularExpressions", refs={List.class,RegexPatternSetRegularExpression.class}, tree="[0,1]") private Output> regularExpressions; /** - * @return One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @return One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * */ public Output>> regularExpressions() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSetArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSetArgs.java index 35c3af135a1..7a5b39fa649 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/RegexPatternSetArgs.java @@ -50,14 +50,14 @@ public Optional> name() { } /** - * One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * */ @Import(name="regularExpressions") private @Nullable Output> regularExpressions; /** - * @return One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @return One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * */ public Optional>> regularExpressions() { @@ -165,7 +165,7 @@ public Builder name(String name) { } /** - * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * * @return builder * @@ -176,7 +176,7 @@ public Builder regularExpressions(@Nullable Output reg } /** - * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/Wafv2Functions.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/Wafv2Functions.java index 196fa9ff0d9..691042870ca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/Wafv2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/Wafv2Functions.java @@ -29,7 +29,8 @@ public final class Wafv2Functions { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -51,13 +52,14 @@ public final class Wafv2Functions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getIpSet(GetIpSetArgs.builder()
-     *             .name("some-ip-set")
-     *             .scope("REGIONAL")
+     *             .name("some-ip-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -70,7 +72,8 @@ public static Output getIpSet(GetIpSetArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -92,13 +95,14 @@ public static Output getIpSet(GetIpSetArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getIpSet(GetIpSetArgs.builder()
-     *             .name("some-ip-set")
-     *             .scope("REGIONAL")
+     *             .name("some-ip-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -111,7 +115,8 @@ public static CompletableFuture getIpSetPlain(GetIpSetPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -133,13 +138,14 @@ public static CompletableFuture getIpSetPlain(GetIpSetPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getIpSet(GetIpSetArgs.builder()
-     *             .name("some-ip-set")
-     *             .scope("REGIONAL")
+     *             .name("some-ip-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -152,7 +158,8 @@ public static Output getIpSet(GetIpSetArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -174,13 +181,14 @@ public static Output getIpSet(GetIpSetArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getIpSet(GetIpSetArgs.builder()
-     *             .name("some-ip-set")
-     *             .scope("REGIONAL")
+     *             .name("some-ip-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -193,7 +201,8 @@ public static CompletableFuture getIpSetPlain(GetIpSetPlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -215,13 +224,14 @@ public static CompletableFuture getIpSetPlain(GetIpSetPlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRegexPatternSet(GetRegexPatternSetArgs.builder()
-     *             .name("some-regex-pattern-set")
-     *             .scope("REGIONAL")
+     *             .name("some-regex-pattern-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -234,7 +244,8 @@ public static Output getRegexPatternSet(GetRegexPatter * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -256,13 +267,14 @@ public static Output getRegexPatternSet(GetRegexPatter
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRegexPatternSet(GetRegexPatternSetArgs.builder()
-     *             .name("some-regex-pattern-set")
-     *             .scope("REGIONAL")
+     *             .name("some-regex-pattern-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -275,7 +287,8 @@ public static CompletableFuture getRegexPatternSetPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -297,13 +310,14 @@ public static CompletableFuture getRegexPatternSetPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRegexPatternSet(GetRegexPatternSetArgs.builder()
-     *             .name("some-regex-pattern-set")
-     *             .scope("REGIONAL")
+     *             .name("some-regex-pattern-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -316,7 +330,8 @@ public static Output getRegexPatternSet(GetRegexPatter * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -338,13 +353,14 @@ public static Output getRegexPatternSet(GetRegexPatter
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRegexPatternSet(GetRegexPatternSetArgs.builder()
-     *             .name("some-regex-pattern-set")
-     *             .scope("REGIONAL")
+     *             .name("some-regex-pattern-set")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -357,7 +373,8 @@ public static CompletableFuture getRegexPatternSetPlai * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -379,13 +396,14 @@ public static CompletableFuture getRegexPatternSetPlai
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRuleGroup(GetRuleGroupArgs.builder()
-     *             .name("some-rule-group")
-     *             .scope("REGIONAL")
+     *             .name("some-rule-group")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -398,7 +416,8 @@ public static Output getRuleGroup(GetRuleGroupArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -420,13 +439,14 @@ public static Output getRuleGroup(GetRuleGroupArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRuleGroup(GetRuleGroupArgs.builder()
-     *             .name("some-rule-group")
-     *             .scope("REGIONAL")
+     *             .name("some-rule-group")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -439,7 +459,8 @@ public static CompletableFuture getRuleGroupPlain(GetRuleGro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -461,13 +482,14 @@ public static CompletableFuture getRuleGroupPlain(GetRuleGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRuleGroup(GetRuleGroupArgs.builder()
-     *             .name("some-rule-group")
-     *             .scope("REGIONAL")
+     *             .name("some-rule-group")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -480,7 +502,8 @@ public static Output getRuleGroup(GetRuleGroupArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -502,13 +525,14 @@ public static Output getRuleGroup(GetRuleGroupArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getRuleGroup(GetRuleGroupArgs.builder()
-     *             .name("some-rule-group")
-     *             .scope("REGIONAL")
+     *             .name("some-rule-group")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -521,7 +545,8 @@ public static CompletableFuture getRuleGroupPlain(GetRuleGro * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -543,13 +568,14 @@ public static CompletableFuture getRuleGroupPlain(GetRuleGro
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("some-web-acl")
-     *             .scope("REGIONAL")
+     *             .name("some-web-acl")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -562,7 +588,8 @@ public static Output getWebAcl(GetWebAclArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -584,13 +611,14 @@ public static Output getWebAcl(GetWebAclArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("some-web-acl")
-     *             .scope("REGIONAL")
+     *             .name("some-web-acl")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -603,7 +631,8 @@ public static CompletableFuture getWebAclPlain(GetWebAclPlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -625,13 +654,14 @@ public static CompletableFuture getWebAclPlain(GetWebAclPlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("some-web-acl")
-     *             .scope("REGIONAL")
+     *             .name("some-web-acl")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -644,7 +674,8 @@ public static Output getWebAcl(GetWebAclArgs args, InvokeOption * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -666,13 +697,14 @@ public static Output getWebAcl(GetWebAclArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = Wafv2Functions.getWebAcl(GetWebAclArgs.builder()
-     *             .name("some-web-acl")
-     *             .scope("REGIONAL")
+     *             .name("some-web-acl")
+     *             .scope("REGIONAL")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclLoggingConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclLoggingConfiguration.java index f8a224000a7..141684d9e95 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclLoggingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/WebAclLoggingConfiguration.java @@ -27,7 +27,8 @@ * ### With Redacted Fields * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -50,25 +51,27 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WebAclLoggingConfiguration("example", WebAclLoggingConfigurationArgs.builder()        
+ *         var example = new WebAclLoggingConfiguration("example", WebAclLoggingConfigurationArgs.builder()        
  *             .logDestinationConfigs(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *             .resourceArn(exampleAwsWafv2WebAcl.arn())
  *             .redactedFields(WebAclLoggingConfigurationRedactedFieldArgs.builder()
  *                 .singleHeader(WebAclLoggingConfigurationRedactedFieldSingleHeaderArgs.builder()
- *                     .name("user-agent")
+ *                     .name("user-agent")
  *                     .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With Logging Filter * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -90,42 +93,43 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new WebAclLoggingConfiguration("example", WebAclLoggingConfigurationArgs.builder()        
+ *         var example = new WebAclLoggingConfiguration("example", WebAclLoggingConfigurationArgs.builder()        
  *             .logDestinationConfigs(exampleAwsKinesisFirehoseDeliveryStream.arn())
  *             .resourceArn(exampleAwsWafv2WebAcl.arn())
  *             .loggingFilter(WebAclLoggingConfigurationLoggingFilterArgs.builder()
- *                 .defaultBehavior("KEEP")
+ *                 .defaultBehavior("KEEP")
  *                 .filters(                
  *                     WebAclLoggingConfigurationLoggingFilterFilterArgs.builder()
- *                         .behavior("DROP")
+ *                         .behavior("DROP")
  *                         .conditions(                        
  *                             WebAclLoggingConfigurationLoggingFilterFilterConditionArgs.builder()
  *                                 .actionCondition(WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs.builder()
- *                                     .action("COUNT")
+ *                                     .action("COUNT")
  *                                     .build())
  *                                 .build(),
  *                             WebAclLoggingConfigurationLoggingFilterFilterConditionArgs.builder()
  *                                 .labelNameCondition(WebAclLoggingConfigurationLoggingFilterFilterConditionLabelNameConditionArgs.builder()
- *                                     .labelName("awswaf:111122223333:rulegroup:testRules:LabelNameZ")
+ *                                     .labelName("awswaf:111122223333:rulegroup:testRules:LabelNameZ")
  *                                     .build())
  *                                 .build())
- *                         .requirement("MEETS_ALL")
+ *                         .requirement("MEETS_ALL")
  *                         .build(),
  *                     WebAclLoggingConfigurationLoggingFilterFilterArgs.builder()
- *                         .behavior("KEEP")
+ *                         .behavior("KEEP")
  *                         .conditions(WebAclLoggingConfigurationLoggingFilterFilterConditionArgs.builder()
  *                             .actionCondition(WebAclLoggingConfigurationLoggingFilterFilterConditionActionConditionArgs.builder()
- *                                 .action("ALLOW")
+ *                                 .action("ALLOW")
  *                                 .build())
  *                             .build())
- *                         .requirement("MEETS_ANY")
+ *                         .requirement("MEETS_ANY")
  *                         .build())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RegexPatternSetState.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RegexPatternSetState.java index c4445b7304d..a823dc9c90e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RegexPatternSetState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RegexPatternSetState.java @@ -71,14 +71,14 @@ public Optional> name() { } /** - * One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * */ @Import(name="regularExpressions") private @Nullable Output> regularExpressions; /** - * @return One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @return One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * */ public Optional>> regularExpressions() { @@ -242,7 +242,7 @@ public Builder name(String name) { } /** - * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * * @return builder * @@ -253,7 +253,7 @@ public Builder regularExpressions(@Nullable Output reg } /** - * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. + * @param regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a{@literal @}]dB[o0]t`. See Regular Expression below for details. A maximum of 10 `regular_expression` blocks may be specified. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/worklink/Fleet.java b/sdk/java/src/main/java/com/pulumi/aws/worklink/Fleet.java index cecd96f87ea..243ea1f04d3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/worklink/Fleet.java +++ b/sdk/java/src/main/java/com/pulumi/aws/worklink/Fleet.java @@ -23,7 +23,8 @@ * Basic usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,19 +45,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Fleet("example", FleetArgs.builder()        
- *             .name("example")
+ *         var example = new Fleet("example", FleetArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Network Configuration Usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -78,24 +81,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Fleet("example", FleetArgs.builder()        
- *             .name("example")
+ *         var example = new Fleet("example", FleetArgs.builder()        
+ *             .name("example")
  *             .network(FleetNetworkArgs.builder()
  *                 .vpcId(testAwsVpc.id())
- *                 .subnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
+ *                 .subnetIds(testAwsSubnet.stream().map(element -> element.id()).collect(toList()))
  *                 .securityGroupIds(test.id())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * Identity Provider Configuration Usage: * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -117,19 +122,20 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var test = new Fleet("test", FleetArgs.builder()        
- *             .name("tf-worklink-fleet")
+ *         var test = new Fleet("test", FleetArgs.builder()        
+ *             .name("tf-worklink-fleet")
  *             .identityProvider(FleetIdentityProviderArgs.builder()
- *                 .type("SAML")
+ *                 .type("SAML")
  *                 .samlMetadata(StdFunctions.file(FileArgs.builder()
- *                     .input("saml-metadata.xml")
+ *                     .input("saml-metadata.xml")
  *                     .build()).result())
  *                 .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/worklink/WebsiteCertificateAuthorityAssociation.java b/sdk/java/src/main/java/com/pulumi/aws/worklink/WebsiteCertificateAuthorityAssociation.java index fe14d1daf06..c02bdbd753b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/worklink/WebsiteCertificateAuthorityAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/worklink/WebsiteCertificateAuthorityAssociation.java @@ -18,7 +18,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -41,20 +42,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Fleet("example", FleetArgs.builder()        
- *             .name("example")
+ *         var example = new Fleet("example", FleetArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var test = new WebsiteCertificateAuthorityAssociation("test", WebsiteCertificateAuthorityAssociationArgs.builder()        
+ *         var test = new WebsiteCertificateAuthorityAssociation("test", WebsiteCertificateAuthorityAssociationArgs.builder()        
  *             .fleetArn(testAwsWorklinkFleet.arn())
  *             .certificate(StdFunctions.file(FileArgs.builder()
- *                 .input("certificate.pem")
+ *                 .input("certificate.pem")
  *                 .build()).result())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/workspaces/ConnectionAlias.java b/sdk/java/src/main/java/com/pulumi/aws/workspaces/ConnectionAlias.java index a921ecc59af..272974bdb86 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/workspaces/ConnectionAlias.java +++ b/sdk/java/src/main/java/com/pulumi/aws/workspaces/ConnectionAlias.java @@ -24,7 +24,8 @@ * ### Basic Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,13 +46,14 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new ConnectionAlias("example", ConnectionAliasArgs.builder()        
- *             .connectionString("testdomain.test")
+ *         var example = new ConnectionAlias("example", ConnectionAliasArgs.builder()        
+ *             .connectionString("testdomain.test")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/workspaces/Directory.java b/sdk/java/src/main/java/com/pulumi/aws/workspaces/Directory.java index 92cccc534ea..a13648f99ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/workspaces/Directory.java +++ b/sdk/java/src/main/java/com/pulumi/aws/workspaces/Directory.java @@ -27,7 +27,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -65,26 +66,26 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
- *             .cidrBlock("10.0.0.0/16")
+ *         var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()        
+ *             .cidrBlock("10.0.0.0/16")
  *             .build());
  * 
- *         var exampleA = new Subnet("exampleA", SubnetArgs.builder()        
+ *         var exampleA = new Subnet("exampleA", SubnetArgs.builder()        
  *             .vpcId(exampleVpc.id())
- *             .availabilityZone("us-east-1a")
- *             .cidrBlock("10.0.0.0/24")
+ *             .availabilityZone("us-east-1a")
+ *             .cidrBlock("10.0.0.0/24")
  *             .build());
  * 
- *         var exampleB = new Subnet("exampleB", SubnetArgs.builder()        
+ *         var exampleB = new Subnet("exampleB", SubnetArgs.builder()        
  *             .vpcId(exampleVpc.id())
- *             .availabilityZone("us-east-1b")
- *             .cidrBlock("10.0.1.0/24")
+ *             .availabilityZone("us-east-1b")
+ *             .cidrBlock("10.0.1.0/24")
  *             .build());
  * 
- *         var exampleDirectory = new Directory("exampleDirectory", DirectoryArgs.builder()        
- *             .name("corp.example.com")
- *             .password("#S1ncerely")
- *             .size("Small")
+ *         var exampleDirectory = new Directory("exampleDirectory", DirectoryArgs.builder()        
+ *             .name("corp.example.com")
+ *             .password("#S1ncerely")
+ *             .size("Small")
  *             .vpcSettings(DirectoryVpcSettingsArgs.builder()
  *                 .vpcId(exampleVpc.id())
  *                 .subnetIds(                
@@ -95,47 +96,47 @@
  * 
  *         final var workspaces = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .actions("sts:AssumeRole")
+ *                 .actions("sts:AssumeRole")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("Service")
- *                     .identifiers("workspaces.amazonaws.com")
+ *                     .type("Service")
+ *                     .identifiers("workspaces.amazonaws.com")
  *                     .build())
  *                 .build())
  *             .build());
  * 
- *         var workspacesDefault = new Role("workspacesDefault", RoleArgs.builder()        
- *             .name("workspaces_DefaultRole")
- *             .assumeRolePolicy(workspaces.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *         var workspacesDefault = new Role("workspacesDefault", RoleArgs.builder()        
+ *             .name("workspaces_DefaultRole")
+ *             .assumeRolePolicy(workspaces.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var workspacesDefaultServiceAccess = new RolePolicyAttachment("workspacesDefaultServiceAccess", RolePolicyAttachmentArgs.builder()        
+ *         var workspacesDefaultServiceAccess = new RolePolicyAttachment("workspacesDefaultServiceAccess", RolePolicyAttachmentArgs.builder()        
  *             .role(workspacesDefault.name())
- *             .policyArn("arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess")
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess")
  *             .build());
  * 
- *         var workspacesDefaultSelfServiceAccess = new RolePolicyAttachment("workspacesDefaultSelfServiceAccess", RolePolicyAttachmentArgs.builder()        
+ *         var workspacesDefaultSelfServiceAccess = new RolePolicyAttachment("workspacesDefaultSelfServiceAccess", RolePolicyAttachmentArgs.builder()        
  *             .role(workspacesDefault.name())
- *             .policyArn("arn:aws:iam::aws:policy/AmazonWorkSpacesSelfServiceAccess")
+ *             .policyArn("arn:aws:iam::aws:policy/AmazonWorkSpacesSelfServiceAccess")
  *             .build());
  * 
- *         var exampleC = new Subnet("exampleC", SubnetArgs.builder()        
+ *         var exampleC = new Subnet("exampleC", SubnetArgs.builder()        
  *             .vpcId(exampleVpc.id())
- *             .availabilityZone("us-east-1c")
- *             .cidrBlock("10.0.2.0/24")
+ *             .availabilityZone("us-east-1c")
+ *             .cidrBlock("10.0.2.0/24")
  *             .build());
  * 
- *         var exampleD = new Subnet("exampleD", SubnetArgs.builder()        
+ *         var exampleD = new Subnet("exampleD", SubnetArgs.builder()        
  *             .vpcId(exampleVpc.id())
- *             .availabilityZone("us-east-1d")
- *             .cidrBlock("10.0.3.0/24")
+ *             .availabilityZone("us-east-1d")
+ *             .cidrBlock("10.0.3.0/24")
  *             .build());
  * 
- *         var example = new Directory("example", DirectoryArgs.builder()        
+ *         var example = new Directory("example", DirectoryArgs.builder()        
  *             .directoryId(exampleDirectory.id())
  *             .subnetIds(            
  *                 exampleC.id(),
  *                 exampleD.id())
- *             .tags(Map.of("Example", true))
+ *             .tags(Map.of("Example", true))
  *             .selfServicePermissions(DirectorySelfServicePermissionsArgs.builder()
  *                 .changeComputeType(true)
  *                 .increaseVolumeSize(true)
@@ -144,18 +145,18 @@
  *                 .switchRunningMode(true)
  *                 .build())
  *             .workspaceAccessProperties(DirectoryWorkspaceAccessPropertiesArgs.builder()
- *                 .deviceTypeAndroid("ALLOW")
- *                 .deviceTypeChromeos("ALLOW")
- *                 .deviceTypeIos("ALLOW")
- *                 .deviceTypeLinux("DENY")
- *                 .deviceTypeOsx("ALLOW")
- *                 .deviceTypeWeb("DENY")
- *                 .deviceTypeWindows("DENY")
- *                 .deviceTypeZeroclient("DENY")
+ *                 .deviceTypeAndroid("ALLOW")
+ *                 .deviceTypeChromeos("ALLOW")
+ *                 .deviceTypeIos("ALLOW")
+ *                 .deviceTypeLinux("DENY")
+ *                 .deviceTypeOsx("ALLOW")
+ *                 .deviceTypeWeb("DENY")
+ *                 .deviceTypeWindows("DENY")
+ *                 .deviceTypeZeroclient("DENY")
  *                 .build())
  *             .workspaceCreationProperties(DirectoryWorkspaceCreationPropertiesArgs.builder()
  *                 .customSecurityGroupId(exampleAwsSecurityGroup.id())
- *                 .defaultOu("OU=AWS,DC=Workgroup,DC=Example,DC=com")
+ *                 .defaultOu("OU=AWS,DC=Workgroup,DC=Example,DC=com")
  *                 .enableInternetAccess(true)
  *                 .enableMaintenanceMode(true)
  *                 .userEnabledAsLocalAdministrator(true)
@@ -168,13 +169,15 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### IP Groups * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -197,18 +200,19 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var exampleIpGroup = new IpGroup("exampleIpGroup", IpGroupArgs.builder()        
- *             .name("example")
+ *         var exampleIpGroup = new IpGroup("exampleIpGroup", IpGroupArgs.builder()        
+ *             .name("example")
  *             .build());
  * 
- *         var example = new Directory("example", DirectoryArgs.builder()        
+ *         var example = new Directory("example", DirectoryArgs.builder()        
  *             .directoryId(exampleAwsDirectoryServiceDirectory.id())
  *             .ipGroupIds(exampleIpGroup.id())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/workspaces/IpGroup.java b/sdk/java/src/main/java/com/pulumi/aws/workspaces/IpGroup.java index d6ce6c9b6f1..d35639b2712 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/workspaces/IpGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/workspaces/IpGroup.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -45,27 +46,28 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var contractors = new IpGroup("contractors", IpGroupArgs.builder()        
- *             .name("Contractors")
- *             .description("Contractors IP access control group")
+ *         var contractors = new IpGroup("contractors", IpGroupArgs.builder()        
+ *             .name("Contractors")
+ *             .description("Contractors IP access control group")
  *             .rules(            
  *                 IpGroupRuleArgs.builder()
- *                     .source("150.24.14.0/24")
- *                     .description("NY")
+ *                     .source("150.24.14.0/24")
+ *                     .description("NY")
  *                     .build(),
  *                 IpGroupRuleArgs.builder()
- *                     .source("125.191.14.85/32")
- *                     .description("LA")
+ *                     .source("125.191.14.85/32")
+ *                     .description("LA")
  *                     .build(),
  *                 IpGroupRuleArgs.builder()
- *                     .source("44.98.100.0/24")
- *                     .description("STL")
+ *                     .source("44.98.100.0/24")
+ *                     .description("STL")
  *                     .build())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/workspaces/Workspace.java b/sdk/java/src/main/java/com/pulumi/aws/workspaces/Workspace.java index 0e2377fece0..b6983cceb39 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/workspaces/Workspace.java +++ b/sdk/java/src/main/java/com/pulumi/aws/workspaces/Workspace.java @@ -25,7 +25,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -52,33 +53,34 @@
  * 
  *     public static void stack(Context ctx) {
  *         final var valueWindows10 = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
- *             .bundleId("wsb-bh8rsxt14")
+ *             .bundleId("wsb-bh8rsxt14")
  *             .build());
  * 
  *         final var workspaces = KmsFunctions.getKey(GetKeyArgs.builder()
- *             .keyId("alias/aws/workspaces")
+ *             .keyId("alias/aws/workspaces")
  *             .build());
  * 
- *         var example = new Workspace("example", WorkspaceArgs.builder()        
+ *         var example = new Workspace("example", WorkspaceArgs.builder()        
  *             .directoryId(exampleAwsWorkspacesDirectory.id())
- *             .bundleId(valueWindows10.applyValue(getBundleResult -> getBundleResult.id()))
- *             .userName("john.doe")
+ *             .bundleId(valueWindows10.applyValue(getBundleResult -> getBundleResult.id()))
+ *             .userName("john.doe")
  *             .rootVolumeEncryptionEnabled(true)
  *             .userVolumeEncryptionEnabled(true)
- *             .volumeEncryptionKey(workspaces.applyValue(getKeyResult -> getKeyResult.arn()))
+ *             .volumeEncryptionKey(workspaces.applyValue(getKeyResult -> getKeyResult.arn()))
  *             .workspaceProperties(WorkspaceWorkspacePropertiesArgs.builder()
- *                 .computeTypeName("VALUE")
+ *                 .computeTypeName("VALUE")
  *                 .userVolumeSizeGib(10)
  *                 .rootVolumeSizeGib(80)
- *                 .runningMode("AUTO_STOP")
+ *                 .runningMode("AUTO_STOP")
  *                 .runningModeAutoStopTimeoutInMinutes(60)
  *                 .build())
- *             .tags(Map.of("Department", "IT"))
+ *             .tags(Map.of("Department", "IT"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/workspaces/WorkspacesFunctions.java b/sdk/java/src/main/java/com/pulumi/aws/workspaces/WorkspacesFunctions.java index ee6943dfa59..755e89f87d8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/workspaces/WorkspacesFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/aws/workspaces/WorkspacesFunctions.java @@ -31,7 +31,8 @@ public final class WorkspacesFunctions { * ### By ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -53,18 +54,20 @@ public final class WorkspacesFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .bundleId("wsb-b0s22j3d7")
+     *             .bundleId("wsb-b0s22j3d7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Owner & Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -86,13 +89,14 @@ public final class WorkspacesFunctions {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .owner("AMAZON")
-     *             .name("Value with Windows 10 and Office 2016")
+     *             .owner("AMAZON")
+     *             .name("Value with Windows 10 and Office 2016")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -107,7 +111,8 @@ public static Output getBundle() { * ### By ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -129,18 +134,20 @@ public static Output getBundle() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .bundleId("wsb-b0s22j3d7")
+     *             .bundleId("wsb-b0s22j3d7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Owner & Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -162,13 +169,14 @@ public static Output getBundle() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .owner("AMAZON")
-     *             .name("Value with Windows 10 and Office 2016")
+     *             .owner("AMAZON")
+     *             .name("Value with Windows 10 and Office 2016")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -183,7 +191,8 @@ public static CompletableFuture getBundlePlain() { * ### By ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -205,18 +214,20 @@ public static CompletableFuture getBundlePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .bundleId("wsb-b0s22j3d7")
+     *             .bundleId("wsb-b0s22j3d7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Owner & Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -238,13 +249,14 @@ public static CompletableFuture getBundlePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .owner("AMAZON")
-     *             .name("Value with Windows 10 and Office 2016")
+     *             .owner("AMAZON")
+     *             .name("Value with Windows 10 and Office 2016")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -259,7 +271,8 @@ public static Output getBundle(GetBundleArgs args) { * ### By ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -281,18 +294,20 @@ public static Output getBundle(GetBundleArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .bundleId("wsb-b0s22j3d7")
+     *             .bundleId("wsb-b0s22j3d7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Owner & Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -314,13 +329,14 @@ public static Output getBundle(GetBundleArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .owner("AMAZON")
-     *             .name("Value with Windows 10 and Office 2016")
+     *             .owner("AMAZON")
+     *             .name("Value with Windows 10 and Office 2016")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -335,7 +351,8 @@ public static CompletableFuture getBundlePlain(GetBundlePlainAr * ### By ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -357,18 +374,20 @@ public static CompletableFuture getBundlePlain(GetBundlePlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .bundleId("wsb-b0s22j3d7")
+     *             .bundleId("wsb-b0s22j3d7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Owner & Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -390,13 +409,14 @@ public static CompletableFuture getBundlePlain(GetBundlePlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .owner("AMAZON")
-     *             .name("Value with Windows 10 and Office 2016")
+     *             .owner("AMAZON")
+     *             .name("Value with Windows 10 and Office 2016")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -411,7 +431,8 @@ public static Output getBundle(GetBundleArgs args, InvokeOption * ### By ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -433,18 +454,20 @@ public static Output getBundle(GetBundleArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .bundleId("wsb-b0s22j3d7")
+     *             .bundleId("wsb-b0s22j3d7")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### By Owner & Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -466,13 +489,14 @@ public static Output getBundle(GetBundleArgs args, InvokeOption
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
-     *             .owner("AMAZON")
-     *             .name("Value with Windows 10 and Office 2016")
+     *             .owner("AMAZON")
+     *             .name("Value with Windows 10 and Office 2016")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -485,7 +509,8 @@ public static CompletableFuture getBundlePlain(GetBundlePlainAr * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -507,12 +532,13 @@ public static CompletableFuture getBundlePlain(GetBundlePlainAr
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .directoryId("d-9067783251")
+     *             .directoryId("d-9067783251")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -525,7 +551,8 @@ public static Output getDirectory(GetDirectoryArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -547,12 +574,13 @@ public static Output getDirectory(GetDirectoryArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .directoryId("d-9067783251")
+     *             .directoryId("d-9067783251")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -565,7 +593,8 @@ public static CompletableFuture getDirectoryPlain(GetDirecto * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -587,12 +616,13 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .directoryId("d-9067783251")
+     *             .directoryId("d-9067783251")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -605,7 +635,8 @@ public static Output getDirectory(GetDirectoryArgs args, Inv * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -627,12 +658,13 @@ public static Output getDirectory(GetDirectoryArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .directoryId("d-9067783251")
+     *             .directoryId("d-9067783251")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -645,7 +677,8 @@ public static CompletableFuture getDirectoryPlain(GetDirecto * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -667,12 +700,13 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getImage(GetImageArgs.builder()
-     *             .imageId("wsi-ten5h0y19")
+     *             .imageId("wsi-ten5h0y19")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -685,7 +719,8 @@ public static Output getImage(GetImageArgs args) { * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -707,12 +742,13 @@ public static Output getImage(GetImageArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getImage(GetImageArgs.builder()
-     *             .imageId("wsi-ten5h0y19")
+     *             .imageId("wsi-ten5h0y19")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -725,7 +761,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -747,12 +784,13 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getImage(GetImageArgs.builder()
-     *             .imageId("wsi-ten5h0y19")
+     *             .imageId("wsi-ten5h0y19")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -765,7 +803,8 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -787,12 +826,13 @@ public static Output getImage(GetImageArgs args, InvokeOptions o
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getImage(GetImageArgs.builder()
-     *             .imageId("wsi-ten5h0y19")
+     *             .imageId("wsi-ten5h0y19")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -807,7 +847,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ### Filter By Workspace ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -829,18 +870,20 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-cj5xcxsz5")
+     *             .workspaceId("ws-cj5xcxsz5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Directory ID & User Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -862,13 +905,14 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .directoryId("d-9967252f57")
-     *             .userName("Example")
+     *             .directoryId("d-9967252f57")
+     *             .userName("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -883,7 +927,8 @@ public static Output getWorkspace() { * ### Filter By Workspace ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -905,18 +950,20 @@ public static Output getWorkspace() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-cj5xcxsz5")
+     *             .workspaceId("ws-cj5xcxsz5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Directory ID & User Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -938,13 +985,14 @@ public static Output getWorkspace() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .directoryId("d-9967252f57")
-     *             .userName("Example")
+     *             .directoryId("d-9967252f57")
+     *             .userName("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -959,7 +1007,8 @@ public static CompletableFuture getWorkspacePlain() { * ### Filter By Workspace ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -981,18 +1030,20 @@ public static CompletableFuture getWorkspacePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-cj5xcxsz5")
+     *             .workspaceId("ws-cj5xcxsz5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Directory ID & User Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1014,13 +1065,14 @@ public static CompletableFuture getWorkspacePlain() {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .directoryId("d-9967252f57")
-     *             .userName("Example")
+     *             .directoryId("d-9967252f57")
+     *             .userName("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1035,7 +1087,8 @@ public static Output getWorkspace(GetWorkspaceArgs args) { * ### Filter By Workspace ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1057,18 +1110,20 @@ public static Output getWorkspace(GetWorkspaceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-cj5xcxsz5")
+     *             .workspaceId("ws-cj5xcxsz5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Directory ID & User Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1090,13 +1145,14 @@ public static Output getWorkspace(GetWorkspaceArgs args) {
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .directoryId("d-9967252f57")
-     *             .userName("Example")
+     *             .directoryId("d-9967252f57")
+     *             .userName("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1111,7 +1167,8 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa * ### Filter By Workspace ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1133,18 +1190,20 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-cj5xcxsz5")
+     *             .workspaceId("ws-cj5xcxsz5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Directory ID & User Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1166,13 +1225,14 @@ public static CompletableFuture getWorkspacePlain(GetWorkspa
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .directoryId("d-9967252f57")
-     *             .userName("Example")
+     *             .directoryId("d-9967252f57")
+     *             .userName("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ @@ -1187,7 +1247,8 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv * ### Filter By Workspace ID * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1209,18 +1270,20 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .workspaceId("ws-cj5xcxsz5")
+     *             .workspaceId("ws-cj5xcxsz5")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ### Filter By Directory ID & User Name * * <!--Start PulumiCodeChooser --> - * ```java + *
+     * {@code
      * package generated_program;
      * 
      * import com.pulumi.Context;
@@ -1242,13 +1305,14 @@ public static Output getWorkspace(GetWorkspaceArgs args, Inv
      * 
      *     public static void stack(Context ctx) {
      *         final var example = WorkspacesFunctions.getWorkspace(GetWorkspaceArgs.builder()
-     *             .directoryId("d-9967252f57")
-     *             .userName("Example")
+     *             .directoryId("d-9967252f57")
+     *             .userName("Example")
      *             .build());
      * 
      *     }
      * }
-     * ```
+     * }
+     * 
* <!--End PulumiCodeChooser --> * */ diff --git a/sdk/java/src/main/java/com/pulumi/aws/xray/EncryptionConfig.java b/sdk/java/src/main/java/com/pulumi/aws/xray/EncryptionConfig.java index 33bd7fa6a1f..3f880b9172f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/xray/EncryptionConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/xray/EncryptionConfig.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -43,19 +44,21 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new EncryptionConfig("example", EncryptionConfigArgs.builder()        
- *             .type("NONE")
+ *         var example = new EncryptionConfig("example", EncryptionConfigArgs.builder()        
+ *             .type("NONE")
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ### With KMS Key * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -86,31 +89,32 @@
  * 
  *         final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
  *             .statements(GetPolicyDocumentStatementArgs.builder()
- *                 .sid("Enable IAM User Permissions")
- *                 .effect("Allow")
+ *                 .sid("Enable IAM User Permissions")
+ *                 .effect("Allow")
  *                 .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
- *                     .type("AWS")
- *                     .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
+ *                     .type("AWS")
+ *                     .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
  *                     .build())
- *                 .actions("kms:*")
- *                 .resources("*")
+ *                 .actions("kms:*")
+ *                 .resources("*")
  *                 .build())
  *             .build());
  * 
- *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
- *             .description("Some Key")
+ *         var exampleKey = new Key("exampleKey", KeyArgs.builder()        
+ *             .description("Some Key")
  *             .deletionWindowInDays(7)
- *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
+ *             .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
  *             .build());
  * 
- *         var exampleEncryptionConfig = new EncryptionConfig("exampleEncryptionConfig", EncryptionConfigArgs.builder()        
- *             .type("KMS")
+ *         var exampleEncryptionConfig = new EncryptionConfig("exampleEncryptionConfig", EncryptionConfigArgs.builder()        
+ *             .type("KMS")
  *             .keyId(exampleKey.arn())
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/xray/Group.java b/sdk/java/src/main/java/com/pulumi/aws/xray/Group.java index 45fa405651f..a558baa9a18 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/xray/Group.java +++ b/sdk/java/src/main/java/com/pulumi/aws/xray/Group.java @@ -22,7 +22,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,9 +45,9 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new Group("example", GroupArgs.builder()        
- *             .groupName("example")
- *             .filterExpression("responsetime > 5")
+ *         var example = new Group("example", GroupArgs.builder()        
+ *             .groupName("example")
+ *             .filterExpression("responsetime > 5")
  *             .insightsConfiguration(GroupInsightsConfigurationArgs.builder()
  *                 .insightsEnabled(true)
  *                 .notificationsEnabled(true)
@@ -55,7 +56,8 @@
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/java/src/main/java/com/pulumi/aws/xray/SamplingRule.java b/sdk/java/src/main/java/com/pulumi/aws/xray/SamplingRule.java index 768cc64daff..c130fc4d462 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/xray/SamplingRule.java +++ b/sdk/java/src/main/java/com/pulumi/aws/xray/SamplingRule.java @@ -23,7 +23,8 @@ * ## Example Usage * * <!--Start PulumiCodeChooser --> - * ```java + *
+ * {@code
  * package generated_program;
  * 
  * import com.pulumi.Context;
@@ -44,24 +45,25 @@
  *     }
  * 
  *     public static void stack(Context ctx) {
- *         var example = new SamplingRule("example", SamplingRuleArgs.builder()        
- *             .ruleName("example")
+ *         var example = new SamplingRule("example", SamplingRuleArgs.builder()        
+ *             .ruleName("example")
  *             .priority(9999)
  *             .version(1)
  *             .reservoirSize(1)
  *             .fixedRate(0.05)
- *             .urlPath("*")
- *             .host("*")
- *             .httpMethod("*")
- *             .serviceType("*")
- *             .serviceName("*")
- *             .resourceArn("*")
- *             .attributes(Map.of("Hello", "Tris"))
+ *             .urlPath("*")
+ *             .host("*")
+ *             .httpMethod("*")
+ *             .serviceType("*")
+ *             .serviceName("*")
+ *             .resourceArn("*")
+ *             .attributes(Map.of("Hello", "Tris"))
  *             .build());
  * 
  *     }
  * }
- * ```
+ * }
+ * 
* <!--End PulumiCodeChooser --> * * ## Import diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index 27b9a09227c..3bc383793c1 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -36,7 +36,7 @@ export class Provider extends pulumi.ProviderResource { public readonly accessKey!: pulumi.Output; /** * File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment - * variable. (Setting `ca_bundle` in the shared config file is not supported.) + * variable. (Setting `caBundle` in the shared config file is not supported.) */ public readonly customCaBundle!: pulumi.Output; /** @@ -51,17 +51,17 @@ export class Provider extends pulumi.ProviderResource { public readonly ec2MetadataServiceEndpointMode!: pulumi.Output; /** * URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the `HTTP_PROXY` or - * `http_proxy` environment variables. + * `httpProxy` environment variables. */ public readonly httpProxy!: pulumi.Output; /** * URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the `HTTPS_PROXY` or - * `https_proxy` environment variables. + * `httpsProxy` environment variables. */ public readonly httpsProxy!: pulumi.Output; /** * Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the `NO_PROXY` or - * `no_proxy` environment variables. + * `noProxy` environment variables. */ public readonly noProxy!: pulumi.Output; /** @@ -80,7 +80,7 @@ export class Provider extends pulumi.ProviderResource { /** * Specifies whether S3 API calls in the `us-east-1` region use the legacy global endpoint or a regional endpoint. Valid * values are `legacy` or `regional`. Can also be configured using the `AWS_S3_US_EAST_1_REGIONAL_ENDPOINT` environment - * variable or the `s3_us_east_1_regional_endpoint` shared config file parameter + * variable or the `s3UsEast1RegionalEndpoint` shared config file parameter */ public readonly s3UsEast1RegionalEndpoint!: pulumi.Output; /** @@ -161,7 +161,7 @@ export interface ProviderArgs { assumeRoleWithWebIdentity?: pulumi.Input; /** * File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment - * variable. (Setting `ca_bundle` in the shared config file is not supported.) + * variable. (Setting `caBundle` in the shared config file is not supported.) */ customCaBundle?: pulumi.Input; /** @@ -182,12 +182,12 @@ export interface ProviderArgs { forbiddenAccountIds?: pulumi.Input[]>; /** * URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the `HTTP_PROXY` or - * `http_proxy` environment variables. + * `httpProxy` environment variables. */ httpProxy?: pulumi.Input; /** * URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the `HTTPS_PROXY` or - * `https_proxy` environment variables. + * `httpsProxy` environment variables. */ httpsProxy?: pulumi.Input; /** @@ -204,7 +204,7 @@ export interface ProviderArgs { maxRetries?: pulumi.Input; /** * Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the `NO_PROXY` or - * `no_proxy` environment variables. + * `noProxy` environment variables. */ noProxy?: pulumi.Input; /** @@ -223,7 +223,7 @@ export interface ProviderArgs { /** * Specifies whether S3 API calls in the `us-east-1` region use the legacy global endpoint or a regional endpoint. Valid * values are `legacy` or `regional`. Can also be configured using the `AWS_S3_US_EAST_1_REGIONAL_ENDPOINT` environment - * variable or the `s3_us_east_1_regional_endpoint` shared config file parameter + * variable or the `s3UsEast1RegionalEndpoint` shared config file parameter */ s3UsEast1RegionalEndpoint?: pulumi.Input; /**